From eac59260514d876562578c8f4b462bd566846ae4 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Mon, 1 Jun 2026 15:44:14 -0700 Subject: [PATCH] HBASE-30195 Update Thrift gateway to use new hbase-shaded-thrift in thirdparty Co-Authored-by: Claude --- hbase-examples/pom.xml | 9 +- .../hadoop/hbase/thrift/DemoClient.java | 11 +- .../hadoop/hbase/thrift/HttpDoAsClient.java | 11 +- .../hadoop/hbase/thrift2/DemoClient.java | 15 +- hbase-thrift/pom.xml | 55 +- .../thrift/HThreadedSelectorServerArgs.java | 5 +- .../apache/hadoop/hbase/thrift/ImplType.java | 8 +- .../thrift/TBoundedThreadPoolServer.java | 18 +- .../thrift/ThriftHBaseServiceHandler.java | 2 +- .../hbase/thrift/ThriftHttpServlet.java | 7 +- .../hadoop/hbase/thrift/ThriftServer.java | 32 +- .../hbase/thrift/generated/AlreadyExists.java | 161 +- .../hbase/thrift/generated/BatchMutation.java | 245 +- .../thrift/generated/ColumnDescriptor.java | 481 +- .../hadoop/hbase/thrift/generated/Hbase.java | 28182 +++++++++------- .../hbase/thrift/generated/IOError.java | 199 +- .../thrift/generated/IllegalArgument.java | 161 +- .../hbase/thrift/generated/Mutation.java | 295 +- .../generated/TAccessControlEntity.java | 317 +- .../hbase/thrift/generated/TAppend.java | 367 +- .../hadoop/hbase/thrift/generated/TCell.java | 211 +- .../hbase/thrift/generated/TColumn.java | 213 +- .../hbase/thrift/generated/TIncrement.java | 307 +- .../thrift/generated/TPermissionScope.java | 9 +- .../hbase/thrift/generated/TRegionInfo.java | 437 +- .../hbase/thrift/generated/TRowResult.java | 331 +- .../hadoop/hbase/thrift/generated/TScan.java | 573 +- .../thrift/generated/TThriftServerType.java | 9 +- .../thrift2/ThriftHBaseServiceHandler.java | 4 +- .../hadoop/hbase/thrift2/ThriftServer.java | 2 +- .../hbase/thrift2/client/ThriftAdmin.java | 5 +- .../thrift2/client/ThriftClientBuilder.java | 3 +- .../thrift2/client/ThriftConnection.java | 18 +- .../hbase/thrift2/client/ThriftTable.java | 4 +- .../generated/NamespaceDescriptor.java | 554 - .../generated/TAccessControlEntity.java | 309 +- .../hbase/thrift2/generated/TAppend.java | 445 +- .../thrift2/generated/TAuthorization.java | 195 +- .../thrift2/generated/TBloomFilterType.java | 9 +- .../thrift2/generated/TCellVisibility.java | 161 +- .../hbase/thrift2/generated/TColumn.java | 257 +- .../generated/TColumnFamilyDescriptor.java | 979 +- .../thrift2/generated/TColumnIncrement.java | 257 +- .../hbase/thrift2/generated/TColumnValue.java | 393 +- .../thrift2/generated/TCompareOperator.java | 9 +- .../generated/TCompressionAlgorithm.java | 9 +- .../hbase/thrift2/generated/TConsistency.java | 9 +- .../thrift2/generated/TDataBlockEncoding.java | 9 +- .../hbase/thrift2/generated/TDelete.java | 487 +- .../hbase/thrift2/generated/TDeleteType.java | 9 +- .../hbase/thrift2/generated/TDurability.java | 9 +- .../thrift2/generated/TFilterByOperator.java | 9 +- .../hadoop/hbase/thrift2/generated/TGet.java | 811 +- .../thrift2/generated/THBaseService.java | 24740 ++++++++------ .../hbase/thrift2/generated/THRegionInfo.java | 415 +- .../thrift2/generated/THRegionLocation.java | 201 +- .../hbase/thrift2/generated/TIOError.java | 201 +- .../thrift2/generated/TIllegalArgument.java | 163 +- .../hbase/thrift2/generated/TIncrement.java | 447 +- .../thrift2/generated/TKeepDeletedCells.java | 9 +- .../thrift2/generated/TLogQueryFilter.java | 397 +- .../hbase/thrift2/generated/TLogType.java | 9 +- .../hbase/thrift2/generated/TMutation.java | 78 +- .../generated/TNamespaceDescriptor.java | 239 +- .../thrift2/generated/TOnlineLogRecord.java | 745 +- .../thrift2/generated/TPermissionScope.java | 9 +- .../hadoop/hbase/thrift2/generated/TPut.java | 449 +- .../hbase/thrift2/generated/TReadType.java | 9 +- .../hbase/thrift2/generated/TResult.java | 321 +- .../thrift2/generated/TRowMutations.java | 241 +- .../hadoop/hbase/thrift2/generated/TScan.java | 977 +- .../hbase/thrift2/generated/TServerName.java | 237 +- .../thrift2/generated/TTableDescriptor.java | 355 +- .../hbase/thrift2/generated/TTableName.java | 217 +- .../thrift2/generated/TThriftServerType.java | 9 +- .../hbase/thrift2/generated/TTimeRange.java | 203 +- .../thrift/TestThriftHttpServerBase.java | 9 +- .../hbase/thrift/TestThriftHttpServerSSL.java | 7 +- .../hadoop/hbase/thrift/TestThriftServer.java | 9 +- .../hbase/thrift/TestThriftServerCmdLine.java | 14 +- .../TestThriftSpnegoHttpFallbackServer.java | 7 +- .../thrift/TestThriftSpnegoHttpServer.java | 7 +- .../hbase/thrift2/TestThrift2HttpServer.java | 7 +- .../thrift2/TestThrift2ServerCmdLine.java | 13 +- .../TestThriftHBaseServiceHandler.java | 10 +- ...ThriftHBaseServiceHandlerWithReadOnly.java | 3 +- pom.xml | 35 +- 87 files changed, 37959 insertions(+), 30460 deletions(-) delete mode 100644 hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/NamespaceDescriptor.java diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index ec72223eb404..f5bca9c1f6c6 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -110,9 +110,14 @@ hbase-testing-util test + - org.apache.thrift - libthrift + org.apache.hbase.thirdparty + hbase-shaded-thrift commons-io diff --git a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java index d7257aeae253..66263d8101bc 100644 --- a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java +++ b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java @@ -35,13 +35,14 @@ import org.apache.hadoop.hbase.thrift.generated.TRowResult; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.ClientUtils; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TSaslClientTransport; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; import org.apache.yetus.audience.InterfaceAudience; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSaslClientTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; + /** * See the instructions under hbase-examples/README.txt */ diff --git a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/HttpDoAsClient.java b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/HttpDoAsClient.java index 25f5511a1dd1..cdffff4eca48 100644 --- a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/HttpDoAsClient.java +++ b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/HttpDoAsClient.java @@ -37,11 +37,6 @@ import org.apache.hadoop.hbase.thrift.generated.Hbase; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.ClientUtils; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.THttpClient; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; import org.apache.yetus.audience.InterfaceAudience; import org.ietf.jgss.GSSContext; import org.ietf.jgss.GSSCredential; @@ -52,6 +47,12 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; + /** * See the instructions under hbase-examples/README.txt */ 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 2ed97a1207fc..397338ec6389 100644 --- a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java +++ b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java @@ -35,15 +35,16 @@ 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.TSaslClientTransport; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; -import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.yetus.audience.InterfaceAudience; +import org.apache.hbase.thirdparty.org.apache.thrift.TConfiguration; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSaslClientTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.layered.TFramedTransport; + @InterfaceAudience.Private public class DemoClient { private static String host = "localhost"; diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 170065276505..cead040d9abf 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -84,9 +84,15 @@ org.apache.hbase hbase-hadoop-compat + - org.apache.thrift - libthrift + org.apache.hbase.thirdparty + hbase-shaded-thrift org.junit.jupiter @@ -371,12 +377,15 @@ thrift.version "The Thrift version must be specified." - 0\.14\.1 + 0\.23\.\d+ - - [FATAL] ========================================================================================== -[FATAL] HBase Thrift requires the thrift generator version 0.14.1. -[FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility. +[FATAL] HBase Thrift requires the thrift generator version 0.23.x (matching the libthrift +[FATAL] runtime shipped in hbase-thirdparty/hbase-shaded-thrift). Setting it to something else +[FATAL] needs to be reviewed for wire and behavior compatibility, and for source compatibility +[FATAL] with the maven-replacer-plugin rewrite that retargets generated code to the shaded +[FATAL] org.apache.hbase.thirdparty.org.apache.thrift namespace. [FATAL] ========================================================================================== - - @@ -450,6 +459,42 @@ + + + com.google.code.maven-replacer-plugin + replacer + + ${basedir}/src/main/java + + org/apache/hadoop/hbase/thrift/generated/**/*.java + org/apache/hadoop/hbase/thrift2/generated/**/*.java + + false + + + ([^.])org\.apache\.thrift + $1org.apache.hbase.thirdparty.org.apache.thrift + + + + + + shade-generated-thrift-imports + + replace + + process-sources + + + diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HThreadedSelectorServerArgs.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HThreadedSelectorServerArgs.java index 1579d36f510f..e0b4ad46289c 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HThreadedSelectorServerArgs.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HThreadedSelectorServerArgs.java @@ -19,12 +19,13 @@ import java.util.Locale; import org.apache.hadoop.conf.Configuration; -import org.apache.thrift.server.TThreadedSelectorServer; -import org.apache.thrift.transport.TNonblockingServerTransport; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TThreadedSelectorServer; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingServerTransport; + /** * A TThreadedSelectorServer.Args that reads hadoop configuration */ diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ImplType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ImplType.java index fb6668430c7c..d02a40fac9cb 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ImplType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ImplType.java @@ -23,10 +23,6 @@ import java.util.Arrays; import java.util.List; import org.apache.hadoop.conf.Configuration; -import org.apache.thrift.server.THsHaServer; -import org.apache.thrift.server.TNonblockingServer; -import org.apache.thrift.server.TServer; -import org.apache.thrift.server.TThreadedSelectorServer; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -34,6 +30,10 @@ import org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine; import org.apache.hbase.thirdparty.org.apache.commons.cli.Option; import org.apache.hbase.thirdparty.org.apache.commons.cli.OptionGroup; +import org.apache.hbase.thirdparty.org.apache.thrift.server.THsHaServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TNonblockingServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TThreadedSelectorServer; /** An enum of server implementation selections */ @InterfaceAudience.Private diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java index 8da917384de9..6c19f866dac5 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java @@ -26,20 +26,20 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; import org.apache.hadoop.hbase.util.Threads; -import org.apache.thrift.TException; -import org.apache.thrift.TProcessor; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.server.TServer; -import org.apache.thrift.server.TThreadPoolServer; -import org.apache.thrift.transport.TServerTransport; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; -import org.apache.thrift.transport.TTransportException; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; +import org.apache.hbase.thirdparty.org.apache.thrift.TProcessor; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TThreadPoolServer; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TServerTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException; /** * A bounded thread pool server customized for HBase. diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHBaseServiceHandler.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHBaseServiceHandler.java index 1900c6c0f8da..7e457193b593 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHBaseServiceHandler.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHBaseServiceHandler.java @@ -85,7 +85,6 @@ import org.apache.hadoop.hbase.thrift.generated.TScan; import org.apache.hadoop.hbase.thrift.generated.TThriftServerType; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.TException; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -93,6 +92,7 @@ import org.apache.hbase.thirdparty.com.google.common.base.Throwables; import org.apache.hbase.thirdparty.com.google.common.cache.Cache; import org.apache.hbase.thirdparty.com.google.common.cache.CacheBuilder; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * The HBaseServiceHandler is a glue object that connects Thrift RPC calls to the HBase client API diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHttpServlet.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHttpServlet.java index d7b4445fb582..d0b77f8237c0 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHttpServlet.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftHttpServlet.java @@ -30,9 +30,6 @@ import org.apache.hadoop.security.authorize.AuthorizationException; import org.apache.hadoop.security.authorize.ProxyUsers; import org.apache.http.HttpHeaders; -import org.apache.thrift.TProcessor; -import org.apache.thrift.protocol.TProtocolFactory; -import org.apache.thrift.server.TServlet; import org.apache.yetus.audience.InterfaceAudience; import org.ietf.jgss.GSSContext; import org.ietf.jgss.GSSCredential; @@ -43,6 +40,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.TProcessor; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServlet; + /** * Thrift Http Servlet is used for performing Kerberos authentication if security is enabled and * also used for setting the user specified in "doAs" parameter. 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 1a5b92163955..e72090f22957 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 @@ -116,22 +116,6 @@ import org.apache.hadoop.util.Shell.ExitCodeException; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; -import org.apache.thrift.TProcessor; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TCompactProtocol; -import org.apache.thrift.protocol.TProtocolFactory; -import org.apache.thrift.server.THsHaServer; -import org.apache.thrift.server.TNonblockingServer; -import org.apache.thrift.server.TServer; -import org.apache.thrift.server.TServlet; -import org.apache.thrift.server.TThreadedSelectorServer; -import org.apache.thrift.transport.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; @@ -144,6 +128,22 @@ import org.apache.hbase.thirdparty.org.apache.commons.cli.DefaultParser; import org.apache.hbase.thirdparty.org.apache.commons.cli.HelpFormatter; import org.apache.hbase.thirdparty.org.apache.commons.cli.Options; +import org.apache.hbase.thirdparty.org.apache.thrift.TProcessor; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.server.THsHaServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TNonblockingServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServer; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServlet; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TThreadedSelectorServer; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingServerSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingServerTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSaslServerTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TServerSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TServerTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.layered.TFramedTransport; import org.apache.hbase.thirdparty.org.eclipse.jetty.ee8.servlet.ServletContextHandler; import org.apache.hbase.thirdparty.org.eclipse.jetty.ee8.servlet.ServletHolder; import org.apache.hbase.thirdparty.org.eclipse.jetty.http.HttpVersion; 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 502bbd48e6d9..74cf29a5e1df 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,29 +1,29 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * An AlreadyExists exceptions signals that a table with the specified * name already exists */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class AlreadyExists extends org.apache.hbase.thirdparty.org.apache.thrift.TException implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("AlreadyExists"); - private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("message", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AlreadyExistsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AlreadyExistsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AlreadyExistsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AlreadyExistsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String message; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MESSAGE((short)1, "message"); private static final java.util.Map byName = new java.util.HashMap(); @@ -37,7 +37,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MESSAGE @@ -60,7 +60,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -73,23 +73,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MESSAGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("message", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AlreadyExists.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AlreadyExists.class, metaDataMap); } public AlreadyExists() { @@ -111,6 +113,7 @@ public AlreadyExists(AlreadyExists other) { } } + @Override public AlreadyExists deepCopy() { return new AlreadyExists(this); } @@ -120,12 +123,12 @@ public void clear() { this.message = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMessage() { return this.message; } - public AlreadyExists setMessage(@org.apache.thrift.annotation.Nullable java.lang.String message) { + public AlreadyExists setMessage(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message) { this.message = message; return this; } @@ -145,7 +148,8 @@ public void setMessageIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MESSAGE: if (value == null) { @@ -158,7 +162,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MESSAGE: @@ -169,6 +174,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -230,7 +236,7 @@ public int compareTo(AlreadyExists other) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } @@ -238,16 +244,19 @@ public int compareTo(AlreadyExists other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -267,65 +276,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class AlreadyExistsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class AlreadyExistsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public AlreadyExistsStandardScheme getScheme() { return new AlreadyExistsStandardScheme(); } } - private static class AlreadyExistsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class AlreadyExistsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, AlreadyExists struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MESSAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, AlreadyExists struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MESSAGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, AlreadyExists struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, AlreadyExists struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -340,17 +357,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlreadyExists stru } - private static class AlreadyExistsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class AlreadyExistsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public AlreadyExistsTupleScheme getScheme() { return new AlreadyExistsTupleScheme(); } } - private static class AlreadyExistsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class AlreadyExistsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, AlreadyExists struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, AlreadyExists struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetMessage()) { optionals.set(0); @@ -362,18 +380,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlreadyExists struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, AlreadyExists struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, AlreadyExists struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 89cff0ffcf05..9bc686fcc4d7 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,30 +1,30 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A BatchMutation object is used to apply a number of Mutations to a single row. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class BatchMutation implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("BatchMutation"); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("mutations", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("mutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new BatchMutationStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new BatchMutationTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new BatchMutationStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new BatchMutationTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List mutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), MUTATIONS((short)2, "mutations"); @@ -39,7 +39,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -64,7 +64,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -77,26 +77,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(BatchMutation.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(BatchMutation.class, metaDataMap); } public BatchMutation() { @@ -107,7 +109,7 @@ public BatchMutation( java.util.List mutations) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.mutations = mutations; } @@ -116,7 +118,7 @@ public BatchMutation( */ public BatchMutation(BatchMutation other) { if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetMutations()) { java.util.List __this__mutations = new java.util.ArrayList(other.mutations.size()); @@ -127,6 +129,7 @@ public BatchMutation(BatchMutation other) { } } + @Override public BatchMutation deepCopy() { return new BatchMutation(this); } @@ -138,12 +141,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public BatchMutation setRow(byte[] row) { @@ -151,8 +154,8 @@ public BatchMutation setRow(byte[] row) { return this; } - public BatchMutation setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public BatchMutation setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -175,7 +178,7 @@ public int getMutationsSize() { return (this.mutations == null) ? 0 : this.mutations.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getMutationsIterator() { return (this.mutations == null) ? null : this.mutations.iterator(); } @@ -187,12 +190,12 @@ public void addToMutations(Mutation elem) { this.mutations.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getMutations() { return this.mutations; } - public BatchMutation setMutations(@org.apache.thrift.annotation.Nullable java.util.List mutations) { + public BatchMutation setMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations) { this.mutations = mutations; return this; } @@ -212,7 +215,8 @@ public void setMutationsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -237,7 +241,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -251,6 +256,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -327,7 +333,7 @@ public int compareTo(BatchMutation other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -337,7 +343,7 @@ public int compareTo(BatchMutation other) { return lastComparison; } if (isSetMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); if (lastComparison != 0) { return lastComparison; } @@ -345,16 +351,19 @@ public int compareTo(BatchMutation other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -367,7 +376,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -382,84 +391,92 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class BatchMutationStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class BatchMutationStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public BatchMutationStandardScheme getScheme() { return new BatchMutationStandardScheme(); } } - private static class BatchMutationStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class BatchMutationStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, BatchMutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, BatchMutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); - struct.mutations = new java.util.ArrayList(_list0.size); - @org.apache.thrift.annotation.Nullable Mutation _elem1; - for (int _i2 = 0; _i2 < _list0.size; ++_i2) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem1 = new Mutation(); - _elem1.read(iprot); - struct.mutations.add(_elem1); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); + struct.mutations = new java.util.ArrayList(_list0.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) + { + _elem1 = new Mutation(); + _elem1.read(iprot); + struct.mutations.add(_elem1); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, BatchMutation struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, BatchMutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -471,7 +488,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, BatchMutation stru if (struct.mutations != null) { oprot.writeFieldBegin(MUTATIONS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); for (Mutation _iter3 : struct.mutations) { _iter3.write(oprot); @@ -486,17 +503,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, BatchMutation stru } - private static class BatchMutationTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class BatchMutationTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public BatchMutationTupleScheme getScheme() { return new BatchMutationTupleScheme(); } } - private static class BatchMutationTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class BatchMutationTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, BatchMutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, BatchMutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRow()) { optionals.set(0); @@ -520,32 +538,37 @@ public void write(org.apache.thrift.protocol.TProtocol prot, BatchMutation struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, BatchMutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(1)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, BatchMutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(1)) { { - _elem6 = new Mutation(); - _elem6.read(iprot); - struct.mutations.add(_elem6); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.mutations = new java.util.ArrayList(_list5.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) + { + _elem6 = new Mutation(); + _elem6.read(iprot); + struct.mutations.add(_elem6); + } } + struct.setMutationsIsSet(true); } - struct.setMutationsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 83691c3cc3ec..da8ba4647683 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,46 +1,46 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * An HColumnDescriptor contains information about a column family * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxVersions", org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.protocol.TField COMPRESSION_FIELD_DESC = new org.apache.thrift.protocol.TField("compression", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField IN_MEMORY_FIELD_DESC = new org.apache.thrift.protocol.TField("inMemory", org.apache.thrift.protocol.TType.BOOL, (short)4); - private static final org.apache.thrift.protocol.TField BLOOM_FILTER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bloomFilterType", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField BLOOM_FILTER_VECTOR_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("bloomFilterVectorSize", org.apache.thrift.protocol.TType.I32, (short)6); - private static final org.apache.thrift.protocol.TField BLOOM_FILTER_NB_HASHES_FIELD_DESC = new org.apache.thrift.protocol.TField("bloomFilterNbHashes", org.apache.thrift.protocol.TType.I32, (short)7); - private static final org.apache.thrift.protocol.TField BLOCK_CACHE_ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("blockCacheEnabled", org.apache.thrift.protocol.TType.BOOL, (short)8); - private static final org.apache.thrift.protocol.TField TIME_TO_LIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeToLive", org.apache.thrift.protocol.TType.I32, (short)9); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ColumnDescriptorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ColumnDescriptorTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class ColumnDescriptor implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("ColumnDescriptor"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COMPRESSION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("compression", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IN_MEMORY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("inMemory", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOOM_FILTER_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("bloomFilterType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOOM_FILTER_VECTOR_SIZE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("bloomFilterVectorSize", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOOM_FILTER_NB_HASHES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("bloomFilterNbHashes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOCK_CACHE_ENABLED_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("blockCacheEnabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIME_TO_LIVE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timeToLive", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)9); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ColumnDescriptorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ColumnDescriptorTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required public int maxVersions; // required - public @org.apache.thrift.annotation.Nullable java.lang.String compression; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String compression; // required public boolean inMemory; // required - public @org.apache.thrift.annotation.Nullable java.lang.String bloomFilterType; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String bloomFilterType; // required public int bloomFilterVectorSize; // required public int bloomFilterNbHashes; // required public boolean blockCacheEnabled; // required public int timeToLive; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { NAME((short)1, "name"), MAX_VERSIONS((short)2, "maxVersions"), COMPRESSION((short)3, "compression"), @@ -62,7 +62,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -101,7 +101,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -114,10 +114,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -131,29 +133,29 @@ public java.lang.String getFieldName() { private static final int __BLOCKCACHEENABLED_ISSET_ID = 4; private static final int __TIMETOLIVE_ISSET_ID = 5; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.COMPRESSION, new org.apache.thrift.meta_data.FieldMetaData("compression", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.IN_MEMORY, new org.apache.thrift.meta_data.FieldMetaData("inMemory", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.BLOOM_FILTER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bloomFilterType", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.BLOOM_FILTER_VECTOR_SIZE, new org.apache.thrift.meta_data.FieldMetaData("bloomFilterVectorSize", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.BLOOM_FILTER_NB_HASHES, new org.apache.thrift.meta_data.FieldMetaData("bloomFilterNbHashes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.BLOCK_CACHE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("blockCacheEnabled", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.TIME_TO_LIVE, new org.apache.thrift.meta_data.FieldMetaData("timeToLive", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.COMPRESSION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("compression", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IN_MEMORY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("inMemory", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.BLOOM_FILTER_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("bloomFilterType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.BLOOM_FILTER_VECTOR_SIZE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("bloomFilterVectorSize", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.BLOOM_FILTER_NB_HASHES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("bloomFilterNbHashes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.BLOCK_CACHE_ENABLED, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("blockCacheEnabled", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.TIME_TO_LIVE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timeToLive", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnDescriptor.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnDescriptor.class, metaDataMap); } public ColumnDescriptor() { @@ -187,7 +189,7 @@ public ColumnDescriptor( int timeToLive) { this(); - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); this.maxVersions = maxVersions; setMaxVersionsIsSet(true); this.compression = compression; @@ -210,7 +212,7 @@ public ColumnDescriptor( public ColumnDescriptor(ColumnDescriptor other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetName()) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.name); } this.maxVersions = other.maxVersions; if (other.isSetCompression()) { @@ -226,6 +228,7 @@ public ColumnDescriptor(ColumnDescriptor other) { this.timeToLive = other.timeToLive; } + @Override public ColumnDescriptor deepCopy() { return new ColumnDescriptor(this); } @@ -252,12 +255,12 @@ public void clear() { } public byte[] getName() { - setName(org.apache.thrift.TBaseHelper.rightSize(name)); + setName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(name)); return name == null ? null : name.array(); } public java.nio.ByteBuffer bufferForName() { - return org.apache.thrift.TBaseHelper.copyBinary(name); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); } public ColumnDescriptor setName(byte[] name) { @@ -265,8 +268,8 @@ public ColumnDescriptor setName(byte[] name) { return this; } - public ColumnDescriptor setName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + public ColumnDescriptor setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); return this; } @@ -296,24 +299,24 @@ public ColumnDescriptor setMaxVersions(int maxVersions) { } public void unsetMaxVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } /** Returns true if field maxVersions is set (has been assigned a value) and false otherwise */ public boolean isSetMaxVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } public void setMaxVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getCompression() { return this.compression; } - public ColumnDescriptor setCompression(@org.apache.thrift.annotation.Nullable java.lang.String compression) { + public ColumnDescriptor setCompression(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String compression) { this.compression = compression; return this; } @@ -344,24 +347,24 @@ public ColumnDescriptor setInMemory(boolean inMemory) { } public void unsetInMemory() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INMEMORY_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INMEMORY_ISSET_ID); } /** Returns true if field inMemory is set (has been assigned a value) and false otherwise */ public boolean isSetInMemory() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INMEMORY_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INMEMORY_ISSET_ID); } public void setInMemoryIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INMEMORY_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INMEMORY_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getBloomFilterType() { return this.bloomFilterType; } - public ColumnDescriptor setBloomFilterType(@org.apache.thrift.annotation.Nullable java.lang.String bloomFilterType) { + public ColumnDescriptor setBloomFilterType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String bloomFilterType) { this.bloomFilterType = bloomFilterType; return this; } @@ -392,16 +395,16 @@ public ColumnDescriptor setBloomFilterVectorSize(int bloomFilterVectorSize) { } public void unsetBloomFilterVectorSize() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID); } /** Returns true if field bloomFilterVectorSize is set (has been assigned a value) and false otherwise */ public boolean isSetBloomFilterVectorSize() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID); } public void setBloomFilterVectorSizeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOOMFILTERVECTORSIZE_ISSET_ID, value); } public int getBloomFilterNbHashes() { @@ -415,16 +418,16 @@ public ColumnDescriptor setBloomFilterNbHashes(int bloomFilterNbHashes) { } public void unsetBloomFilterNbHashes() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID); } /** Returns true if field bloomFilterNbHashes is set (has been assigned a value) and false otherwise */ public boolean isSetBloomFilterNbHashes() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID); } public void setBloomFilterNbHashesIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOOMFILTERNBHASHES_ISSET_ID, value); } public boolean isBlockCacheEnabled() { @@ -438,16 +441,16 @@ public ColumnDescriptor setBlockCacheEnabled(boolean blockCacheEnabled) { } public void unsetBlockCacheEnabled() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); } /** Returns true if field blockCacheEnabled is set (has been assigned a value) and false otherwise */ public boolean isSetBlockCacheEnabled() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); } public void setBlockCacheEnabledIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID, value); } public int getTimeToLive() { @@ -461,19 +464,20 @@ public ColumnDescriptor setTimeToLive(int timeToLive) { } public void unsetTimeToLive() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); } /** Returns true if field timeToLive is set (has been assigned a value) and false otherwise */ public boolean isSetTimeToLive() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); } public void setTimeToLiveIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -554,7 +558,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -589,6 +594,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -758,7 +764,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -768,7 +774,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetMaxVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); if (lastComparison != 0) { return lastComparison; } @@ -778,7 +784,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetCompression()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compression, other.compression); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.compression, other.compression); if (lastComparison != 0) { return lastComparison; } @@ -788,7 +794,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetInMemory()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inMemory, other.inMemory); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.inMemory, other.inMemory); if (lastComparison != 0) { return lastComparison; } @@ -798,7 +804,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetBloomFilterType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterType, other.bloomFilterType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterType, other.bloomFilterType); if (lastComparison != 0) { return lastComparison; } @@ -808,7 +814,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetBloomFilterVectorSize()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterVectorSize, other.bloomFilterVectorSize); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterVectorSize, other.bloomFilterVectorSize); if (lastComparison != 0) { return lastComparison; } @@ -818,7 +824,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetBloomFilterNbHashes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterNbHashes, other.bloomFilterNbHashes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.bloomFilterNbHashes, other.bloomFilterNbHashes); if (lastComparison != 0) { return lastComparison; } @@ -828,7 +834,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetBlockCacheEnabled()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockCacheEnabled, other.blockCacheEnabled); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.blockCacheEnabled, other.blockCacheEnabled); if (lastComparison != 0) { return lastComparison; } @@ -838,7 +844,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } if (isSetTimeToLive()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeToLive, other.timeToLive); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timeToLive, other.timeToLive); if (lastComparison != 0) { return lastComparison; } @@ -846,16 +852,19 @@ public int compareTo(ColumnDescriptor other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -868,7 +877,7 @@ public java.lang.String toString() { if (this.name == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.name, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.name, sb); } first = false; if (!first) sb.append(", "); @@ -915,15 +924,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -932,114 +941,122 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class ColumnDescriptorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class ColumnDescriptorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public ColumnDescriptorStandardScheme getScheme() { return new ColumnDescriptorStandardScheme(); } } - private static class ColumnDescriptorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class ColumnDescriptorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // MAX_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COMPRESSION - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.compression = iprot.readString(); - struct.setCompressionIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // IN_MEMORY - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.inMemory = iprot.readBool(); - struct.setInMemoryIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // BLOOM_FILTER_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.bloomFilterType = iprot.readString(); - struct.setBloomFilterTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // BLOOM_FILTER_VECTOR_SIZE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.bloomFilterVectorSize = iprot.readI32(); - struct.setBloomFilterVectorSizeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // BLOOM_FILTER_NB_HASHES - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.bloomFilterNbHashes = iprot.readI32(); - struct.setBloomFilterNbHashesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // BLOCK_CACHE_ENABLED - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.blockCacheEnabled = iprot.readBool(); - struct.setBlockCacheEnabledIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // TIME_TO_LIVE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.timeToLive = iprot.readI32(); - struct.setTimeToLiveIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, ColumnDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // MAX_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COMPRESSION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.compression = iprot.readString(); + struct.setCompressionIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // IN_MEMORY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.inMemory = iprot.readBool(); + struct.setInMemoryIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // BLOOM_FILTER_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.bloomFilterType = iprot.readString(); + struct.setBloomFilterTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // BLOOM_FILTER_VECTOR_SIZE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.bloomFilterVectorSize = iprot.readI32(); + struct.setBloomFilterVectorSizeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // BLOOM_FILTER_NB_HASHES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.bloomFilterNbHashes = iprot.readI32(); + struct.setBloomFilterNbHashesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // BLOCK_CACHE_ENABLED + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.blockCacheEnabled = iprot.readBool(); + struct.setBlockCacheEnabledIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // TIME_TO_LIVE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.timeToLive = iprot.readI32(); + struct.setTimeToLiveIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnDescriptor struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, ColumnDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -1082,17 +1099,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnDescriptor s } - private static class ColumnDescriptorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class ColumnDescriptorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public ColumnDescriptorTupleScheme getScheme() { return new ColumnDescriptorTupleScheme(); } } - private static class ColumnDescriptorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class ColumnDescriptorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, ColumnDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, ColumnDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetName()) { optionals.set(0); @@ -1152,50 +1170,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ColumnDescriptor st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, ColumnDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(9); - if (incoming.get(0)) { - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - } - if (incoming.get(1)) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } - if (incoming.get(2)) { - struct.compression = iprot.readString(); - struct.setCompressionIsSet(true); - } - if (incoming.get(3)) { - struct.inMemory = iprot.readBool(); - struct.setInMemoryIsSet(true); - } - if (incoming.get(4)) { - struct.bloomFilterType = iprot.readString(); - struct.setBloomFilterTypeIsSet(true); - } - if (incoming.get(5)) { - struct.bloomFilterVectorSize = iprot.readI32(); - struct.setBloomFilterVectorSizeIsSet(true); - } - if (incoming.get(6)) { - struct.bloomFilterNbHashes = iprot.readI32(); - struct.setBloomFilterNbHashesIsSet(true); - } - if (incoming.get(7)) { - struct.blockCacheEnabled = iprot.readBool(); - struct.setBlockCacheEnabledIsSet(true); - } - if (incoming.get(8)) { - struct.timeToLive = iprot.readI32(); - struct.setTimeToLiveIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, ColumnDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(9); + if (incoming.get(0)) { + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + } + if (incoming.get(1)) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } + if (incoming.get(2)) { + struct.compression = iprot.readString(); + struct.setCompressionIsSet(true); + } + if (incoming.get(3)) { + struct.inMemory = iprot.readBool(); + struct.setInMemoryIsSet(true); + } + if (incoming.get(4)) { + struct.bloomFilterType = iprot.readString(); + struct.setBloomFilterTypeIsSet(true); + } + if (incoming.get(5)) { + struct.bloomFilterVectorSize = iprot.readI32(); + struct.setBloomFilterVectorSizeIsSet(true); + } + if (incoming.get(6)) { + struct.bloomFilterNbHashes = iprot.readI32(); + struct.setBloomFilterNbHashesIsSet(true); + } + if (incoming.get(7)) { + struct.blockCacheEnabled = iprot.readBool(); + struct.setBlockCacheEnabledIsSet(true); + } + if (incoming.get(8)) { + struct.timeToLive = iprot.readI32(); + struct.setTimeToLiveIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 0dc47dbd3c80..a92bd551e92c 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,13 +1,13 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") public class Hbase { public interface Iface { @@ -17,7 +17,7 @@ public interface Iface { * * @param tableName name of the table */ - public void enableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public void enableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Disables a table (takes it off-line) If it is being served, the master @@ -25,32 +25,32 @@ public interface Iface { * * @param tableName name of the table */ - public void disableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public void disableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @return true if table is on-line * * @param tableName name of the table to check */ - public boolean isTableEnabled(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public boolean isTableEnabled(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void compact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException; + public void compact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException; + public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * List all the userspace tables. * * @return returns a list of names */ - public java.util.List getTableNames() throws IOError, org.apache.thrift.TException; + public java.util.List getTableNames() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * List all the userspace tables and their enabled or disabled flags. * * @return list of tables with is enabled flags */ - public java.util.Map getTableNamesWithIsTableEnabled() throws IOError, org.apache.thrift.TException; + public java.util.Map getTableNamesWithIsTableEnabled() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * List all the column families assoicated with a table. @@ -59,7 +59,7 @@ public interface Iface { * * @param tableName table name */ - public java.util.Map getColumnDescriptors(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public java.util.Map getColumnDescriptors(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * List the regions associated with a table. @@ -68,7 +68,7 @@ public interface Iface { * * @param tableName table name */ - public java.util.List getTableRegions(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public java.util.List getTableRegions(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Create a table with the specified column families. The name @@ -84,7 +84,7 @@ public interface Iface { * * @param columnFamilies list of column family descriptors */ - public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException; + public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Deletes a table @@ -94,7 +94,7 @@ public interface Iface { * * @param tableName name of table to delete */ - public void deleteTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException; + public void deleteTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a single TCell for the specified table, row, and column at the @@ -110,7 +110,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified number of versions for the specified table, @@ -128,7 +128,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified number of versions for the specified table, @@ -149,7 +149,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get all the data for the specified table and row at the latest @@ -163,7 +163,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified columns for the specified table and row at the latest @@ -179,7 +179,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get all the data for the specified table and row at the specified @@ -195,7 +195,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified columns for the specified table and row at the specified @@ -212,7 +212,7 @@ public interface Iface { * @param timestamp * @param attributes Get attributes */ - public java.util.List getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get all the data for the specified table and rows at the latest @@ -226,7 +226,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified columns for the specified table and rows at the latest @@ -242,7 +242,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get all the data for the specified table and rows at the specified @@ -258,7 +258,7 @@ public interface Iface { * * @param attributes Get attributes */ - public java.util.List getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the specified columns for the specified table and rows at the specified @@ -275,7 +275,7 @@ public interface Iface { * @param timestamp * @param attributes Get attributes */ - public java.util.List getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public java.util.List getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Apply a series of mutations (updates/deletes) to a row in a @@ -291,7 +291,7 @@ public interface Iface { * * @param attributes Mutation attributes */ - public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException; + public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Apply a series of mutations (updates/deletes) to a row in a @@ -309,7 +309,7 @@ public interface Iface { * * @param attributes Mutation attributes */ - public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException; + public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Apply a series of batches (each a series of mutations on a single row) @@ -323,7 +323,7 @@ public interface Iface { * * @param attributes Mutation attributes */ - public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException; + public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Apply a series of batches (each a series of mutations on a single row) @@ -339,7 +339,7 @@ public interface Iface { * * @param attributes Mutation attributes */ - public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException; + public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Atomically increment the column value specified. Returns the next value post increment. @@ -352,7 +352,7 @@ public interface Iface { * * @param value amount to increment by */ - public long atomicIncrement(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value) throws IOError, IllegalArgument, org.apache.thrift.TException; + public long atomicIncrement(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Delete all cells that match the passed row and column. @@ -365,7 +365,7 @@ public interface Iface { * * @param attributes Delete attributes */ - public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Delete all cells that match the passed row and column and whose @@ -381,7 +381,7 @@ public interface Iface { * * @param attributes Delete attributes */ - public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Completely delete the row's cells. @@ -392,7 +392,7 @@ public interface Iface { * * @param attributes Delete attributes */ - public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Increment a cell by the ammount. @@ -402,9 +402,9 @@ public interface Iface { * * @param increment The single increment to apply */ - public void increment(TIncrement increment) throws IOError, org.apache.thrift.TException; + public void increment(TIncrement increment) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void incrementRows(java.util.List increments) throws IOError, org.apache.thrift.TException; + public void incrementRows(java.util.List increments) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Completely delete the row's cells marked with a timestamp @@ -418,7 +418,7 @@ public interface Iface { * * @param attributes Delete attributes */ - public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a scanner on the current table, using the Scan instance @@ -430,7 +430,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a scanner on the current table starting at the specified row and @@ -449,7 +449,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a scanner on the current table starting and stopping at the @@ -472,7 +472,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Open a scanner for a given prefix. That is all rows will have the specified @@ -488,7 +488,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a scanner on the current table starting at the specified row and @@ -510,7 +510,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a scanner on the current table starting and stopping at the @@ -536,7 +536,7 @@ public interface Iface { * * @param attributes Scan attributes */ - public int scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException; + public int scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Returns the scanner's current row value and advances to the next @@ -552,7 +552,7 @@ public interface Iface { * * @param id id of a scanner returned by scannerOpen */ - public java.util.List scannerGet(int id) throws IOError, IllegalArgument, org.apache.thrift.TException; + public java.util.List scannerGet(int id) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Returns, starting at the scanner's current row value nbRows worth of @@ -570,7 +570,7 @@ public interface Iface { * * @param nbRows number of results to return */ - public java.util.List scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.thrift.TException; + public java.util.List scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Closes the server-state associated with an open scanner. @@ -579,7 +579,7 @@ public interface Iface { * * @param id id of a scanner returned by scannerOpen */ - public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.thrift.TException; + public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the regininfo for the specified row. It scans @@ -589,7 +589,7 @@ public interface Iface { * * @param row row key */ - public TRegionInfo getRegionInfo(java.nio.ByteBuffer row) throws IOError, org.apache.thrift.TException; + public TRegionInfo getRegionInfo(java.nio.ByteBuffer row) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Appends values to one or more columns within a single row. @@ -598,7 +598,7 @@ public interface Iface { * * @param append The single append operation to apply */ - public java.util.List append(TAppend append) throws IOError, org.apache.thrift.TException; + public java.util.List append(TAppend append) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Atomically checks if a row/family/qualifier value matches the expected @@ -620,172 +620,175 @@ public interface Iface { * * @param attributes Mutation attributes */ - public boolean checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException; + public boolean checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the type of this thrift server. * * @return the type of this thrift server */ - public TThriftServerType getThriftServerType() throws org.apache.thrift.TException; + public TThriftServerType getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Returns the cluster ID for this cluster. */ - public java.lang.String getClusterId() throws org.apache.thrift.TException; + public java.lang.String getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Grant permissions in namespace or table level. * * @param info */ - public boolean grant(TAccessControlEntity info) throws IOError, org.apache.thrift.TException; + public boolean grant(TAccessControlEntity info) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Revoke permissions in namespace or table level. * * @param info */ - public boolean revoke(TAccessControlEntity info) throws IOError, org.apache.thrift.TException; + public boolean revoke(TAccessControlEntity info) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; } public interface AsyncIface { - public void enableTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void enableTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void disableTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void disableTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void isTableEnabled(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isTableEnabled(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void compact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void compact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableNames(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableNames(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableNamesWithIsTableEnabled(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableNamesWithIsTableEnabled(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getColumnDescriptors(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getColumnDescriptors(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableRegions(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableRegions(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void atomicIncrement(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void atomicIncrement(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void increment(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void increment(TIncrement increment, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void incrementRows(java.util.List increments, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void incrementRows(java.util.List increments, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerGet(int id, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void scannerGet(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerGetList(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void scannerGetList(int id, int nbRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void scannerClose(int id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void scannerClose(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRegionInfo(java.nio.ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getRegionInfo(java.nio.ByteBuffer row, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void append(TAppend append, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void append(TAppend append, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getThriftServerType(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getThriftServerType(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getClusterId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getClusterId(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void grant(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void revoke(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void revoke(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; } - public static class Client extends org.apache.thrift.TServiceClient implements Iface { - public static class Factory implements org.apache.thrift.TServiceClientFactory { + public static class Client extends org.apache.hbase.thirdparty.org.apache.thrift.TServiceClient implements Iface { + public static class Factory implements org.apache.hbase.thirdparty.org.apache.thrift.TServiceClientFactory { public Factory() {} - public Client getClient(org.apache.thrift.protocol.TProtocol prot) { + @Override + public Client getClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) { return new Client(prot); } - public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { + @Override + public Client getClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) { return new Client(iprot, oprot); } } - public Client(org.apache.thrift.protocol.TProtocol prot) + public Client(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) { super(prot, prot); } - public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { + public Client(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) { super(iprot, oprot); } - public void enableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException + @Override + public void enableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_enableTable(tableName); recv_enableTable(); } - public void send_enableTable(java.nio.ByteBuffer tableName) throws org.apache.thrift.TException + public void send_enableTable(java.nio.ByteBuffer tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { enableTable_args args = new enableTable_args(); args.setTableName(tableName); sendBase("enableTable", args); } - public void recv_enableTable() throws IOError, org.apache.thrift.TException + public void recv_enableTable() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { enableTable_result result = new enableTable_result(); receiveBase(result, "enableTable"); @@ -795,20 +798,21 @@ public void recv_enableTable() throws IOError, org.apache.thrift.TException return; } - public void disableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException + @Override + public void disableTable(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_disableTable(tableName); recv_disableTable(); } - public void send_disableTable(java.nio.ByteBuffer tableName) throws org.apache.thrift.TException + public void send_disableTable(java.nio.ByteBuffer tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { disableTable_args args = new disableTable_args(); args.setTableName(tableName); sendBase("disableTable", args); } - public void recv_disableTable() throws IOError, org.apache.thrift.TException + public void recv_disableTable() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { disableTable_result result = new disableTable_result(); receiveBase(result, "disableTable"); @@ -818,20 +822,21 @@ public void recv_disableTable() throws IOError, org.apache.thrift.TException return; } - public boolean isTableEnabled(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException + @Override + public boolean isTableEnabled(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_isTableEnabled(tableName); return recv_isTableEnabled(); } - public void send_isTableEnabled(java.nio.ByteBuffer tableName) throws org.apache.thrift.TException + public void send_isTableEnabled(java.nio.ByteBuffer tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { isTableEnabled_args args = new isTableEnabled_args(); args.setTableName(tableName); sendBase("isTableEnabled", args); } - public boolean recv_isTableEnabled() throws IOError, org.apache.thrift.TException + public boolean recv_isTableEnabled() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { isTableEnabled_result result = new isTableEnabled_result(); receiveBase(result, "isTableEnabled"); @@ -841,23 +846,24 @@ public boolean recv_isTableEnabled() throws IOError, org.apache.thrift.TExceptio if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isTableEnabled failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "isTableEnabled failed: unknown result"); } - public void compact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException + @Override + public void compact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_compact(tableNameOrRegionName); recv_compact(); } - public void send_compact(java.nio.ByteBuffer tableNameOrRegionName) throws org.apache.thrift.TException + public void send_compact(java.nio.ByteBuffer tableNameOrRegionName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { compact_args args = new compact_args(); args.setTableNameOrRegionName(tableNameOrRegionName); sendBase("compact", args); } - public void recv_compact() throws IOError, org.apache.thrift.TException + public void recv_compact() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { compact_result result = new compact_result(); receiveBase(result, "compact"); @@ -867,20 +873,21 @@ public void recv_compact() throws IOError, org.apache.thrift.TException return; } - public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException + @Override + public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_majorCompact(tableNameOrRegionName); recv_majorCompact(); } - public void send_majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws org.apache.thrift.TException + public void send_majorCompact(java.nio.ByteBuffer tableNameOrRegionName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { majorCompact_args args = new majorCompact_args(); args.setTableNameOrRegionName(tableNameOrRegionName); sendBase("majorCompact", args); } - public void recv_majorCompact() throws IOError, org.apache.thrift.TException + public void recv_majorCompact() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { majorCompact_result result = new majorCompact_result(); receiveBase(result, "majorCompact"); @@ -890,19 +897,20 @@ public void recv_majorCompact() throws IOError, org.apache.thrift.TException return; } - public java.util.List getTableNames() throws IOError, org.apache.thrift.TException + @Override + public java.util.List getTableNames() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableNames(); return recv_getTableNames(); } - public void send_getTableNames() throws org.apache.thrift.TException + public void send_getTableNames() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNames_args args = new getTableNames_args(); sendBase("getTableNames", args); } - public java.util.List recv_getTableNames() throws IOError, org.apache.thrift.TException + public java.util.List recv_getTableNames() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNames_result result = new getTableNames_result(); receiveBase(result, "getTableNames"); @@ -912,22 +920,23 @@ public java.util.List recv_getTableNames() throws IOError, if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNames failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNames failed: unknown result"); } - public java.util.Map getTableNamesWithIsTableEnabled() throws IOError, org.apache.thrift.TException + @Override + public java.util.Map getTableNamesWithIsTableEnabled() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableNamesWithIsTableEnabled(); return recv_getTableNamesWithIsTableEnabled(); } - public void send_getTableNamesWithIsTableEnabled() throws org.apache.thrift.TException + public void send_getTableNamesWithIsTableEnabled() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesWithIsTableEnabled_args args = new getTableNamesWithIsTableEnabled_args(); sendBase("getTableNamesWithIsTableEnabled", args); } - public java.util.Map recv_getTableNamesWithIsTableEnabled() throws IOError, org.apache.thrift.TException + public java.util.Map recv_getTableNamesWithIsTableEnabled() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesWithIsTableEnabled_result result = new getTableNamesWithIsTableEnabled_result(); receiveBase(result, "getTableNamesWithIsTableEnabled"); @@ -937,23 +946,24 @@ public java.util.Map recv_getTableNamesWi if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesWithIsTableEnabled failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesWithIsTableEnabled failed: unknown result"); } - public java.util.Map getColumnDescriptors(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException + @Override + public java.util.Map getColumnDescriptors(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getColumnDescriptors(tableName); return recv_getColumnDescriptors(); } - public void send_getColumnDescriptors(java.nio.ByteBuffer tableName) throws org.apache.thrift.TException + public void send_getColumnDescriptors(java.nio.ByteBuffer tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getColumnDescriptors_args args = new getColumnDescriptors_args(); args.setTableName(tableName); sendBase("getColumnDescriptors", args); } - public java.util.Map recv_getColumnDescriptors() throws IOError, org.apache.thrift.TException + public java.util.Map recv_getColumnDescriptors() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getColumnDescriptors_result result = new getColumnDescriptors_result(); receiveBase(result, "getColumnDescriptors"); @@ -963,23 +973,24 @@ public java.util.Map recv_getColumnDescrip if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getColumnDescriptors failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getColumnDescriptors failed: unknown result"); } - public java.util.List getTableRegions(java.nio.ByteBuffer tableName) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getTableRegions(java.nio.ByteBuffer tableName) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableRegions(tableName); return recv_getTableRegions(); } - public void send_getTableRegions(java.nio.ByteBuffer tableName) throws org.apache.thrift.TException + public void send_getTableRegions(java.nio.ByteBuffer tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableRegions_args args = new getTableRegions_args(); args.setTableName(tableName); sendBase("getTableRegions", args); } - public java.util.List recv_getTableRegions() throws IOError, org.apache.thrift.TException + public java.util.List recv_getTableRegions() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableRegions_result result = new getTableRegions_result(); receiveBase(result, "getTableRegions"); @@ -989,16 +1000,17 @@ public java.util.List recv_getTableRegions() throws IOError, org.ap if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableRegions failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableRegions failed: unknown result"); } - public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException + @Override + public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_createTable(tableName, columnFamilies); recv_createTable(); } - public void send_createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws org.apache.thrift.TException + public void send_createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { createTable_args args = new createTable_args(); args.setTableName(tableName); @@ -1006,7 +1018,7 @@ public void send_createTable(java.nio.ByteBuffer tableName, java.util.List get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_get(tableName, row, column, attributes); return recv_get(); } - public void send_get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws org.apache.thrift.TException + public void send_get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { get_args args = new get_args(); args.setTableName(tableName); @@ -1061,7 +1075,7 @@ public void send_get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, jav sendBase("get", args); } - public java.util.List recv_get() throws IOError, org.apache.thrift.TException + public java.util.List recv_get() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { get_result result = new get_result(); receiveBase(result, "get"); @@ -1071,16 +1085,17 @@ public java.util.List recv_get() throws IOError, org.apache.thrift.TExcep if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "get failed: unknown result"); } - public java.util.List getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getVer(tableName, row, column, numVersions, attributes); return recv_getVer(); } - public void send_getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getVer_args args = new getVer_args(); args.setTableName(tableName); @@ -1091,7 +1106,7 @@ public void send_getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, sendBase("getVer", args); } - public java.util.List recv_getVer() throws IOError, org.apache.thrift.TException + public java.util.List recv_getVer() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getVer_result result = new getVer_result(); receiveBase(result, "getVer"); @@ -1101,16 +1116,17 @@ public java.util.List recv_getVer() throws IOError, org.apache.thrift.TEx if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVer failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getVer failed: unknown result"); } - public java.util.List getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getVerTs(tableName, row, column, timestamp, numVersions, attributes); return recv_getVerTs(); } - public void send_getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getVerTs_args args = new getVerTs_args(); args.setTableName(tableName); @@ -1122,7 +1138,7 @@ public void send_getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row sendBase("getVerTs", args); } - public java.util.List recv_getVerTs() throws IOError, org.apache.thrift.TException + public java.util.List recv_getVerTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getVerTs_result result = new getVerTs_result(); receiveBase(result, "getVerTs"); @@ -1132,16 +1148,17 @@ public java.util.List recv_getVerTs() throws IOError, org.apache.thrift.T if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVerTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getVerTs failed: unknown result"); } - public java.util.List getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRow(tableName, row, attributes); return recv_getRow(); } - public void send_getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRow_args args = new getRow_args(); args.setTableName(tableName); @@ -1150,7 +1167,7 @@ public void send_getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, sendBase("getRow", args); } - public java.util.List recv_getRow() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRow() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRow_result result = new getRow_result(); receiveBase(result, "getRow"); @@ -1160,16 +1177,17 @@ public java.util.List recv_getRow() throws IOError, org.apache.thrif if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRow failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRow failed: unknown result"); } - public java.util.List getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowWithColumns(tableName, row, columns, attributes); return recv_getRowWithColumns(); } - public void send_getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowWithColumns_args args = new getRowWithColumns_args(); args.setTableName(tableName); @@ -1179,7 +1197,7 @@ public void send_getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteB sendBase("getRowWithColumns", args); } - public java.util.List recv_getRowWithColumns() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowWithColumns() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowWithColumns_result result = new getRowWithColumns_result(); receiveBase(result, "getRowWithColumns"); @@ -1189,16 +1207,17 @@ public java.util.List recv_getRowWithColumns() throws IOError, org.a if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumns failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumns failed: unknown result"); } - public java.util.List getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowTs(tableName, row, timestamp, attributes); return recv_getRowTs(); } - public void send_getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowTs_args args = new getRowTs_args(); args.setTableName(tableName); @@ -1208,7 +1227,7 @@ public void send_getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row sendBase("getRowTs", args); } - public java.util.List recv_getRowTs() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowTs_result result = new getRowTs_result(); receiveBase(result, "getRowTs"); @@ -1218,16 +1237,17 @@ public java.util.List recv_getRowTs() throws IOError, org.apache.thr if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowTs failed: unknown result"); } - public java.util.List getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowWithColumnsTs(tableName, row, columns, timestamp, attributes); return recv_getRowWithColumnsTs(); } - public void send_getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowWithColumnsTs_args args = new getRowWithColumnsTs_args(); args.setTableName(tableName); @@ -1238,7 +1258,7 @@ public void send_getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.Byt sendBase("getRowWithColumnsTs", args); } - public java.util.List recv_getRowWithColumnsTs() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowWithColumnsTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowWithColumnsTs_result result = new getRowWithColumnsTs_result(); receiveBase(result, "getRowWithColumnsTs"); @@ -1248,16 +1268,17 @@ public java.util.List recv_getRowWithColumnsTs() throws IOError, org if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumnsTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumnsTs failed: unknown result"); } - public java.util.List getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRows(tableName, rows, attributes); return recv_getRows(); } - public void send_getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRows_args args = new getRows_args(); args.setTableName(tableName); @@ -1266,7 +1287,7 @@ public void send_getRows(java.nio.ByteBuffer tableName, java.util.List recv_getRows() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRows() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRows_result result = new getRows_result(); receiveBase(result, "getRows"); @@ -1276,16 +1297,17 @@ public java.util.List recv_getRows() throws IOError, org.apache.thri if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRows failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRows failed: unknown result"); } - public java.util.List getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowsWithColumns(tableName, rows, columns, attributes); return recv_getRowsWithColumns(); } - public void send_getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsWithColumns_args args = new getRowsWithColumns_args(); args.setTableName(tableName); @@ -1295,7 +1317,7 @@ public void send_getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.Lis sendBase("getRowsWithColumns", args); } - public java.util.List recv_getRowsWithColumns() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowsWithColumns() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsWithColumns_result result = new getRowsWithColumns_result(); receiveBase(result, "getRowsWithColumns"); @@ -1305,16 +1327,17 @@ public java.util.List recv_getRowsWithColumns() throws IOError, org. if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumns failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumns failed: unknown result"); } - public java.util.List getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowsTs(tableName, rows, timestamp, attributes); return recv_getRowsTs(); } - public void send_getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsTs_args args = new getRowsTs_args(); args.setTableName(tableName); @@ -1324,7 +1347,7 @@ public void send_getRowsTs(java.nio.ByteBuffer tableName, java.util.List recv_getRowsTs() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowsTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsTs_result result = new getRowsTs_result(); receiveBase(result, "getRowsTs"); @@ -1334,16 +1357,17 @@ public java.util.List recv_getRowsTs() throws IOError, org.apache.th if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsTs failed: unknown result"); } - public java.util.List getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public java.util.List getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes); return recv_getRowsWithColumnsTs(); } - public void send_getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsWithColumnsTs_args args = new getRowsWithColumnsTs_args(); args.setTableName(tableName); @@ -1354,7 +1378,7 @@ public void send_getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.L sendBase("getRowsWithColumnsTs", args); } - public java.util.List recv_getRowsWithColumnsTs() throws IOError, org.apache.thrift.TException + public java.util.List recv_getRowsWithColumnsTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result(); receiveBase(result, "getRowsWithColumnsTs"); @@ -1364,16 +1388,17 @@ public java.util.List recv_getRowsWithColumnsTs() throws IOError, or if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumnsTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumnsTs failed: unknown result"); } - public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_mutateRow(tableName, row, mutations, attributes); recv_mutateRow(); } - public void send_mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws org.apache.thrift.TException + public void send_mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRow_args args = new mutateRow_args(); args.setTableName(tableName); @@ -1383,7 +1408,7 @@ public void send_mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer ro sendBase("mutateRow", args); } - public void recv_mutateRow() throws IOError, IllegalArgument, org.apache.thrift.TException + public void recv_mutateRow() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRow_result result = new mutateRow_result(); receiveBase(result, "mutateRow"); @@ -1396,13 +1421,14 @@ public void recv_mutateRow() throws IOError, IllegalArgument, org.apache.thrift. return; } - public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_mutateRowTs(tableName, row, mutations, timestamp, attributes); recv_mutateRowTs(); } - public void send_mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRowTs_args args = new mutateRowTs_args(); args.setTableName(tableName); @@ -1413,7 +1439,7 @@ public void send_mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sendBase("mutateRowTs", args); } - public void recv_mutateRowTs() throws IOError, IllegalArgument, org.apache.thrift.TException + public void recv_mutateRowTs() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRowTs_result result = new mutateRowTs_result(); receiveBase(result, "mutateRowTs"); @@ -1426,13 +1452,14 @@ public void recv_mutateRowTs() throws IOError, IllegalArgument, org.apache.thrif return; } - public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_mutateRows(tableName, rowBatches, attributes); recv_mutateRows(); } - public void send_mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws org.apache.thrift.TException + public void send_mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRows_args args = new mutateRows_args(); args.setTableName(tableName); @@ -1441,7 +1468,7 @@ public void send_mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_mutateRowsTs(tableName, rowBatches, timestamp, attributes); recv_mutateRowsTs(); } - public void send_mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRowsTs_args args = new mutateRowsTs_args(); args.setTableName(tableName); @@ -1470,7 +1498,7 @@ public void send_mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List attributes) throws IOError, org.apache.thrift.TException + @Override + public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteAll(tableName, row, column, attributes); recv_deleteAll(); } - public void send_deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws org.apache.thrift.TException + public void send_deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAll_args args = new deleteAll_args(); args.setTableName(tableName); @@ -1531,7 +1561,7 @@ public void send_deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer ro sendBase("deleteAll", args); } - public void recv_deleteAll() throws IOError, org.apache.thrift.TException + public void recv_deleteAll() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAll_result result = new deleteAll_result(); receiveBase(result, "deleteAll"); @@ -1541,13 +1571,14 @@ public void recv_deleteAll() throws IOError, org.apache.thrift.TException return; } - public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteAllTs(tableName, row, column, timestamp, attributes); recv_deleteAllTs(); } - public void send_deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllTs_args args = new deleteAllTs_args(); args.setTableName(tableName); @@ -1558,7 +1589,7 @@ public void send_deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sendBase("deleteAllTs", args); } - public void recv_deleteAllTs() throws IOError, org.apache.thrift.TException + public void recv_deleteAllTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllTs_result result = new deleteAllTs_result(); receiveBase(result, "deleteAllTs"); @@ -1568,13 +1599,14 @@ public void recv_deleteAllTs() throws IOError, org.apache.thrift.TException return; } - public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteAllRow(tableName, row, attributes); recv_deleteAllRow(); } - public void send_deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws org.apache.thrift.TException + public void send_deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllRow_args args = new deleteAllRow_args(); args.setTableName(tableName); @@ -1583,7 +1615,7 @@ public void send_deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sendBase("deleteAllRow", args); } - public void recv_deleteAllRow() throws IOError, org.apache.thrift.TException + public void recv_deleteAllRow() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllRow_result result = new deleteAllRow_result(); receiveBase(result, "deleteAllRow"); @@ -1593,20 +1625,21 @@ public void recv_deleteAllRow() throws IOError, org.apache.thrift.TException return; } - public void increment(TIncrement increment) throws IOError, org.apache.thrift.TException + @Override + public void increment(TIncrement increment) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_increment(increment); recv_increment(); } - public void send_increment(TIncrement increment) throws org.apache.thrift.TException + public void send_increment(TIncrement increment) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { increment_args args = new increment_args(); args.setIncrement(increment); sendBase("increment", args); } - public void recv_increment() throws IOError, org.apache.thrift.TException + public void recv_increment() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { increment_result result = new increment_result(); receiveBase(result, "increment"); @@ -1616,20 +1649,21 @@ public void recv_increment() throws IOError, org.apache.thrift.TException return; } - public void incrementRows(java.util.List increments) throws IOError, org.apache.thrift.TException + @Override + public void incrementRows(java.util.List increments) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_incrementRows(increments); recv_incrementRows(); } - public void send_incrementRows(java.util.List increments) throws org.apache.thrift.TException + public void send_incrementRows(java.util.List increments) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { incrementRows_args args = new incrementRows_args(); args.setIncrements(increments); sendBase("incrementRows", args); } - public void recv_incrementRows() throws IOError, org.apache.thrift.TException + public void recv_incrementRows() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { incrementRows_result result = new incrementRows_result(); receiveBase(result, "incrementRows"); @@ -1639,13 +1673,14 @@ public void recv_incrementRows() throws IOError, org.apache.thrift.TException return; } - public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteAllRowTs(tableName, row, timestamp, attributes); recv_deleteAllRowTs(); } - public void send_deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllRowTs_args args = new deleteAllRowTs_args(); args.setTableName(tableName); @@ -1655,7 +1690,7 @@ public void send_deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuff sendBase("deleteAllRowTs", args); } - public void recv_deleteAllRowTs() throws IOError, org.apache.thrift.TException + public void recv_deleteAllRowTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteAllRowTs_result result = new deleteAllRowTs_result(); receiveBase(result, "deleteAllRowTs"); @@ -1665,13 +1700,14 @@ public void recv_deleteAllRowTs() throws IOError, org.apache.thrift.TException return; } - public int scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpenWithScan(tableName, scan, attributes); return recv_scannerOpenWithScan(); } - public void send_scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithScan_args args = new scannerOpenWithScan_args(); args.setTableName(tableName); @@ -1680,7 +1716,7 @@ public void send_scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, sendBase("scannerOpenWithScan", args); } - public int recv_scannerOpenWithScan() throws IOError, org.apache.thrift.TException + public int recv_scannerOpenWithScan() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithScan_result result = new scannerOpenWithScan_result(); receiveBase(result, "scannerOpenWithScan"); @@ -1690,16 +1726,17 @@ public int recv_scannerOpenWithScan() throws IOError, org.apache.thrift.TExcepti if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithScan failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithScan failed: unknown result"); } - public int scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpen(tableName, startRow, columns, attributes); return recv_scannerOpen(); } - public void send_scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpen_args args = new scannerOpen_args(); args.setTableName(tableName); @@ -1709,7 +1746,7 @@ public void send_scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sendBase("scannerOpen", args); } - public int recv_scannerOpen() throws IOError, org.apache.thrift.TException + public int recv_scannerOpen() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpen_result result = new scannerOpen_result(); receiveBase(result, "scannerOpen"); @@ -1719,16 +1756,17 @@ public int recv_scannerOpen() throws IOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpen failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpen failed: unknown result"); } - public int scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes); return recv_scannerOpenWithStop(); } - public void send_scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithStop_args args = new scannerOpenWithStop_args(); args.setTableName(tableName); @@ -1739,7 +1777,7 @@ public void send_scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.Byt sendBase("scannerOpenWithStop", args); } - public int recv_scannerOpenWithStop() throws IOError, org.apache.thrift.TException + public int recv_scannerOpenWithStop() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithStop_result result = new scannerOpenWithStop_result(); receiveBase(result, "scannerOpenWithStop"); @@ -1749,16 +1787,17 @@ public int recv_scannerOpenWithStop() throws IOError, org.apache.thrift.TExcepti if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStop failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStop failed: unknown result"); } - public int scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpenWithPrefix(tableName, startAndPrefix, columns, attributes); return recv_scannerOpenWithPrefix(); } - public void send_scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithPrefix_args args = new scannerOpenWithPrefix_args(); args.setTableName(tableName); @@ -1768,7 +1807,7 @@ public void send_scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.B sendBase("scannerOpenWithPrefix", args); } - public int recv_scannerOpenWithPrefix() throws IOError, org.apache.thrift.TException + public int recv_scannerOpenWithPrefix() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result(); receiveBase(result, "scannerOpenWithPrefix"); @@ -1778,16 +1817,17 @@ public int recv_scannerOpenWithPrefix() throws IOError, org.apache.thrift.TExcep if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithPrefix failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithPrefix failed: unknown result"); } - public int scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpenTs(tableName, startRow, columns, timestamp, attributes); return recv_scannerOpenTs(); } - public void send_scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenTs_args args = new scannerOpenTs_args(); args.setTableName(tableName); @@ -1798,7 +1838,7 @@ public void send_scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffe sendBase("scannerOpenTs", args); } - public int recv_scannerOpenTs() throws IOError, org.apache.thrift.TException + public int recv_scannerOpenTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenTs_result result = new scannerOpenTs_result(); receiveBase(result, "scannerOpenTs"); @@ -1808,16 +1848,17 @@ public int recv_scannerOpenTs() throws IOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenTs failed: unknown result"); } - public int scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.thrift.TException + @Override + public int scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes); return recv_scannerOpenWithStopTs(); } - public void send_scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.thrift.TException + public void send_scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args(); args.setTableName(tableName); @@ -1829,7 +1870,7 @@ public void send_scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.B sendBase("scannerOpenWithStopTs", args); } - public int recv_scannerOpenWithStopTs() throws IOError, org.apache.thrift.TException + public int recv_scannerOpenWithStopTs() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result(); receiveBase(result, "scannerOpenWithStopTs"); @@ -1839,23 +1880,24 @@ public int recv_scannerOpenWithStopTs() throws IOError, org.apache.thrift.TExcep if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStopTs failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStopTs failed: unknown result"); } - public java.util.List scannerGet(int id) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public java.util.List scannerGet(int id) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerGet(id); return recv_scannerGet(); } - public void send_scannerGet(int id) throws org.apache.thrift.TException + public void send_scannerGet(int id) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerGet_args args = new scannerGet_args(); args.setId(id); sendBase("scannerGet", args); } - public java.util.List recv_scannerGet() throws IOError, IllegalArgument, org.apache.thrift.TException + public java.util.List recv_scannerGet() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerGet_result result = new scannerGet_result(); receiveBase(result, "scannerGet"); @@ -1868,16 +1910,17 @@ public java.util.List recv_scannerGet() throws IOError, IllegalArgum if (result.ia != null) { throw result.ia; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGet failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGet failed: unknown result"); } - public java.util.List scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public java.util.List scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerGetList(id, nbRows); return recv_scannerGetList(); } - public void send_scannerGetList(int id, int nbRows) throws org.apache.thrift.TException + public void send_scannerGetList(int id, int nbRows) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerGetList_args args = new scannerGetList_args(); args.setId(id); @@ -1885,7 +1928,7 @@ public void send_scannerGetList(int id, int nbRows) throws org.apache.thrift.TEx sendBase("scannerGetList", args); } - public java.util.List recv_scannerGetList() throws IOError, IllegalArgument, org.apache.thrift.TException + public java.util.List recv_scannerGetList() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerGetList_result result = new scannerGetList_result(); receiveBase(result, "scannerGetList"); @@ -1898,23 +1941,24 @@ public java.util.List recv_scannerGetList() throws IOError, IllegalA if (result.ia != null) { throw result.ia; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGetList failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGetList failed: unknown result"); } - public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_scannerClose(id); recv_scannerClose(); } - public void send_scannerClose(int id) throws org.apache.thrift.TException + public void send_scannerClose(int id) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerClose_args args = new scannerClose_args(); args.setId(id); sendBase("scannerClose", args); } - public void recv_scannerClose() throws IOError, IllegalArgument, org.apache.thrift.TException + public void recv_scannerClose() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { scannerClose_result result = new scannerClose_result(); receiveBase(result, "scannerClose"); @@ -1927,20 +1971,21 @@ public void recv_scannerClose() throws IOError, IllegalArgument, org.apache.thri return; } - public TRegionInfo getRegionInfo(java.nio.ByteBuffer row) throws IOError, org.apache.thrift.TException + @Override + public TRegionInfo getRegionInfo(java.nio.ByteBuffer row) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRegionInfo(row); return recv_getRegionInfo(); } - public void send_getRegionInfo(java.nio.ByteBuffer row) throws org.apache.thrift.TException + public void send_getRegionInfo(java.nio.ByteBuffer row) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRegionInfo_args args = new getRegionInfo_args(); args.setRow(row); sendBase("getRegionInfo", args); } - public TRegionInfo recv_getRegionInfo() throws IOError, org.apache.thrift.TException + public TRegionInfo recv_getRegionInfo() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRegionInfo_result result = new getRegionInfo_result(); receiveBase(result, "getRegionInfo"); @@ -1950,23 +1995,24 @@ public TRegionInfo recv_getRegionInfo() throws IOError, org.apache.thrift.TExcep if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRegionInfo failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRegionInfo failed: unknown result"); } - public java.util.List append(TAppend append) throws IOError, org.apache.thrift.TException + @Override + public java.util.List append(TAppend append) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_append(append); return recv_append(); } - public void send_append(TAppend append) throws org.apache.thrift.TException + public void send_append(TAppend append) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { append_args args = new append_args(); args.setAppend(append); sendBase("append", args); } - public java.util.List recv_append() throws IOError, org.apache.thrift.TException + public java.util.List recv_append() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { append_result result = new append_result(); receiveBase(result, "append"); @@ -1976,16 +2022,17 @@ public java.util.List recv_append() throws IOError, org.apache.thrift.TEx if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "append failed: unknown result"); } - public boolean checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.thrift.TException + @Override + public boolean checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_checkAndPut(tableName, row, column, value, mput, attributes); return recv_checkAndPut(); } - public void send_checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws org.apache.thrift.TException + public void send_checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndPut_args args = new checkAndPut_args(); args.setTableName(tableName); @@ -1997,7 +2044,7 @@ public void send_checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sendBase("checkAndPut", args); } - public boolean recv_checkAndPut() throws IOError, IllegalArgument, org.apache.thrift.TException + public boolean recv_checkAndPut() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndPut_result result = new checkAndPut_result(); receiveBase(result, "checkAndPut"); @@ -2010,67 +2057,70 @@ public boolean recv_checkAndPut() throws IOError, IllegalArgument, org.apache.th if (result.ia != null) { throw result.ia; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndPut failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndPut failed: unknown result"); } - public TThriftServerType getThriftServerType() throws org.apache.thrift.TException + @Override + public TThriftServerType getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getThriftServerType(); return recv_getThriftServerType(); } - public void send_getThriftServerType() throws org.apache.thrift.TException + public void send_getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getThriftServerType_args args = new getThriftServerType_args(); sendBase("getThriftServerType", args); } - public TThriftServerType recv_getThriftServerType() throws org.apache.thrift.TException + public TThriftServerType recv_getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getThriftServerType_result result = new getThriftServerType_result(); receiveBase(result, "getThriftServerType"); if (result.isSetSuccess()) { return result.success; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getThriftServerType failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getThriftServerType failed: unknown result"); } - public java.lang.String getClusterId() throws org.apache.thrift.TException + @Override + public java.lang.String getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getClusterId(); return recv_getClusterId(); } - public void send_getClusterId() throws org.apache.thrift.TException + public void send_getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getClusterId_args args = new getClusterId_args(); sendBase("getClusterId", args); } - public java.lang.String recv_getClusterId() throws org.apache.thrift.TException + public java.lang.String recv_getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getClusterId_result result = new getClusterId_result(); receiveBase(result, "getClusterId"); if (result.isSetSuccess()) { return result.success; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getClusterId failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getClusterId failed: unknown result"); } - public boolean grant(TAccessControlEntity info) throws IOError, org.apache.thrift.TException + @Override + public boolean grant(TAccessControlEntity info) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_grant(info); return recv_grant(); } - public void send_grant(TAccessControlEntity info) throws org.apache.thrift.TException + public void send_grant(TAccessControlEntity info) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { grant_args args = new grant_args(); args.setInfo(info); sendBase("grant", args); } - public boolean recv_grant() throws IOError, org.apache.thrift.TException + public boolean recv_grant() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { grant_result result = new grant_result(); receiveBase(result, "grant"); @@ -2080,23 +2130,24 @@ public boolean recv_grant() throws IOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "grant failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "grant failed: unknown result"); } - public boolean revoke(TAccessControlEntity info) throws IOError, org.apache.thrift.TException + @Override + public boolean revoke(TAccessControlEntity info) throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_revoke(info); return recv_revoke(); } - public void send_revoke(TAccessControlEntity info) throws org.apache.thrift.TException + public void send_revoke(TAccessControlEntity info) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { revoke_args args = new revoke_args(); args.setInfo(info); sendBase("revoke", args); } - public boolean recv_revoke() throws IOError, org.apache.thrift.TException + public boolean recv_revoke() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { revoke_result result = new revoke_result(); receiveBase(result, "revoke"); @@ -2106,327 +2157,361 @@ public boolean recv_revoke() throws IOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "revoke failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "revoke failed: unknown result"); } } - public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface { - public static class Factory implements org.apache.thrift.async.TAsyncClientFactory { - private org.apache.thrift.async.TAsyncClientManager clientManager; - private org.apache.thrift.protocol.TProtocolFactory protocolFactory; - public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) { + public static class AsyncClient extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient implements AsyncIface { + public static class Factory implements org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientFactory { + private org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager; + private org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory; + public Factory(org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory) { this.clientManager = clientManager; this.protocolFactory = protocolFactory; } - public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) { + @Override + public AsyncClient getAsyncClient(org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) { return new AsyncClient(protocolFactory, clientManager, transport); } } - public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) { + public AsyncClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) { super(protocolFactory, clientManager, transport); } - public void enableTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void enableTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); enableTable_call method_call = new enableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class enableTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class enableTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; - public enableTable_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public enableTable_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("enableTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("enableTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); enableTable_args args = new enableTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_enableTable(); return null; } } - public void disableTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void disableTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); disableTable_call method_call = new disableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class disableTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class disableTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; - public disableTable_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public disableTable_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("disableTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("disableTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); disableTable_args args = new disableTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_disableTable(); return null; } } - public void isTableEnabled(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void isTableEnabled(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); isTableEnabled_call method_call = new isTableEnabled_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class isTableEnabled_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class isTableEnabled_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; - public isTableEnabled_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public isTableEnabled_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTableEnabled", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("isTableEnabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); isTableEnabled_args args = new isTableEnabled_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_isTableEnabled(); } } - public void compact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void compact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); compact_call method_call = new compact_call(tableNameOrRegionName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class compact_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class compact_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableNameOrRegionName; - public compact_call(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public compact_call(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableNameOrRegionName = tableNameOrRegionName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("compact", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("compact", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); compact_args args = new compact_args(); args.setTableNameOrRegionName(tableNameOrRegionName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_compact(); return null; } } - public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void majorCompact(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); majorCompact_call method_call = new majorCompact_call(tableNameOrRegionName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class majorCompact_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class majorCompact_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableNameOrRegionName; - public majorCompact_call(java.nio.ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public majorCompact_call(java.nio.ByteBuffer tableNameOrRegionName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableNameOrRegionName = tableNameOrRegionName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("majorCompact", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("majorCompact", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); majorCompact_args args = new majorCompact_args(); args.setTableNameOrRegionName(tableNameOrRegionName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_majorCompact(); return null; } } - public void getTableNames(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableNames(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableNames_call method_call = new getTableNames_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableNames_call extends org.apache.thrift.async.TAsyncMethodCall> { - public getTableNames_call(org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getTableNames_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { + public getTableNames_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableNames", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableNames", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableNames_args args = new getTableNames_args(); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableNames(); } } - public void getTableNamesWithIsTableEnabled(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableNamesWithIsTableEnabled(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableNamesWithIsTableEnabled_call method_call = new getTableNamesWithIsTableEnabled_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableNamesWithIsTableEnabled_call extends org.apache.thrift.async.TAsyncMethodCall> { - public getTableNamesWithIsTableEnabled_call(org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getTableNamesWithIsTableEnabled_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { + public getTableNamesWithIsTableEnabled_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableNamesWithIsTableEnabled", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableNamesWithIsTableEnabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableNamesWithIsTableEnabled_args args = new getTableNamesWithIsTableEnabled_args(); args.write(prot); prot.writeMessageEnd(); } - public java.util.Map getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.Map getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableNamesWithIsTableEnabled(); } } - public void getColumnDescriptors(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getColumnDescriptors(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getColumnDescriptors_call method_call = new getColumnDescriptors_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getColumnDescriptors_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getColumnDescriptors_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; - public getColumnDescriptors_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getColumnDescriptors_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getColumnDescriptors", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getColumnDescriptors", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getColumnDescriptors_args args = new getColumnDescriptors_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.util.Map getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.Map getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getColumnDescriptors(); } } - public void getTableRegions(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableRegions(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableRegions_call method_call = new getTableRegions_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableRegions_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableRegions_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; - public getTableRegions_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableRegions_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableRegions", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableRegions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableRegions_args args = new getTableRegions_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableRegions(); } } - public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void createTable(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); createTable_call method_call = new createTable_call(tableName, columnFamilies, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class createTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class createTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.util.List columnFamilies; - public createTable_call(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public createTable_call(java.nio.ByteBuffer tableName, java.util.List columnFamilies, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.columnFamilies = columnFamilies; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("createTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); createTable_args args = new createTable_args(); args.setTableName(tableName); args.setColumnFamilies(columnFamilies); @@ -2434,61 +2519,68 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, IllegalArgument, AlreadyExists, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_createTable(); return null; } } - public void deleteTable(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteTable(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteTable_call method_call = new deleteTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; - public deleteTable_call(java.nio.ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteTable_call(java.nio.ByteBuffer tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteTable_args args = new deleteTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteTable(); return null; } } - public void get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void get(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); get_call method_call = new get_call(tableName, row, column, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class get_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class get_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private java.util.Map attributes; - public get_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public get_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2496,8 +2588,9 @@ public get_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("get", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); get_args args = new get_args(); args.setTableName(tableName); args.setRow(row); @@ -2507,30 +2600,32 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_get(); } } - public void getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getVer(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getVer_call method_call = new getVer_call(tableName, row, column, numVersions, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getVer_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getVer_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private int numVersions; private java.util.Map attributes; - public getVer_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getVer_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2539,8 +2634,9 @@ public getVer_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java. this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getVer", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getVer", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getVer_args args = new getVer_args(); args.setTableName(tableName); args.setRow(row); @@ -2551,31 +2647,33 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getVer(); } } - public void getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getVerTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getVerTs_call method_call = new getVerTs_call(tableName, row, column, timestamp, numVersions, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getVerTs_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getVerTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private long timestamp; private int numVersions; private java.util.Map attributes; - public getVerTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getVerTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, int numVersions, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2585,8 +2683,9 @@ public getVerTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, jav this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getVerTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getVerTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getVerTs_args args = new getVerTs_args(); args.setTableName(tableName); args.setRow(row); @@ -2598,36 +2697,39 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getVerTs(); } } - public void getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRow_call method_call = new getRow_call(tableName, row, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRow_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRow_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.Map attributes; - public getRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRow", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRow_args args = new getRow_args(); args.setTableName(tableName); args.setRow(row); @@ -2636,29 +2738,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRow(); } } - public void getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowWithColumns(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowWithColumns_call method_call = new getRowWithColumns_call(tableName, row, columns, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowWithColumns_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowWithColumns_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.List columns; private java.util.Map attributes; - public getRowWithColumns_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowWithColumns_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2666,8 +2770,9 @@ public getRowWithColumns_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowWithColumns", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRowWithColumns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRowWithColumns_args args = new getRowWithColumns_args(); args.setTableName(tableName); args.setRow(row); @@ -2677,29 +2782,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowWithColumns(); } } - public void getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowTs_call method_call = new getRowTs_call(tableName, row, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowTs_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private long timestamp; private java.util.Map attributes; - public getRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2707,8 +2814,9 @@ public getRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, lon this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRowTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRowTs_args args = new getRowTs_args(); args.setTableName(tableName); args.setRow(row); @@ -2718,30 +2826,32 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowTs(); } } - public void getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowWithColumnsTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowWithColumnsTs_call method_call = new getRowWithColumnsTs_call(tableName, row, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowWithColumnsTs_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowWithColumnsTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.List columns; private long timestamp; private java.util.Map attributes; - public getRowWithColumnsTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowWithColumnsTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2750,8 +2860,9 @@ public getRowWithColumnsTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuff this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowWithColumnsTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRowWithColumnsTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRowWithColumnsTs_args args = new getRowWithColumnsTs_args(); args.setTableName(tableName); args.setRow(row); @@ -2762,36 +2873,39 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowWithColumnsTs(); } } - public void getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRows(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRows_call method_call = new getRows_call(tableName, rows, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRows_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRows_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.util.List rows; private java.util.Map attributes; - public getRows_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRows_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rows = rows; this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRows", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRows_args args = new getRows_args(); args.setTableName(tableName); args.setRows(rows); @@ -2800,29 +2914,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRows(); } } - public void getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowsWithColumns(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowsWithColumns_call method_call = new getRowsWithColumns_call(tableName, rows, columns, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowsWithColumns_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowsWithColumns_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.util.List rows; private java.util.List columns; private java.util.Map attributes; - public getRowsWithColumns_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowsWithColumns_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rows = rows; @@ -2830,8 +2946,9 @@ public getRowsWithColumns_call(java.nio.ByteBuffer tableName, java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowsWithColumns(); } } - public void getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowsTs(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowsTs_call method_call = new getRowsTs_call(tableName, rows, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowsTs_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowsTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.util.List rows; private long timestamp; private java.util.Map attributes; - public getRowsTs_call(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowsTs_call(java.nio.ByteBuffer tableName, java.util.List rows, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rows = rows; @@ -2871,8 +2990,9 @@ public getRowsTs_call(java.nio.ByteBuffer tableName, java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowsTs(); } } - public void getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getRowsWithColumnsTs(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRowsWithColumnsTs_call method_call = new getRowsWithColumnsTs_call(tableName, rows, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRowsWithColumnsTs_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getRowsWithColumnsTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer tableName; private java.util.List rows; private java.util.List columns; private long timestamp; private java.util.Map attributes; - public getRowsWithColumnsTs_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRowsWithColumnsTs_call(java.nio.ByteBuffer tableName, java.util.List rows, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rows = rows; @@ -2914,8 +3036,9 @@ public getRowsWithColumnsTs_call(java.nio.ByteBuffer tableName, java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRowsWithColumnsTs(); } } - public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void mutateRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); mutateRow_call method_call = new mutateRow_call(tableName, row, mutations, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class mutateRow_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class mutateRow_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.List mutations; private java.util.Map attributes; - public mutateRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public mutateRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2956,8 +3081,9 @@ public mutateRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, ja this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRow", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("mutateRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); mutateRow_args args = new mutateRow_args(); args.setTableName(tableName); args.setRow(row); @@ -2967,30 +3093,33 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_mutateRow(); return null; } } - public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void mutateRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); mutateRowTs_call method_call = new mutateRowTs_call(tableName, row, mutations, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class mutateRowTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class mutateRowTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.List mutations; private long timestamp; private java.util.Map attributes; - public mutateRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public mutateRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.List mutations, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -2999,8 +3128,9 @@ public mutateRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("mutateRowTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); mutateRowTs_args args = new mutateRowTs_args(); args.setTableName(tableName); args.setRow(row); @@ -3011,36 +3141,40 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_mutateRowTs(); return null; } } - public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void mutateRows(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); mutateRows_call method_call = new mutateRows_call(tableName, rowBatches, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class mutateRows_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class mutateRows_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.util.List rowBatches; private java.util.Map attributes; - public mutateRows_call(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public mutateRows_call(java.nio.ByteBuffer tableName, java.util.List rowBatches, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rowBatches = rowBatches; this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRows", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("mutateRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); mutateRows_args args = new mutateRows_args(); args.setTableName(tableName); args.setRowBatches(rowBatches); @@ -3049,29 +3183,32 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_mutateRows(); return null; } } - public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void mutateRowsTs(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); mutateRowsTs_call method_call = new mutateRowsTs_call(tableName, rowBatches, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class mutateRowsTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class mutateRowsTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.util.List rowBatches; private long timestamp; private java.util.Map attributes; - public mutateRowsTs_call(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public mutateRowsTs_call(java.nio.ByteBuffer tableName, java.util.List rowBatches, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.rowBatches = rowBatches; @@ -3079,8 +3216,9 @@ public mutateRowsTs_call(java.nio.ByteBuffer tableName, java.util.List resultHandler) throws org.apache.thrift.TException { + @Override + public void atomicIncrement(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); atomicIncrement_call method_call = new atomicIncrement_call(tableName, row, column, value, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class atomicIncrement_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class atomicIncrement_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private long value; - public atomicIncrement_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public atomicIncrement_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long value, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -3120,8 +3261,9 @@ public atomicIncrement_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer r this.value = value; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("atomicIncrement", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("atomicIncrement", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); atomicIncrement_args args = new atomicIncrement_args(); args.setTableName(tableName); args.setRow(row); @@ -3131,29 +3273,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Long getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Long getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_atomicIncrement(); } } - public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteAll(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteAll_call method_call = new deleteAll_call(tableName, row, column, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteAll_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteAll_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private java.util.Map attributes; - public deleteAll_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteAll_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -3161,8 +3305,9 @@ public deleteAll_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, ja this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAll", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteAll", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteAll_args args = new deleteAll_args(); args.setTableName(tableName); args.setRow(row); @@ -3172,30 +3317,33 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteAll(); return null; } } - public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteAllTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteAllTs_call method_call = new deleteAllTs_call(tableName, row, column, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteAllTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteAllTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private long timestamp; private java.util.Map attributes; - public deleteAllTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteAllTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -3204,8 +3352,9 @@ public deleteAllTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteAllTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteAllTs_args args = new deleteAllTs_args(); args.setTableName(tableName); args.setRow(row); @@ -3216,36 +3365,40 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteAllTs(); return null; } } - public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteAllRow(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteAllRow_call method_call = new deleteAllRow_call(tableName, row, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteAllRow_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteAllRow_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.util.Map attributes; - public deleteAllRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteAllRow_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllRow", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteAllRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteAllRow_args args = new deleteAllRow_args(); args.setTableName(tableName); args.setRow(row); @@ -3254,93 +3407,104 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteAllRow(); return null; } } - public void increment(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void increment(TIncrement increment, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); increment_call method_call = new increment_call(increment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class increment_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class increment_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TIncrement increment; - public increment_call(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public increment_call(TIncrement increment, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.increment = increment; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("increment", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("increment", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); increment_args args = new increment_args(); args.setIncrement(increment); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_increment(); return null; } } - public void incrementRows(java.util.List increments, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void incrementRows(java.util.List increments, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); incrementRows_call method_call = new incrementRows_call(increments, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class incrementRows_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class incrementRows_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.util.List increments; - public incrementRows_call(java.util.List increments, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public incrementRows_call(java.util.List increments, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.increments = increments; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("incrementRows", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("incrementRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); incrementRows_args args = new incrementRows_args(); args.setIncrements(increments); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_incrementRows(); return null; } } - public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteAllRowTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteAllRowTs_call method_call = new deleteAllRowTs_call(tableName, row, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteAllRowTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteAllRowTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private long timestamp; private java.util.Map attributes; - public deleteAllRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteAllRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -3348,8 +3512,9 @@ public deleteAllRowTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer ro this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteAllRowTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteAllRowTs_args args = new deleteAllRowTs_args(); args.setTableName(tableName); args.setRow(row); @@ -3359,36 +3524,40 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteAllRowTs(); return null; } } - public void scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpenWithScan(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpenWithScan_call method_call = new scannerOpenWithScan_call(tableName, scan, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpenWithScan_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpenWithScan_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private TScan scan; private java.util.Map attributes; - public scannerOpenWithScan_call(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpenWithScan_call(java.nio.ByteBuffer tableName, TScan scan, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.scan = scan; this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithScan", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpenWithScan", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpenWithScan_args args = new scannerOpenWithScan_args(); args.setTableName(tableName); args.setScan(scan); @@ -3397,29 +3566,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpenWithScan(); } } - public void scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpen(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpen_call method_call = new scannerOpen_call(tableName, startRow, columns, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpen_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpen_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer startRow; private java.util.List columns; private java.util.Map attributes; - public scannerOpen_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpen_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.startRow = startRow; @@ -3427,8 +3598,9 @@ public scannerOpen_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer start this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpen", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpen", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpen_args args = new scannerOpen_args(); args.setTableName(tableName); args.setStartRow(startRow); @@ -3438,30 +3610,32 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpen(); } } - public void scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpenWithStop(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpenWithStop_call method_call = new scannerOpenWithStop_call(tableName, startRow, stopRow, columns, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpenWithStop_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpenWithStop_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer startRow; private java.nio.ByteBuffer stopRow; private java.util.List columns; private java.util.Map attributes; - public scannerOpenWithStop_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpenWithStop_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.startRow = startRow; @@ -3470,8 +3644,9 @@ public scannerOpenWithStop_call(java.nio.ByteBuffer tableName, java.nio.ByteBuff this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithStop", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpenWithStop", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpenWithStop_args args = new scannerOpenWithStop_args(); args.setTableName(tableName); args.setStartRow(startRow); @@ -3482,29 +3657,31 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpenWithStop(); } } - public void scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpenWithPrefix(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpenWithPrefix_call method_call = new scannerOpenWithPrefix_call(tableName, startAndPrefix, columns, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpenWithPrefix_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpenWithPrefix_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer startAndPrefix; private java.util.List columns; private java.util.Map attributes; - public scannerOpenWithPrefix_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpenWithPrefix_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startAndPrefix, java.util.List columns, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.startAndPrefix = startAndPrefix; @@ -3512,8 +3689,9 @@ public scannerOpenWithPrefix_call(java.nio.ByteBuffer tableName, java.nio.ByteBu this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithPrefix", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpenWithPrefix", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpenWithPrefix_args args = new scannerOpenWithPrefix_args(); args.setTableName(tableName); args.setStartAndPrefix(startAndPrefix); @@ -3523,30 +3701,32 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpenWithPrefix(); } } - public void scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpenTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpenTs_call method_call = new scannerOpenTs_call(tableName, startRow, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpenTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpenTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer startRow; private java.util.List columns; private long timestamp; private java.util.Map attributes; - public scannerOpenTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpenTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.startRow = startRow; @@ -3555,8 +3735,9 @@ public scannerOpenTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer sta this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpenTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpenTs_args args = new scannerOpenTs_args(); args.setTableName(tableName); args.setStartRow(startRow); @@ -3567,31 +3748,33 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpenTs(); } } - public void scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerOpenWithStopTs(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerOpenWithStopTs_call method_call = new scannerOpenWithStopTs_call(tableName, startRow, stopRow, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerOpenWithStopTs_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerOpenWithStopTs_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer startRow; private java.nio.ByteBuffer stopRow; private java.util.List columns; private long timestamp; private java.util.Map attributes; - public scannerOpenWithStopTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerOpenWithStopTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer startRow, java.nio.ByteBuffer stopRow, java.util.List columns, long timestamp, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.startRow = startRow; @@ -3601,8 +3784,9 @@ public scannerOpenWithStopTs_call(java.nio.ByteBuffer tableName, java.nio.ByteBu this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithStopTs", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerOpenWithStopTs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args(); args.setTableName(tableName); args.setStartRow(startRow); @@ -3614,66 +3798,72 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerOpenWithStopTs(); } } - public void scannerGet(int id, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerGet(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerGet_call method_call = new scannerGet_call(id, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerGet_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class scannerGet_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private int id; - public scannerGet_call(int id, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerGet_call(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.id = id; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerGet", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerGet", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerGet_args args = new scannerGet_args(); args.setId(id); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerGet(); } } - public void scannerGetList(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerGetList(int id, int nbRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerGetList_call method_call = new scannerGetList_call(id, nbRows, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerGetList_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class scannerGetList_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private int id; private int nbRows; - public scannerGetList_call(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerGetList_call(int id, int nbRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.id = id; this.nbRows = nbRows; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerGetList", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerGetList", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerGetList_args args = new scannerGetList_args(); args.setId(id); args.setNbRows(nbRows); @@ -3681,127 +3871,139 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_scannerGetList(); } } - public void scannerClose(int id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void scannerClose(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); scannerClose_call method_call = new scannerClose_call(id, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class scannerClose_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class scannerClose_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private int id; - public scannerClose_call(int id, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public scannerClose_call(int id, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.id = id; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerClose", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("scannerClose", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); scannerClose_args args = new scannerClose_args(); args.setId(id); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_scannerClose(); return null; } } - public void getRegionInfo(java.nio.ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getRegionInfo(java.nio.ByteBuffer row, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRegionInfo_call method_call = new getRegionInfo_call(row, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRegionInfo_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class getRegionInfo_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer row; - public getRegionInfo_call(java.nio.ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRegionInfo_call(java.nio.ByteBuffer row, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.row = row; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRegionInfo", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRegionInfo", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRegionInfo_args args = new getRegionInfo_args(); args.setRow(row); args.write(prot); prot.writeMessageEnd(); } - public TRegionInfo getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TRegionInfo getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRegionInfo(); } } - public void append(TAppend append, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void append(TAppend append, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); append_call method_call = new append_call(append, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class append_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class append_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private TAppend append; - public append_call(TAppend append, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public append_call(TAppend append, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.append = append; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("append", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("append", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); append_args args = new append_args(); args.setAppend(append); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_append(); } } - public void checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void checkAndPut(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); checkAndPut_call method_call = new checkAndPut_call(tableName, row, column, value, mput, attributes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class checkAndPut_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class checkAndPut_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer tableName; private java.nio.ByteBuffer row; private java.nio.ByteBuffer column; private java.nio.ByteBuffer value; private Mutation mput; private java.util.Map attributes; - public checkAndPut_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public checkAndPut_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, java.nio.ByteBuffer column, java.nio.ByteBuffer value, Mutation mput, java.util.Map attributes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.row = row; @@ -3811,8 +4013,9 @@ public checkAndPut_call(java.nio.ByteBuffer tableName, java.nio.ByteBuffer row, this.attributes = attributes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkAndPut", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("checkAndPut", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); checkAndPut_args args = new checkAndPut_args(); args.setTableName(tableName); args.setRow(row); @@ -3824,151 +4027,164 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws IOError, IllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws IOError, IllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_checkAndPut(); } } - public void getThriftServerType(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getThriftServerType(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getThriftServerType_call method_call = new getThriftServerType_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getThriftServerType_call extends org.apache.thrift.async.TAsyncMethodCall { - public getThriftServerType_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getThriftServerType_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { + public getThriftServerType_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getThriftServerType", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getThriftServerType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getThriftServerType_args args = new getThriftServerType_args(); args.write(prot); prot.writeMessageEnd(); } - public TThriftServerType getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TThriftServerType getResult() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getThriftServerType(); } } - public void getClusterId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getClusterId(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getClusterId_call method_call = new getClusterId_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getClusterId_call extends org.apache.thrift.async.TAsyncMethodCall { - public getClusterId_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getClusterId_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { + public getClusterId_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getClusterId", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getClusterId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getClusterId_args args = new getClusterId_args(); args.write(prot); prot.writeMessageEnd(); } - public java.lang.String getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.String getResult() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getClusterId(); } } - public void grant(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void grant(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); grant_call method_call = new grant_call(info, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class grant_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class grant_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TAccessControlEntity info; - public grant_call(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public grant_call(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.info = info; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grant", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("grant", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); grant_args args = new grant_args(); args.setInfo(info); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_grant(); } } - public void revoke(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void revoke(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); revoke_call method_call = new revoke_call(info, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revoke_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class revoke_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TAccessControlEntity info; - public revoke_call(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public revoke_call(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.info = info; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("revoke", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("revoke", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); revoke_args args = new revoke_args(); args.setInfo(info); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws IOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws IOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_revoke(); } } } - public static class Processor extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor { + public static class Processor extends org.apache.hbase.thirdparty.org.apache.thrift.TBaseProcessor implements org.apache.hbase.thirdparty.org.apache.thrift.TProcessor { private static final org.slf4j.Logger _LOGGER = org.slf4j.LoggerFactory.getLogger(Processor.class.getName()); public Processor(I iface) { - super(iface, getProcessMap(new java.util.HashMap>())); + super(iface, getProcessMap(new java.util.HashMap>())); } - protected Processor(I iface, java.util.Map> processMap) { + protected Processor(I iface, java.util.Map> processMap) { super(iface, getProcessMap(processMap)); } - private static java.util.Map> getProcessMap(java.util.Map> processMap) { + private static java.util.Map> getProcessMap(java.util.Map> processMap) { processMap.put("enableTable", new enableTable()); processMap.put("disableTable", new disableTable()); processMap.put("isTableEnabled", new isTableEnabled()); @@ -4021,16 +4237,18 @@ protected Processor(I iface, java.util.Map extends org.apache.thrift.ProcessFunction { + public static class enableTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public enableTable() { super("enableTable"); } + @Override public enableTable_args getEmptyArgsInstance() { return new enableTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4039,8 +4257,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public enableTable_result getResult(I iface, enableTable_args args) throws org.apache.thrift.TException { - enableTable_result result = new enableTable_result(); + @Override + public enableTable_result getEmptyResultInstance() { + return new enableTable_result(); + } + + @Override + public enableTable_result getResult(I iface, enableTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + enableTable_result result = getEmptyResultInstance(); try { iface.enableTable(args.tableName); } catch (IOError io) { @@ -4050,16 +4274,18 @@ public enableTable_result getResult(I iface, enableTable_args args) throws org.a } } - public static class disableTable extends org.apache.thrift.ProcessFunction { + public static class disableTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public disableTable() { super("disableTable"); } + @Override public disableTable_args getEmptyArgsInstance() { return new disableTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4068,8 +4294,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public disableTable_result getResult(I iface, disableTable_args args) throws org.apache.thrift.TException { - disableTable_result result = new disableTable_result(); + @Override + public disableTable_result getEmptyResultInstance() { + return new disableTable_result(); + } + + @Override + public disableTable_result getResult(I iface, disableTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + disableTable_result result = getEmptyResultInstance(); try { iface.disableTable(args.tableName); } catch (IOError io) { @@ -4079,16 +4311,18 @@ public disableTable_result getResult(I iface, disableTable_args args) throws org } } - public static class isTableEnabled extends org.apache.thrift.ProcessFunction { + public static class isTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public isTableEnabled() { super("isTableEnabled"); } + @Override public isTableEnabled_args getEmptyArgsInstance() { return new isTableEnabled_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4097,8 +4331,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws org.apache.thrift.TException { - isTableEnabled_result result = new isTableEnabled_result(); + @Override + public isTableEnabled_result getEmptyResultInstance() { + return new isTableEnabled_result(); + } + + @Override + public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + isTableEnabled_result result = getEmptyResultInstance(); try { result.success = iface.isTableEnabled(args.tableName); result.setSuccessIsSet(true); @@ -4109,16 +4349,18 @@ public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws } } - public static class compact extends org.apache.thrift.ProcessFunction { + public static class compact extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public compact() { super("compact"); } + @Override public compact_args getEmptyArgsInstance() { return new compact_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4127,8 +4369,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public compact_result getResult(I iface, compact_args args) throws org.apache.thrift.TException { - compact_result result = new compact_result(); + @Override + public compact_result getEmptyResultInstance() { + return new compact_result(); + } + + @Override + public compact_result getResult(I iface, compact_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + compact_result result = getEmptyResultInstance(); try { iface.compact(args.tableNameOrRegionName); } catch (IOError io) { @@ -4138,16 +4386,18 @@ public compact_result getResult(I iface, compact_args args) throws org.apache.th } } - public static class majorCompact extends org.apache.thrift.ProcessFunction { + public static class majorCompact extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public majorCompact() { super("majorCompact"); } + @Override public majorCompact_args getEmptyArgsInstance() { return new majorCompact_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4156,8 +4406,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public majorCompact_result getResult(I iface, majorCompact_args args) throws org.apache.thrift.TException { - majorCompact_result result = new majorCompact_result(); + @Override + public majorCompact_result getEmptyResultInstance() { + return new majorCompact_result(); + } + + @Override + public majorCompact_result getResult(I iface, majorCompact_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + majorCompact_result result = getEmptyResultInstance(); try { iface.majorCompact(args.tableNameOrRegionName); } catch (IOError io) { @@ -4167,16 +4423,18 @@ public majorCompact_result getResult(I iface, majorCompact_args args) throws org } } - public static class getTableNames extends org.apache.thrift.ProcessFunction { + public static class getTableNames extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableNames() { super("getTableNames"); } + @Override public getTableNames_args getEmptyArgsInstance() { return new getTableNames_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4185,8 +4443,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableNames_result getResult(I iface, getTableNames_args args) throws org.apache.thrift.TException { - getTableNames_result result = new getTableNames_result(); + @Override + public getTableNames_result getEmptyResultInstance() { + return new getTableNames_result(); + } + + @Override + public getTableNames_result getResult(I iface, getTableNames_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableNames_result result = getEmptyResultInstance(); try { result.success = iface.getTableNames(); } catch (IOError io) { @@ -4196,16 +4460,18 @@ public getTableNames_result getResult(I iface, getTableNames_args args) throws o } } - public static class getTableNamesWithIsTableEnabled extends org.apache.thrift.ProcessFunction { + public static class getTableNamesWithIsTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableNamesWithIsTableEnabled() { super("getTableNamesWithIsTableEnabled"); } + @Override public getTableNamesWithIsTableEnabled_args getEmptyArgsInstance() { return new getTableNamesWithIsTableEnabled_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4214,8 +4480,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableNamesWithIsTableEnabled_result getResult(I iface, getTableNamesWithIsTableEnabled_args args) throws org.apache.thrift.TException { - getTableNamesWithIsTableEnabled_result result = new getTableNamesWithIsTableEnabled_result(); + @Override + public getTableNamesWithIsTableEnabled_result getEmptyResultInstance() { + return new getTableNamesWithIsTableEnabled_result(); + } + + @Override + public getTableNamesWithIsTableEnabled_result getResult(I iface, getTableNamesWithIsTableEnabled_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableNamesWithIsTableEnabled_result result = getEmptyResultInstance(); try { result.success = iface.getTableNamesWithIsTableEnabled(); } catch (IOError io) { @@ -4225,16 +4497,18 @@ public getTableNamesWithIsTableEnabled_result getResult(I iface, getTableNamesWi } } - public static class getColumnDescriptors extends org.apache.thrift.ProcessFunction { + public static class getColumnDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getColumnDescriptors() { super("getColumnDescriptors"); } + @Override public getColumnDescriptors_args getEmptyArgsInstance() { return new getColumnDescriptors_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4243,8 +4517,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getColumnDescriptors_result getResult(I iface, getColumnDescriptors_args args) throws org.apache.thrift.TException { - getColumnDescriptors_result result = new getColumnDescriptors_result(); + @Override + public getColumnDescriptors_result getEmptyResultInstance() { + return new getColumnDescriptors_result(); + } + + @Override + public getColumnDescriptors_result getResult(I iface, getColumnDescriptors_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getColumnDescriptors_result result = getEmptyResultInstance(); try { result.success = iface.getColumnDescriptors(args.tableName); } catch (IOError io) { @@ -4254,16 +4534,18 @@ public getColumnDescriptors_result getResult(I iface, getColumnDescriptors_args } } - public static class getTableRegions extends org.apache.thrift.ProcessFunction { + public static class getTableRegions extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableRegions() { super("getTableRegions"); } + @Override public getTableRegions_args getEmptyArgsInstance() { return new getTableRegions_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4272,8 +4554,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableRegions_result getResult(I iface, getTableRegions_args args) throws org.apache.thrift.TException { - getTableRegions_result result = new getTableRegions_result(); + @Override + public getTableRegions_result getEmptyResultInstance() { + return new getTableRegions_result(); + } + + @Override + public getTableRegions_result getResult(I iface, getTableRegions_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableRegions_result result = getEmptyResultInstance(); try { result.success = iface.getTableRegions(args.tableName); } catch (IOError io) { @@ -4283,16 +4571,18 @@ public getTableRegions_result getResult(I iface, getTableRegions_args args) thro } } - public static class createTable extends org.apache.thrift.ProcessFunction { + public static class createTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public createTable() { super("createTable"); } + @Override public createTable_args getEmptyArgsInstance() { return new createTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4301,8 +4591,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public createTable_result getResult(I iface, createTable_args args) throws org.apache.thrift.TException { - createTable_result result = new createTable_result(); + @Override + public createTable_result getEmptyResultInstance() { + return new createTable_result(); + } + + @Override + public createTable_result getResult(I iface, createTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + createTable_result result = getEmptyResultInstance(); try { iface.createTable(args.tableName, args.columnFamilies); } catch (IOError io) { @@ -4316,16 +4612,18 @@ public createTable_result getResult(I iface, createTable_args args) throws org.a } } - public static class deleteTable extends org.apache.thrift.ProcessFunction { + public static class deleteTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteTable() { super("deleteTable"); } + @Override public deleteTable_args getEmptyArgsInstance() { return new deleteTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4334,8 +4632,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.thrift.TException { - deleteTable_result result = new deleteTable_result(); + @Override + public deleteTable_result getEmptyResultInstance() { + return new deleteTable_result(); + } + + @Override + public deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteTable_result result = getEmptyResultInstance(); try { iface.deleteTable(args.tableName); } catch (IOError io) { @@ -4345,16 +4649,18 @@ public deleteTable_result getResult(I iface, deleteTable_args args) throws org.a } } - public static class get extends org.apache.thrift.ProcessFunction { + public static class get extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public get() { super("get"); } + @Override public get_args getEmptyArgsInstance() { return new get_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4363,8 +4669,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public get_result getResult(I iface, get_args args) throws org.apache.thrift.TException { - get_result result = new get_result(); + @Override + public get_result getEmptyResultInstance() { + return new get_result(); + } + + @Override + public get_result getResult(I iface, get_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + get_result result = getEmptyResultInstance(); try { result.success = iface.get(args.tableName, args.row, args.column, args.attributes); } catch (IOError io) { @@ -4374,16 +4686,18 @@ public get_result getResult(I iface, get_args args) throws org.apache.thrift.TEx } } - public static class getVer extends org.apache.thrift.ProcessFunction { + public static class getVer extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getVer() { super("getVer"); } + @Override public getVer_args getEmptyArgsInstance() { return new getVer_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4392,8 +4706,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getVer_result getResult(I iface, getVer_args args) throws org.apache.thrift.TException { - getVer_result result = new getVer_result(); + @Override + public getVer_result getEmptyResultInstance() { + return new getVer_result(); + } + + @Override + public getVer_result getResult(I iface, getVer_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getVer_result result = getEmptyResultInstance(); try { result.success = iface.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes); } catch (IOError io) { @@ -4403,16 +4723,18 @@ public getVer_result getResult(I iface, getVer_args args) throws org.apache.thri } } - public static class getVerTs extends org.apache.thrift.ProcessFunction { + public static class getVerTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getVerTs() { super("getVerTs"); } + @Override public getVerTs_args getEmptyArgsInstance() { return new getVerTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4421,8 +4743,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getVerTs_result getResult(I iface, getVerTs_args args) throws org.apache.thrift.TException { - getVerTs_result result = new getVerTs_result(); + @Override + public getVerTs_result getEmptyResultInstance() { + return new getVerTs_result(); + } + + @Override + public getVerTs_result getResult(I iface, getVerTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getVerTs_result result = getEmptyResultInstance(); try { result.success = iface.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes); } catch (IOError io) { @@ -4432,16 +4760,18 @@ public getVerTs_result getResult(I iface, getVerTs_args args) throws org.apache. } } - public static class getRow extends org.apache.thrift.ProcessFunction { + public static class getRow extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRow() { super("getRow"); } + @Override public getRow_args getEmptyArgsInstance() { return new getRow_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4450,8 +4780,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRow_result getResult(I iface, getRow_args args) throws org.apache.thrift.TException { - getRow_result result = new getRow_result(); + @Override + public getRow_result getEmptyResultInstance() { + return new getRow_result(); + } + + @Override + public getRow_result getResult(I iface, getRow_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRow_result result = getEmptyResultInstance(); try { result.success = iface.getRow(args.tableName, args.row, args.attributes); } catch (IOError io) { @@ -4461,16 +4797,18 @@ public getRow_result getResult(I iface, getRow_args args) throws org.apache.thri } } - public static class getRowWithColumns extends org.apache.thrift.ProcessFunction { + public static class getRowWithColumns extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowWithColumns() { super("getRowWithColumns"); } + @Override public getRowWithColumns_args getEmptyArgsInstance() { return new getRowWithColumns_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4479,8 +4817,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowWithColumns_result getResult(I iface, getRowWithColumns_args args) throws org.apache.thrift.TException { - getRowWithColumns_result result = new getRowWithColumns_result(); + @Override + public getRowWithColumns_result getEmptyResultInstance() { + return new getRowWithColumns_result(); + } + + @Override + public getRowWithColumns_result getResult(I iface, getRowWithColumns_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowWithColumns_result result = getEmptyResultInstance(); try { result.success = iface.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes); } catch (IOError io) { @@ -4490,16 +4834,18 @@ public getRowWithColumns_result getResult(I iface, getRowWithColumns_args args) } } - public static class getRowTs extends org.apache.thrift.ProcessFunction { + public static class getRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowTs() { super("getRowTs"); } + @Override public getRowTs_args getEmptyArgsInstance() { return new getRowTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4508,8 +4854,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowTs_result getResult(I iface, getRowTs_args args) throws org.apache.thrift.TException { - getRowTs_result result = new getRowTs_result(); + @Override + public getRowTs_result getEmptyResultInstance() { + return new getRowTs_result(); + } + + @Override + public getRowTs_result getResult(I iface, getRowTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowTs_result result = getEmptyResultInstance(); try { result.success = iface.getRowTs(args.tableName, args.row, args.timestamp, args.attributes); } catch (IOError io) { @@ -4519,16 +4871,18 @@ public getRowTs_result getResult(I iface, getRowTs_args args) throws org.apache. } } - public static class getRowWithColumnsTs extends org.apache.thrift.ProcessFunction { + public static class getRowWithColumnsTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowWithColumnsTs() { super("getRowWithColumnsTs"); } + @Override public getRowWithColumnsTs_args getEmptyArgsInstance() { return new getRowWithColumnsTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4537,8 +4891,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowWithColumnsTs_result getResult(I iface, getRowWithColumnsTs_args args) throws org.apache.thrift.TException { - getRowWithColumnsTs_result result = new getRowWithColumnsTs_result(); + @Override + public getRowWithColumnsTs_result getEmptyResultInstance() { + return new getRowWithColumnsTs_result(); + } + + @Override + public getRowWithColumnsTs_result getResult(I iface, getRowWithColumnsTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowWithColumnsTs_result result = getEmptyResultInstance(); try { result.success = iface.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes); } catch (IOError io) { @@ -4548,16 +4908,18 @@ public getRowWithColumnsTs_result getResult(I iface, getRowWithColumnsTs_args ar } } - public static class getRows extends org.apache.thrift.ProcessFunction { + public static class getRows extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRows() { super("getRows"); } + @Override public getRows_args getEmptyArgsInstance() { return new getRows_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4566,8 +4928,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRows_result getResult(I iface, getRows_args args) throws org.apache.thrift.TException { - getRows_result result = new getRows_result(); + @Override + public getRows_result getEmptyResultInstance() { + return new getRows_result(); + } + + @Override + public getRows_result getResult(I iface, getRows_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRows_result result = getEmptyResultInstance(); try { result.success = iface.getRows(args.tableName, args.rows, args.attributes); } catch (IOError io) { @@ -4577,16 +4945,18 @@ public getRows_result getResult(I iface, getRows_args args) throws org.apache.th } } - public static class getRowsWithColumns extends org.apache.thrift.ProcessFunction { + public static class getRowsWithColumns extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowsWithColumns() { super("getRowsWithColumns"); } + @Override public getRowsWithColumns_args getEmptyArgsInstance() { return new getRowsWithColumns_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4595,8 +4965,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowsWithColumns_result getResult(I iface, getRowsWithColumns_args args) throws org.apache.thrift.TException { - getRowsWithColumns_result result = new getRowsWithColumns_result(); + @Override + public getRowsWithColumns_result getEmptyResultInstance() { + return new getRowsWithColumns_result(); + } + + @Override + public getRowsWithColumns_result getResult(I iface, getRowsWithColumns_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowsWithColumns_result result = getEmptyResultInstance(); try { result.success = iface.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes); } catch (IOError io) { @@ -4606,16 +4982,18 @@ public getRowsWithColumns_result getResult(I iface, getRowsWithColumns_args args } } - public static class getRowsTs extends org.apache.thrift.ProcessFunction { + public static class getRowsTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowsTs() { super("getRowsTs"); } + @Override public getRowsTs_args getEmptyArgsInstance() { return new getRowsTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4624,8 +5002,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowsTs_result getResult(I iface, getRowsTs_args args) throws org.apache.thrift.TException { - getRowsTs_result result = new getRowsTs_result(); + @Override + public getRowsTs_result getEmptyResultInstance() { + return new getRowsTs_result(); + } + + @Override + public getRowsTs_result getResult(I iface, getRowsTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowsTs_result result = getEmptyResultInstance(); try { result.success = iface.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes); } catch (IOError io) { @@ -4635,16 +5019,18 @@ public getRowsTs_result getResult(I iface, getRowsTs_args args) throws org.apach } } - public static class getRowsWithColumnsTs extends org.apache.thrift.ProcessFunction { + public static class getRowsWithColumnsTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRowsWithColumnsTs() { super("getRowsWithColumnsTs"); } + @Override public getRowsWithColumnsTs_args getEmptyArgsInstance() { return new getRowsWithColumnsTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4653,8 +5039,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRowsWithColumnsTs_result getResult(I iface, getRowsWithColumnsTs_args args) throws org.apache.thrift.TException { - getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result(); + @Override + public getRowsWithColumnsTs_result getEmptyResultInstance() { + return new getRowsWithColumnsTs_result(); + } + + @Override + public getRowsWithColumnsTs_result getResult(I iface, getRowsWithColumnsTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRowsWithColumnsTs_result result = getEmptyResultInstance(); try { result.success = iface.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes); } catch (IOError io) { @@ -4664,16 +5056,18 @@ public getRowsWithColumnsTs_result getResult(I iface, getRowsWithColumnsTs_args } } - public static class mutateRow extends org.apache.thrift.ProcessFunction { + public static class mutateRow extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public mutateRow() { super("mutateRow"); } + @Override public mutateRow_args getEmptyArgsInstance() { return new mutateRow_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4682,8 +5076,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apache.thrift.TException { - mutateRow_result result = new mutateRow_result(); + @Override + public mutateRow_result getEmptyResultInstance() { + return new mutateRow_result(); + } + + @Override + public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + mutateRow_result result = getEmptyResultInstance(); try { iface.mutateRow(args.tableName, args.row, args.mutations, args.attributes); } catch (IOError io) { @@ -4695,16 +5095,18 @@ public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apach } } - public static class mutateRowTs extends org.apache.thrift.ProcessFunction { + public static class mutateRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public mutateRowTs() { super("mutateRowTs"); } + @Override public mutateRowTs_args getEmptyArgsInstance() { return new mutateRowTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4713,8 +5115,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public mutateRowTs_result getResult(I iface, mutateRowTs_args args) throws org.apache.thrift.TException { - mutateRowTs_result result = new mutateRowTs_result(); + @Override + public mutateRowTs_result getEmptyResultInstance() { + return new mutateRowTs_result(); + } + + @Override + public mutateRowTs_result getResult(I iface, mutateRowTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + mutateRowTs_result result = getEmptyResultInstance(); try { iface.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp, args.attributes); } catch (IOError io) { @@ -4726,16 +5134,18 @@ public mutateRowTs_result getResult(I iface, mutateRowTs_args args) throws org.a } } - public static class mutateRows extends org.apache.thrift.ProcessFunction { + public static class mutateRows extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public mutateRows() { super("mutateRows"); } + @Override public mutateRows_args getEmptyArgsInstance() { return new mutateRows_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4744,8 +5154,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public mutateRows_result getResult(I iface, mutateRows_args args) throws org.apache.thrift.TException { - mutateRows_result result = new mutateRows_result(); + @Override + public mutateRows_result getEmptyResultInstance() { + return new mutateRows_result(); + } + + @Override + public mutateRows_result getResult(I iface, mutateRows_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + mutateRows_result result = getEmptyResultInstance(); try { iface.mutateRows(args.tableName, args.rowBatches, args.attributes); } catch (IOError io) { @@ -4757,16 +5173,18 @@ public mutateRows_result getResult(I iface, mutateRows_args args) throws org.apa } } - public static class mutateRowsTs extends org.apache.thrift.ProcessFunction { + public static class mutateRowsTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public mutateRowsTs() { super("mutateRowsTs"); } + @Override public mutateRowsTs_args getEmptyArgsInstance() { return new mutateRowsTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4775,8 +5193,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public mutateRowsTs_result getResult(I iface, mutateRowsTs_args args) throws org.apache.thrift.TException { - mutateRowsTs_result result = new mutateRowsTs_result(); + @Override + public mutateRowsTs_result getEmptyResultInstance() { + return new mutateRowsTs_result(); + } + + @Override + public mutateRowsTs_result getResult(I iface, mutateRowsTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + mutateRowsTs_result result = getEmptyResultInstance(); try { iface.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes); } catch (IOError io) { @@ -4788,16 +5212,18 @@ public mutateRowsTs_result getResult(I iface, mutateRowsTs_args args) throws org } } - public static class atomicIncrement extends org.apache.thrift.ProcessFunction { + public static class atomicIncrement extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public atomicIncrement() { super("atomicIncrement"); } + @Override public atomicIncrement_args getEmptyArgsInstance() { return new atomicIncrement_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4806,8 +5232,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public atomicIncrement_result getResult(I iface, atomicIncrement_args args) throws org.apache.thrift.TException { - atomicIncrement_result result = new atomicIncrement_result(); + @Override + public atomicIncrement_result getEmptyResultInstance() { + return new atomicIncrement_result(); + } + + @Override + public atomicIncrement_result getResult(I iface, atomicIncrement_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + atomicIncrement_result result = getEmptyResultInstance(); try { result.success = iface.atomicIncrement(args.tableName, args.row, args.column, args.value); result.setSuccessIsSet(true); @@ -4820,16 +5252,18 @@ public atomicIncrement_result getResult(I iface, atomicIncrement_args args) thro } } - public static class deleteAll extends org.apache.thrift.ProcessFunction { + public static class deleteAll extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteAll() { super("deleteAll"); } + @Override public deleteAll_args getEmptyArgsInstance() { return new deleteAll_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4838,8 +5272,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteAll_result getResult(I iface, deleteAll_args args) throws org.apache.thrift.TException { - deleteAll_result result = new deleteAll_result(); + @Override + public deleteAll_result getEmptyResultInstance() { + return new deleteAll_result(); + } + + @Override + public deleteAll_result getResult(I iface, deleteAll_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteAll_result result = getEmptyResultInstance(); try { iface.deleteAll(args.tableName, args.row, args.column, args.attributes); } catch (IOError io) { @@ -4849,16 +5289,18 @@ public deleteAll_result getResult(I iface, deleteAll_args args) throws org.apach } } - public static class deleteAllTs extends org.apache.thrift.ProcessFunction { + public static class deleteAllTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteAllTs() { super("deleteAllTs"); } + @Override public deleteAllTs_args getEmptyArgsInstance() { return new deleteAllTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4867,8 +5309,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteAllTs_result getResult(I iface, deleteAllTs_args args) throws org.apache.thrift.TException { - deleteAllTs_result result = new deleteAllTs_result(); + @Override + public deleteAllTs_result getEmptyResultInstance() { + return new deleteAllTs_result(); + } + + @Override + public deleteAllTs_result getResult(I iface, deleteAllTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteAllTs_result result = getEmptyResultInstance(); try { iface.deleteAllTs(args.tableName, args.row, args.column, args.timestamp, args.attributes); } catch (IOError io) { @@ -4878,16 +5326,18 @@ public deleteAllTs_result getResult(I iface, deleteAllTs_args args) throws org.a } } - public static class deleteAllRow extends org.apache.thrift.ProcessFunction { + public static class deleteAllRow extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteAllRow() { super("deleteAllRow"); } + @Override public deleteAllRow_args getEmptyArgsInstance() { return new deleteAllRow_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4896,8 +5346,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteAllRow_result getResult(I iface, deleteAllRow_args args) throws org.apache.thrift.TException { - deleteAllRow_result result = new deleteAllRow_result(); + @Override + public deleteAllRow_result getEmptyResultInstance() { + return new deleteAllRow_result(); + } + + @Override + public deleteAllRow_result getResult(I iface, deleteAllRow_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteAllRow_result result = getEmptyResultInstance(); try { iface.deleteAllRow(args.tableName, args.row, args.attributes); } catch (IOError io) { @@ -4907,16 +5363,18 @@ public deleteAllRow_result getResult(I iface, deleteAllRow_args args) throws org } } - public static class increment extends org.apache.thrift.ProcessFunction { + public static class increment extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public increment() { super("increment"); } + @Override public increment_args getEmptyArgsInstance() { return new increment_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4925,8 +5383,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public increment_result getResult(I iface, increment_args args) throws org.apache.thrift.TException { - increment_result result = new increment_result(); + @Override + public increment_result getEmptyResultInstance() { + return new increment_result(); + } + + @Override + public increment_result getResult(I iface, increment_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + increment_result result = getEmptyResultInstance(); try { iface.increment(args.increment); } catch (IOError io) { @@ -4936,16 +5400,18 @@ public increment_result getResult(I iface, increment_args args) throws org.apach } } - public static class incrementRows extends org.apache.thrift.ProcessFunction { + public static class incrementRows extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public incrementRows() { super("incrementRows"); } + @Override public incrementRows_args getEmptyArgsInstance() { return new incrementRows_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4954,8 +5420,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public incrementRows_result getResult(I iface, incrementRows_args args) throws org.apache.thrift.TException { - incrementRows_result result = new incrementRows_result(); + @Override + public incrementRows_result getEmptyResultInstance() { + return new incrementRows_result(); + } + + @Override + public incrementRows_result getResult(I iface, incrementRows_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + incrementRows_result result = getEmptyResultInstance(); try { iface.incrementRows(args.increments); } catch (IOError io) { @@ -4965,16 +5437,18 @@ public incrementRows_result getResult(I iface, incrementRows_args args) throws o } } - public static class deleteAllRowTs extends org.apache.thrift.ProcessFunction { + public static class deleteAllRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteAllRowTs() { super("deleteAllRowTs"); } + @Override public deleteAllRowTs_args getEmptyArgsInstance() { return new deleteAllRowTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4983,8 +5457,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteAllRowTs_result getResult(I iface, deleteAllRowTs_args args) throws org.apache.thrift.TException { - deleteAllRowTs_result result = new deleteAllRowTs_result(); + @Override + public deleteAllRowTs_result getEmptyResultInstance() { + return new deleteAllRowTs_result(); + } + + @Override + public deleteAllRowTs_result getResult(I iface, deleteAllRowTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteAllRowTs_result result = getEmptyResultInstance(); try { iface.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes); } catch (IOError io) { @@ -4994,16 +5474,18 @@ public deleteAllRowTs_result getResult(I iface, deleteAllRowTs_args args) throws } } - public static class scannerOpenWithScan extends org.apache.thrift.ProcessFunction { + public static class scannerOpenWithScan extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpenWithScan() { super("scannerOpenWithScan"); } + @Override public scannerOpenWithScan_args getEmptyArgsInstance() { return new scannerOpenWithScan_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5012,8 +5494,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpenWithScan_result getResult(I iface, scannerOpenWithScan_args args) throws org.apache.thrift.TException { - scannerOpenWithScan_result result = new scannerOpenWithScan_result(); + @Override + public scannerOpenWithScan_result getEmptyResultInstance() { + return new scannerOpenWithScan_result(); + } + + @Override + public scannerOpenWithScan_result getResult(I iface, scannerOpenWithScan_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpenWithScan_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpenWithScan(args.tableName, args.scan, args.attributes); result.setSuccessIsSet(true); @@ -5024,16 +5512,18 @@ public scannerOpenWithScan_result getResult(I iface, scannerOpenWithScan_args ar } } - public static class scannerOpen extends org.apache.thrift.ProcessFunction { + public static class scannerOpen extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpen() { super("scannerOpen"); } + @Override public scannerOpen_args getEmptyArgsInstance() { return new scannerOpen_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5042,8 +5532,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpen_result getResult(I iface, scannerOpen_args args) throws org.apache.thrift.TException { - scannerOpen_result result = new scannerOpen_result(); + @Override + public scannerOpen_result getEmptyResultInstance() { + return new scannerOpen_result(); + } + + @Override + public scannerOpen_result getResult(I iface, scannerOpen_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpen_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes); result.setSuccessIsSet(true); @@ -5054,16 +5550,18 @@ public scannerOpen_result getResult(I iface, scannerOpen_args args) throws org.a } } - public static class scannerOpenWithStop extends org.apache.thrift.ProcessFunction { + public static class scannerOpenWithStop extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpenWithStop() { super("scannerOpenWithStop"); } + @Override public scannerOpenWithStop_args getEmptyArgsInstance() { return new scannerOpenWithStop_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5072,8 +5570,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpenWithStop_result getResult(I iface, scannerOpenWithStop_args args) throws org.apache.thrift.TException { - scannerOpenWithStop_result result = new scannerOpenWithStop_result(); + @Override + public scannerOpenWithStop_result getEmptyResultInstance() { + return new scannerOpenWithStop_result(); + } + + @Override + public scannerOpenWithStop_result getResult(I iface, scannerOpenWithStop_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpenWithStop_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes); result.setSuccessIsSet(true); @@ -5084,16 +5588,18 @@ public scannerOpenWithStop_result getResult(I iface, scannerOpenWithStop_args ar } } - public static class scannerOpenWithPrefix extends org.apache.thrift.ProcessFunction { + public static class scannerOpenWithPrefix extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpenWithPrefix() { super("scannerOpenWithPrefix"); } + @Override public scannerOpenWithPrefix_args getEmptyArgsInstance() { return new scannerOpenWithPrefix_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5102,8 +5608,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpenWithPrefix_result getResult(I iface, scannerOpenWithPrefix_args args) throws org.apache.thrift.TException { - scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result(); + @Override + public scannerOpenWithPrefix_result getEmptyResultInstance() { + return new scannerOpenWithPrefix_result(); + } + + @Override + public scannerOpenWithPrefix_result getResult(I iface, scannerOpenWithPrefix_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpenWithPrefix_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes); result.setSuccessIsSet(true); @@ -5114,16 +5626,18 @@ public scannerOpenWithPrefix_result getResult(I iface, scannerOpenWithPrefix_arg } } - public static class scannerOpenTs extends org.apache.thrift.ProcessFunction { + public static class scannerOpenTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpenTs() { super("scannerOpenTs"); } + @Override public scannerOpenTs_args getEmptyArgsInstance() { return new scannerOpenTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5132,8 +5646,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpenTs_result getResult(I iface, scannerOpenTs_args args) throws org.apache.thrift.TException { - scannerOpenTs_result result = new scannerOpenTs_result(); + @Override + public scannerOpenTs_result getEmptyResultInstance() { + return new scannerOpenTs_result(); + } + + @Override + public scannerOpenTs_result getResult(I iface, scannerOpenTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpenTs_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes); result.setSuccessIsSet(true); @@ -5144,16 +5664,18 @@ public scannerOpenTs_result getResult(I iface, scannerOpenTs_args args) throws o } } - public static class scannerOpenWithStopTs extends org.apache.thrift.ProcessFunction { + public static class scannerOpenWithStopTs extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerOpenWithStopTs() { super("scannerOpenWithStopTs"); } + @Override public scannerOpenWithStopTs_args getEmptyArgsInstance() { return new scannerOpenWithStopTs_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5162,8 +5684,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerOpenWithStopTs_result getResult(I iface, scannerOpenWithStopTs_args args) throws org.apache.thrift.TException { - scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result(); + @Override + public scannerOpenWithStopTs_result getEmptyResultInstance() { + return new scannerOpenWithStopTs_result(); + } + + @Override + public scannerOpenWithStopTs_result getResult(I iface, scannerOpenWithStopTs_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerOpenWithStopTs_result result = getEmptyResultInstance(); try { result.success = iface.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes); result.setSuccessIsSet(true); @@ -5174,16 +5702,18 @@ public scannerOpenWithStopTs_result getResult(I iface, scannerOpenWithStopTs_arg } } - public static class scannerGet extends org.apache.thrift.ProcessFunction { + public static class scannerGet extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerGet() { super("scannerGet"); } + @Override public scannerGet_args getEmptyArgsInstance() { return new scannerGet_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5192,8 +5722,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerGet_result getResult(I iface, scannerGet_args args) throws org.apache.thrift.TException { - scannerGet_result result = new scannerGet_result(); + @Override + public scannerGet_result getEmptyResultInstance() { + return new scannerGet_result(); + } + + @Override + public scannerGet_result getResult(I iface, scannerGet_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerGet_result result = getEmptyResultInstance(); try { result.success = iface.scannerGet(args.id); } catch (IOError io) { @@ -5205,16 +5741,18 @@ public scannerGet_result getResult(I iface, scannerGet_args args) throws org.apa } } - public static class scannerGetList extends org.apache.thrift.ProcessFunction { + public static class scannerGetList extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerGetList() { super("scannerGetList"); } + @Override public scannerGetList_args getEmptyArgsInstance() { return new scannerGetList_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5223,8 +5761,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerGetList_result getResult(I iface, scannerGetList_args args) throws org.apache.thrift.TException { - scannerGetList_result result = new scannerGetList_result(); + @Override + public scannerGetList_result getEmptyResultInstance() { + return new scannerGetList_result(); + } + + @Override + public scannerGetList_result getResult(I iface, scannerGetList_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerGetList_result result = getEmptyResultInstance(); try { result.success = iface.scannerGetList(args.id, args.nbRows); } catch (IOError io) { @@ -5236,16 +5780,18 @@ public scannerGetList_result getResult(I iface, scannerGetList_args args) throws } } - public static class scannerClose extends org.apache.thrift.ProcessFunction { + public static class scannerClose extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public scannerClose() { super("scannerClose"); } + @Override public scannerClose_args getEmptyArgsInstance() { return new scannerClose_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5254,8 +5800,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public scannerClose_result getResult(I iface, scannerClose_args args) throws org.apache.thrift.TException { - scannerClose_result result = new scannerClose_result(); + @Override + public scannerClose_result getEmptyResultInstance() { + return new scannerClose_result(); + } + + @Override + public scannerClose_result getResult(I iface, scannerClose_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + scannerClose_result result = getEmptyResultInstance(); try { iface.scannerClose(args.id); } catch (IOError io) { @@ -5267,16 +5819,18 @@ public scannerClose_result getResult(I iface, scannerClose_args args) throws org } } - public static class getRegionInfo extends org.apache.thrift.ProcessFunction { + public static class getRegionInfo extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRegionInfo() { super("getRegionInfo"); } + @Override public getRegionInfo_args getEmptyArgsInstance() { return new getRegionInfo_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5285,8 +5839,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRegionInfo_result getResult(I iface, getRegionInfo_args args) throws org.apache.thrift.TException { - getRegionInfo_result result = new getRegionInfo_result(); + @Override + public getRegionInfo_result getEmptyResultInstance() { + return new getRegionInfo_result(); + } + + @Override + public getRegionInfo_result getResult(I iface, getRegionInfo_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRegionInfo_result result = getEmptyResultInstance(); try { result.success = iface.getRegionInfo(args.row); } catch (IOError io) { @@ -5296,16 +5856,18 @@ public getRegionInfo_result getResult(I iface, getRegionInfo_args args) throws o } } - public static class append extends org.apache.thrift.ProcessFunction { + public static class append extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public append() { super("append"); } + @Override public append_args getEmptyArgsInstance() { return new append_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5314,8 +5876,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public append_result getResult(I iface, append_args args) throws org.apache.thrift.TException { - append_result result = new append_result(); + @Override + public append_result getEmptyResultInstance() { + return new append_result(); + } + + @Override + public append_result getResult(I iface, append_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + append_result result = getEmptyResultInstance(); try { result.success = iface.append(args.append); } catch (IOError io) { @@ -5325,16 +5893,18 @@ public append_result getResult(I iface, append_args args) throws org.apache.thri } } - public static class checkAndPut extends org.apache.thrift.ProcessFunction { + public static class checkAndPut extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public checkAndPut() { super("checkAndPut"); } + @Override public checkAndPut_args getEmptyArgsInstance() { return new checkAndPut_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5343,8 +5913,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.apache.thrift.TException { - checkAndPut_result result = new checkAndPut_result(); + @Override + public checkAndPut_result getEmptyResultInstance() { + return new checkAndPut_result(); + } + + @Override + public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + checkAndPut_result result = getEmptyResultInstance(); try { result.success = iface.checkAndPut(args.tableName, args.row, args.column, args.value, args.mput, args.attributes); result.setSuccessIsSet(true); @@ -5357,16 +5933,18 @@ public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.a } } - public static class getThriftServerType extends org.apache.thrift.ProcessFunction { + public static class getThriftServerType extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getThriftServerType() { super("getThriftServerType"); } + @Override public getThriftServerType_args getEmptyArgsInstance() { return new getThriftServerType_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5375,23 +5953,31 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getThriftServerType_result getResult(I iface, getThriftServerType_args args) throws org.apache.thrift.TException { - getThriftServerType_result result = new getThriftServerType_result(); + @Override + public getThriftServerType_result getEmptyResultInstance() { + return new getThriftServerType_result(); + } + + @Override + public getThriftServerType_result getResult(I iface, getThriftServerType_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getThriftServerType_result result = getEmptyResultInstance(); result.success = iface.getThriftServerType(); return result; } } - public static class getClusterId extends org.apache.thrift.ProcessFunction { + public static class getClusterId extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getClusterId() { super("getClusterId"); } + @Override public getClusterId_args getEmptyArgsInstance() { return new getClusterId_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5400,23 +5986,31 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getClusterId_result getResult(I iface, getClusterId_args args) throws org.apache.thrift.TException { - getClusterId_result result = new getClusterId_result(); + @Override + public getClusterId_result getEmptyResultInstance() { + return new getClusterId_result(); + } + + @Override + public getClusterId_result getResult(I iface, getClusterId_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getClusterId_result result = getEmptyResultInstance(); result.success = iface.getClusterId(); return result; } } - public static class grant extends org.apache.thrift.ProcessFunction { + public static class grant extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public grant() { super("grant"); } + @Override public grant_args getEmptyArgsInstance() { return new grant_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5425,8 +6019,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public grant_result getResult(I iface, grant_args args) throws org.apache.thrift.TException { - grant_result result = new grant_result(); + @Override + public grant_result getEmptyResultInstance() { + return new grant_result(); + } + + @Override + public grant_result getResult(I iface, grant_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + grant_result result = getEmptyResultInstance(); try { result.success = iface.grant(args.info); result.setSuccessIsSet(true); @@ -5437,16 +6037,18 @@ public grant_result getResult(I iface, grant_args args) throws org.apache.thrift } } - public static class revoke extends org.apache.thrift.ProcessFunction { + public static class revoke extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public revoke() { super("revoke"); } + @Override public revoke_args getEmptyArgsInstance() { return new revoke_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5455,8 +6057,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public revoke_result getResult(I iface, revoke_args args) throws org.apache.thrift.TException { - revoke_result result = new revoke_result(); + @Override + public revoke_result getEmptyResultInstance() { + return new revoke_result(); + } + + @Override + public revoke_result getResult(I iface, revoke_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + revoke_result result = getEmptyResultInstance(); try { result.success = iface.revoke(args.info); result.setSuccessIsSet(true); @@ -5469,17 +6077,17 @@ public revoke_result getResult(I iface, revoke_args args) throws org.apache.thri } - public static class AsyncProcessor extends org.apache.thrift.TBaseAsyncProcessor { + public static class AsyncProcessor extends org.apache.hbase.thirdparty.org.apache.thrift.TBaseAsyncProcessor { private static final org.slf4j.Logger _LOGGER = org.slf4j.LoggerFactory.getLogger(AsyncProcessor.class.getName()); public AsyncProcessor(I iface) { - super(iface, getProcessMap(new java.util.HashMap>())); + super(iface, getProcessMap(new java.util.HashMap>())); } - protected AsyncProcessor(I iface, java.util.Map> processMap) { + protected AsyncProcessor(I iface, java.util.Map> processMap) { super(iface, getProcessMap(processMap)); } - private static java.util.Map> getProcessMap(java.util.Map> processMap) { + private static java.util.Map> getProcessMap(java.util.Map> processMap) { processMap.put("enableTable", new enableTable()); processMap.put("disableTable", new disableTable()); processMap.put("isTableEnabled", new isTableEnabled()); @@ -5532,23 +6140,31 @@ protected AsyncProcessor(I iface, java.util.Map extends org.apache.thrift.AsyncProcessFunction { + public static class enableTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public enableTable() { super("enableTable"); } + @Override + public enableTable_result getEmptyResultInstance() { + return new enableTable_result(); + } + + @Override public enableTable_args getEmptyArgsInstance() { return new enableTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { enableTable_result result = new enableTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5556,26 +6172,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; enableTable_result result = new enableTable_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5587,32 +6204,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, enableTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, enableTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.enableTable(args.tableName,resultHandler); } } - public static class disableTable extends org.apache.thrift.AsyncProcessFunction { + public static class disableTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public disableTable() { super("disableTable"); } + @Override + public disableTable_result getEmptyResultInstance() { + return new disableTable_result(); + } + + @Override public disableTable_args getEmptyArgsInstance() { return new disableTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { disableTable_result result = new disableTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5620,26 +6247,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; disableTable_result result = new disableTable_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5651,34 +6279,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, disableTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, disableTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.disableTable(args.tableName,resultHandler); } } - public static class isTableEnabled extends org.apache.thrift.AsyncProcessFunction { + public static class isTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public isTableEnabled() { super("isTableEnabled"); } + @Override + public isTableEnabled_result getEmptyResultInstance() { + return new isTableEnabled_result(); + } + + @Override public isTableEnabled_args getEmptyArgsInstance() { return new isTableEnabled_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { isTableEnabled_result result = new isTableEnabled_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5686,26 +6324,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; isTableEnabled_result result = new isTableEnabled_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5717,32 +6356,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, isTableEnabled_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, isTableEnabled_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.isTableEnabled(args.tableName,resultHandler); } } - public static class compact extends org.apache.thrift.AsyncProcessFunction { + public static class compact extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public compact() { super("compact"); } + @Override + public compact_result getEmptyResultInstance() { + return new compact_result(); + } + + @Override public compact_args getEmptyArgsInstance() { return new compact_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { compact_result result = new compact_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5750,26 +6399,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; compact_result result = new compact_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5781,32 +6431,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, compact_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.compact(args.tableNameOrRegionName,resultHandler); } } - public static class majorCompact extends org.apache.thrift.AsyncProcessFunction { + public static class majorCompact extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public majorCompact() { super("majorCompact"); } + @Override + public majorCompact_result getEmptyResultInstance() { + return new majorCompact_result(); + } + + @Override public majorCompact_args getEmptyArgsInstance() { return new majorCompact_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { majorCompact_result result = new majorCompact_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5814,26 +6474,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; majorCompact_result result = new majorCompact_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5845,33 +6506,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, majorCompact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, majorCompact_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.majorCompact(args.tableNameOrRegionName,resultHandler); } } - public static class getTableNames extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableNames extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableNames_result> { public getTableNames() { super("getTableNames"); } + @Override + public getTableNames_result getEmptyResultInstance() { + return new getTableNames_result(); + } + + @Override public getTableNames_args getEmptyArgsInstance() { return new getTableNames_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableNames_result result = new getTableNames_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5879,26 +6550,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableNames_result result = new getTableNames_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5910,33 +6582,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableNames_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableNames_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableNames(resultHandler); } } - public static class getTableNamesWithIsTableEnabled extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableNamesWithIsTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableNamesWithIsTableEnabled_result> { public getTableNamesWithIsTableEnabled() { super("getTableNamesWithIsTableEnabled"); } + @Override + public getTableNamesWithIsTableEnabled_result getEmptyResultInstance() { + return new getTableNamesWithIsTableEnabled_result(); + } + + @Override public getTableNamesWithIsTableEnabled_args getEmptyArgsInstance() { return new getTableNamesWithIsTableEnabled_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.Map o) { getTableNamesWithIsTableEnabled_result result = new getTableNamesWithIsTableEnabled_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5944,26 +6626,27 @@ public void onComplete(java.util.Map o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableNamesWithIsTableEnabled_result result = new getTableNamesWithIsTableEnabled_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5975,33 +6658,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableNamesWithIsTableEnabled_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableNamesWithIsTableEnabled_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableNamesWithIsTableEnabled(resultHandler); } } - public static class getColumnDescriptors extends org.apache.thrift.AsyncProcessFunction> { + public static class getColumnDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getColumnDescriptors_result> { public getColumnDescriptors() { super("getColumnDescriptors"); } + @Override + public getColumnDescriptors_result getEmptyResultInstance() { + return new getColumnDescriptors_result(); + } + + @Override public getColumnDescriptors_args getEmptyArgsInstance() { return new getColumnDescriptors_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.Map o) { getColumnDescriptors_result result = new getColumnDescriptors_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6009,26 +6702,27 @@ public void onComplete(java.util.Map o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getColumnDescriptors_result result = new getColumnDescriptors_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6040,33 +6734,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getColumnDescriptors_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getColumnDescriptors_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getColumnDescriptors(args.tableName,resultHandler); } } - public static class getTableRegions extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableRegions extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableRegions_result> { public getTableRegions() { super("getTableRegions"); } + @Override + public getTableRegions_result getEmptyResultInstance() { + return new getTableRegions_result(); + } + + @Override public getTableRegions_args getEmptyArgsInstance() { return new getTableRegions_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableRegions_result result = new getTableRegions_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6074,26 +6778,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableRegions_result result = new getTableRegions_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6105,32 +6810,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableRegions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableRegions_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableRegions(args.tableName,resultHandler); } } - public static class createTable extends org.apache.thrift.AsyncProcessFunction { + public static class createTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public createTable() { super("createTable"); } + @Override + public createTable_result getEmptyResultInstance() { + return new createTable_result(); + } + + @Override public createTable_args getEmptyArgsInstance() { return new createTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { createTable_result result = new createTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6138,9 +6853,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; createTable_result result = new createTable_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -6154,18 +6870,18 @@ public void onError(java.lang.Exception e) { result.exist = (AlreadyExists) e; result.setExistIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6177,32 +6893,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, createTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, createTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.createTable(args.tableName, args.columnFamilies,resultHandler); } } - public static class deleteTable extends org.apache.thrift.AsyncProcessFunction { + public static class deleteTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteTable() { super("deleteTable"); } + @Override + public deleteTable_result getEmptyResultInstance() { + return new deleteTable_result(); + } + + @Override public deleteTable_args getEmptyArgsInstance() { return new deleteTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteTable_result result = new deleteTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6210,26 +6936,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteTable_result result = new deleteTable_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6241,33 +6968,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteTable(args.tableName,resultHandler); } } - public static class get extends org.apache.thrift.AsyncProcessFunction> { + public static class get extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, get_result> { public get() { super("get"); } + @Override + public get_result getEmptyResultInstance() { + return new get_result(); + } + + @Override public get_args getEmptyArgsInstance() { return new get_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { get_result result = new get_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6275,26 +7012,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; get_result result = new get_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6306,33 +7044,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, get_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, get_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.get(args.tableName, args.row, args.column, args.attributes,resultHandler); } } - public static class getVer extends org.apache.thrift.AsyncProcessFunction> { + public static class getVer extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getVer_result> { public getVer() { super("getVer"); } + @Override + public getVer_result getEmptyResultInstance() { + return new getVer_result(); + } + + @Override public getVer_args getEmptyArgsInstance() { return new getVer_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getVer_result result = new getVer_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6340,26 +7088,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getVer_result result = new getVer_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6371,33 +7120,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getVer_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getVer_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes,resultHandler); } } - public static class getVerTs extends org.apache.thrift.AsyncProcessFunction> { + public static class getVerTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getVerTs_result> { public getVerTs() { super("getVerTs"); } + @Override + public getVerTs_result getEmptyResultInstance() { + return new getVerTs_result(); + } + + @Override public getVerTs_args getEmptyArgsInstance() { return new getVerTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getVerTs_result result = new getVerTs_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6405,26 +7164,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getVerTs_result result = new getVerTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6436,33 +7196,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getVerTs_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getVerTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes,resultHandler); } } - public static class getRow extends org.apache.thrift.AsyncProcessFunction> { + public static class getRow extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRow_result> { public getRow() { super("getRow"); } + @Override + public getRow_result getEmptyResultInstance() { + return new getRow_result(); + } + + @Override public getRow_args getEmptyArgsInstance() { return new getRow_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRow_result result = new getRow_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6470,26 +7240,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRow_result result = new getRow_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6501,33 +7272,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRow_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRow_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRow(args.tableName, args.row, args.attributes,resultHandler); } } - public static class getRowWithColumns extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowWithColumns extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowWithColumns_result> { public getRowWithColumns() { super("getRowWithColumns"); } + @Override + public getRowWithColumns_result getEmptyResultInstance() { + return new getRowWithColumns_result(); + } + + @Override public getRowWithColumns_args getEmptyArgsInstance() { return new getRowWithColumns_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowWithColumns_result result = new getRowWithColumns_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6535,26 +7316,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowWithColumns_result result = new getRowWithColumns_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6566,33 +7348,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowWithColumns_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowWithColumns_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes,resultHandler); } } - public static class getRowTs extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowTs_result> { public getRowTs() { super("getRowTs"); } + @Override + public getRowTs_result getEmptyResultInstance() { + return new getRowTs_result(); + } + + @Override public getRowTs_args getEmptyArgsInstance() { return new getRowTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowTs_result result = new getRowTs_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6600,26 +7392,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowTs_result result = new getRowTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6631,33 +7424,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowTs_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowTs(args.tableName, args.row, args.timestamp, args.attributes,resultHandler); } } - public static class getRowWithColumnsTs extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowWithColumnsTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowWithColumnsTs_result> { public getRowWithColumnsTs() { super("getRowWithColumnsTs"); } + @Override + public getRowWithColumnsTs_result getEmptyResultInstance() { + return new getRowWithColumnsTs_result(); + } + + @Override public getRowWithColumnsTs_args getEmptyArgsInstance() { return new getRowWithColumnsTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowWithColumnsTs_result result = new getRowWithColumnsTs_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6665,26 +7468,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowWithColumnsTs_result result = new getRowWithColumnsTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6696,33 +7500,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowWithColumnsTs_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowWithColumnsTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes,resultHandler); } } - public static class getRows extends org.apache.thrift.AsyncProcessFunction> { + public static class getRows extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRows_result> { public getRows() { super("getRows"); } + @Override + public getRows_result getEmptyResultInstance() { + return new getRows_result(); + } + + @Override public getRows_args getEmptyArgsInstance() { return new getRows_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRows_result result = new getRows_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6730,26 +7544,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRows_result result = new getRows_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6761,33 +7576,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRows_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRows_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRows(args.tableName, args.rows, args.attributes,resultHandler); } } - public static class getRowsWithColumns extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowsWithColumns extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowsWithColumns_result> { public getRowsWithColumns() { super("getRowsWithColumns"); } + @Override + public getRowsWithColumns_result getEmptyResultInstance() { + return new getRowsWithColumns_result(); + } + + @Override public getRowsWithColumns_args getEmptyArgsInstance() { return new getRowsWithColumns_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowsWithColumns_result result = new getRowsWithColumns_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6795,26 +7620,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowsWithColumns_result result = new getRowsWithColumns_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6826,33 +7652,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowsWithColumns_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowsWithColumns_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes,resultHandler); } } - public static class getRowsTs extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowsTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowsTs_result> { public getRowsTs() { super("getRowsTs"); } + @Override + public getRowsTs_result getEmptyResultInstance() { + return new getRowsTs_result(); + } + + @Override public getRowsTs_args getEmptyArgsInstance() { return new getRowsTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowsTs_result result = new getRowsTs_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6860,26 +7696,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowsTs_result result = new getRowsTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6891,33 +7728,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowsTs_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowsTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes,resultHandler); } } - public static class getRowsWithColumnsTs extends org.apache.thrift.AsyncProcessFunction> { + public static class getRowsWithColumnsTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getRowsWithColumnsTs_result> { public getRowsWithColumnsTs() { super("getRowsWithColumnsTs"); } + @Override + public getRowsWithColumnsTs_result getEmptyResultInstance() { + return new getRowsWithColumnsTs_result(); + } + + @Override public getRowsWithColumnsTs_args getEmptyArgsInstance() { return new getRowsWithColumnsTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6925,26 +7772,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6956,32 +7804,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRowsWithColumnsTs_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRowsWithColumnsTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes,resultHandler); } } - public static class mutateRow extends org.apache.thrift.AsyncProcessFunction { + public static class mutateRow extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public mutateRow() { super("mutateRow"); } + @Override + public mutateRow_result getEmptyResultInstance() { + return new mutateRow_result(); + } + + @Override public mutateRow_args getEmptyArgsInstance() { return new mutateRow_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { mutateRow_result result = new mutateRow_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6989,9 +7847,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; mutateRow_result result = new mutateRow_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -7001,18 +7860,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7024,32 +7883,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, mutateRow_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, mutateRow_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.mutateRow(args.tableName, args.row, args.mutations, args.attributes,resultHandler); } } - public static class mutateRowTs extends org.apache.thrift.AsyncProcessFunction { + public static class mutateRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public mutateRowTs() { super("mutateRowTs"); } + @Override + public mutateRowTs_result getEmptyResultInstance() { + return new mutateRowTs_result(); + } + + @Override public mutateRowTs_args getEmptyArgsInstance() { return new mutateRowTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { mutateRowTs_result result = new mutateRowTs_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7057,9 +7926,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; mutateRowTs_result result = new mutateRowTs_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -7069,18 +7939,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7092,32 +7962,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, mutateRowTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, mutateRowTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp, args.attributes,resultHandler); } } - public static class mutateRows extends org.apache.thrift.AsyncProcessFunction { + public static class mutateRows extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public mutateRows() { super("mutateRows"); } + @Override + public mutateRows_result getEmptyResultInstance() { + return new mutateRows_result(); + } + + @Override public mutateRows_args getEmptyArgsInstance() { return new mutateRows_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { mutateRows_result result = new mutateRows_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7125,9 +8005,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; mutateRows_result result = new mutateRows_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -7137,18 +8018,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7160,32 +8041,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, mutateRows_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, mutateRows_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.mutateRows(args.tableName, args.rowBatches, args.attributes,resultHandler); } } - public static class mutateRowsTs extends org.apache.thrift.AsyncProcessFunction { + public static class mutateRowsTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public mutateRowsTs() { super("mutateRowsTs"); } + @Override + public mutateRowsTs_result getEmptyResultInstance() { + return new mutateRowsTs_result(); + } + + @Override public mutateRowsTs_args getEmptyArgsInstance() { return new mutateRowsTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { mutateRowsTs_result result = new mutateRowsTs_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7193,9 +8084,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; mutateRowsTs_result result = new mutateRowsTs_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -7205,18 +8097,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7228,34 +8120,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, mutateRowsTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, mutateRowsTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes,resultHandler); } } - public static class atomicIncrement extends org.apache.thrift.AsyncProcessFunction { + public static class atomicIncrement extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public atomicIncrement() { super("atomicIncrement"); } + @Override + public atomicIncrement_result getEmptyResultInstance() { + return new atomicIncrement_result(); + } + + @Override public atomicIncrement_args getEmptyArgsInstance() { return new atomicIncrement_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Long o) { atomicIncrement_result result = new atomicIncrement_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7263,9 +8165,10 @@ public void onComplete(java.lang.Long o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; atomicIncrement_result result = new atomicIncrement_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -7275,18 +8178,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7298,32 +8201,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, atomicIncrement_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, atomicIncrement_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.atomicIncrement(args.tableName, args.row, args.column, args.value,resultHandler); } } - public static class deleteAll extends org.apache.thrift.AsyncProcessFunction { + public static class deleteAll extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteAll() { super("deleteAll"); } + @Override + public deleteAll_result getEmptyResultInstance() { + return new deleteAll_result(); + } + + @Override public deleteAll_args getEmptyArgsInstance() { return new deleteAll_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteAll_result result = new deleteAll_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7331,26 +8244,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteAll_result result = new deleteAll_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7362,32 +8276,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteAll_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteAll_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteAll(args.tableName, args.row, args.column, args.attributes,resultHandler); } } - public static class deleteAllTs extends org.apache.thrift.AsyncProcessFunction { + public static class deleteAllTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteAllTs() { super("deleteAllTs"); } + @Override + public deleteAllTs_result getEmptyResultInstance() { + return new deleteAllTs_result(); + } + + @Override public deleteAllTs_args getEmptyArgsInstance() { return new deleteAllTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteAllTs_result result = new deleteAllTs_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7395,26 +8319,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteAllTs_result result = new deleteAllTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7426,32 +8351,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteAllTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteAllTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteAllTs(args.tableName, args.row, args.column, args.timestamp, args.attributes,resultHandler); } } - public static class deleteAllRow extends org.apache.thrift.AsyncProcessFunction { + public static class deleteAllRow extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteAllRow() { super("deleteAllRow"); } + @Override + public deleteAllRow_result getEmptyResultInstance() { + return new deleteAllRow_result(); + } + + @Override public deleteAllRow_args getEmptyArgsInstance() { return new deleteAllRow_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteAllRow_result result = new deleteAllRow_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7459,26 +8394,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteAllRow_result result = new deleteAllRow_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7490,32 +8426,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteAllRow_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteAllRow_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteAllRow(args.tableName, args.row, args.attributes,resultHandler); } } - public static class increment extends org.apache.thrift.AsyncProcessFunction { + public static class increment extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public increment() { super("increment"); } + @Override + public increment_result getEmptyResultInstance() { + return new increment_result(); + } + + @Override public increment_args getEmptyArgsInstance() { return new increment_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { increment_result result = new increment_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7523,26 +8469,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; increment_result result = new increment_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7554,32 +8501,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, increment_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, increment_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.increment(args.increment,resultHandler); } } - public static class incrementRows extends org.apache.thrift.AsyncProcessFunction { + public static class incrementRows extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public incrementRows() { super("incrementRows"); } + @Override + public incrementRows_result getEmptyResultInstance() { + return new incrementRows_result(); + } + + @Override public incrementRows_args getEmptyArgsInstance() { return new incrementRows_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { incrementRows_result result = new incrementRows_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7587,26 +8544,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; incrementRows_result result = new incrementRows_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7618,32 +8576,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, incrementRows_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, incrementRows_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.incrementRows(args.increments,resultHandler); } } - public static class deleteAllRowTs extends org.apache.thrift.AsyncProcessFunction { + public static class deleteAllRowTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteAllRowTs() { super("deleteAllRowTs"); } + @Override + public deleteAllRowTs_result getEmptyResultInstance() { + return new deleteAllRowTs_result(); + } + + @Override public deleteAllRowTs_args getEmptyArgsInstance() { return new deleteAllRowTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteAllRowTs_result result = new deleteAllRowTs_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7651,26 +8619,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteAllRowTs_result result = new deleteAllRowTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7682,34 +8651,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteAllRowTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteAllRowTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes,resultHandler); } } - public static class scannerOpenWithScan extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpenWithScan extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpenWithScan() { super("scannerOpenWithScan"); } + @Override + public scannerOpenWithScan_result getEmptyResultInstance() { + return new scannerOpenWithScan_result(); + } + + @Override public scannerOpenWithScan_args getEmptyArgsInstance() { return new scannerOpenWithScan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpenWithScan_result result = new scannerOpenWithScan_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7717,26 +8696,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpenWithScan_result result = new scannerOpenWithScan_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7748,34 +8728,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpenWithScan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpenWithScan_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpenWithScan(args.tableName, args.scan, args.attributes,resultHandler); } } - public static class scannerOpen extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpen extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpen() { super("scannerOpen"); } + @Override + public scannerOpen_result getEmptyResultInstance() { + return new scannerOpen_result(); + } + + @Override public scannerOpen_args getEmptyArgsInstance() { return new scannerOpen_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpen_result result = new scannerOpen_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7783,26 +8773,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpen_result result = new scannerOpen_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7814,34 +8805,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpen_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpen_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes,resultHandler); } } - public static class scannerOpenWithStop extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpenWithStop extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpenWithStop() { super("scannerOpenWithStop"); } + @Override + public scannerOpenWithStop_result getEmptyResultInstance() { + return new scannerOpenWithStop_result(); + } + + @Override public scannerOpenWithStop_args getEmptyArgsInstance() { return new scannerOpenWithStop_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpenWithStop_result result = new scannerOpenWithStop_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7849,26 +8850,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpenWithStop_result result = new scannerOpenWithStop_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7880,34 +8882,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpenWithStop_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpenWithStop_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes,resultHandler); } } - public static class scannerOpenWithPrefix extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpenWithPrefix extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpenWithPrefix() { super("scannerOpenWithPrefix"); } + @Override + public scannerOpenWithPrefix_result getEmptyResultInstance() { + return new scannerOpenWithPrefix_result(); + } + + @Override public scannerOpenWithPrefix_args getEmptyArgsInstance() { return new scannerOpenWithPrefix_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7915,26 +8927,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7946,34 +8959,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpenWithPrefix_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpenWithPrefix_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes,resultHandler); } } - public static class scannerOpenTs extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpenTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpenTs() { super("scannerOpenTs"); } + @Override + public scannerOpenTs_result getEmptyResultInstance() { + return new scannerOpenTs_result(); + } + + @Override public scannerOpenTs_args getEmptyArgsInstance() { return new scannerOpenTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpenTs_result result = new scannerOpenTs_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7981,26 +9004,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpenTs_result result = new scannerOpenTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8012,34 +9036,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpenTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpenTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes,resultHandler); } } - public static class scannerOpenWithStopTs extends org.apache.thrift.AsyncProcessFunction { + public static class scannerOpenWithStopTs extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerOpenWithStopTs() { super("scannerOpenWithStopTs"); } + @Override + public scannerOpenWithStopTs_result getEmptyResultInstance() { + return new scannerOpenWithStopTs_result(); + } + + @Override public scannerOpenWithStopTs_args getEmptyArgsInstance() { return new scannerOpenWithStopTs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8047,26 +9081,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8078,33 +9113,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerOpenWithStopTs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerOpenWithStopTs_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes,resultHandler); } } - public static class scannerGet extends org.apache.thrift.AsyncProcessFunction> { + public static class scannerGet extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, scannerGet_result> { public scannerGet() { super("scannerGet"); } + @Override + public scannerGet_result getEmptyResultInstance() { + return new scannerGet_result(); + } + + @Override public scannerGet_args getEmptyArgsInstance() { return new scannerGet_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { scannerGet_result result = new scannerGet_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8112,9 +9157,10 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerGet_result result = new scannerGet_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -8124,18 +9170,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8147,33 +9193,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerGet_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerGet_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerGet(args.id,resultHandler); } } - public static class scannerGetList extends org.apache.thrift.AsyncProcessFunction> { + public static class scannerGetList extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, scannerGetList_result> { public scannerGetList() { super("scannerGetList"); } + @Override + public scannerGetList_result getEmptyResultInstance() { + return new scannerGetList_result(); + } + + @Override public scannerGetList_args getEmptyArgsInstance() { return new scannerGetList_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { scannerGetList_result result = new scannerGetList_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8181,9 +9237,10 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerGetList_result result = new scannerGetList_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -8193,18 +9250,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8216,32 +9273,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerGetList_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerGetList_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerGetList(args.id, args.nbRows,resultHandler); } } - public static class scannerClose extends org.apache.thrift.AsyncProcessFunction { + public static class scannerClose extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public scannerClose() { super("scannerClose"); } + @Override + public scannerClose_result getEmptyResultInstance() { + return new scannerClose_result(); + } + + @Override public scannerClose_args getEmptyArgsInstance() { return new scannerClose_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { scannerClose_result result = new scannerClose_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8249,9 +9316,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; scannerClose_result result = new scannerClose_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -8261,18 +9329,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8284,33 +9352,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, scannerClose_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, scannerClose_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.scannerClose(args.id,resultHandler); } } - public static class getRegionInfo extends org.apache.thrift.AsyncProcessFunction { + public static class getRegionInfo extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getRegionInfo() { super("getRegionInfo"); } + @Override + public getRegionInfo_result getEmptyResultInstance() { + return new getRegionInfo_result(); + } + + @Override public getRegionInfo_args getEmptyArgsInstance() { return new getRegionInfo_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TRegionInfo o) { getRegionInfo_result result = new getRegionInfo_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8318,26 +9396,27 @@ public void onComplete(TRegionInfo o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRegionInfo_result result = new getRegionInfo_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8349,33 +9428,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRegionInfo_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRegionInfo_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRegionInfo(args.row,resultHandler); } } - public static class append extends org.apache.thrift.AsyncProcessFunction> { + public static class append extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, append_result> { public append() { super("append"); } + @Override + public append_result getEmptyResultInstance() { + return new append_result(); + } + + @Override public append_args getEmptyArgsInstance() { return new append_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { append_result result = new append_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8383,26 +9472,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; append_result result = new append_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8414,34 +9504,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, append_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, append_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.append(args.append,resultHandler); } } - public static class checkAndPut extends org.apache.thrift.AsyncProcessFunction { + public static class checkAndPut extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public checkAndPut() { super("checkAndPut"); } + @Override + public checkAndPut_result getEmptyResultInstance() { + return new checkAndPut_result(); + } + + @Override public checkAndPut_args getEmptyArgsInstance() { return new checkAndPut_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { checkAndPut_result result = new checkAndPut_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8449,9 +9549,10 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; checkAndPut_result result = new checkAndPut_result(); if (e instanceof IOError) { result.io = (IOError) e; @@ -8461,18 +9562,18 @@ public void onError(java.lang.Exception e) { result.ia = (IllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8484,33 +9585,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, checkAndPut_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, checkAndPut_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.checkAndPut(args.tableName, args.row, args.column, args.value, args.mput, args.attributes,resultHandler); } } - public static class getThriftServerType extends org.apache.thrift.AsyncProcessFunction { + public static class getThriftServerType extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getThriftServerType() { super("getThriftServerType"); } + @Override + public getThriftServerType_result getEmptyResultInstance() { + return new getThriftServerType_result(); + } + + @Override public getThriftServerType_args getEmptyArgsInstance() { return new getThriftServerType_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TThriftServerType o) { getThriftServerType_result result = new getThriftServerType_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8518,22 +9629,23 @@ public void onComplete(TThriftServerType o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getThriftServerType_result result = new getThriftServerType_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8545,33 +9657,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getThriftServerType_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getThriftServerType_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getThriftServerType(resultHandler); } } - public static class getClusterId extends org.apache.thrift.AsyncProcessFunction { + public static class getClusterId extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getClusterId() { super("getClusterId"); } + @Override + public getClusterId_result getEmptyResultInstance() { + return new getClusterId_result(); + } + + @Override public getClusterId_args getEmptyArgsInstance() { return new getClusterId_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.String o) { getClusterId_result result = new getClusterId_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8579,22 +9701,23 @@ public void onComplete(java.lang.String o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getClusterId_result result = new getClusterId_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8606,34 +9729,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getClusterId_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getClusterId_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getClusterId(resultHandler); } } - public static class grant extends org.apache.thrift.AsyncProcessFunction { + public static class grant extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public grant() { super("grant"); } + @Override + public grant_result getEmptyResultInstance() { + return new grant_result(); + } + + @Override public grant_args getEmptyArgsInstance() { return new grant_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { grant_result result = new grant_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8641,26 +9774,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; grant_result result = new grant_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8672,34 +9806,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, grant_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, grant_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.grant(args.info,resultHandler); } } - public static class revoke extends org.apache.thrift.AsyncProcessFunction { + public static class revoke extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public revoke() { super("revoke"); } + @Override + public revoke_result getEmptyResultInstance() { + return new revoke_result(); + } + + @Override public revoke_args getEmptyArgsInstance() { return new revoke_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { revoke_result result = new revoke_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8707,26 +9851,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; revoke_result result = new revoke_result(); if (e instanceof IOError) { result.io = (IOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8738,32 +9883,35 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, revoke_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, revoke_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.revoke(args.info,resultHandler); } } } - public static class enableTable_args 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("enableTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class enableTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("enableTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_argsTupleSchemeFactory(); /** * name of the table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of the table */ @@ -8780,7 +9928,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -8803,7 +9951,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -8816,23 +9964,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap); } public enableTable_args() { @@ -8842,7 +9992,7 @@ public enableTable_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -8850,10 +10000,11 @@ public enableTable_args( */ public enableTable_args(enableTable_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public enableTable_args deepCopy() { return new enableTable_args(this); } @@ -8867,12 +10018,12 @@ public void clear() { * name of the table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -8883,8 +10034,8 @@ public enableTable_args setTableName(byte[] tableName) { return this; } - public enableTable_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public enableTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -8903,7 +10054,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -8920,7 +10072,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -8931,6 +10084,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -8992,7 +10146,7 @@ public int compareTo(enableTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -9000,16 +10154,19 @@ public int compareTo(enableTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -9022,72 +10179,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class enableTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_argsStandardScheme getScheme() { return new enableTable_argsStandardScheme(); } } - private static class enableTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class enableTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -9102,17 +10267,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_args s } - private static class enableTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_argsTupleScheme getScheme() { return new enableTable_argsTupleScheme(); } } - private static class enableTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class enableTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -9124,33 +10290,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class enableTable_result 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("enableTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class enableTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("enableTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -9164,7 +10336,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -9187,7 +10359,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -9200,23 +10372,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap); } public enableTable_result() { @@ -9238,6 +10412,7 @@ public enableTable_result(enableTable_result other) { } } + @Override public enableTable_result deepCopy() { return new enableTable_result(this); } @@ -9247,12 +10422,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public enableTable_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public enableTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -9272,7 +10447,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -9285,7 +10461,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -9296,6 +10473,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -9357,7 +10535,7 @@ public int compareTo(enableTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -9365,16 +10543,18 @@ public int compareTo(enableTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -9394,66 +10574,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class enableTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_resultStandardScheme getScheme() { return new enableTable_resultStandardScheme(); } } - private static class enableTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class enableTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -9468,17 +10656,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_result } - private static class enableTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_resultTupleScheme getScheme() { return new enableTable_resultTupleScheme(); } } - private static class enableTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class enableTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -9490,37 +10679,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class disableTable_args 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("disableTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class disableTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("disableTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_argsTupleSchemeFactory(); /** * name of the table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of the table */ @@ -9537,7 +10732,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -9560,7 +10755,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -9573,23 +10768,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap); } public disableTable_args() { @@ -9599,7 +10796,7 @@ public disableTable_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -9607,10 +10804,11 @@ public disableTable_args( */ public disableTable_args(disableTable_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public disableTable_args deepCopy() { return new disableTable_args(this); } @@ -9624,12 +10822,12 @@ public void clear() { * name of the table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -9640,8 +10838,8 @@ public disableTable_args setTableName(byte[] tableName) { return this; } - public disableTable_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public disableTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -9660,7 +10858,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -9677,7 +10876,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -9688,6 +10888,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -9749,7 +10950,7 @@ public int compareTo(disableTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -9757,16 +10958,19 @@ public int compareTo(disableTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -9779,72 +10983,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class disableTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_argsStandardScheme getScheme() { return new disableTable_argsStandardScheme(); } } - private static class disableTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class disableTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -9859,17 +11071,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_args } - private static class disableTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_argsTupleScheme getScheme() { return new disableTable_argsTupleScheme(); } } - private static class disableTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class disableTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -9881,33 +11094,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class disableTable_result 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("disableTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class disableTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("disableTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -9921,7 +11140,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -9944,7 +11163,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -9957,23 +11176,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_result.class, metaDataMap); } public disableTable_result() { @@ -9995,6 +11216,7 @@ public disableTable_result(disableTable_result other) { } } + @Override public disableTable_result deepCopy() { return new disableTable_result(this); } @@ -10004,12 +11226,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public disableTable_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public disableTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -10029,7 +11251,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -10042,7 +11265,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -10053,6 +11277,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -10114,7 +11339,7 @@ public int compareTo(disableTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -10122,16 +11347,18 @@ public int compareTo(disableTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -10151,66 +11378,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class disableTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_resultStandardScheme getScheme() { return new disableTable_resultStandardScheme(); } } - private static class disableTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class disableTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -10225,17 +11460,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_resul } - private static class disableTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_resultTupleScheme getScheme() { return new disableTable_resultTupleScheme(); } } - private static class disableTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class disableTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -10247,37 +11483,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableEnabled_args 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("isTableEnabled_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableEnabled_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableEnabled_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_argsTupleSchemeFactory(); /** * name of the table to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of the table to check */ @@ -10294,7 +11536,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -10317,7 +11559,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -10330,23 +11572,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_args.class, metaDataMap); } public isTableEnabled_args() { @@ -10356,7 +11600,7 @@ public isTableEnabled_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -10364,10 +11608,11 @@ public isTableEnabled_args( */ public isTableEnabled_args(isTableEnabled_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public isTableEnabled_args deepCopy() { return new isTableEnabled_args(this); } @@ -10381,12 +11626,12 @@ public void clear() { * name of the table to check */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -10397,8 +11642,8 @@ public isTableEnabled_args setTableName(byte[] tableName) { return this; } - public isTableEnabled_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public isTableEnabled_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -10417,7 +11662,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -10434,7 +11680,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -10445,6 +11692,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -10506,7 +11754,7 @@ public int compareTo(isTableEnabled_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -10514,16 +11762,19 @@ public int compareTo(isTableEnabled_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -10536,72 +11787,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableEnabled_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_argsStandardScheme getScheme() { return new isTableEnabled_argsStandardScheme(); } } - private static class isTableEnabled_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableEnabled_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -10616,17 +11875,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_arg } - private static class isTableEnabled_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_argsTupleScheme getScheme() { return new isTableEnabled_argsTupleScheme(); } } - private static class isTableEnabled_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableEnabled_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -10638,35 +11898,41 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableEnabled_result 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("isTableEnabled_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableEnabled_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableEnabled_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -10681,7 +11947,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -10706,7 +11972,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -10719,10 +11985,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -10731,15 +11999,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_result.class, metaDataMap); } public isTableEnabled_result() { @@ -10766,6 +12034,7 @@ public isTableEnabled_result(isTableEnabled_result other) { } } + @Override public isTableEnabled_result deepCopy() { return new isTableEnabled_result(this); } @@ -10788,24 +12057,24 @@ public isTableEnabled_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public isTableEnabled_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public isTableEnabled_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -10825,7 +12094,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -10846,7 +12116,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -10860,6 +12131,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -10934,7 +12206,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -10944,7 +12216,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -10952,16 +12224,18 @@ public int compareTo(isTableEnabled_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -10985,15 +12259,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -11002,59 +12276,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableEnabled_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_resultStandardScheme getScheme() { return new isTableEnabled_resultStandardScheme(); } } - private static class isTableEnabled_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableEnabled_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -11074,17 +12356,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_res } - private static class isTableEnabled_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_resultTupleScheme getScheme() { return new isTableEnabled_resultTupleScheme(); } } - private static class isTableEnabled_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableEnabled_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -11102,38 +12385,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class compact_args 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("compact_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class compact_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("compact_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new compact_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new compact_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new compact_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new compact_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE_NAME_OR_REGION_NAME((short)1, "tableNameOrRegionName"); private static final java.util.Map byName = new java.util.HashMap(); @@ -11147,7 +12436,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME_OR_REGION_NAME @@ -11170,7 +12459,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -11183,23 +12472,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_args.class, metaDataMap); } public compact_args() { @@ -11209,7 +12500,7 @@ public compact_args( java.nio.ByteBuffer tableNameOrRegionName) { this(); - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); } /** @@ -11217,10 +12508,11 @@ public compact_args( */ public compact_args(compact_args other) { if (other.isSetTableNameOrRegionName()) { - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(other.tableNameOrRegionName); + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableNameOrRegionName); } } + @Override public compact_args deepCopy() { return new compact_args(this); } @@ -11231,12 +12523,12 @@ public void clear() { } public byte[] getTableNameOrRegionName() { - setTableNameOrRegionName(org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName)); + setTableNameOrRegionName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName)); return tableNameOrRegionName == null ? null : tableNameOrRegionName.array(); } public java.nio.ByteBuffer bufferForTableNameOrRegionName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); } public compact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) { @@ -11244,8 +12536,8 @@ public compact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) { return this; } - public compact_args setTableNameOrRegionName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName) { - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + public compact_args setTableNameOrRegionName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName) { + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); return this; } @@ -11264,7 +12556,8 @@ public void setTableNameOrRegionNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME_OR_REGION_NAME: if (value == null) { @@ -11281,7 +12574,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME_OR_REGION_NAME: @@ -11292,6 +12586,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -11353,7 +12648,7 @@ public int compareTo(compact_args other) { return lastComparison; } if (isSetTableNameOrRegionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, other.tableNameOrRegionName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, other.tableNameOrRegionName); if (lastComparison != 0) { return lastComparison; } @@ -11361,16 +12656,19 @@ public int compareTo(compact_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -11383,72 +12681,80 @@ public java.lang.String toString() { if (this.tableNameOrRegionName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableNameOrRegionName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableNameOrRegionName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class compact_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class compact_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public compact_argsStandardScheme getScheme() { return new compact_argsStandardScheme(); } } - private static class compact_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class compact_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, compact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME_OR_REGION_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableNameOrRegionName = iprot.readBinary(); - struct.setTableNameOrRegionNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, compact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME_OR_REGION_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableNameOrRegionName = iprot.readBinary(); + struct.setTableNameOrRegionNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, compact_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, compact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -11463,17 +12769,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, compact_args struc } - private static class compact_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class compact_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public compact_argsTupleScheme getScheme() { return new compact_argsTupleScheme(); } } - private static class compact_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class compact_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableNameOrRegionName()) { optionals.set(0); @@ -11485,33 +12792,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, compact_args struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableNameOrRegionName = iprot.readBinary(); - struct.setTableNameOrRegionNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableNameOrRegionName = iprot.readBinary(); + struct.setTableNameOrRegionNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class compact_result 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("compact_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class compact_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("compact_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new compact_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new compact_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new compact_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new compact_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -11525,7 +12838,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -11548,7 +12861,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -11561,23 +12874,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_result.class, metaDataMap); } public compact_result() { @@ -11599,6 +12914,7 @@ public compact_result(compact_result other) { } } + @Override public compact_result deepCopy() { return new compact_result(this); } @@ -11608,12 +12924,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public compact_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public compact_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -11633,7 +12949,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -11646,7 +12963,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -11657,6 +12975,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -11718,7 +13037,7 @@ public int compareTo(compact_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -11726,16 +13045,18 @@ public int compareTo(compact_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -11755,66 +13076,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class compact_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class compact_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public compact_resultStandardScheme getScheme() { return new compact_resultStandardScheme(); } } - private static class compact_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class compact_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, compact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, compact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, compact_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, compact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -11829,17 +13158,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, compact_result str } - private static class compact_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class compact_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public compact_resultTupleScheme getScheme() { return new compact_resultTupleScheme(); } } - private static class compact_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class compact_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -11851,34 +13181,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, compact_result stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class majorCompact_args 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("majorCompact_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class majorCompact_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("majorCompact_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new majorCompact_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new majorCompact_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new majorCompact_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new majorCompact_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE_NAME_OR_REGION_NAME((short)1, "tableNameOrRegionName"); private static final java.util.Map byName = new java.util.HashMap(); @@ -11892,7 +13228,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME_OR_REGION_NAME @@ -11915,7 +13251,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -11928,23 +13264,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_args.class, metaDataMap); } public majorCompact_args() { @@ -11954,7 +13292,7 @@ public majorCompact_args( java.nio.ByteBuffer tableNameOrRegionName) { this(); - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); } /** @@ -11962,10 +13300,11 @@ public majorCompact_args( */ public majorCompact_args(majorCompact_args other) { if (other.isSetTableNameOrRegionName()) { - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(other.tableNameOrRegionName); + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableNameOrRegionName); } } + @Override public majorCompact_args deepCopy() { return new majorCompact_args(this); } @@ -11976,12 +13315,12 @@ public void clear() { } public byte[] getTableNameOrRegionName() { - setTableNameOrRegionName(org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName)); + setTableNameOrRegionName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName)); return tableNameOrRegionName == null ? null : tableNameOrRegionName.array(); } public java.nio.ByteBuffer bufferForTableNameOrRegionName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); } public majorCompact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) { @@ -11989,8 +13328,8 @@ public majorCompact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) return this; } - public majorCompact_args setTableNameOrRegionName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName) { - this.tableNameOrRegionName = org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); + public majorCompact_args setTableNameOrRegionName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableNameOrRegionName) { + this.tableNameOrRegionName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableNameOrRegionName); return this; } @@ -12009,7 +13348,8 @@ public void setTableNameOrRegionNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME_OR_REGION_NAME: if (value == null) { @@ -12026,7 +13366,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME_OR_REGION_NAME: @@ -12037,6 +13378,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -12098,7 +13440,7 @@ public int compareTo(majorCompact_args other) { return lastComparison; } if (isSetTableNameOrRegionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, other.tableNameOrRegionName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, other.tableNameOrRegionName); if (lastComparison != 0) { return lastComparison; } @@ -12106,16 +13448,19 @@ public int compareTo(majorCompact_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -12128,72 +13473,80 @@ public java.lang.String toString() { if (this.tableNameOrRegionName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableNameOrRegionName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableNameOrRegionName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class majorCompact_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class majorCompact_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public majorCompact_argsStandardScheme getScheme() { return new majorCompact_argsStandardScheme(); } } - private static class majorCompact_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class majorCompact_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, majorCompact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME_OR_REGION_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableNameOrRegionName = iprot.readBinary(); - struct.setTableNameOrRegionNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, majorCompact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME_OR_REGION_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableNameOrRegionName = iprot.readBinary(); + struct.setTableNameOrRegionNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, majorCompact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -12208,17 +13561,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_args } - private static class majorCompact_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class majorCompact_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public majorCompact_argsTupleScheme getScheme() { return new majorCompact_argsTupleScheme(); } } - private static class majorCompact_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class majorCompact_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableNameOrRegionName()) { optionals.set(0); @@ -12230,33 +13584,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableNameOrRegionName = iprot.readBinary(); - struct.setTableNameOrRegionNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableNameOrRegionName = iprot.readBinary(); + struct.setTableNameOrRegionNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class majorCompact_result 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("majorCompact_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class majorCompact_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("majorCompact_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new majorCompact_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new majorCompact_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new majorCompact_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new majorCompact_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -12270,7 +13630,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -12293,7 +13653,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -12306,23 +13666,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_result.class, metaDataMap); } public majorCompact_result() { @@ -12344,6 +13706,7 @@ public majorCompact_result(majorCompact_result other) { } } + @Override public majorCompact_result deepCopy() { return new majorCompact_result(this); } @@ -12353,12 +13716,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public majorCompact_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public majorCompact_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -12378,7 +13741,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -12391,7 +13755,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -12402,6 +13767,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -12463,7 +13829,7 @@ public int compareTo(majorCompact_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -12471,16 +13837,18 @@ public int compareTo(majorCompact_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -12500,66 +13868,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class majorCompact_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class majorCompact_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public majorCompact_resultStandardScheme getScheme() { return new majorCompact_resultStandardScheme(); } } - private static class majorCompact_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class majorCompact_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, majorCompact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, majorCompact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, majorCompact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -12574,17 +13950,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_resul } - private static class majorCompact_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class majorCompact_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public majorCompact_resultTupleScheme getScheme() { return new majorCompact_resultTupleScheme(); } } - private static class majorCompact_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class majorCompact_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -12596,32 +13973,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNames_args 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("getTableNames_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNames_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNames_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNames_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNames_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNames_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNames_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -12635,7 +14018,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -12656,7 +14039,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -12669,19 +14052,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_args.class, metaDataMap); } public getTableNames_args() { @@ -12693,6 +14078,7 @@ public getTableNames_args() { public getTableNames_args(getTableNames_args other) { } + @Override public getTableNames_args deepCopy() { return new getTableNames_args(this); } @@ -12701,12 +14087,14 @@ public getTableNames_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -12714,6 +14102,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -12758,16 +14147,19 @@ public int compareTo(getTableNames_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -12780,57 +14172,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNames_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNames_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNames_argsStandardScheme getScheme() { return new getTableNames_argsStandardScheme(); } } - private static class getTableNames_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNames_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNames_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNames_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNames_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -12840,44 +14240,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_args } - private static class getTableNames_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNames_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNames_argsTupleScheme getScheme() { return new getTableNames_argsTupleScheme(); } } - private static class getTableNames_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNames_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNames_result 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("getTableNames_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNames_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNames_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNames_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNames_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNames_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNames_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -12892,7 +14299,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -12917,7 +14324,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -12930,26 +14337,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_result.class, metaDataMap); } public getTableNames_result() { @@ -12971,7 +14380,7 @@ public getTableNames_result(getTableNames_result other) { if (other.isSetSuccess()) { java.util.List __this__success = new java.util.ArrayList(other.success.size()); for (java.nio.ByteBuffer other_element : other.success) { - __this__success.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__success.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.success = __this__success; } @@ -12980,6 +14389,7 @@ public getTableNames_result(getTableNames_result other) { } } + @Override public getTableNames_result deepCopy() { return new getTableNames_result(this); } @@ -12994,7 +14404,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -13006,12 +14416,12 @@ public void addToSuccess(java.nio.ByteBuffer elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableNames_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableNames_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -13031,12 +14441,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getTableNames_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getTableNames_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -13056,7 +14466,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -13077,7 +14488,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -13091,6 +14503,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -13167,7 +14580,7 @@ public int compareTo(getTableNames_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -13177,7 +14590,7 @@ public int compareTo(getTableNames_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -13185,16 +14598,18 @@ public int compareTo(getTableNames_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -13207,7 +14622,7 @@ public java.lang.String toString() { if (this.success == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.success, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.success, sb); } first = false; if (!first) sb.append(", "); @@ -13222,91 +14637,99 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNames_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNames_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNames_resultStandardScheme getScheme() { return new getTableNames_resultStandardScheme(); } } - private static class getTableNames_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNames_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNames_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list50 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list50.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem51; - for (int _i52 = 0; _i52 < _list50.size; ++_i52) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNames_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem51 = iprot.readBinary(); - struct.success.add(_elem51); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list50 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list50.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem51; + for (int _i52 = 0; _i52 < _list50.size; ++_i52) + { + _elem51 = iprot.readBinary(); + struct.success.add(_elem51); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNames_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.success.size())); for (java.nio.ByteBuffer _iter53 : struct.success) { oprot.writeBinary(_iter53); @@ -13326,17 +14749,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_resu } - private static class getTableNames_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNames_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNames_resultTupleScheme getScheme() { return new getTableNames_resultTupleScheme(); } } - private static class getTableNames_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNames_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -13360,45 +14784,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableNames_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem56 = iprot.readBinary(); - struct.success.add(_elem56); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list55 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list55.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem56; + for (int _i57 = 0; _i57 < _list55.size; ++_i57) + { + _elem56 = iprot.readBinary(); + struct.success.add(_elem56); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesWithIsTableEnabled_args 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("getTableNamesWithIsTableEnabled_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesWithIsTableEnabled_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesWithIsTableEnabled_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -13412,7 +14842,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -13433,7 +14863,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -13446,19 +14876,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesWithIsTableEnabled_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesWithIsTableEnabled_args.class, metaDataMap); } public getTableNamesWithIsTableEnabled_args() { @@ -13470,6 +14902,7 @@ public getTableNamesWithIsTableEnabled_args() { public getTableNamesWithIsTableEnabled_args(getTableNamesWithIsTableEnabled_args other) { } + @Override public getTableNamesWithIsTableEnabled_args deepCopy() { return new getTableNamesWithIsTableEnabled_args(this); } @@ -13478,12 +14911,14 @@ public getTableNamesWithIsTableEnabled_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -13491,6 +14926,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -13535,16 +14971,19 @@ public int compareTo(getTableNamesWithIsTableEnabled_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -13557,57 +14996,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesWithIsTableEnabled_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesWithIsTableEnabled_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesWithIsTableEnabled_argsStandardScheme getScheme() { return new getTableNamesWithIsTableEnabled_argsStandardScheme(); } } - private static class getTableNamesWithIsTableEnabled_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesWithIsTableEnabled_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -13617,44 +15064,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithI } - private static class getTableNamesWithIsTableEnabled_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesWithIsTableEnabled_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesWithIsTableEnabled_argsTupleScheme getScheme() { return new getTableNamesWithIsTableEnabled_argsTupleScheme(); } } - private static class getTableNamesWithIsTableEnabled_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesWithIsTableEnabled_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesWithIsTableEnabled_result 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("getTableNamesWithIsTableEnabled_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesWithIsTableEnabled_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesWithIsTableEnabled_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesWithIsTableEnabled_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.Map success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -13669,7 +15123,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -13694,7 +15148,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -13707,27 +15161,29 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesWithIsTableEnabled_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesWithIsTableEnabled_result.class, metaDataMap); } public getTableNamesWithIsTableEnabled_result() { @@ -13753,7 +15209,7 @@ public getTableNamesWithIsTableEnabled_result(getTableNamesWithIsTableEnabled_re java.nio.ByteBuffer other_element_key = other_element.getKey(); java.lang.Boolean other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__success_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__success_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); java.lang.Boolean __this__success_copy_value = other_element_value; @@ -13766,6 +15222,7 @@ public getTableNamesWithIsTableEnabled_result(getTableNamesWithIsTableEnabled_re } } + @Override public getTableNamesWithIsTableEnabled_result deepCopy() { return new getTableNamesWithIsTableEnabled_result(this); } @@ -13787,12 +15244,12 @@ public void putToSuccess(java.nio.ByteBuffer key, boolean val) { this.success.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getSuccess() { return this.success; } - public getTableNamesWithIsTableEnabled_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.Map success) { + public getTableNamesWithIsTableEnabled_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map success) { this.success = success; return this; } @@ -13812,12 +15269,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getTableNamesWithIsTableEnabled_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getTableNamesWithIsTableEnabled_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -13837,7 +15294,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -13858,7 +15316,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -13872,6 +15331,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -13948,7 +15408,7 @@ public int compareTo(getTableNamesWithIsTableEnabled_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -13958,7 +15418,7 @@ public int compareTo(getTableNamesWithIsTableEnabled_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -13966,16 +15426,18 @@ public int compareTo(getTableNamesWithIsTableEnabled_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -14003,93 +15465,101 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesWithIsTableEnabled_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesWithIsTableEnabled_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesWithIsTableEnabled_resultStandardScheme getScheme() { return new getTableNamesWithIsTableEnabled_resultStandardScheme(); } } - private static class getTableNamesWithIsTableEnabled_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesWithIsTableEnabled_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map58 = iprot.readMapBegin(); - struct.success = new java.util.HashMap(2*_map58.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key59; - boolean _val60; - for (int _i61 = 0; _i61 < _map58.size; ++_i61) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key59 = iprot.readBinary(); - _val60 = iprot.readBool(); - struct.success.put(_key59, _val60); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map58 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map58.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key59; + boolean _val60; + for (int _i61 = 0; _i61 < _map58.size; ++_i61) + { + _key59 = iprot.readBinary(); + _val60 = iprot.readBool(); + struct.success.put(_key59, _val60); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.BOOL, struct.success.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, struct.success.size())); for (java.util.Map.Entry _iter62 : struct.success.entrySet()) { oprot.writeBinary(_iter62.getKey()); @@ -14110,17 +15580,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesWithI } - private static class getTableNamesWithIsTableEnabled_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesWithIsTableEnabled_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesWithIsTableEnabled_resultTupleScheme getScheme() { return new getTableNamesWithIsTableEnabled_resultTupleScheme(); } } - private static class getTableNamesWithIsTableEnabled_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesWithIsTableEnabled_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -14145,52 +15616,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIs } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map64 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.BOOL); - struct.success = new java.util.HashMap(2*_map64.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key65; - boolean _val66; - for (int _i67 = 0; _i67 < _map64.size; ++_i67) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesWithIsTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _key65 = iprot.readBinary(); - _val66 = iprot.readBool(); - struct.success.put(_key65, _val66); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map64 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL); + struct.success = new java.util.HashMap(2*_map64.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key65; + boolean _val66; + for (int _i67 = 0; _i67 < _map64.size; ++_i67) + { + _key65 = iprot.readBinary(); + _val66 = iprot.readBool(); + struct.success.put(_key65, _val66); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getColumnDescriptors_args 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("getColumnDescriptors_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getColumnDescriptors_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getColumnDescriptors_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getColumnDescriptors_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getColumnDescriptors_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getColumnDescriptors_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getColumnDescriptors_argsTupleSchemeFactory(); /** * table name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * table name */ @@ -14207,7 +15684,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -14230,7 +15707,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -14243,23 +15720,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_args.class, metaDataMap); } public getColumnDescriptors_args() { @@ -14269,7 +15748,7 @@ public getColumnDescriptors_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -14277,10 +15756,11 @@ public getColumnDescriptors_args( */ public getColumnDescriptors_args(getColumnDescriptors_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public getColumnDescriptors_args deepCopy() { return new getColumnDescriptors_args(this); } @@ -14294,12 +15774,12 @@ public void clear() { * table name */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -14310,8 +15790,8 @@ public getColumnDescriptors_args setTableName(byte[] tableName) { return this; } - public getColumnDescriptors_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getColumnDescriptors_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -14330,7 +15810,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -14347,7 +15828,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -14358,6 +15840,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -14419,7 +15902,7 @@ public int compareTo(getColumnDescriptors_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -14427,16 +15910,19 @@ public int compareTo(getColumnDescriptors_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -14449,72 +15935,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getColumnDescriptors_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getColumnDescriptors_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getColumnDescriptors_argsStandardScheme getScheme() { return new getColumnDescriptors_argsStandardScheme(); } } - private static class getColumnDescriptors_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getColumnDescriptors_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -14529,17 +16023,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescripto } - private static class getColumnDescriptors_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getColumnDescriptors_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getColumnDescriptors_argsTupleScheme getScheme() { return new getColumnDescriptors_argsTupleScheme(); } } - private static class getColumnDescriptors_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getColumnDescriptors_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -14551,35 +16046,41 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptor } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getColumnDescriptors_result 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("getColumnDescriptors_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getColumnDescriptors_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getColumnDescriptors_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getColumnDescriptors_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getColumnDescriptors_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getColumnDescriptors_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getColumnDescriptors_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.Map success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -14594,7 +16095,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -14619,7 +16120,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -14632,27 +16133,29 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnDescriptor.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, ColumnDescriptor.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_result.class, metaDataMap); } public getColumnDescriptors_result() { @@ -14678,7 +16181,7 @@ public getColumnDescriptors_result(getColumnDescriptors_result other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); ColumnDescriptor other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__success_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__success_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); ColumnDescriptor __this__success_copy_value = new ColumnDescriptor(other_element_value); @@ -14691,6 +16194,7 @@ public getColumnDescriptors_result(getColumnDescriptors_result other) { } } + @Override public getColumnDescriptors_result deepCopy() { return new getColumnDescriptors_result(this); } @@ -14712,12 +16216,12 @@ public void putToSuccess(java.nio.ByteBuffer key, ColumnDescriptor val) { this.success.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getSuccess() { return this.success; } - public getColumnDescriptors_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.Map success) { + public getColumnDescriptors_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map success) { this.success = success; return this; } @@ -14737,12 +16241,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getColumnDescriptors_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getColumnDescriptors_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -14762,7 +16266,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -14783,7 +16288,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -14797,6 +16303,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -14873,7 +16380,7 @@ public int compareTo(getColumnDescriptors_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -14883,7 +16390,7 @@ public int compareTo(getColumnDescriptors_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -14891,16 +16398,18 @@ public int compareTo(getColumnDescriptors_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -14928,94 +16437,102 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getColumnDescriptors_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getColumnDescriptors_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getColumnDescriptors_resultStandardScheme getScheme() { return new getColumnDescriptors_resultStandardScheme(); } } - private static class getColumnDescriptors_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getColumnDescriptors_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map68 = iprot.readMapBegin(); - struct.success = new java.util.HashMap(2*_map68.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key69; - @org.apache.thrift.annotation.Nullable ColumnDescriptor _val70; - for (int _i71 = 0; _i71 < _map68.size; ++_i71) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key69 = iprot.readBinary(); - _val70 = new ColumnDescriptor(); - _val70.read(iprot); - struct.success.put(_key69, _val70); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map68 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map68.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key69; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable ColumnDescriptor _val70; + for (int _i71 = 0; _i71 < _map68.size; ++_i71) + { + _key69 = iprot.readBinary(); + _val70 = new ColumnDescriptor(); + _val70.read(iprot); + struct.success.put(_key69, _val70); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (java.util.Map.Entry _iter72 : struct.success.entrySet()) { oprot.writeBinary(_iter72.getKey()); @@ -15036,17 +16553,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescripto } - private static class getColumnDescriptors_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getColumnDescriptors_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getColumnDescriptors_resultTupleScheme getScheme() { return new getColumnDescriptors_resultTupleScheme(); } } - private static class getColumnDescriptors_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getColumnDescriptors_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -15071,53 +16589,59 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptor } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map74 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.HashMap(2*_map74.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key75; - @org.apache.thrift.annotation.Nullable ColumnDescriptor _val76; - for (int _i77 = 0; _i77 < _map74.size; ++_i77) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _key75 = iprot.readBinary(); - _val76 = new ColumnDescriptor(); - _val76.read(iprot); - struct.success.put(_key75, _val76); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map74 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.HashMap(2*_map74.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key75; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable ColumnDescriptor _val76; + for (int _i77 = 0; _i77 < _map74.size; ++_i77) + { + _key75 = iprot.readBinary(); + _val76 = new ColumnDescriptor(); + _val76.read(iprot); + struct.success.put(_key75, _val76); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableRegions_args 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("getTableRegions_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableRegions_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableRegions_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableRegions_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableRegions_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableRegions_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableRegions_argsTupleSchemeFactory(); /** * table name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * table name */ @@ -15134,7 +16658,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -15157,7 +16681,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -15170,23 +16694,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableRegions_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableRegions_args.class, metaDataMap); } public getTableRegions_args() { @@ -15196,7 +16722,7 @@ public getTableRegions_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -15204,10 +16730,11 @@ public getTableRegions_args( */ public getTableRegions_args(getTableRegions_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public getTableRegions_args deepCopy() { return new getTableRegions_args(this); } @@ -15221,12 +16748,12 @@ public void clear() { * table name */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -15237,8 +16764,8 @@ public getTableRegions_args setTableName(byte[] tableName) { return this; } - public getTableRegions_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getTableRegions_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -15257,7 +16784,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -15274,7 +16802,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -15285,6 +16814,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -15346,7 +16876,7 @@ public int compareTo(getTableRegions_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -15354,16 +16884,19 @@ public int compareTo(getTableRegions_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -15376,72 +16909,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableRegions_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableRegions_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableRegions_argsStandardScheme getScheme() { return new getTableRegions_argsStandardScheme(); } } - private static class getTableRegions_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableRegions_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableRegions_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableRegions_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableRegions_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableRegions_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -15456,17 +16997,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableRegions_ar } - private static class getTableRegions_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableRegions_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableRegions_argsTupleScheme getScheme() { return new getTableRegions_argsTupleScheme(); } } - private static class getTableRegions_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableRegions_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableRegions_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableRegions_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -15478,35 +17020,41 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableRegions_arg } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableRegions_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableRegions_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableRegions_result 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("getTableRegions_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableRegions_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableRegions_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableRegions_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableRegions_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableRegions_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableRegions_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -15521,7 +17069,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -15546,7 +17094,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -15559,26 +17107,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRegionInfo.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRegionInfo.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableRegions_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableRegions_result.class, metaDataMap); } public getTableRegions_result() { @@ -15609,6 +17159,7 @@ public getTableRegions_result(getTableRegions_result other) { } } + @Override public getTableRegions_result deepCopy() { return new getTableRegions_result(this); } @@ -15623,7 +17174,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -15635,12 +17186,12 @@ public void addToSuccess(TRegionInfo elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableRegions_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableRegions_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -15660,12 +17211,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getTableRegions_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getTableRegions_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -15685,7 +17236,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -15706,7 +17258,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -15720,6 +17273,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -15796,7 +17350,7 @@ public int compareTo(getTableRegions_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -15806,7 +17360,7 @@ public int compareTo(getTableRegions_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -15814,16 +17368,18 @@ public int compareTo(getTableRegions_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -15851,92 +17407,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableRegions_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableRegions_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableRegions_resultStandardScheme getScheme() { return new getTableRegions_resultStandardScheme(); } } - private static class getTableRegions_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableRegions_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableRegions_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list78 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list78.size); - @org.apache.thrift.annotation.Nullable TRegionInfo _elem79; - for (int _i80 = 0; _i80 < _list78.size; ++_i80) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableRegions_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem79 = new TRegionInfo(); - _elem79.read(iprot); - struct.success.add(_elem79); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list78 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list78.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRegionInfo _elem79; + for (int _i80 = 0; _i80 < _list78.size; ++_i80) + { + _elem79 = new TRegionInfo(); + _elem79.read(iprot); + struct.success.add(_elem79); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableRegions_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableRegions_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRegionInfo _iter81 : struct.success) { _iter81.write(oprot); @@ -15956,17 +17520,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableRegions_re } - private static class getTableRegions_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableRegions_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableRegions_resultTupleScheme getScheme() { return new getTableRegions_resultTupleScheme(); } } - private static class getTableRegions_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableRegions_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableRegions_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableRegions_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -15990,56 +17555,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableRegions_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableRegions_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list83 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list83.size); - @org.apache.thrift.annotation.Nullable TRegionInfo _elem84; - for (int _i85 = 0; _i85 < _list83.size; ++_i85) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableRegions_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem84 = new TRegionInfo(); - _elem84.read(iprot); - struct.success.add(_elem84); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list83 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list83.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRegionInfo _elem84; + for (int _i85 = 0; _i85 < _list83.size; ++_i85) + { + _elem84 = new TRegionInfo(); + _elem84.read(iprot); + struct.success.add(_elem84); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createTable_args 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("createTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_FAMILIES_FIELD_DESC = new org.apache.thrift.protocol.TField("columnFamilies", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FAMILIES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columnFamilies", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_argsTupleSchemeFactory(); /** * name of table to create */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * list of column family descriptors */ - public @org.apache.thrift.annotation.Nullable java.util.List columnFamilies; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnFamilies; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table to create */ @@ -16060,7 +17631,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -16085,7 +17656,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -16098,26 +17669,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN_FAMILIES, new org.apache.thrift.meta_data.FieldMetaData("columnFamilies", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnDescriptor.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN_FAMILIES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columnFamilies", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, ColumnDescriptor.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap); } public createTable_args() { @@ -16128,7 +17701,7 @@ public createTable_args( java.util.List columnFamilies) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.columnFamilies = columnFamilies; } @@ -16137,7 +17710,7 @@ public createTable_args( */ public createTable_args(createTable_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetColumnFamilies()) { java.util.List __this__columnFamilies = new java.util.ArrayList(other.columnFamilies.size()); @@ -16148,6 +17721,7 @@ public createTable_args(createTable_args other) { } } + @Override public createTable_args deepCopy() { return new createTable_args(this); } @@ -16162,12 +17736,12 @@ public void clear() { * name of table to create */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -16178,8 +17752,8 @@ public createTable_args setTableName(byte[] tableName) { return this; } - public createTable_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public createTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -16202,7 +17776,7 @@ public int getColumnFamiliesSize() { return (this.columnFamilies == null) ? 0 : this.columnFamilies.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnFamiliesIterator() { return (this.columnFamilies == null) ? null : this.columnFamilies.iterator(); } @@ -16217,7 +17791,7 @@ public void addToColumnFamilies(ColumnDescriptor elem) { /** * list of column family descriptors */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumnFamilies() { return this.columnFamilies; } @@ -16225,7 +17799,7 @@ public java.util.List getColumnFamilies() { /** * list of column family descriptors */ - public createTable_args setColumnFamilies(@org.apache.thrift.annotation.Nullable java.util.List columnFamilies) { + public createTable_args setColumnFamilies(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnFamilies) { this.columnFamilies = columnFamilies; return this; } @@ -16245,7 +17819,8 @@ public void setColumnFamiliesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -16270,7 +17845,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -16284,6 +17860,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -16360,7 +17937,7 @@ public int compareTo(createTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -16370,7 +17947,7 @@ public int compareTo(createTable_args other) { return lastComparison; } if (isSetColumnFamilies()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnFamilies, other.columnFamilies); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columnFamilies, other.columnFamilies); if (lastComparison != 0) { return lastComparison; } @@ -16378,16 +17955,19 @@ public int compareTo(createTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -16400,7 +17980,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -16415,84 +17995,92 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_argsStandardScheme getScheme() { return new createTable_argsStandardScheme(); } } - private static class createTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMN_FAMILIES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list86 = iprot.readListBegin(); - struct.columnFamilies = new java.util.ArrayList(_list86.size); - @org.apache.thrift.annotation.Nullable ColumnDescriptor _elem87; - for (int _i88 = 0; _i88 < _list86.size; ++_i88) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN_FAMILIES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem87 = new ColumnDescriptor(); - _elem87.read(iprot); - struct.columnFamilies.add(_elem87); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list86 = iprot.readListBegin(); + struct.columnFamilies = new java.util.ArrayList(_list86.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable ColumnDescriptor _elem87; + for (int _i88 = 0; _i88 < _list86.size; ++_i88) + { + _elem87 = new ColumnDescriptor(); + _elem87.read(iprot); + struct.columnFamilies.add(_elem87); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnFamiliesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnFamiliesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -16504,7 +18092,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args s if (struct.columnFamilies != null) { oprot.writeFieldBegin(COLUMN_FAMILIES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columnFamilies.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columnFamilies.size())); for (ColumnDescriptor _iter89 : struct.columnFamilies) { _iter89.write(oprot); @@ -16519,17 +18107,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args s } - private static class createTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_argsTupleScheme getScheme() { return new createTable_argsTupleScheme(); } } - private static class createTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -16553,51 +18142,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, createTable_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list91 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.columnFamilies = new java.util.ArrayList(_list91.size); - @org.apache.thrift.annotation.Nullable ColumnDescriptor _elem92; - for (int _i93 = 0; _i93 < _list91.size; ++_i93) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem92 = new ColumnDescriptor(); - _elem92.read(iprot); - struct.columnFamilies.add(_elem92); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list91 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columnFamilies = new java.util.ArrayList(_list91.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable ColumnDescriptor _elem92; + for (int _i93 = 0; _i93 < _list91.size; ++_i93) + { + _elem92 = new ColumnDescriptor(); + _elem92.read(iprot); + struct.columnFamilies.add(_elem92); + } } + struct.setColumnFamiliesIsSet(true); } - struct.setColumnFamiliesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createTable_result 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("createTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.protocol.TField EXIST_FIELD_DESC = new org.apache.thrift.protocol.TField("exist", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField EXIST_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("exist", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required - public @org.apache.thrift.annotation.Nullable AlreadyExists exist; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable AlreadyExists exist; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"), EXIST((short)3, "exist"); @@ -16613,7 +18208,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -16640,7 +18235,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -16653,27 +18248,29 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); - tmpMap.put(_Fields.EXIST, new org.apache.thrift.meta_data.FieldMetaData("exist", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AlreadyExists.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + tmpMap.put(_Fields.EXIST, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("exist", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, AlreadyExists.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap); } public createTable_result() { @@ -16705,6 +18302,7 @@ public createTable_result(createTable_result other) { } } + @Override public createTable_result deepCopy() { return new createTable_result(this); } @@ -16716,12 +18314,12 @@ public void clear() { this.exist = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public createTable_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public createTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -16741,12 +18339,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public createTable_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public createTable_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -16766,12 +18364,12 @@ public void setIaIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public AlreadyExists getExist() { return this.exist; } - public createTable_result setExist(@org.apache.thrift.annotation.Nullable AlreadyExists exist) { + public createTable_result setExist(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable AlreadyExists exist) { this.exist = exist; return this; } @@ -16791,7 +18389,8 @@ public void setExistIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -16820,7 +18419,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -16837,6 +18437,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -16928,7 +18529,7 @@ public int compareTo(createTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -16938,7 +18539,7 @@ public int compareTo(createTable_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -16948,7 +18549,7 @@ public int compareTo(createTable_result other) { return lastComparison; } if (isSetExist()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.exist, other.exist); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.exist, other.exist); if (lastComparison != 0) { return lastComparison; } @@ -16956,16 +18557,18 @@ public int compareTo(createTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -17001,84 +18604,92 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_resultStandardScheme getScheme() { return new createTable_resultStandardScheme(); } } - private static class createTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // EXIST - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.exist = new AlreadyExists(); - struct.exist.read(iprot); - struct.setExistIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // EXIST + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.exist = new AlreadyExists(); + struct.exist.read(iprot); + struct.setExistIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -17103,17 +18714,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_result } - private static class createTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_resultTupleScheme getScheme() { return new createTable_resultTupleScheme(); } } - private static class createTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -17137,47 +18749,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, createTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } - if (incoming.get(2)) { - struct.exist = new AlreadyExists(); - struct.exist.read(iprot); - struct.setExistIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + if (incoming.get(2)) { + struct.exist = new AlreadyExists(); + struct.exist.read(iprot); + struct.setExistIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteTable_args 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("deleteTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_argsTupleSchemeFactory(); /** * name of table to delete */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table to delete */ @@ -17194,7 +18812,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -17217,7 +18835,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -17230,23 +18848,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_args.class, metaDataMap); } public deleteTable_args() { @@ -17256,7 +18876,7 @@ public deleteTable_args( java.nio.ByteBuffer tableName) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -17264,10 +18884,11 @@ public deleteTable_args( */ public deleteTable_args(deleteTable_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } } + @Override public deleteTable_args deepCopy() { return new deleteTable_args(this); } @@ -17281,12 +18902,12 @@ public void clear() { * name of table to delete */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -17297,8 +18918,8 @@ public deleteTable_args setTableName(byte[] tableName) { return this; } - public deleteTable_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public deleteTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -17317,7 +18938,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -17334,7 +18956,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -17345,6 +18968,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -17406,7 +19030,7 @@ public int compareTo(deleteTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -17414,16 +19038,19 @@ public int compareTo(deleteTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -17436,72 +19063,80 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_argsStandardScheme getScheme() { return new deleteTable_argsStandardScheme(); } } - private static class deleteTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -17516,17 +19151,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_args s } - private static class deleteTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_argsTupleScheme getScheme() { return new deleteTable_argsTupleScheme(); } } - private static class deleteTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -17538,33 +19174,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteTable_result 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("deleteTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -17578,7 +19220,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -17601,7 +19243,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -17614,23 +19256,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_result.class, metaDataMap); } public deleteTable_result() { @@ -17652,6 +19296,7 @@ public deleteTable_result(deleteTable_result other) { } } + @Override public deleteTable_result deepCopy() { return new deleteTable_result(this); } @@ -17661,12 +19306,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public deleteTable_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public deleteTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -17686,7 +19331,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -17699,7 +19345,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -17710,6 +19357,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -17771,7 +19419,7 @@ public int compareTo(deleteTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -17779,16 +19427,18 @@ public int compareTo(deleteTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -17808,66 +19458,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_resultStandardScheme getScheme() { return new deleteTable_resultStandardScheme(); } } - private static class deleteTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -17882,17 +19540,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_result } - private static class deleteTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_resultTupleScheme getScheme() { return new deleteTable_resultTupleScheme(); } } - private static class deleteTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -17904,52 +19563,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class get_args 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("get_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class get_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("get_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -17978,7 +19643,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -18007,7 +19672,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -18020,31 +19685,33 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_args.class, metaDataMap); } public get_args() { @@ -18057,9 +19724,9 @@ public get_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.attributes = attributes; } @@ -18068,13 +19735,13 @@ public get_args( */ public get_args(get_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes.size()); @@ -18083,9 +19750,9 @@ public get_args(get_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -18093,6 +19760,7 @@ public get_args(get_args other) { } } + @Override public get_args deepCopy() { return new get_args(this); } @@ -18109,12 +19777,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -18125,8 +19793,8 @@ public get_args setTableName(byte[] tableName) { return this; } - public get_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public get_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -18149,12 +19817,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -18165,8 +19833,8 @@ public get_args setRow(byte[] row) { return this; } - public get_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public get_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -18189,12 +19857,12 @@ public void setRowIsSet(boolean value) { * column name */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -18205,8 +19873,8 @@ public get_args setColumn(byte[] column) { return this; } - public get_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public get_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -18239,7 +19907,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -18247,7 +19915,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public get_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public get_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -18267,7 +19935,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -18316,7 +19985,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -18336,6 +20006,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -18442,7 +20113,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -18452,7 +20123,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -18462,7 +20133,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -18472,7 +20143,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -18480,16 +20151,19 @@ public int compareTo(get_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -18502,7 +20176,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -18510,7 +20184,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -18518,7 +20192,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -18533,101 +20207,109 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_argsStandardScheme getScheme() { return new get_argsStandardScheme(); } } - private static class get_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map94 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map94.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key95; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val96; - for (int _i97 = 0; _i97 < _map94.size; ++_i97) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key95 = iprot.readBinary(); - _val96 = iprot.readBinary(); - struct.attributes.put(_key95, _val96); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map94 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map94.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key95; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val96; + for (int _i97 = 0; _i97 < _map94.size; ++_i97) + { + _key95 = iprot.readBinary(); + _val96 = iprot.readBinary(); + struct.attributes.put(_key95, _val96); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -18649,7 +20331,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_args struct) t if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter98 : struct.attributes.entrySet()) { oprot.writeBinary(_iter98.getKey()); @@ -18665,17 +20347,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_args struct) t } - private static class get_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_argsTupleScheme getScheme() { return new get_argsTupleScheme(); } } - private static class get_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -18712,58 +20395,64 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_args struct) th } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map100 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map100.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key101; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val102; - for (int _i103 = 0; _i103 < _map100.size; ++_i103) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { { - _key101 = iprot.readBinary(); - _val102 = iprot.readBinary(); - struct.attributes.put(_key101, _val102); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map100 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map100.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key101; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val102; + for (int _i103 = 0; _i103 < _map100.size; ++_i103) + { + _key101 = iprot.readBinary(); + _val102 = iprot.readBinary(); + struct.attributes.put(_key101, _val102); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class get_result 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("get_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class get_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("get_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -18778,7 +20467,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -18803,7 +20492,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -18816,26 +20505,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_result.class, metaDataMap); } public get_result() { @@ -18866,6 +20557,7 @@ public get_result(get_result other) { } } + @Override public get_result deepCopy() { return new get_result(this); } @@ -18880,7 +20572,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -18892,12 +20584,12 @@ public void addToSuccess(TCell elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public get_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public get_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -18917,12 +20609,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public get_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public get_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -18942,7 +20634,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -18963,7 +20656,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -18977,6 +20671,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -19053,7 +20748,7 @@ public int compareTo(get_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -19063,7 +20758,7 @@ public int compareTo(get_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -19071,16 +20766,18 @@ public int compareTo(get_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -19108,92 +20805,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_resultStandardScheme getScheme() { return new get_resultStandardScheme(); } } - private static class get_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list104 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list104.size); - @org.apache.thrift.annotation.Nullable TCell _elem105; - for (int _i106 = 0; _i106 < _list104.size; ++_i106) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem105 = new TCell(); - _elem105.read(iprot); - struct.success.add(_elem105); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list104 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list104.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem105; + for (int _i106 = 0; _i106 < _list104.size; ++_i106) + { + _elem105 = new TCell(); + _elem105.read(iprot); + struct.success.add(_elem105); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TCell _iter107 : struct.success) { _iter107.write(oprot); @@ -19213,17 +20918,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_result struct) } - private static class get_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_resultTupleScheme getScheme() { return new get_resultTupleScheme(); } } - private static class get_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -19247,60 +20953,66 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_result struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list109 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list109.size); - @org.apache.thrift.annotation.Nullable TCell _elem110; - for (int _i111 = 0; _i111 < _list109.size; ++_i111) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem110 = new TCell(); - _elem110.read(iprot); - struct.success.add(_elem110); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list109 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list109.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem110; + for (int _i111 = 0; _i111 < _list109.size; ++_i111) + { + _elem110 = new TCell(); + _elem110.read(iprot); + struct.success.add(_elem110); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getVer_args 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("getVer_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getVer_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getVer_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField NUM_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("numVersions", org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NUM_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("numVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVer_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVer_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVer_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVer_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * number of versions to retrieve */ @@ -19308,10 +21020,10 @@ public static class getVer_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -19344,7 +21056,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -19375,7 +21087,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -19388,10 +21100,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -19400,23 +21114,23 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __NUMVERSIONS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.NUM_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("numVersions", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.NUM_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("numVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVer_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVer_args.class, metaDataMap); } public getVer_args() { @@ -19430,9 +21144,9 @@ public getVer_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.numVersions = numVersions; setNumVersionsIsSet(true); this.attributes = attributes; @@ -19444,13 +21158,13 @@ public getVer_args( public getVer_args(getVer_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.numVersions = other.numVersions; if (other.isSetAttributes()) { @@ -19460,9 +21174,9 @@ public getVer_args(getVer_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -19470,6 +21184,7 @@ public getVer_args(getVer_args other) { } } + @Override public getVer_args deepCopy() { return new getVer_args(this); } @@ -19488,12 +21203,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -19504,8 +21219,8 @@ public getVer_args setTableName(byte[] tableName) { return this; } - public getVer_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getVer_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -19528,12 +21243,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -19544,8 +21259,8 @@ public getVer_args setRow(byte[] row) { return this; } - public getVer_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getVer_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -19568,12 +21283,12 @@ public void setRowIsSet(boolean value) { * column name */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -19584,8 +21299,8 @@ public getVer_args setColumn(byte[] column) { return this; } - public getVer_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public getVer_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -19621,16 +21336,16 @@ public getVer_args setNumVersions(int numVersions) { } public void unsetNumVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); } /** Returns true if field numVersions is set (has been assigned a value) and false otherwise */ public boolean isSetNumVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); } public void setNumVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID, value); } public int getAttributesSize() { @@ -19647,7 +21362,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -19655,7 +21370,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getVer_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getVer_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -19675,7 +21390,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -19732,7 +21448,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -19755,6 +21472,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -19874,7 +21592,7 @@ public int compareTo(getVer_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -19884,7 +21602,7 @@ public int compareTo(getVer_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -19894,7 +21612,7 @@ public int compareTo(getVer_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -19904,7 +21622,7 @@ public int compareTo(getVer_args other) { return lastComparison; } if (isSetNumVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numVersions, other.numVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.numVersions, other.numVersions); if (lastComparison != 0) { return lastComparison; } @@ -19914,7 +21632,7 @@ public int compareTo(getVer_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -19922,16 +21640,19 @@ public int compareTo(getVer_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -19944,7 +21665,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -19952,7 +21673,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -19960,7 +21681,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -19979,15 +21700,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -19996,94 +21717,102 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getVer_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVer_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVer_argsStandardScheme getScheme() { return new getVer_argsStandardScheme(); } } - private static class getVer_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getVer_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVer_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // NUM_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.numVersions = iprot.readI32(); - struct.setNumVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getVer_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map112 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map112.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key113; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val114; - for (int _i115 = 0; _i115 < _map112.size; ++_i115) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // NUM_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.numVersions = iprot.readI32(); + struct.setNumVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key113 = iprot.readBinary(); - _val114 = iprot.readBinary(); - struct.attributes.put(_key113, _val114); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map112 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map112.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key113; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val114; + for (int _i115 = 0; _i115 < _map112.size; ++_i115) + { + _key113 = iprot.readBinary(); + _val114 = iprot.readBinary(); + struct.attributes.put(_key113, _val114); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVer_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getVer_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -20108,7 +21837,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVer_args struct if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter116 : struct.attributes.entrySet()) { oprot.writeBinary(_iter116.getKey()); @@ -20124,17 +21853,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVer_args struct } - private static class getVer_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVer_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVer_argsTupleScheme getScheme() { return new getVer_argsTupleScheme(); } } - private static class getVer_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getVer_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVer_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVer_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -20177,62 +21907,68 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getVer_args struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVer_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.numVersions = iprot.readI32(); - struct.setNumVersionsIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map118 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map118.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key119; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val120; - for (int _i121 = 0; _i121 < _map118.size; ++_i121) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVer_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.numVersions = iprot.readI32(); + struct.setNumVersionsIsSet(true); + } + if (incoming.get(4)) { { - _key119 = iprot.readBinary(); - _val120 = iprot.readBinary(); - struct.attributes.put(_key119, _val120); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map118 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map118.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key119; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val120; + for (int _i121 = 0; _i121 < _map118.size; ++_i121) + { + _key119 = iprot.readBinary(); + _val120 = iprot.readBinary(); + struct.attributes.put(_key119, _val120); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getVer_result 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("getVer_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getVer_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getVer_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVer_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVer_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVer_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVer_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -20247,7 +21983,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -20272,7 +22008,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -20285,26 +22021,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVer_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVer_result.class, metaDataMap); } public getVer_result() { @@ -20335,6 +22073,7 @@ public getVer_result(getVer_result other) { } } + @Override public getVer_result deepCopy() { return new getVer_result(this); } @@ -20349,7 +22088,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -20361,12 +22100,12 @@ public void addToSuccess(TCell elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getVer_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getVer_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -20386,12 +22125,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getVer_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getVer_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -20411,7 +22150,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -20432,7 +22172,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -20446,6 +22187,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -20522,7 +22264,7 @@ public int compareTo(getVer_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -20532,7 +22274,7 @@ public int compareTo(getVer_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -20540,16 +22282,18 @@ public int compareTo(getVer_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -20577,92 +22321,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getVer_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVer_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVer_resultStandardScheme getScheme() { return new getVer_resultStandardScheme(); } } - private static class getVer_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getVer_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVer_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list122 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list122.size); - @org.apache.thrift.annotation.Nullable TCell _elem123; - for (int _i124 = 0; _i124 < _list122.size; ++_i124) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getVer_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem123 = new TCell(); - _elem123.read(iprot); - struct.success.add(_elem123); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list122 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list122.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem123; + for (int _i124 = 0; _i124 < _list122.size; ++_i124) + { + _elem123 = new TCell(); + _elem123.read(iprot); + struct.success.add(_elem123); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVer_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getVer_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TCell _iter125 : struct.success) { _iter125.write(oprot); @@ -20682,17 +22434,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVer_result stru } - private static class getVer_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVer_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVer_resultTupleScheme getScheme() { return new getVer_resultTupleScheme(); } } - private static class getVer_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getVer_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVer_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVer_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -20716,61 +22469,67 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getVer_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVer_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list127 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list127.size); - @org.apache.thrift.annotation.Nullable TCell _elem128; - for (int _i129 = 0; _i129 < _list127.size; ++_i129) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVer_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem128 = new TCell(); - _elem128.read(iprot); - struct.success.add(_elem128); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list127 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list127.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem128; + for (int _i129 = 0; _i129 < _list127.size; ++_i129) + { + _elem128 = new TCell(); + _elem128.read(iprot); + struct.success.add(_elem128); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getVerTs_args 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("getVerTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getVerTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getVerTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField NUM_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("numVersions", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NUM_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("numVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVerTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVerTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVerTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVerTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * timestamp */ @@ -20782,10 +22541,10 @@ public static class getVerTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -20822,7 +22581,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -20855,7 +22614,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -20868,10 +22627,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -20881,25 +22642,25 @@ public java.lang.String getFieldName() { private static final int __TIMESTAMP_ISSET_ID = 0; private static final int __NUMVERSIONS_ISSET_ID = 1; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.NUM_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("numVersions", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.NUM_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("numVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVerTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVerTs_args.class, metaDataMap); } public getVerTs_args() { @@ -20914,9 +22675,9 @@ public getVerTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.timestamp = timestamp; setTimestampIsSet(true); this.numVersions = numVersions; @@ -20930,13 +22691,13 @@ public getVerTs_args( public getVerTs_args(getVerTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.timestamp = other.timestamp; this.numVersions = other.numVersions; @@ -20947,9 +22708,9 @@ public getVerTs_args(getVerTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -20957,6 +22718,7 @@ public getVerTs_args(getVerTs_args other) { } } + @Override public getVerTs_args deepCopy() { return new getVerTs_args(this); } @@ -20977,12 +22739,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -20993,8 +22755,8 @@ public getVerTs_args setTableName(byte[] tableName) { return this; } - public getVerTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getVerTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -21017,12 +22779,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -21033,8 +22795,8 @@ public getVerTs_args setRow(byte[] row) { return this; } - public getVerTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getVerTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -21057,12 +22819,12 @@ public void setRowIsSet(boolean value) { * column name */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -21073,8 +22835,8 @@ public getVerTs_args setColumn(byte[] column) { return this; } - public getVerTs_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public getVerTs_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -21110,16 +22872,16 @@ public getVerTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } /** @@ -21139,16 +22901,16 @@ public getVerTs_args setNumVersions(int numVersions) { } public void unsetNumVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); } /** Returns true if field numVersions is set (has been assigned a value) and false otherwise */ public boolean isSetNumVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID); } public void setNumVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMVERSIONS_ISSET_ID, value); } public int getAttributesSize() { @@ -21165,7 +22927,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -21173,7 +22935,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getVerTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getVerTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -21193,7 +22955,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -21258,7 +23021,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -21284,6 +23048,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -21392,7 +23157,7 @@ public int hashCode() { if (isSetColumn()) hashCode = hashCode * 8191 + column.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + numVersions; @@ -21416,7 +23181,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -21426,7 +23191,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -21436,7 +23201,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -21446,7 +23211,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -21456,7 +23221,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetNumVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numVersions, other.numVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.numVersions, other.numVersions); if (lastComparison != 0) { return lastComparison; } @@ -21466,7 +23231,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -21474,16 +23239,19 @@ public int compareTo(getVerTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -21496,7 +23264,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -21504,7 +23272,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -21512,7 +23280,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -21535,15 +23303,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -21552,102 +23320,110 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getVerTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVerTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVerTs_argsStandardScheme getScheme() { return new getVerTs_argsStandardScheme(); } } - private static class getVerTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getVerTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVerTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // NUM_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.numVersions = iprot.readI32(); - struct.setNumVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getVerTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 6: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map130.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key131; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val132; - for (int _i133 = 0; _i133 < _map130.size; ++_i133) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // NUM_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.numVersions = iprot.readI32(); + struct.setNumVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key131 = iprot.readBinary(); - _val132 = iprot.readBinary(); - struct.attributes.put(_key131, _val132); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map130.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key131; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val132; + for (int _i133 = 0; _i133 < _map130.size; ++_i133) + { + _key131 = iprot.readBinary(); + _val132 = iprot.readBinary(); + struct.attributes.put(_key131, _val132); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVerTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getVerTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -21675,7 +23451,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVerTs_args stru if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter134 : struct.attributes.entrySet()) { oprot.writeBinary(_iter134.getKey()); @@ -21691,17 +23467,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVerTs_args stru } - private static class getVerTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVerTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVerTs_argsTupleScheme getScheme() { return new getVerTs_argsTupleScheme(); } } - private static class getVerTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getVerTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVerTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVerTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -21750,66 +23527,72 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getVerTs_args struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVerTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(6); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - struct.numVersions = iprot.readI32(); - struct.setNumVersionsIsSet(true); - } - if (incoming.get(5)) { - { - org.apache.thrift.protocol.TMap _map136 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map136.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key137; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val138; - for (int _i139 = 0; _i139 < _map136.size; ++_i139) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVerTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(6); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { + struct.numVersions = iprot.readI32(); + struct.setNumVersionsIsSet(true); + } + if (incoming.get(5)) { { - _key137 = iprot.readBinary(); - _val138 = iprot.readBinary(); - struct.attributes.put(_key137, _val138); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map136 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map136.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key137; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val138; + for (int _i139 = 0; _i139 < _map136.size; ++_i139) + { + _key137 = iprot.readBinary(); + _val138 = iprot.readBinary(); + struct.attributes.put(_key137, _val138); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getVerTs_result 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("getVerTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getVerTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getVerTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVerTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVerTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getVerTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getVerTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -21824,7 +23607,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -21849,7 +23632,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -21862,26 +23645,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVerTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVerTs_result.class, metaDataMap); } public getVerTs_result() { @@ -21912,6 +23697,7 @@ public getVerTs_result(getVerTs_result other) { } } + @Override public getVerTs_result deepCopy() { return new getVerTs_result(this); } @@ -21926,7 +23712,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -21938,12 +23724,12 @@ public void addToSuccess(TCell elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getVerTs_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getVerTs_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -21963,12 +23749,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getVerTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getVerTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -21988,7 +23774,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -22009,7 +23796,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -22023,6 +23811,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -22099,7 +23888,7 @@ public int compareTo(getVerTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -22109,7 +23898,7 @@ public int compareTo(getVerTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -22117,16 +23906,18 @@ public int compareTo(getVerTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -22154,92 +23945,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getVerTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVerTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVerTs_resultStandardScheme getScheme() { return new getVerTs_resultStandardScheme(); } } - private static class getVerTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getVerTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVerTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list140 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list140.size); - @org.apache.thrift.annotation.Nullable TCell _elem141; - for (int _i142 = 0; _i142 < _list140.size; ++_i142) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getVerTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem141 = new TCell(); - _elem141.read(iprot); - struct.success.add(_elem141); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list140 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list140.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem141; + for (int _i142 = 0; _i142 < _list140.size; ++_i142) + { + _elem141 = new TCell(); + _elem141.read(iprot); + struct.success.add(_elem141); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVerTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getVerTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TCell _iter143 : struct.success) { _iter143.write(oprot); @@ -22259,17 +24058,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getVerTs_result st } - private static class getVerTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getVerTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getVerTs_resultTupleScheme getScheme() { return new getVerTs_resultTupleScheme(); } } - private static class getVerTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getVerTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVerTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVerTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -22293,61 +24093,67 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getVerTs_result str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVerTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list145 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list145.size); - @org.apache.thrift.annotation.Nullable TCell _elem146; - for (int _i147 = 0; _i147 < _list145.size; ++_i147) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getVerTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem146 = new TCell(); - _elem146.read(iprot); - struct.success.add(_elem146); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list145 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list145.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem146; + for (int _i147 = 0; _i147 < _list145.size; ++_i147) + { + _elem146 = new TCell(); + _elem146.read(iprot); + struct.success.add(_elem146); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRow_args 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("getRow_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRow_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRow_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRow_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRow_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRow_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRow_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -22372,7 +24178,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -22399,7 +24205,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -22412,29 +24218,31 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRow_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRow_args.class, metaDataMap); } public getRow_args() { @@ -22446,8 +24254,8 @@ public getRow_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.attributes = attributes; } @@ -22456,10 +24264,10 @@ public getRow_args( */ public getRow_args(getRow_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes.size()); @@ -22468,9 +24276,9 @@ public getRow_args(getRow_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -22478,6 +24286,7 @@ public getRow_args(getRow_args other) { } } + @Override public getRow_args deepCopy() { return new getRow_args(this); } @@ -22493,12 +24302,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -22509,8 +24318,8 @@ public getRow_args setTableName(byte[] tableName) { return this; } - public getRow_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRow_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -22533,12 +24342,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -22549,8 +24358,8 @@ public getRow_args setRow(byte[] row) { return this; } - public getRow_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRow_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -22583,7 +24392,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -22591,7 +24400,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRow_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRow_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -22611,7 +24420,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -22648,7 +24458,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -22665,6 +24476,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -22756,7 +24568,7 @@ public int compareTo(getRow_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -22766,7 +24578,7 @@ public int compareTo(getRow_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -22776,7 +24588,7 @@ public int compareTo(getRow_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -22784,16 +24596,19 @@ public int compareTo(getRow_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -22806,7 +24621,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -22814,7 +24629,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -22829,93 +24644,101 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRow_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRow_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRow_argsStandardScheme getScheme() { return new getRow_argsStandardScheme(); } } - private static class getRow_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRow_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map148.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key149; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val150; - for (int _i151 = 0; _i151 < _map148.size; ++_i151) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key149 = iprot.readBinary(); - _val150 = iprot.readBinary(); - struct.attributes.put(_key149, _val150); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map148.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key149; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val150; + for (int _i151 = 0; _i151 < _map148.size; ++_i151) + { + _key149 = iprot.readBinary(); + _val150 = iprot.readBinary(); + struct.attributes.put(_key149, _val150); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRow_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -22932,7 +24755,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRow_args struct if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter152 : struct.attributes.entrySet()) { oprot.writeBinary(_iter152.getKey()); @@ -22948,17 +24771,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRow_args struct } - private static class getRow_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRow_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRow_argsTupleScheme getScheme() { return new getRow_argsTupleScheme(); } } - private static class getRow_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRow_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -22989,54 +24813,60 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRow_args struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - 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; - for (int _i157 = 0; _i157 < _map154.size; ++_i157) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _key155 = iprot.readBinary(); - _val156 = iprot.readBinary(); - struct.attributes.put(_key155, _val156); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map154 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map154.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key155; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val156; + for (int _i157 = 0; _i157 < _map154.size; ++_i157) + { + _key155 = iprot.readBinary(); + _val156 = iprot.readBinary(); + struct.attributes.put(_key155, _val156); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRow_result 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("getRow_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRow_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRow_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRow_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRow_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRow_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRow_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -23051,7 +24881,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -23076,7 +24906,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -23089,26 +24919,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRow_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRow_result.class, metaDataMap); } public getRow_result() { @@ -23139,6 +24971,7 @@ public getRow_result(getRow_result other) { } } + @Override public getRow_result deepCopy() { return new getRow_result(this); } @@ -23153,7 +24986,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -23165,12 +24998,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRow_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRow_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -23190,12 +25023,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRow_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRow_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -23215,7 +25048,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -23236,7 +25070,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -23250,6 +25085,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -23326,7 +25162,7 @@ public int compareTo(getRow_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -23336,7 +25172,7 @@ public int compareTo(getRow_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -23344,16 +25180,18 @@ public int compareTo(getRow_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -23381,92 +25219,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRow_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRow_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRow_resultStandardScheme getScheme() { return new getRow_resultStandardScheme(); } } - private static class getRow_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRow_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list158 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list158.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem159; - for (int _i160 = 0; _i160 < _list158.size; ++_i160) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem159 = new TRowResult(); - _elem159.read(iprot); - struct.success.add(_elem159); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list158 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list158.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem159; + for (int _i160 = 0; _i160 < _list158.size; ++_i160) + { + _elem159 = new TRowResult(); + _elem159.read(iprot); + struct.success.add(_elem159); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRow_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter161 : struct.success) { _iter161.write(oprot); @@ -23486,17 +25332,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRow_result stru } - private static class getRow_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRow_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRow_resultTupleScheme getScheme() { return new getRow_resultTupleScheme(); } } - private static class getRow_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRow_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -23520,66 +25367,72 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRow_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list163 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list163.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem164; - for (int _i165 = 0; _i165 < _list163.size; ++_i165) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem164 = new TRowResult(); - _elem164.read(iprot); - struct.success.add(_elem164); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list163 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list163.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem164; + for (int _i165 = 0; _i165 < _list163.size; ++_i165) + { + _elem164 = new TRowResult(); + _elem164.read(iprot); + struct.success.add(_elem164); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowWithColumns_args 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("getRowWithColumns_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowWithColumns_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowWithColumns_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumns_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumns_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumns_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumns_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * List of columns to return, null for all columns */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -23608,7 +25461,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -23637,7 +25490,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -23650,32 +25503,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumns_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumns_args.class, metaDataMap); } public getRowWithColumns_args() { @@ -23688,8 +25543,8 @@ public getRowWithColumns_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columns = columns; this.attributes = attributes; } @@ -23699,15 +25554,15 @@ public getRowWithColumns_args( */ public getRowWithColumns_args(getRowWithColumns_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -23718,9 +25573,9 @@ public getRowWithColumns_args(getRowWithColumns_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -23728,6 +25583,7 @@ public getRowWithColumns_args(getRowWithColumns_args other) { } } + @Override public getRowWithColumns_args deepCopy() { return new getRowWithColumns_args(this); } @@ -23744,12 +25600,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -23760,8 +25616,8 @@ public getRowWithColumns_args setTableName(byte[] tableName) { return this; } - public getRowWithColumns_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowWithColumns_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -23784,12 +25640,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -23800,8 +25656,8 @@ public getRowWithColumns_args setRow(byte[] row) { return this; } - public getRowWithColumns_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRowWithColumns_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -23824,7 +25680,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -23839,7 +25695,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { /** * List of columns to return, null for all columns */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -23847,7 +25703,7 @@ public java.util.List getColumns() { /** * List of columns to return, null for all columns */ - public getRowWithColumns_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public getRowWithColumns_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -23881,7 +25737,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -23889,7 +25745,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowWithColumns_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowWithColumns_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -23909,7 +25765,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -23954,7 +25811,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -23974,6 +25832,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -24080,7 +25939,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -24090,7 +25949,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -24100,7 +25959,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -24110,7 +25969,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -24118,16 +25977,19 @@ public int compareTo(getRowWithColumns_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -24140,7 +26002,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -24148,7 +26010,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -24156,7 +26018,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -24171,111 +26033,119 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowWithColumns_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumns_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumns_argsStandardScheme getScheme() { return new getRowWithColumns_argsStandardScheme(); } } - private static class getRowWithColumns_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowWithColumns_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list166 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list166.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem167; - for (int _i168 = 0; _i168 < _list166.size; ++_i168) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem167 = iprot.readBinary(); - struct.columns.add(_elem167); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list166 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list166.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem167; + for (int _i168 = 0; _i168 < _list166.size; ++_i168) + { + _elem167 = iprot.readBinary(); + struct.columns.add(_elem167); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map169 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map169.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key170; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val171; - for (int _i172 = 0; _i172 < _map169.size; ++_i172) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key170 = iprot.readBinary(); - _val171 = iprot.readBinary(); - struct.attributes.put(_key170, _val171); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map169 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map169.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key170; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val171; + for (int _i172 = 0; _i172 < _map169.size; ++_i172) + { + _key170 = iprot.readBinary(); + _val171 = iprot.readBinary(); + struct.attributes.put(_key170, _val171); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -24292,7 +26162,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_ if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter173 : struct.columns) { oprot.writeBinary(_iter173); @@ -24304,7 +26174,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_ if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter174 : struct.attributes.entrySet()) { oprot.writeBinary(_iter174.getKey()); @@ -24320,17 +26190,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_ } - private static class getRowWithColumns_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumns_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumns_argsTupleScheme getScheme() { return new getRowWithColumns_argsTupleScheme(); } } - private static class getRowWithColumns_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowWithColumns_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -24373,67 +26244,73 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_a } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list177 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list177.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem178; - for (int _i179 = 0; _i179 < _list177.size; ++_i179) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _elem178 = iprot.readBinary(); - struct.columns.add(_elem178); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list177 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list177.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem178; + for (int _i179 = 0; _i179 < _list177.size; ++_i179) + { + _elem178 = iprot.readBinary(); + struct.columns.add(_elem178); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map180.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key181; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val182; - for (int _i183 = 0; _i183 < _map180.size; ++_i183) + if (incoming.get(3)) { { - _key181 = iprot.readBinary(); - _val182 = iprot.readBinary(); - struct.attributes.put(_key181, _val182); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map180.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key181; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val182; + for (int _i183 = 0; _i183 < _map180.size; ++_i183) + { + _key181 = iprot.readBinary(); + _val182 = iprot.readBinary(); + struct.attributes.put(_key181, _val182); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowWithColumns_result 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("getRowWithColumns_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowWithColumns_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowWithColumns_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumns_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumns_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumns_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumns_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -24448,7 +26325,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -24473,7 +26350,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -24486,26 +26363,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumns_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumns_result.class, metaDataMap); } public getRowWithColumns_result() { @@ -24536,6 +26415,7 @@ public getRowWithColumns_result(getRowWithColumns_result other) { } } + @Override public getRowWithColumns_result deepCopy() { return new getRowWithColumns_result(this); } @@ -24550,7 +26430,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -24562,12 +26442,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowWithColumns_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowWithColumns_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -24587,12 +26467,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowWithColumns_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowWithColumns_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -24612,7 +26492,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -24633,7 +26514,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -24647,6 +26529,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -24723,7 +26606,7 @@ public int compareTo(getRowWithColumns_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -24733,7 +26616,7 @@ public int compareTo(getRowWithColumns_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -24741,16 +26624,18 @@ public int compareTo(getRowWithColumns_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -24778,92 +26663,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowWithColumns_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumns_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumns_resultStandardScheme getScheme() { return new getRowWithColumns_resultStandardScheme(); } } - private static class getRowWithColumns_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowWithColumns_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list184 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list184.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem185; - for (int _i186 = 0; _i186 < _list184.size; ++_i186) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem185 = new TRowResult(); - _elem185.read(iprot); - struct.success.add(_elem185); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list184 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list184.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem185; + for (int _i186 = 0; _i186 < _list184.size; ++_i186) + { + _elem185 = new TRowResult(); + _elem185.read(iprot); + struct.success.add(_elem185); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter187 : struct.success) { _iter187.write(oprot); @@ -24883,17 +26776,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumns_ } - private static class getRowWithColumns_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumns_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumns_resultTupleScheme getScheme() { return new getRowWithColumns_resultTupleScheme(); } } - private static class getRowWithColumns_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowWithColumns_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -24917,55 +26811,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list189 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list189.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem190; - for (int _i191 = 0; _i191 < _list189.size; ++_i191) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem190 = new TRowResult(); - _elem190.read(iprot); - struct.success.add(_elem190); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list189 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list189.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem190; + for (int _i191 = 0; _i191 < _list189.size; ++_i191) + { + _elem190 = new TRowResult(); + _elem190.read(iprot); + struct.success.add(_elem190); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowTs_args 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("getRowTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowTs_argsTupleSchemeFactory(); /** * name of the table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * timestamp */ @@ -24973,10 +26873,10 @@ public static class getRowTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of the table */ @@ -25005,7 +26905,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -25034,7 +26934,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -25047,10 +26947,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -25059,21 +26961,21 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowTs_args.class, metaDataMap); } public getRowTs_args() { @@ -25086,8 +26988,8 @@ public getRowTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.timestamp = timestamp; setTimestampIsSet(true); this.attributes = attributes; @@ -25099,10 +27001,10 @@ public getRowTs_args( public getRowTs_args(getRowTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } this.timestamp = other.timestamp; if (other.isSetAttributes()) { @@ -25112,9 +27014,9 @@ public getRowTs_args(getRowTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -25122,6 +27024,7 @@ public getRowTs_args(getRowTs_args other) { } } + @Override public getRowTs_args deepCopy() { return new getRowTs_args(this); } @@ -25139,12 +27042,12 @@ public void clear() { * name of the table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -25155,8 +27058,8 @@ public getRowTs_args setTableName(byte[] tableName) { return this; } - public getRowTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -25179,12 +27082,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -25195,8 +27098,8 @@ public getRowTs_args setRow(byte[] row) { return this; } - public getRowTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRowTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -25232,16 +27135,16 @@ public getRowTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -25258,7 +27161,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -25266,7 +27169,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -25286,7 +27189,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -25331,7 +27235,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -25351,6 +27256,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -25433,7 +27339,7 @@ public int hashCode() { if (isSetRow()) hashCode = hashCode * 8191 + row.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -25455,7 +27361,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -25465,7 +27371,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -25475,7 +27381,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -25485,7 +27391,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -25493,16 +27399,19 @@ public int compareTo(getRowTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -25515,7 +27424,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -25523,7 +27432,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -25542,15 +27451,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -25559,86 +27468,94 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowTs_argsStandardScheme getScheme() { return new getRowTs_argsStandardScheme(); } } - private static class getRowTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map192 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map192.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key193; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val194; - for (int _i195 = 0; _i195 < _map192.size; ++_i195) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key193 = iprot.readBinary(); - _val194 = iprot.readBinary(); - struct.attributes.put(_key193, _val194); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map192 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map192.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key193; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val194; + for (int _i195 = 0; _i195 < _map192.size; ++_i195) + { + _key193 = iprot.readBinary(); + _val194 = iprot.readBinary(); + struct.attributes.put(_key193, _val194); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -25658,7 +27575,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowTs_args stru if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter196 : struct.attributes.entrySet()) { oprot.writeBinary(_iter196.getKey()); @@ -25674,17 +27591,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowTs_args stru } - private static class getRowTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowTs_argsTupleScheme getScheme() { return new getRowTs_argsTupleScheme(); } } - private static class getRowTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -25721,58 +27639,64 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowTs_args struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map198.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key199; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val200; - for (int _i201 = 0; _i201 < _map198.size; ++_i201) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(3)) { { - _key199 = iprot.readBinary(); - _val200 = iprot.readBinary(); - struct.attributes.put(_key199, _val200); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map198.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key199; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val200; + for (int _i201 = 0; _i201 < _map198.size; ++_i201) + { + _key199 = iprot.readBinary(); + _val200 = iprot.readBinary(); + struct.attributes.put(_key199, _val200); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowTs_result 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("getRowTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -25787,7 +27711,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -25812,7 +27736,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -25825,26 +27749,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowTs_result.class, metaDataMap); } public getRowTs_result() { @@ -25875,6 +27801,7 @@ public getRowTs_result(getRowTs_result other) { } } + @Override public getRowTs_result deepCopy() { return new getRowTs_result(this); } @@ -25889,7 +27816,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -25901,12 +27828,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowTs_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowTs_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -25926,12 +27853,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -25951,7 +27878,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -25972,7 +27900,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -25986,6 +27915,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -26062,7 +27992,7 @@ public int compareTo(getRowTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -26072,7 +28002,7 @@ public int compareTo(getRowTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -26080,16 +28010,18 @@ public int compareTo(getRowTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -26117,92 +28049,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowTs_resultStandardScheme getScheme() { return new getRowTs_resultStandardScheme(); } } - private static class getRowTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list202.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem203; - for (int _i204 = 0; _i204 < _list202.size; ++_i204) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem203 = new TRowResult(); - _elem203.read(iprot); - struct.success.add(_elem203); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list202.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem203; + for (int _i204 = 0; _i204 < _list202.size; ++_i204) + { + _elem203 = new TRowResult(); + _elem203.read(iprot); + struct.success.add(_elem203); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter205 : struct.success) { _iter205.write(oprot); @@ -26222,17 +28162,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowTs_result st } - private static class getRowTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowTs_resultTupleScheme getScheme() { return new getRowTs_resultTupleScheme(); } } - private static class getRowTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -26256,68 +28197,74 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowTs_result str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list207 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list207.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem208; - for (int _i209 = 0; _i209 < _list207.size; ++_i209) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem208 = new TRowResult(); - _elem208.read(iprot); - struct.success.add(_elem208); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list207 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list207.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem208; + for (int _i209 = 0; _i209 < _list207.size; ++_i209) + { + _elem208 = new TRowResult(); + _elem208.read(iprot); + struct.success.add(_elem208); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowWithColumnsTs_args 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("getRowWithColumnsTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowWithColumnsTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowWithColumnsTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumnsTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumnsTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumnsTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumnsTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * List of columns to return, null for all columns */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required public long timestamp; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -26347,7 +28294,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -26378,7 +28325,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -26391,10 +28338,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -26403,24 +28352,24 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumnsTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumnsTs_args.class, metaDataMap); } public getRowWithColumnsTs_args() { @@ -26434,8 +28383,8 @@ public getRowWithColumnsTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columns = columns; this.timestamp = timestamp; setTimestampIsSet(true); @@ -26448,15 +28397,15 @@ public getRowWithColumnsTs_args( public getRowWithColumnsTs_args(getRowWithColumnsTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -26468,9 +28417,9 @@ public getRowWithColumnsTs_args(getRowWithColumnsTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -26478,6 +28427,7 @@ public getRowWithColumnsTs_args(getRowWithColumnsTs_args other) { } } + @Override public getRowWithColumnsTs_args deepCopy() { return new getRowWithColumnsTs_args(this); } @@ -26496,12 +28446,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -26512,8 +28462,8 @@ public getRowWithColumnsTs_args setTableName(byte[] tableName) { return this; } - public getRowWithColumnsTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowWithColumnsTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -26536,12 +28486,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -26552,8 +28502,8 @@ public getRowWithColumnsTs_args setRow(byte[] row) { return this; } - public getRowWithColumnsTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRowWithColumnsTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -26576,7 +28526,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -26591,7 +28541,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { /** * List of columns to return, null for all columns */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -26599,7 +28549,7 @@ public java.util.List getColumns() { /** * List of columns to return, null for all columns */ - public getRowWithColumnsTs_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public getRowWithColumnsTs_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -26630,16 +28580,16 @@ public getRowWithColumnsTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -26656,7 +28606,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -26664,7 +28614,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowWithColumnsTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowWithColumnsTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -26684,7 +28634,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -26737,7 +28688,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -26760,6 +28712,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -26857,7 +28810,7 @@ public int hashCode() { if (isSetColumns()) hashCode = hashCode * 8191 + columns.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -26879,7 +28832,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -26889,7 +28842,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -26899,7 +28852,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -26909,7 +28862,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -26919,7 +28872,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -26927,16 +28880,19 @@ public int compareTo(getRowWithColumnsTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -26949,7 +28905,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -26957,7 +28913,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -26965,7 +28921,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -26984,15 +28940,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -27001,104 +28957,112 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowWithColumnsTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumnsTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumnsTs_argsStandardScheme getScheme() { return new getRowWithColumnsTs_argsStandardScheme(); } } - private static class getRowWithColumnsTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowWithColumnsTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list210 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list210.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem211; - for (int _i212 = 0; _i212 < _list210.size; ++_i212) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem211 = iprot.readBinary(); - struct.columns.add(_elem211); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list210 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list210.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem211; + for (int _i212 = 0; _i212 < _list210.size; ++_i212) + { + _elem211 = iprot.readBinary(); + struct.columns.add(_elem211); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map213 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map213.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key214; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val215; - for (int _i216 = 0; _i216 < _map213.size; ++_i216) + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key214 = iprot.readBinary(); - _val215 = iprot.readBinary(); - struct.attributes.put(_key214, _val215); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map213 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map213.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key214; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val215; + for (int _i216 = 0; _i216 < _map213.size; ++_i216) + { + _key214 = iprot.readBinary(); + _val215 = iprot.readBinary(); + struct.attributes.put(_key214, _val215); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -27115,7 +29079,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsT if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter217 : struct.columns) { oprot.writeBinary(_iter217); @@ -27130,7 +29094,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsT if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter218 : struct.attributes.entrySet()) { oprot.writeBinary(_iter218.getKey()); @@ -27146,17 +29110,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsT } - private static class getRowWithColumnsTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumnsTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumnsTs_argsTupleScheme getScheme() { return new getRowWithColumnsTs_argsTupleScheme(); } } - private static class getRowWithColumnsTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowWithColumnsTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -27205,71 +29170,77 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list221 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list221.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem222; - for (int _i223 = 0; _i223 < _list221.size; ++_i223) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _elem222 = iprot.readBinary(); - struct.columns.add(_elem222); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list221 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list221.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem222; + for (int _i223 = 0; _i223 < _list221.size; ++_i223) + { + _elem222 = iprot.readBinary(); + struct.columns.add(_elem222); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map224 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map224.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key225; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val226; - for (int _i227 = 0; _i227 < _map224.size; ++_i227) + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { { - _key225 = iprot.readBinary(); - _val226 = iprot.readBinary(); - struct.attributes.put(_key225, _val226); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map224 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map224.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key225; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val226; + for (int _i227 = 0; _i227 < _map224.size; ++_i227) + { + _key225 = iprot.readBinary(); + _val226 = iprot.readBinary(); + struct.attributes.put(_key225, _val226); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowWithColumnsTs_result 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("getRowWithColumnsTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowWithColumnsTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowWithColumnsTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumnsTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumnsTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowWithColumnsTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowWithColumnsTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -27284,7 +29255,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -27309,7 +29280,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -27322,26 +29293,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumnsTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowWithColumnsTs_result.class, metaDataMap); } public getRowWithColumnsTs_result() { @@ -27372,6 +29345,7 @@ public getRowWithColumnsTs_result(getRowWithColumnsTs_result other) { } } + @Override public getRowWithColumnsTs_result deepCopy() { return new getRowWithColumnsTs_result(this); } @@ -27386,7 +29360,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -27398,12 +29372,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowWithColumnsTs_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowWithColumnsTs_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -27423,12 +29397,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowWithColumnsTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowWithColumnsTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -27448,7 +29422,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -27469,7 +29444,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -27483,6 +29459,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -27559,7 +29536,7 @@ public int compareTo(getRowWithColumnsTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -27569,7 +29546,7 @@ public int compareTo(getRowWithColumnsTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -27577,16 +29554,18 @@ public int compareTo(getRowWithColumnsTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -27614,92 +29593,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowWithColumnsTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumnsTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumnsTs_resultStandardScheme getScheme() { return new getRowWithColumnsTs_resultStandardScheme(); } } - private static class getRowWithColumnsTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowWithColumnsTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list228 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list228.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem229; - for (int _i230 = 0; _i230 < _list228.size; ++_i230) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem229 = new TRowResult(); - _elem229.read(iprot); - struct.success.add(_elem229); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list228 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list228.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem229; + for (int _i230 = 0; _i230 < _list228.size; ++_i230) + { + _elem229 = new TRowResult(); + _elem229.read(iprot); + struct.success.add(_elem229); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter231 : struct.success) { _iter231.write(oprot); @@ -27719,17 +29706,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowWithColumnsT } - private static class getRowWithColumnsTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowWithColumnsTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowWithColumnsTs_resultTupleScheme getScheme() { return new getRowWithColumnsTs_resultTupleScheme(); } } - private static class getRowWithColumnsTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowWithColumnsTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -27753,61 +29741,67 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list233 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list233.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem234; - for (int _i235 = 0; _i235 < _list233.size; ++_i235) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem234 = new TRowResult(); - _elem234.read(iprot); - struct.success.add(_elem234); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list233 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list233.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem234; + for (int _i235 = 0; _i235 < _list233.size; ++_i235) + { + _elem234 = new TRowResult(); + _elem234.read(iprot); + struct.success.add(_elem234); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRows_args 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("getRows_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRows_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRows_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("rows", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRows_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRows_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRows_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRows_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row keys */ - public @org.apache.thrift.annotation.Nullable java.util.List rows; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -27832,7 +29826,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -27859,7 +29853,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -27872,30 +29866,32 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROWS, new org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRows_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRows_args.class, metaDataMap); } public getRows_args() { @@ -27907,7 +29903,7 @@ public getRows_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rows = rows; this.attributes = attributes; } @@ -27917,12 +29913,12 @@ public getRows_args( */ public getRows_args(getRows_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRows()) { java.util.List __this__rows = new java.util.ArrayList(other.rows.size()); for (java.nio.ByteBuffer other_element : other.rows) { - __this__rows.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__rows.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.rows = __this__rows; } @@ -27933,9 +29929,9 @@ public getRows_args(getRows_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -27943,6 +29939,7 @@ public getRows_args(getRows_args other) { } } + @Override public getRows_args deepCopy() { return new getRows_args(this); } @@ -27958,12 +29955,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -27974,8 +29971,8 @@ public getRows_args setTableName(byte[] tableName) { return this; } - public getRows_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRows_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -27998,7 +29995,7 @@ public int getRowsSize() { return (this.rows == null) ? 0 : this.rows.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowsIterator() { return (this.rows == null) ? null : this.rows.iterator(); } @@ -28013,7 +30010,7 @@ public void addToRows(java.nio.ByteBuffer elem) { /** * row keys */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRows() { return this.rows; } @@ -28021,7 +30018,7 @@ public java.util.List getRows() { /** * row keys */ - public getRows_args setRows(@org.apache.thrift.annotation.Nullable java.util.List rows) { + public getRows_args setRows(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows) { this.rows = rows; return this; } @@ -28055,7 +30052,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -28063,7 +30060,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRows_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRows_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -28083,7 +30080,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -28116,7 +30114,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -28133,6 +30132,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -28224,7 +30224,7 @@ public int compareTo(getRows_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -28234,7 +30234,7 @@ public int compareTo(getRows_args other) { return lastComparison; } if (isSetRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } @@ -28244,7 +30244,7 @@ public int compareTo(getRows_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -28252,16 +30252,19 @@ public int compareTo(getRows_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -28274,7 +30277,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -28282,7 +30285,7 @@ public java.lang.String toString() { if (this.rows == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.rows, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.rows, sb); } first = false; if (!first) sb.append(", "); @@ -28297,103 +30300,111 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRows_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRows_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRows_argsStandardScheme getScheme() { return new getRows_argsStandardScheme(); } } - private static class getRows_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRows_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list236 = iprot.readListBegin(); - struct.rows = new java.util.ArrayList(_list236.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem237; - for (int _i238 = 0; _i238 < _list236.size; ++_i238) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem237 = iprot.readBinary(); - struct.rows.add(_elem237); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list236 = iprot.readListBegin(); + struct.rows = new java.util.ArrayList(_list236.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem237; + for (int _i238 = 0; _i238 < _list236.size; ++_i238) + { + _elem237 = iprot.readBinary(); + struct.rows.add(_elem237); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map239.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key240; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val241; - for (int _i242 = 0; _i242 < _map239.size; ++_i242) + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key240 = iprot.readBinary(); - _val241 = iprot.readBinary(); - struct.attributes.put(_key240, _val241); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map239.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key240; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val241; + for (int _i242 = 0; _i242 < _map239.size; ++_i242) + { + _key240 = iprot.readBinary(); + _val241 = iprot.readBinary(); + struct.attributes.put(_key240, _val241); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -28405,7 +30416,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_args struc if (struct.rows != null) { oprot.writeFieldBegin(ROWS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rows.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.rows.size())); for (java.nio.ByteBuffer _iter243 : struct.rows) { oprot.writeBinary(_iter243); @@ -28417,7 +30428,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_args struc if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter244 : struct.attributes.entrySet()) { oprot.writeBinary(_iter244.getKey()); @@ -28433,17 +30444,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_args struc } - private static class getRows_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRows_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRows_argsTupleScheme getScheme() { return new getRows_argsTupleScheme(); } } - private static class getRows_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRows_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -28480,63 +30492,69 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRows_args struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list247 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.rows = new java.util.ArrayList(_list247.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem248; - for (int _i249 = 0; _i249 < _list247.size; ++_i249) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem248 = iprot.readBinary(); - struct.rows.add(_elem248); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list247 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.rows = new java.util.ArrayList(_list247.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem248; + for (int _i249 = 0; _i249 < _list247.size; ++_i249) + { + _elem248 = iprot.readBinary(); + struct.rows.add(_elem248); + } } + struct.setRowsIsSet(true); } - struct.setRowsIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TMap _map250 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map250.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key251; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val252; - for (int _i253 = 0; _i253 < _map250.size; ++_i253) + if (incoming.get(2)) { { - _key251 = iprot.readBinary(); - _val252 = iprot.readBinary(); - struct.attributes.put(_key251, _val252); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map250 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map250.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key251; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val252; + for (int _i253 = 0; _i253 < _map250.size; ++_i253) + { + _key251 = iprot.readBinary(); + _val252 = iprot.readBinary(); + struct.attributes.put(_key251, _val252); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRows_result 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("getRows_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRows_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRows_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRows_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRows_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRows_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRows_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -28551,7 +30569,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -28576,7 +30594,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -28589,26 +30607,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRows_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRows_result.class, metaDataMap); } public getRows_result() { @@ -28639,6 +30659,7 @@ public getRows_result(getRows_result other) { } } + @Override public getRows_result deepCopy() { return new getRows_result(this); } @@ -28653,7 +30674,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -28665,12 +30686,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRows_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRows_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -28690,12 +30711,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRows_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRows_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -28715,7 +30736,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -28736,7 +30758,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -28750,6 +30773,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -28826,7 +30850,7 @@ public int compareTo(getRows_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -28836,7 +30860,7 @@ public int compareTo(getRows_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -28844,16 +30868,18 @@ public int compareTo(getRows_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -28881,92 +30907,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRows_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRows_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRows_resultStandardScheme getScheme() { return new getRows_resultStandardScheme(); } } - private static class getRows_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRows_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list254 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list254.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem255; - for (int _i256 = 0; _i256 < _list254.size; ++_i256) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem255 = new TRowResult(); - _elem255.read(iprot); - struct.success.add(_elem255); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list254 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list254.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem255; + for (int _i256 = 0; _i256 < _list254.size; ++_i256) + { + _elem255 = new TRowResult(); + _elem255.read(iprot); + struct.success.add(_elem255); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter257 : struct.success) { _iter257.write(oprot); @@ -28986,17 +31020,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRows_result str } - private static class getRows_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRows_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRows_resultTupleScheme getScheme() { return new getRows_resultTupleScheme(); } } - private static class getRows_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRows_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -29020,66 +31055,72 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRows_result stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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 TRowResult _elem260; - for (int _i261 = 0; _i261 < _list259.size; ++_i261) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem260 = new TRowResult(); - _elem260.read(iprot); - struct.success.add(_elem260); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list259 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list259.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem260; + for (int _i261 = 0; _i261 < _list259.size; ++_i261) + { + _elem260 = new TRowResult(); + _elem260.read(iprot); + struct.success.add(_elem260); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsWithColumns_args 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("getRowsWithColumns_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsWithColumns_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsWithColumns_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("rows", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumns_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumns_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumns_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumns_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row keys */ - public @org.apache.thrift.annotation.Nullable java.util.List rows; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows; // required /** * List of columns to return, null for all columns */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -29108,7 +31149,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -29137,7 +31178,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -29150,33 +31191,35 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROWS, new org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumns_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumns_args.class, metaDataMap); } public getRowsWithColumns_args() { @@ -29189,7 +31232,7 @@ public getRowsWithColumns_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rows = rows; this.columns = columns; this.attributes = attributes; @@ -29200,19 +31243,19 @@ public getRowsWithColumns_args( */ public getRowsWithColumns_args(getRowsWithColumns_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRows()) { java.util.List __this__rows = new java.util.ArrayList(other.rows.size()); for (java.nio.ByteBuffer other_element : other.rows) { - __this__rows.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__rows.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.rows = __this__rows; } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -29223,9 +31266,9 @@ public getRowsWithColumns_args(getRowsWithColumns_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -29233,6 +31276,7 @@ public getRowsWithColumns_args(getRowsWithColumns_args other) { } } + @Override public getRowsWithColumns_args deepCopy() { return new getRowsWithColumns_args(this); } @@ -29249,12 +31293,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -29265,8 +31309,8 @@ public getRowsWithColumns_args setTableName(byte[] tableName) { return this; } - public getRowsWithColumns_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowsWithColumns_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -29289,7 +31333,7 @@ public int getRowsSize() { return (this.rows == null) ? 0 : this.rows.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowsIterator() { return (this.rows == null) ? null : this.rows.iterator(); } @@ -29304,7 +31348,7 @@ public void addToRows(java.nio.ByteBuffer elem) { /** * row keys */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRows() { return this.rows; } @@ -29312,7 +31356,7 @@ public java.util.List getRows() { /** * row keys */ - public getRowsWithColumns_args setRows(@org.apache.thrift.annotation.Nullable java.util.List rows) { + public getRowsWithColumns_args setRows(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows) { this.rows = rows; return this; } @@ -29336,7 +31380,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -29351,7 +31395,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { /** * List of columns to return, null for all columns */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -29359,7 +31403,7 @@ public java.util.List getColumns() { /** * List of columns to return, null for all columns */ - public getRowsWithColumns_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public getRowsWithColumns_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -29393,7 +31437,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -29401,7 +31445,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowsWithColumns_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowsWithColumns_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -29421,7 +31465,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -29462,7 +31507,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -29482,6 +31528,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -29588,7 +31635,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -29598,7 +31645,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } if (isSetRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } @@ -29608,7 +31655,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -29618,7 +31665,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -29626,16 +31673,19 @@ public int compareTo(getRowsWithColumns_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -29648,7 +31698,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -29656,7 +31706,7 @@ public java.lang.String toString() { if (this.rows == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.rows, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.rows, sb); } first = false; if (!first) sb.append(", "); @@ -29664,7 +31714,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -29679,121 +31729,129 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsWithColumns_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumns_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumns_argsStandardScheme getScheme() { return new getRowsWithColumns_argsStandardScheme(); } } - private static class getRowsWithColumns_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsWithColumns_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); - struct.rows = new java.util.ArrayList(_list262.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem263; - for (int _i264 = 0; _i264 < _list262.size; ++_i264) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem263 = iprot.readBinary(); - struct.rows.add(_elem263); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); + struct.rows = new java.util.ArrayList(_list262.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem263; + for (int _i264 = 0; _i264 < _list262.size; ++_i264) + { + _elem263 = iprot.readBinary(); + struct.rows.add(_elem263); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list265 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list265.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem266; - for (int _i267 = 0; _i267 < _list265.size; ++_i267) + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem266 = iprot.readBinary(); - struct.columns.add(_elem266); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list265 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list265.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem266; + for (int _i267 = 0; _i267 < _list265.size; ++_i267) + { + _elem266 = iprot.readBinary(); + struct.columns.add(_elem266); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map268 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map268.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key269; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val270; - for (int _i271 = 0; _i271 < _map268.size; ++_i271) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key269 = iprot.readBinary(); - _val270 = iprot.readBinary(); - struct.attributes.put(_key269, _val270); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map268 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map268.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key269; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val270; + for (int _i271 = 0; _i271 < _map268.size; ++_i271) + { + _key269 = iprot.readBinary(); + _val270 = iprot.readBinary(); + struct.attributes.put(_key269, _val270); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -29805,7 +31863,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.rows != null) { oprot.writeFieldBegin(ROWS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rows.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.rows.size())); for (java.nio.ByteBuffer _iter272 : struct.rows) { oprot.writeBinary(_iter272); @@ -29817,7 +31875,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter273 : struct.columns) { oprot.writeBinary(_iter273); @@ -29829,7 +31887,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter274 : struct.attributes.entrySet()) { oprot.writeBinary(_iter274.getKey()); @@ -29845,17 +31903,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns } - private static class getRowsWithColumns_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumns_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumns_argsTupleScheme getScheme() { return new getRowsWithColumns_argsTupleScheme(); } } - private static class getRowsWithColumns_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsWithColumns_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -29904,76 +31963,82 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.rows = new java.util.ArrayList(_list278.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem279; - for (int _i280 = 0; _i280 < _list278.size; ++_i280) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem279 = iprot.readBinary(); - struct.rows.add(_elem279); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.rows = new java.util.ArrayList(_list278.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem279; + for (int _i280 = 0; _i280 < _list278.size; ++_i280) + { + _elem279 = iprot.readBinary(); + struct.rows.add(_elem279); + } } + struct.setRowsIsSet(true); } - struct.setRowsIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list281 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list281.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem282; - for (int _i283 = 0; _i283 < _list281.size; ++_i283) + if (incoming.get(2)) { { - _elem282 = iprot.readBinary(); - struct.columns.add(_elem282); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list281 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list281.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem282; + for (int _i283 = 0; _i283 < _list281.size; ++_i283) + { + _elem282 = iprot.readBinary(); + struct.columns.add(_elem282); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map284 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map284.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key285; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val286; - for (int _i287 = 0; _i287 < _map284.size; ++_i287) + if (incoming.get(3)) { { - _key285 = iprot.readBinary(); - _val286 = iprot.readBinary(); - struct.attributes.put(_key285, _val286); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map284 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map284.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key285; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val286; + for (int _i287 = 0; _i287 < _map284.size; ++_i287) + { + _key285 = iprot.readBinary(); + _val286 = iprot.readBinary(); + struct.attributes.put(_key285, _val286); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsWithColumns_result 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("getRowsWithColumns_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsWithColumns_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsWithColumns_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumns_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumns_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumns_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumns_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -29988,7 +32053,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -30013,7 +32078,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -30026,26 +32091,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumns_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumns_result.class, metaDataMap); } public getRowsWithColumns_result() { @@ -30076,6 +32143,7 @@ public getRowsWithColumns_result(getRowsWithColumns_result other) { } } + @Override public getRowsWithColumns_result deepCopy() { return new getRowsWithColumns_result(this); } @@ -30090,7 +32158,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -30102,12 +32170,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowsWithColumns_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowsWithColumns_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -30127,12 +32195,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowsWithColumns_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowsWithColumns_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -30152,7 +32220,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -30173,7 +32242,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -30187,6 +32257,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -30263,7 +32334,7 @@ public int compareTo(getRowsWithColumns_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -30273,7 +32344,7 @@ public int compareTo(getRowsWithColumns_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -30281,16 +32352,18 @@ public int compareTo(getRowsWithColumns_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -30318,92 +32391,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsWithColumns_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumns_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumns_resultStandardScheme getScheme() { return new getRowsWithColumns_resultStandardScheme(); } } - private static class getRowsWithColumns_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsWithColumns_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list288 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list288.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem289; - for (int _i290 = 0; _i290 < _list288.size; ++_i290) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem289 = new TRowResult(); - _elem289.read(iprot); - struct.success.add(_elem289); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list288 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list288.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem289; + for (int _i290 = 0; _i290 < _list288.size; ++_i290) + { + _elem289 = new TRowResult(); + _elem289.read(iprot); + struct.success.add(_elem289); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter291 : struct.success) { _iter291.write(oprot); @@ -30423,17 +32504,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns } - private static class getRowsWithColumns_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumns_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumns_resultTupleScheme getScheme() { return new getRowsWithColumns_resultTupleScheme(); } } - private static class getRowsWithColumns_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsWithColumns_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -30457,55 +32539,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list293 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list293.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem294; - for (int _i295 = 0; _i295 < _list293.size; ++_i295) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem294 = new TRowResult(); - _elem294.read(iprot); - struct.success.add(_elem294); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list293 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list293.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem294; + for (int _i295 = 0; _i295 < _list293.size; ++_i295) + { + _elem294 = new TRowResult(); + _elem294.read(iprot); + struct.success.add(_elem294); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsTs_args 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("getRowsTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("rows", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsTs_argsTupleSchemeFactory(); /** * name of the table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row keys */ - public @org.apache.thrift.annotation.Nullable java.util.List rows; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows; // required /** * timestamp */ @@ -30513,10 +32601,10 @@ public static class getRowsTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of the table */ @@ -30545,7 +32633,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -30574,7 +32662,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -30587,10 +32675,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -30599,22 +32689,22 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROWS, new org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsTs_args.class, metaDataMap); } public getRowsTs_args() { @@ -30627,7 +32717,7 @@ public getRowsTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rows = rows; this.timestamp = timestamp; setTimestampIsSet(true); @@ -30640,12 +32730,12 @@ public getRowsTs_args( public getRowsTs_args(getRowsTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRows()) { java.util.List __this__rows = new java.util.ArrayList(other.rows.size()); for (java.nio.ByteBuffer other_element : other.rows) { - __this__rows.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__rows.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.rows = __this__rows; } @@ -30657,9 +32747,9 @@ public getRowsTs_args(getRowsTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -30667,6 +32757,7 @@ public getRowsTs_args(getRowsTs_args other) { } } + @Override public getRowsTs_args deepCopy() { return new getRowsTs_args(this); } @@ -30684,12 +32775,12 @@ public void clear() { * name of the table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -30700,8 +32791,8 @@ public getRowsTs_args setTableName(byte[] tableName) { return this; } - public getRowsTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowsTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -30724,7 +32815,7 @@ public int getRowsSize() { return (this.rows == null) ? 0 : this.rows.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowsIterator() { return (this.rows == null) ? null : this.rows.iterator(); } @@ -30739,7 +32830,7 @@ public void addToRows(java.nio.ByteBuffer elem) { /** * row keys */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRows() { return this.rows; } @@ -30747,7 +32838,7 @@ public java.util.List getRows() { /** * row keys */ - public getRowsTs_args setRows(@org.apache.thrift.annotation.Nullable java.util.List rows) { + public getRowsTs_args setRows(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows) { this.rows = rows; return this; } @@ -30784,16 +32875,16 @@ public getRowsTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -30810,7 +32901,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -30818,7 +32909,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowsTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowsTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -30838,7 +32929,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -30879,7 +32971,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -30899,6 +32992,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -30981,7 +33075,7 @@ public int hashCode() { if (isSetRows()) hashCode = hashCode * 8191 + rows.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -31003,7 +33097,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -31013,7 +33107,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } if (isSetRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } @@ -31023,7 +33117,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -31033,7 +33127,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -31041,16 +33135,19 @@ public int compareTo(getRowsTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -31063,7 +33160,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -31071,7 +33168,7 @@ public java.lang.String toString() { if (this.rows == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.rows, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.rows, sb); } first = false; if (!first) sb.append(", "); @@ -31090,15 +33187,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -31107,96 +33204,104 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsTs_argsStandardScheme getScheme() { return new getRowsTs_argsStandardScheme(); } } - private static class getRowsTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list296 = iprot.readListBegin(); - struct.rows = new java.util.ArrayList(_list296.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem297; - for (int _i298 = 0; _i298 < _list296.size; ++_i298) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem297 = iprot.readBinary(); - struct.rows.add(_elem297); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list296 = iprot.readListBegin(); + struct.rows = new java.util.ArrayList(_list296.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem297; + for (int _i298 = 0; _i298 < _list296.size; ++_i298) + { + _elem297 = iprot.readBinary(); + struct.rows.add(_elem297); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map299 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map299.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key300; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val301; - for (int _i302 = 0; _i302 < _map299.size; ++_i302) + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key300 = iprot.readBinary(); - _val301 = iprot.readBinary(); - struct.attributes.put(_key300, _val301); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map299 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map299.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key300; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val301; + for (int _i302 = 0; _i302 < _map299.size; ++_i302) + { + _key300 = iprot.readBinary(); + _val301 = iprot.readBinary(); + struct.attributes.put(_key300, _val301); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -31208,7 +33313,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_args str if (struct.rows != null) { oprot.writeFieldBegin(ROWS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rows.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.rows.size())); for (java.nio.ByteBuffer _iter303 : struct.rows) { oprot.writeBinary(_iter303); @@ -31223,7 +33328,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_args str if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter304 : struct.attributes.entrySet()) { oprot.writeBinary(_iter304.getKey()); @@ -31239,17 +33344,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_args str } - private static class getRowsTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsTs_argsTupleScheme getScheme() { return new getRowsTs_argsTupleScheme(); } } - private static class getRowsTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -31292,67 +33398,73 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsTs_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list307 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.rows = new java.util.ArrayList(_list307.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem308; - for (int _i309 = 0; _i309 < _list307.size; ++_i309) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem308 = iprot.readBinary(); - struct.rows.add(_elem308); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list307 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.rows = new java.util.ArrayList(_list307.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem308; + for (int _i309 = 0; _i309 < _list307.size; ++_i309) + { + _elem308 = iprot.readBinary(); + struct.rows.add(_elem308); + } } + struct.setRowsIsSet(true); } - struct.setRowsIsSet(true); - } - if (incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map310 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map310.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key311; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val312; - for (int _i313 = 0; _i313 < _map310.size; ++_i313) + if (incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(3)) { { - _key311 = iprot.readBinary(); - _val312 = iprot.readBinary(); - struct.attributes.put(_key311, _val312); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map310 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map310.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key311; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val312; + for (int _i313 = 0; _i313 < _map310.size; ++_i313) + { + _key311 = iprot.readBinary(); + _val312 = iprot.readBinary(); + struct.attributes.put(_key311, _val312); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsTs_result 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("getRowsTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -31367,7 +33479,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -31392,7 +33504,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -31405,26 +33517,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsTs_result.class, metaDataMap); } public getRowsTs_result() { @@ -31455,6 +33569,7 @@ public getRowsTs_result(getRowsTs_result other) { } } + @Override public getRowsTs_result deepCopy() { return new getRowsTs_result(this); } @@ -31469,7 +33584,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -31481,12 +33596,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowsTs_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowsTs_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -31506,12 +33621,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowsTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowsTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -31531,7 +33646,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -31552,7 +33668,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -31566,6 +33683,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -31642,7 +33760,7 @@ public int compareTo(getRowsTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -31652,7 +33770,7 @@ public int compareTo(getRowsTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -31660,16 +33778,18 @@ public int compareTo(getRowsTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -31697,92 +33817,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsTs_resultStandardScheme getScheme() { return new getRowsTs_resultStandardScheme(); } } - private static class getRowsTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list314 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list314.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem315; - for (int _i316 = 0; _i316 < _list314.size; ++_i316) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem315 = new TRowResult(); - _elem315.read(iprot); - struct.success.add(_elem315); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list314 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list314.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem315; + for (int _i316 = 0; _i316 < _list314.size; ++_i316) + { + _elem315 = new TRowResult(); + _elem315.read(iprot); + struct.success.add(_elem315); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter317 : struct.success) { _iter317.write(oprot); @@ -31802,17 +33930,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsTs_result s } - private static class getRowsTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsTs_resultTupleScheme getScheme() { return new getRowsTs_resultTupleScheme(); } } - private static class getRowsTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -31836,68 +33965,74 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsTs_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list319 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list319.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem320; - for (int _i321 = 0; _i321 < _list319.size; ++_i321) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem320 = new TRowResult(); - _elem320.read(iprot); - struct.success.add(_elem320); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list319 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list319.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem320; + for (int _i321 = 0; _i321 < _list319.size; ++_i321) + { + _elem320 = new TRowResult(); + _elem320.read(iprot); + struct.success.add(_elem320); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsWithColumnsTs_args 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("getRowsWithColumnsTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsWithColumnsTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsWithColumnsTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("rows", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumnsTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumnsTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumnsTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumnsTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row keys */ - public @org.apache.thrift.annotation.Nullable java.util.List rows; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows; // required /** * List of columns to return, null for all columns */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required public long timestamp; // required /** * Get attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -31927,7 +34062,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -31958,7 +34093,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -31971,10 +34106,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -31983,25 +34120,25 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROWS, new org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumnsTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumnsTs_args.class, metaDataMap); } public getRowsWithColumnsTs_args() { @@ -32015,7 +34152,7 @@ public getRowsWithColumnsTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rows = rows; this.columns = columns; this.timestamp = timestamp; @@ -32029,19 +34166,19 @@ public getRowsWithColumnsTs_args( public getRowsWithColumnsTs_args(getRowsWithColumnsTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRows()) { java.util.List __this__rows = new java.util.ArrayList(other.rows.size()); for (java.nio.ByteBuffer other_element : other.rows) { - __this__rows.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__rows.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.rows = __this__rows; } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -32053,9 +34190,9 @@ public getRowsWithColumnsTs_args(getRowsWithColumnsTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -32063,6 +34200,7 @@ public getRowsWithColumnsTs_args(getRowsWithColumnsTs_args other) { } } + @Override public getRowsWithColumnsTs_args deepCopy() { return new getRowsWithColumnsTs_args(this); } @@ -32081,12 +34219,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -32097,8 +34235,8 @@ public getRowsWithColumnsTs_args setTableName(byte[] tableName) { return this; } - public getRowsWithColumnsTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public getRowsWithColumnsTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -32121,7 +34259,7 @@ public int getRowsSize() { return (this.rows == null) ? 0 : this.rows.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowsIterator() { return (this.rows == null) ? null : this.rows.iterator(); } @@ -32136,7 +34274,7 @@ public void addToRows(java.nio.ByteBuffer elem) { /** * row keys */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRows() { return this.rows; } @@ -32144,7 +34282,7 @@ public java.util.List getRows() { /** * row keys */ - public getRowsWithColumnsTs_args setRows(@org.apache.thrift.annotation.Nullable java.util.List rows) { + public getRowsWithColumnsTs_args setRows(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rows) { this.rows = rows; return this; } @@ -32168,7 +34306,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -32183,7 +34321,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { /** * List of columns to return, null for all columns */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -32191,7 +34329,7 @@ public java.util.List getColumns() { /** * List of columns to return, null for all columns */ - public getRowsWithColumnsTs_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public getRowsWithColumnsTs_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -32222,16 +34360,16 @@ public getRowsWithColumnsTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -32248,7 +34386,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Get attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -32256,7 +34394,7 @@ public java.util.Map getAttributes() { /** * Get attributes */ - public getRowsWithColumnsTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public getRowsWithColumnsTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -32276,7 +34414,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -32325,7 +34464,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -32348,6 +34488,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -32445,7 +34586,7 @@ public int hashCode() { if (isSetColumns()) hashCode = hashCode * 8191 + columns.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -32467,7 +34608,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -32477,7 +34618,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } if (isSetRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } @@ -32487,7 +34628,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -32497,7 +34638,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -32507,7 +34648,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -32515,16 +34656,19 @@ public int compareTo(getRowsWithColumnsTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -32537,7 +34681,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -32545,7 +34689,7 @@ public java.lang.String toString() { if (this.rows == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.rows, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.rows, sb); } first = false; if (!first) sb.append(", "); @@ -32553,7 +34697,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -32572,15 +34716,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -32589,114 +34733,122 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsWithColumnsTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumnsTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumnsTs_argsStandardScheme getScheme() { return new getRowsWithColumnsTs_argsStandardScheme(); } } - private static class getRowsWithColumnsTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsWithColumnsTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); - struct.rows = new java.util.ArrayList(_list322.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem323; - for (int _i324 = 0; _i324 < _list322.size; ++_i324) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem323 = iprot.readBinary(); - struct.rows.add(_elem323); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); + struct.rows = new java.util.ArrayList(_list322.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem323; + for (int _i324 = 0; _i324 < _list322.size; ++_i324) + { + _elem323 = iprot.readBinary(); + struct.rows.add(_elem323); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list325 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list325.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem326; - for (int _i327 = 0; _i327 < _list325.size; ++_i327) + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem326 = iprot.readBinary(); - struct.columns.add(_elem326); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list325 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list325.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem326; + for (int _i327 = 0; _i327 < _list325.size; ++_i327) + { + _elem326 = iprot.readBinary(); + struct.columns.add(_elem326); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map328 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map328.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key329; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val330; - for (int _i331 = 0; _i331 < _map328.size; ++_i331) + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key329 = iprot.readBinary(); - _val330 = iprot.readBinary(); - struct.attributes.put(_key329, _val330); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map328 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map328.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key329; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val330; + for (int _i331 = 0; _i331 < _map328.size; ++_i331) + { + _key329 = iprot.readBinary(); + _val330 = iprot.readBinary(); + struct.attributes.put(_key329, _val330); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumnsTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -32708,7 +34860,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.rows != null) { oprot.writeFieldBegin(ROWS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rows.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.rows.size())); for (java.nio.ByteBuffer _iter332 : struct.rows) { oprot.writeBinary(_iter332); @@ -32720,7 +34872,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter333 : struct.columns) { oprot.writeBinary(_iter333); @@ -32735,7 +34887,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter334 : struct.attributes.entrySet()) { oprot.writeBinary(_iter334.getKey()); @@ -32751,17 +34903,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns } - private static class getRowsWithColumnsTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumnsTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumnsTs_argsTupleScheme getScheme() { return new getRowsWithColumnsTs_argsTupleScheme(); } } - private static class getRowsWithColumnsTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsWithColumnsTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -32816,80 +34969,86 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsT } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list338 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.rows = new java.util.ArrayList(_list338.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem339; - for (int _i340 = 0; _i340 < _list338.size; ++_i340) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem339 = iprot.readBinary(); - struct.rows.add(_elem339); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list338 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.rows = new java.util.ArrayList(_list338.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem339; + for (int _i340 = 0; _i340 < _list338.size; ++_i340) + { + _elem339 = iprot.readBinary(); + struct.rows.add(_elem339); + } } + struct.setRowsIsSet(true); } - struct.setRowsIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list341 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list341.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem342; - for (int _i343 = 0; _i343 < _list341.size; ++_i343) + if (incoming.get(2)) { { - _elem342 = iprot.readBinary(); - struct.columns.add(_elem342); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list341 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list341.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem342; + for (int _i343 = 0; _i343 < _list341.size; ++_i343) + { + _elem342 = iprot.readBinary(); + struct.columns.add(_elem342); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map344 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map344.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key345; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val346; - for (int _i347 = 0; _i347 < _map344.size; ++_i347) + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { { - _key345 = iprot.readBinary(); - _val346 = iprot.readBinary(); - struct.attributes.put(_key345, _val346); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map344 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map344.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key345; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val346; + for (int _i347 = 0; _i347 < _map344.size; ++_i347) + { + _key345 = iprot.readBinary(); + _val346 = iprot.readBinary(); + struct.attributes.put(_key345, _val346); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRowsWithColumnsTs_result 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("getRowsWithColumnsTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRowsWithColumnsTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRowsWithColumnsTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumnsTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumnsTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRowsWithColumnsTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRowsWithColumnsTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -32904,7 +35063,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -32929,7 +35088,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -32942,26 +35101,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumnsTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRowsWithColumnsTs_result.class, metaDataMap); } public getRowsWithColumnsTs_result() { @@ -32992,6 +35153,7 @@ public getRowsWithColumnsTs_result(getRowsWithColumnsTs_result other) { } } + @Override public getRowsWithColumnsTs_result deepCopy() { return new getRowsWithColumnsTs_result(this); } @@ -33006,7 +35168,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -33018,12 +35180,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getRowsWithColumnsTs_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getRowsWithColumnsTs_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -33043,12 +35205,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRowsWithColumnsTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRowsWithColumnsTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -33068,7 +35230,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -33089,7 +35252,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -33103,6 +35267,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -33179,7 +35344,7 @@ public int compareTo(getRowsWithColumnsTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -33189,7 +35354,7 @@ public int compareTo(getRowsWithColumnsTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -33197,16 +35362,18 @@ public int compareTo(getRowsWithColumnsTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -33234,92 +35401,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRowsWithColumnsTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumnsTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumnsTs_resultStandardScheme getScheme() { return new getRowsWithColumnsTs_resultStandardScheme(); } } - private static class getRowsWithColumnsTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRowsWithColumnsTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list348 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list348.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem349; - for (int _i350 = 0; _i350 < _list348.size; ++_i350) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRowsWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem349 = new TRowResult(); - _elem349.read(iprot); - struct.success.add(_elem349); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list348 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list348.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem349; + for (int _i350 = 0; _i350 < _list348.size; ++_i350) + { + _elem349 = new TRowResult(); + _elem349.read(iprot); + struct.success.add(_elem349); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumnsTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter351 : struct.success) { _iter351.write(oprot); @@ -33339,17 +35514,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRowsWithColumns } - private static class getRowsWithColumnsTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRowsWithColumnsTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRowsWithColumnsTs_resultTupleScheme getScheme() { return new getRowsWithColumnsTs_resultTupleScheme(); } } - private static class getRowsWithColumnsTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRowsWithColumnsTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -33373,66 +35549,72 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsT } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list353 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list353.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem354; - for (int _i355 = 0; _i355 < _list353.size; ++_i355) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem354 = new TRowResult(); - _elem354.read(iprot); - struct.success.add(_elem354); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list353 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list353.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem354; + for (int _i355 = 0; _i355 < _list353.size; ++_i355) + { + _elem354 = new TRowResult(); + _elem354.read(iprot); + struct.success.add(_elem354); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRow_args 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("mutateRow_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRow_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRow_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("mutations", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("mutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * list of mutation commands */ - public @org.apache.thrift.annotation.Nullable java.util.List mutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations; // required /** * Mutation attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -33461,7 +35643,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -33490,7 +35672,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -33503,32 +35685,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_args.class, metaDataMap); } public mutateRow_args() { @@ -33541,8 +35725,8 @@ public mutateRow_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.mutations = mutations; this.attributes = attributes; } @@ -33552,10 +35736,10 @@ public mutateRow_args( */ public mutateRow_args(mutateRow_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetMutations()) { java.util.List __this__mutations = new java.util.ArrayList(other.mutations.size()); @@ -33571,9 +35755,9 @@ public mutateRow_args(mutateRow_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -33581,6 +35765,7 @@ public mutateRow_args(mutateRow_args other) { } } + @Override public mutateRow_args deepCopy() { return new mutateRow_args(this); } @@ -33597,12 +35782,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -33613,8 +35798,8 @@ public mutateRow_args setTableName(byte[] tableName) { return this; } - public mutateRow_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public mutateRow_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -33637,12 +35822,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -33653,8 +35838,8 @@ public mutateRow_args setRow(byte[] row) { return this; } - public mutateRow_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public mutateRow_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -33677,7 +35862,7 @@ public int getMutationsSize() { return (this.mutations == null) ? 0 : this.mutations.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getMutationsIterator() { return (this.mutations == null) ? null : this.mutations.iterator(); } @@ -33692,7 +35877,7 @@ public void addToMutations(Mutation elem) { /** * list of mutation commands */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getMutations() { return this.mutations; } @@ -33700,7 +35885,7 @@ public java.util.List getMutations() { /** * list of mutation commands */ - public mutateRow_args setMutations(@org.apache.thrift.annotation.Nullable java.util.List mutations) { + public mutateRow_args setMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations) { this.mutations = mutations; return this; } @@ -33734,7 +35919,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Mutation attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -33742,7 +35927,7 @@ public java.util.Map getAttributes() { /** * Mutation attributes */ - public mutateRow_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public mutateRow_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -33762,7 +35947,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -33807,7 +35993,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -33827,6 +36014,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -33933,7 +36121,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -33943,7 +36131,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -33953,7 +36141,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); if (lastComparison != 0) { return lastComparison; } @@ -33963,7 +36151,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -33971,16 +36159,19 @@ public int compareTo(mutateRow_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -33993,7 +36184,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -34001,7 +36192,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -34024,112 +36215,120 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRow_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_argsStandardScheme getScheme() { return new mutateRow_argsStandardScheme(); } } - private static class mutateRow_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRow_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list356 = iprot.readListBegin(); - struct.mutations = new java.util.ArrayList(_list356.size); - @org.apache.thrift.annotation.Nullable Mutation _elem357; - for (int _i358 = 0; _i358 < _list356.size; ++_i358) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem357 = new Mutation(); - _elem357.read(iprot); - struct.mutations.add(_elem357); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list356 = iprot.readListBegin(); + struct.mutations = new java.util.ArrayList(_list356.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem357; + for (int _i358 = 0; _i358 < _list356.size; ++_i358) + { + _elem357 = new Mutation(); + _elem357.read(iprot); + struct.mutations.add(_elem357); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map359 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map359.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key360; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val361; - for (int _i362 = 0; _i362 < _map359.size; ++_i362) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key360 = iprot.readBinary(); - _val361 = iprot.readBinary(); - struct.attributes.put(_key360, _val361); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map359 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map359.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key360; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val361; + for (int _i362 = 0; _i362 < _map359.size; ++_i362) + { + _key360 = iprot.readBinary(); + _val361 = iprot.readBinary(); + struct.attributes.put(_key360, _val361); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -34146,7 +36345,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args str if (struct.mutations != null) { oprot.writeFieldBegin(MUTATIONS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); for (Mutation _iter363 : struct.mutations) { _iter363.write(oprot); @@ -34158,7 +36357,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args str if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter364 : struct.attributes.entrySet()) { oprot.writeBinary(_iter364.getKey()); @@ -34174,17 +36373,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args str } - private static class mutateRow_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_argsTupleScheme getScheme() { return new mutateRow_argsTupleScheme(); } } - private static class mutateRow_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRow_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -34227,68 +36427,74 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list367 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.mutations = new java.util.ArrayList(_list367.size); - @org.apache.thrift.annotation.Nullable Mutation _elem368; - for (int _i369 = 0; _i369 < _list367.size; ++_i369) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _elem368 = new Mutation(); - _elem368.read(iprot); - struct.mutations.add(_elem368); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list367 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.mutations = new java.util.ArrayList(_list367.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem368; + for (int _i369 = 0; _i369 < _list367.size; ++_i369) + { + _elem368 = new Mutation(); + _elem368.read(iprot); + struct.mutations.add(_elem368); + } } + struct.setMutationsIsSet(true); } - struct.setMutationsIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map370 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map370.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key371; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val372; - for (int _i373 = 0; _i373 < _map370.size; ++_i373) + if (incoming.get(3)) { { - _key371 = iprot.readBinary(); - _val372 = iprot.readBinary(); - struct.attributes.put(_key371, _val372); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map370 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map370.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key371; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val372; + for (int _i373 = 0; _i373 < _map370.size; ++_i373) + { + _key371 = iprot.readBinary(); + _val372 = iprot.readBinary(); + struct.attributes.put(_key371, _val372); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRow_result 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("mutateRow_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRow_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRow_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"); @@ -34303,7 +36509,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -34328,7 +36534,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -34341,25 +36547,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_result.class, metaDataMap); } public mutateRow_result() { @@ -34386,6 +36594,7 @@ public mutateRow_result(mutateRow_result other) { } } + @Override public mutateRow_result deepCopy() { return new mutateRow_result(this); } @@ -34396,12 +36605,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public mutateRow_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public mutateRow_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -34421,12 +36630,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public mutateRow_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public mutateRow_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -34446,7 +36655,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -34467,7 +36677,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -34481,6 +36692,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -34557,7 +36769,7 @@ public int compareTo(mutateRow_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -34567,7 +36779,7 @@ public int compareTo(mutateRow_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -34575,16 +36787,18 @@ public int compareTo(mutateRow_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -34612,75 +36826,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRow_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_resultStandardScheme getScheme() { return new mutateRow_resultStandardScheme(); } } - private static class mutateRow_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRow_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -34700,17 +36922,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_result s } - private static class mutateRow_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_resultTupleScheme getScheme() { return new mutateRow_resultTupleScheme(); } } - private static class mutateRow_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRow_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -34728,51 +36951,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRowTs_args 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("mutateRowTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRowTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRowTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("mutations", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("mutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * list of mutation commands */ - public @org.apache.thrift.annotation.Nullable java.util.List mutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations; // required /** * timestamp */ @@ -34780,10 +37009,10 @@ public static class mutateRowTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -34816,7 +37045,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -34847,7 +37076,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -34860,10 +37089,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -34872,24 +37103,24 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, Mutation.class)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowTs_args.class, metaDataMap); } public mutateRowTs_args() { @@ -34903,8 +37134,8 @@ public mutateRowTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.mutations = mutations; this.timestamp = timestamp; setTimestampIsSet(true); @@ -34917,10 +37148,10 @@ public mutateRowTs_args( public mutateRowTs_args(mutateRowTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetMutations()) { java.util.List __this__mutations = new java.util.ArrayList(other.mutations.size()); @@ -34937,9 +37168,9 @@ public mutateRowTs_args(mutateRowTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -34947,6 +37178,7 @@ public mutateRowTs_args(mutateRowTs_args other) { } } + @Override public mutateRowTs_args deepCopy() { return new mutateRowTs_args(this); } @@ -34965,12 +37197,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -34981,8 +37213,8 @@ public mutateRowTs_args setTableName(byte[] tableName) { return this; } - public mutateRowTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public mutateRowTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -35005,12 +37237,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -35021,8 +37253,8 @@ public mutateRowTs_args setRow(byte[] row) { return this; } - public mutateRowTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public mutateRowTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -35045,7 +37277,7 @@ public int getMutationsSize() { return (this.mutations == null) ? 0 : this.mutations.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getMutationsIterator() { return (this.mutations == null) ? null : this.mutations.iterator(); } @@ -35060,7 +37292,7 @@ public void addToMutations(Mutation elem) { /** * list of mutation commands */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getMutations() { return this.mutations; } @@ -35068,7 +37300,7 @@ public java.util.List getMutations() { /** * list of mutation commands */ - public mutateRowTs_args setMutations(@org.apache.thrift.annotation.Nullable java.util.List mutations) { + public mutateRowTs_args setMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations) { this.mutations = mutations; return this; } @@ -35105,16 +37337,16 @@ public mutateRowTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -35131,7 +37363,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Mutation attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -35139,7 +37371,7 @@ public java.util.Map getAttributes() { /** * Mutation attributes */ - public mutateRowTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public mutateRowTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -35159,7 +37391,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -35212,7 +37445,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -35235,6 +37469,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -35332,7 +37567,7 @@ public int hashCode() { if (isSetMutations()) hashCode = hashCode * 8191 + mutations.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -35354,7 +37589,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -35364,7 +37599,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -35374,7 +37609,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } if (isSetMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); if (lastComparison != 0) { return lastComparison; } @@ -35384,7 +37619,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -35394,7 +37629,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -35402,16 +37637,19 @@ public int compareTo(mutateRowTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -35424,7 +37662,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -35432,7 +37670,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -35459,15 +37697,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -35476,105 +37714,113 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRowTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowTs_argsStandardScheme getScheme() { return new mutateRowTs_argsStandardScheme(); } } - private static class mutateRowTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRowTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list374 = iprot.readListBegin(); - struct.mutations = new java.util.ArrayList(_list374.size); - @org.apache.thrift.annotation.Nullable Mutation _elem375; - for (int _i376 = 0; _i376 < _list374.size; ++_i376) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem375 = new Mutation(); - _elem375.read(iprot); - struct.mutations.add(_elem375); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list374 = iprot.readListBegin(); + struct.mutations = new java.util.ArrayList(_list374.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem375; + for (int _i376 = 0; _i376 < _list374.size; ++_i376) + { + _elem375 = new Mutation(); + _elem375.read(iprot); + struct.mutations.add(_elem375); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map377 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map377.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key378; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val379; - for (int _i380 = 0; _i380 < _map377.size; ++_i380) + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key378 = iprot.readBinary(); - _val379 = iprot.readBinary(); - struct.attributes.put(_key378, _val379); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map377 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map377.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key378; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val379; + for (int _i380 = 0; _i380 < _map377.size; ++_i380) + { + _key378 = iprot.readBinary(); + _val379 = iprot.readBinary(); + struct.attributes.put(_key378, _val379); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -35591,7 +37837,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_args s if (struct.mutations != null) { oprot.writeFieldBegin(MUTATIONS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); for (Mutation _iter381 : struct.mutations) { _iter381.write(oprot); @@ -35606,7 +37852,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_args s if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter382 : struct.attributes.entrySet()) { oprot.writeBinary(_iter382.getKey()); @@ -35622,17 +37868,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_args s } - private static class mutateRowTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowTs_argsTupleScheme getScheme() { return new mutateRowTs_argsTupleScheme(); } } - private static class mutateRowTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRowTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -35681,72 +37928,78 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list385 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.mutations = new java.util.ArrayList(_list385.size); - @org.apache.thrift.annotation.Nullable Mutation _elem386; - for (int _i387 = 0; _i387 < _list385.size; ++_i387) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _elem386 = new Mutation(); - _elem386.read(iprot); - struct.mutations.add(_elem386); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list385 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.mutations = new java.util.ArrayList(_list385.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation _elem386; + for (int _i387 = 0; _i387 < _list385.size; ++_i387) + { + _elem386 = new Mutation(); + _elem386.read(iprot); + struct.mutations.add(_elem386); + } } + struct.setMutationsIsSet(true); } - struct.setMutationsIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map388 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map388.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key389; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val390; - for (int _i391 = 0; _i391 < _map388.size; ++_i391) + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { { - _key389 = iprot.readBinary(); - _val390 = iprot.readBinary(); - struct.attributes.put(_key389, _val390); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map388 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map388.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key389; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val390; + for (int _i391 = 0; _i391 < _map388.size; ++_i391) + { + _key389 = iprot.readBinary(); + _val390 = iprot.readBinary(); + struct.attributes.put(_key389, _val390); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRowTs_result 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("mutateRowTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRowTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRowTs_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"); @@ -35761,7 +38014,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -35786,7 +38039,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -35799,25 +38052,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowTs_result.class, metaDataMap); } public mutateRowTs_result() { @@ -35844,6 +38099,7 @@ public mutateRowTs_result(mutateRowTs_result other) { } } + @Override public mutateRowTs_result deepCopy() { return new mutateRowTs_result(this); } @@ -35854,12 +38110,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public mutateRowTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public mutateRowTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -35879,12 +38135,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public mutateRowTs_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public mutateRowTs_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -35904,7 +38160,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -35925,7 +38182,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -35939,6 +38197,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -36015,7 +38274,7 @@ public int compareTo(mutateRowTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -36025,7 +38284,7 @@ public int compareTo(mutateRowTs_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -36033,16 +38292,18 @@ public int compareTo(mutateRowTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -36070,75 +38331,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRowTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowTs_resultStandardScheme getScheme() { return new mutateRowTs_resultStandardScheme(); } } - private static class mutateRowTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRowTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -36158,17 +38427,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowTs_result } - private static class mutateRowTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowTs_resultTupleScheme getScheme() { return new mutateRowTs_resultTupleScheme(); } } - private static class mutateRowTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRowTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -36186,52 +38456,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRows_args 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("mutateRows_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRows_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRows_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_BATCHES_FIELD_DESC = new org.apache.thrift.protocol.TField("rowBatches", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_BATCHES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rowBatches", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRows_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRows_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRows_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRows_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * list of row batches */ - public @org.apache.thrift.annotation.Nullable java.util.List rowBatches; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rowBatches; // required /** * Mutation attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -36256,7 +38532,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -36283,7 +38559,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -36296,30 +38572,32 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW_BATCHES, new org.apache.thrift.meta_data.FieldMetaData("rowBatches", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BatchMutation.class)))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW_BATCHES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rowBatches", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, BatchMutation.class)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRows_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRows_args.class, metaDataMap); } public mutateRows_args() { @@ -36331,7 +38609,7 @@ public mutateRows_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rowBatches = rowBatches; this.attributes = attributes; } @@ -36341,7 +38619,7 @@ public mutateRows_args( */ public mutateRows_args(mutateRows_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRowBatches()) { java.util.List __this__rowBatches = new java.util.ArrayList(other.rowBatches.size()); @@ -36357,9 +38635,9 @@ public mutateRows_args(mutateRows_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -36367,6 +38645,7 @@ public mutateRows_args(mutateRows_args other) { } } + @Override public mutateRows_args deepCopy() { return new mutateRows_args(this); } @@ -36382,12 +38661,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -36398,8 +38677,8 @@ public mutateRows_args setTableName(byte[] tableName) { return this; } - public mutateRows_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public mutateRows_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -36422,7 +38701,7 @@ public int getRowBatchesSize() { return (this.rowBatches == null) ? 0 : this.rowBatches.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowBatchesIterator() { return (this.rowBatches == null) ? null : this.rowBatches.iterator(); } @@ -36437,7 +38716,7 @@ public void addToRowBatches(BatchMutation elem) { /** * list of row batches */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRowBatches() { return this.rowBatches; } @@ -36445,7 +38724,7 @@ public java.util.List getRowBatches() { /** * list of row batches */ - public mutateRows_args setRowBatches(@org.apache.thrift.annotation.Nullable java.util.List rowBatches) { + public mutateRows_args setRowBatches(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rowBatches) { this.rowBatches = rowBatches; return this; } @@ -36479,7 +38758,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Mutation attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -36487,7 +38766,7 @@ public java.util.Map getAttributes() { /** * Mutation attributes */ - public mutateRows_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public mutateRows_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -36507,7 +38786,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -36540,7 +38820,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -36557,6 +38838,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -36648,7 +38930,7 @@ public int compareTo(mutateRows_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -36658,7 +38940,7 @@ public int compareTo(mutateRows_args other) { return lastComparison; } if (isSetRowBatches()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowBatches, other.rowBatches); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rowBatches, other.rowBatches); if (lastComparison != 0) { return lastComparison; } @@ -36668,7 +38950,7 @@ public int compareTo(mutateRows_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -36676,16 +38958,19 @@ public int compareTo(mutateRows_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -36698,7 +38983,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -36721,104 +39006,112 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRows_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRows_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRows_argsStandardScheme getScheme() { return new mutateRows_argsStandardScheme(); } } - private static class mutateRows_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRows_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROW_BATCHES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list392 = iprot.readListBegin(); - struct.rowBatches = new java.util.ArrayList(_list392.size); - @org.apache.thrift.annotation.Nullable BatchMutation _elem393; - for (int _i394 = 0; _i394 < _list392.size; ++_i394) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW_BATCHES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem393 = new BatchMutation(); - _elem393.read(iprot); - struct.rowBatches.add(_elem393); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list392 = iprot.readListBegin(); + struct.rowBatches = new java.util.ArrayList(_list392.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable BatchMutation _elem393; + for (int _i394 = 0; _i394 < _list392.size; ++_i394) + { + _elem393 = new BatchMutation(); + _elem393.read(iprot); + struct.rowBatches.add(_elem393); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowBatchesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowBatchesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map395 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map395.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key396; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val397; - for (int _i398 = 0; _i398 < _map395.size; ++_i398) + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key396 = iprot.readBinary(); - _val397 = iprot.readBinary(); - struct.attributes.put(_key396, _val397); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map395 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map395.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key396; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val397; + for (int _i398 = 0; _i398 < _map395.size; ++_i398) + { + _key396 = iprot.readBinary(); + _val397 = iprot.readBinary(); + struct.attributes.put(_key396, _val397); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -36830,7 +39123,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_args st if (struct.rowBatches != null) { oprot.writeFieldBegin(ROW_BATCHES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.rowBatches.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.rowBatches.size())); for (BatchMutation _iter399 : struct.rowBatches) { _iter399.write(oprot); @@ -36842,7 +39135,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_args st if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter400 : struct.attributes.entrySet()) { oprot.writeBinary(_iter400.getKey()); @@ -36858,17 +39151,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_args st } - private static class mutateRows_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRows_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRows_argsTupleScheme getScheme() { return new mutateRows_argsTupleScheme(); } } - private static class mutateRows_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRows_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -36905,64 +39199,70 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRows_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list403 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.rowBatches = new java.util.ArrayList(_list403.size); - @org.apache.thrift.annotation.Nullable BatchMutation _elem404; - for (int _i405 = 0; _i405 < _list403.size; ++_i405) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem404 = new BatchMutation(); - _elem404.read(iprot); - struct.rowBatches.add(_elem404); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list403 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.rowBatches = new java.util.ArrayList(_list403.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable BatchMutation _elem404; + for (int _i405 = 0; _i405 < _list403.size; ++_i405) + { + _elem404 = new BatchMutation(); + _elem404.read(iprot); + struct.rowBatches.add(_elem404); + } } + struct.setRowBatchesIsSet(true); } - struct.setRowBatchesIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TMap _map406 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map406.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key407; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val408; - for (int _i409 = 0; _i409 < _map406.size; ++_i409) + if (incoming.get(2)) { { - _key407 = iprot.readBinary(); - _val408 = iprot.readBinary(); - struct.attributes.put(_key407, _val408); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map406 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map406.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key407; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val408; + for (int _i409 = 0; _i409 < _map406.size; ++_i409) + { + _key407 = iprot.readBinary(); + _val408 = iprot.readBinary(); + struct.attributes.put(_key407, _val408); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRows_result 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("mutateRows_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRows_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRows_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRows_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRows_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRows_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRows_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"); @@ -36977,7 +39277,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -37002,7 +39302,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -37015,25 +39315,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRows_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRows_result.class, metaDataMap); } public mutateRows_result() { @@ -37060,6 +39362,7 @@ public mutateRows_result(mutateRows_result other) { } } + @Override public mutateRows_result deepCopy() { return new mutateRows_result(this); } @@ -37070,12 +39373,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public mutateRows_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public mutateRows_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -37095,12 +39398,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public mutateRows_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public mutateRows_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -37120,7 +39423,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -37141,7 +39445,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -37155,6 +39460,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -37231,7 +39537,7 @@ public int compareTo(mutateRows_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -37241,7 +39547,7 @@ public int compareTo(mutateRows_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -37249,16 +39555,18 @@ public int compareTo(mutateRows_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -37286,75 +39594,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRows_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRows_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRows_resultStandardScheme getScheme() { return new mutateRows_resultStandardScheme(); } } - private static class mutateRows_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRows_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -37374,17 +39690,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRows_result } - private static class mutateRows_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRows_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRows_resultTupleScheme getScheme() { return new mutateRows_resultTupleScheme(); } } - private static class mutateRows_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRows_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -37402,46 +39719,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRows_result s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRowsTs_args 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("mutateRowsTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRowsTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRowsTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_BATCHES_FIELD_DESC = new org.apache.thrift.protocol.TField("rowBatches", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_BATCHES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rowBatches", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowsTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowsTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowsTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowsTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * list of row batches */ - public @org.apache.thrift.annotation.Nullable java.util.List rowBatches; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rowBatches; // required /** * timestamp */ @@ -37449,10 +39772,10 @@ public static class mutateRowsTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -37481,7 +39804,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -37510,7 +39833,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -37523,10 +39846,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -37535,22 +39860,22 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW_BATCHES, new org.apache.thrift.meta_data.FieldMetaData("rowBatches", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BatchMutation.class)))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW_BATCHES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rowBatches", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, BatchMutation.class)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowsTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowsTs_args.class, metaDataMap); } public mutateRowsTs_args() { @@ -37563,7 +39888,7 @@ public mutateRowsTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.rowBatches = rowBatches; this.timestamp = timestamp; setTimestampIsSet(true); @@ -37576,7 +39901,7 @@ public mutateRowsTs_args( public mutateRowsTs_args(mutateRowsTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRowBatches()) { java.util.List __this__rowBatches = new java.util.ArrayList(other.rowBatches.size()); @@ -37593,9 +39918,9 @@ public mutateRowsTs_args(mutateRowsTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -37603,6 +39928,7 @@ public mutateRowsTs_args(mutateRowsTs_args other) { } } + @Override public mutateRowsTs_args deepCopy() { return new mutateRowsTs_args(this); } @@ -37620,12 +39946,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -37636,8 +39962,8 @@ public mutateRowsTs_args setTableName(byte[] tableName) { return this; } - public mutateRowsTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public mutateRowsTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -37660,7 +39986,7 @@ public int getRowBatchesSize() { return (this.rowBatches == null) ? 0 : this.rowBatches.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getRowBatchesIterator() { return (this.rowBatches == null) ? null : this.rowBatches.iterator(); } @@ -37675,7 +40001,7 @@ public void addToRowBatches(BatchMutation elem) { /** * list of row batches */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getRowBatches() { return this.rowBatches; } @@ -37683,7 +40009,7 @@ public java.util.List getRowBatches() { /** * list of row batches */ - public mutateRowsTs_args setRowBatches(@org.apache.thrift.annotation.Nullable java.util.List rowBatches) { + public mutateRowsTs_args setRowBatches(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List rowBatches) { this.rowBatches = rowBatches; return this; } @@ -37720,16 +40046,16 @@ public mutateRowsTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -37746,7 +40072,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Mutation attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -37754,7 +40080,7 @@ public java.util.Map getAttributes() { /** * Mutation attributes */ - public mutateRowsTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public mutateRowsTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -37774,7 +40100,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -37815,7 +40142,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -37835,6 +40163,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -37917,7 +40246,7 @@ public int hashCode() { if (isSetRowBatches()) hashCode = hashCode * 8191 + rowBatches.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -37939,7 +40268,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -37949,7 +40278,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } if (isSetRowBatches()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowBatches, other.rowBatches); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rowBatches, other.rowBatches); if (lastComparison != 0) { return lastComparison; } @@ -37959,7 +40288,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -37969,7 +40298,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -37977,16 +40306,19 @@ public int compareTo(mutateRowsTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -37999,7 +40331,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -38026,15 +40358,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -38043,97 +40375,105 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRowsTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowsTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowsTs_argsStandardScheme getScheme() { return new mutateRowsTs_argsStandardScheme(); } } - private static class mutateRowsTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRowsTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ROW_BATCHES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list410 = iprot.readListBegin(); - struct.rowBatches = new java.util.ArrayList(_list410.size); - @org.apache.thrift.annotation.Nullable BatchMutation _elem411; - for (int _i412 = 0; _i412 < _list410.size; ++_i412) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW_BATCHES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem411 = new BatchMutation(); - _elem411.read(iprot); - struct.rowBatches.add(_elem411); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list410 = iprot.readListBegin(); + struct.rowBatches = new java.util.ArrayList(_list410.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable BatchMutation _elem411; + for (int _i412 = 0; _i412 < _list410.size; ++_i412) + { + _elem411 = new BatchMutation(); + _elem411.read(iprot); + struct.rowBatches.add(_elem411); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setRowBatchesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setRowBatchesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map413 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map413.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key414; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val415; - for (int _i416 = 0; _i416 < _map413.size; ++_i416) + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key414 = iprot.readBinary(); - _val415 = iprot.readBinary(); - struct.attributes.put(_key414, _val415); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map413 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map413.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key414; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val415; + for (int _i416 = 0; _i416 < _map413.size; ++_i416) + { + _key414 = iprot.readBinary(); + _val415 = iprot.readBinary(); + struct.attributes.put(_key414, _val415); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -38145,7 +40485,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_args if (struct.rowBatches != null) { oprot.writeFieldBegin(ROW_BATCHES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.rowBatches.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.rowBatches.size())); for (BatchMutation _iter417 : struct.rowBatches) { _iter417.write(oprot); @@ -38160,7 +40500,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_args if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter418 : struct.attributes.entrySet()) { oprot.writeBinary(_iter418.getKey()); @@ -38176,17 +40516,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_args } - private static class mutateRowsTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowsTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowsTs_argsTupleScheme getScheme() { return new mutateRowsTs_argsTupleScheme(); } } - private static class mutateRowsTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRowsTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -38229,68 +40570,74 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list421 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.rowBatches = new java.util.ArrayList(_list421.size); - @org.apache.thrift.annotation.Nullable BatchMutation _elem422; - for (int _i423 = 0; _i423 < _list421.size; ++_i423) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { { - _elem422 = new BatchMutation(); - _elem422.read(iprot); - struct.rowBatches.add(_elem422); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list421 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.rowBatches = new java.util.ArrayList(_list421.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable BatchMutation _elem422; + for (int _i423 = 0; _i423 < _list421.size; ++_i423) + { + _elem422 = new BatchMutation(); + _elem422.read(iprot); + struct.rowBatches.add(_elem422); + } } + struct.setRowBatchesIsSet(true); } - struct.setRowBatchesIsSet(true); - } - if (incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(3)) { - { - 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; - for (int _i427 = 0; _i427 < _map424.size; ++_i427) + if (incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(3)) { { - _key425 = iprot.readBinary(); - _val426 = iprot.readBinary(); - struct.attributes.put(_key425, _val426); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map424 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map424.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key425; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val426; + for (int _i427 = 0; _i427 < _map424.size; ++_i427) + { + _key425 = iprot.readBinary(); + _val426 = iprot.readBinary(); + struct.attributes.put(_key425, _val426); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRowsTs_result 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("mutateRowsTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRowsTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRowsTs_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowsTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowsTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRowsTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRowsTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"); @@ -38305,7 +40652,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -38330,7 +40677,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -38343,25 +40690,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowsTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRowsTs_result.class, metaDataMap); } public mutateRowsTs_result() { @@ -38388,6 +40737,7 @@ public mutateRowsTs_result(mutateRowsTs_result other) { } } + @Override public mutateRowsTs_result deepCopy() { return new mutateRowsTs_result(this); } @@ -38398,12 +40748,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public mutateRowsTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public mutateRowsTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -38423,12 +40773,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public mutateRowsTs_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public mutateRowsTs_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -38448,7 +40798,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -38469,7 +40820,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -38483,6 +40835,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -38559,7 +40912,7 @@ public int compareTo(mutateRowsTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -38569,7 +40922,7 @@ public int compareTo(mutateRowsTs_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -38577,16 +40930,18 @@ public int compareTo(mutateRowsTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -38614,75 +40969,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRowsTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowsTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowsTs_resultStandardScheme getScheme() { return new mutateRowsTs_resultStandardScheme(); } } - private static class mutateRowsTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRowsTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -38702,17 +41065,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRowsTs_resul } - private static class mutateRowsTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRowsTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRowsTs_resultTupleScheme getScheme() { return new mutateRowsTs_resultTupleScheme(); } } - private static class mutateRowsTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRowsTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -38730,57 +41094,63 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class atomicIncrement_args 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("atomicIncrement_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class atomicIncrement_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("atomicIncrement_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new atomicIncrement_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new atomicIncrement_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new atomicIncrement_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new atomicIncrement_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row to increment */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * name of column */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * amount to increment by */ public long value; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -38809,7 +41179,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -38838,7 +41208,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -38851,10 +41221,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -38863,19 +41235,19 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(atomicIncrement_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(atomicIncrement_args.class, metaDataMap); } public atomicIncrement_args() { @@ -38888,9 +41260,9 @@ public atomicIncrement_args( long value) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.value = value; setValueIsSet(true); } @@ -38901,17 +41273,18 @@ public atomicIncrement_args( public atomicIncrement_args(atomicIncrement_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.value = other.value; } + @Override public atomicIncrement_args deepCopy() { return new atomicIncrement_args(this); } @@ -38929,12 +41302,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -38945,8 +41318,8 @@ public atomicIncrement_args setTableName(byte[] tableName) { return this; } - public atomicIncrement_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public atomicIncrement_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -38969,12 +41342,12 @@ public void setTableNameIsSet(boolean value) { * row to increment */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -38985,8 +41358,8 @@ public atomicIncrement_args setRow(byte[] row) { return this; } - public atomicIncrement_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public atomicIncrement_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -39009,12 +41382,12 @@ public void setRowIsSet(boolean value) { * name of column */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -39025,8 +41398,8 @@ public atomicIncrement_args setColumn(byte[] column) { return this; } - public atomicIncrement_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public atomicIncrement_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -39062,19 +41435,20 @@ public atomicIncrement_args setValue(long value) { } public void unsetValue() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __VALUE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __VALUE_ISSET_ID); } /** Returns true if field value is set (has been assigned a value) and false otherwise */ public boolean isSetValue() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __VALUE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __VALUE_ISSET_ID); } public void setValueIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __VALUE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __VALUE_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -39123,7 +41497,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -39143,6 +41518,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -39229,7 +41605,7 @@ public int hashCode() { if (isSetColumn()) hashCode = hashCode * 8191 + column.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(value); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(value); return hashCode; } @@ -39247,7 +41623,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -39257,7 +41633,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -39267,7 +41643,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -39277,7 +41653,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -39285,16 +41661,19 @@ public int compareTo(atomicIncrement_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -39307,7 +41686,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -39315,7 +41694,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -39323,7 +41702,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -39334,15 +41713,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -39351,74 +41730,82 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class atomicIncrement_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class atomicIncrement_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public atomicIncrement_argsStandardScheme getScheme() { return new atomicIncrement_argsStandardScheme(); } } - private static class atomicIncrement_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class atomicIncrement_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, atomicIncrement_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.value = iprot.readI64(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, atomicIncrement_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.value = iprot.readI64(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -39446,17 +41833,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_ar } - private static class atomicIncrement_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class atomicIncrement_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public atomicIncrement_argsTupleScheme getScheme() { return new atomicIncrement_argsTupleScheme(); } } - private static class atomicIncrement_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class atomicIncrement_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, atomicIncrement_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -39486,49 +41874,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_arg } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.value = iprot.readI64(); - struct.setValueIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, atomicIncrement_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.value = iprot.readI64(); + struct.setValueIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class atomicIncrement_result 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("atomicIncrement_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class atomicIncrement_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("atomicIncrement_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new atomicIncrement_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new atomicIncrement_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new atomicIncrement_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new atomicIncrement_resultTupleSchemeFactory(); public long success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"), IA((short)2, "ia"); @@ -39544,7 +41938,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -39571,7 +41965,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -39584,10 +41978,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -39596,17 +41992,17 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(atomicIncrement_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(atomicIncrement_result.class, metaDataMap); } public atomicIncrement_result() { @@ -39638,6 +42034,7 @@ public atomicIncrement_result(atomicIncrement_result other) { } } + @Override public atomicIncrement_result deepCopy() { return new atomicIncrement_result(this); } @@ -39661,24 +42058,24 @@ public atomicIncrement_result setSuccess(long success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public atomicIncrement_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public atomicIncrement_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -39698,12 +42095,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public atomicIncrement_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public atomicIncrement_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -39723,7 +42120,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -39752,7 +42150,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -39769,6 +42168,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -39832,7 +42232,7 @@ public boolean equals(atomicIncrement_result that) { public int hashCode() { int hashCode = 1; - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(success); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(success); hashCode = hashCode * 8191 + ((isSetIo()) ? 131071 : 524287); if (isSetIo()) @@ -39858,7 +42258,7 @@ public int compareTo(atomicIncrement_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -39868,7 +42268,7 @@ public int compareTo(atomicIncrement_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -39878,7 +42278,7 @@ public int compareTo(atomicIncrement_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -39886,16 +42286,18 @@ public int compareTo(atomicIncrement_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -39927,15 +42329,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -39944,68 +42346,76 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class atomicIncrement_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class atomicIncrement_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public atomicIncrement_resultStandardScheme getScheme() { return new atomicIncrement_resultStandardScheme(); } } - private static class atomicIncrement_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class atomicIncrement_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, atomicIncrement_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.success = iprot.readI64(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, atomicIncrement_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.success = iprot.readI64(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -40030,17 +42440,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, atomicIncrement_re } - private static class atomicIncrement_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class atomicIncrement_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public atomicIncrement_resultTupleScheme getScheme() { return new atomicIncrement_resultTupleScheme(); } } - private static class atomicIncrement_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class atomicIncrement_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, atomicIncrement_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -40064,61 +42475,67 @@ public void write(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, atomicIncrement_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.success = iprot.readI64(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(2)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, atomicIncrement_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = iprot.readI64(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(2)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAll_args 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("deleteAll_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAll_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAll_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAll_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAll_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAll_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAll_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Row to update */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * name of column whose value is to be deleted */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * Delete attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -40147,7 +42564,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -40176,7 +42593,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -40189,31 +42606,33 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAll_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAll_args.class, metaDataMap); } public deleteAll_args() { @@ -40226,9 +42645,9 @@ public deleteAll_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.attributes = attributes; } @@ -40237,13 +42656,13 @@ public deleteAll_args( */ public deleteAll_args(deleteAll_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes.size()); @@ -40252,9 +42671,9 @@ public deleteAll_args(deleteAll_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -40262,6 +42681,7 @@ public deleteAll_args(deleteAll_args other) { } } + @Override public deleteAll_args deepCopy() { return new deleteAll_args(this); } @@ -40278,12 +42698,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -40294,8 +42714,8 @@ public deleteAll_args setTableName(byte[] tableName) { return this; } - public deleteAll_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public deleteAll_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -40318,12 +42738,12 @@ public void setTableNameIsSet(boolean value) { * Row to update */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -40334,8 +42754,8 @@ public deleteAll_args setRow(byte[] row) { return this; } - public deleteAll_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public deleteAll_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -40358,12 +42778,12 @@ public void setRowIsSet(boolean value) { * name of column whose value is to be deleted */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -40374,8 +42794,8 @@ public deleteAll_args setColumn(byte[] column) { return this; } - public deleteAll_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public deleteAll_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -40408,7 +42828,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Delete attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -40416,7 +42836,7 @@ public java.util.Map getAttributes() { /** * Delete attributes */ - public deleteAll_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public deleteAll_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -40436,7 +42856,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -40485,7 +42906,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -40505,6 +42927,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -40611,7 +43034,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -40621,7 +43044,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -40631,7 +43054,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -40641,7 +43064,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -40649,16 +43072,19 @@ public int compareTo(deleteAll_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -40671,7 +43097,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -40679,7 +43105,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -40687,7 +43113,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -40702,101 +43128,109 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAll_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAll_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAll_argsStandardScheme getScheme() { return new deleteAll_argsStandardScheme(); } } - private static class deleteAll_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAll_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map428 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map428.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key429; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val430; - for (int _i431 = 0; _i431 < _map428.size; ++_i431) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key429 = iprot.readBinary(); - _val430 = iprot.readBinary(); - struct.attributes.put(_key429, _val430); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map428 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map428.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key429; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val430; + for (int _i431 = 0; _i431 < _map428.size; ++_i431) + { + _key429 = iprot.readBinary(); + _val430 = iprot.readBinary(); + struct.attributes.put(_key429, _val430); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAll_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -40818,7 +43252,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAll_args str if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter432 : struct.attributes.entrySet()) { oprot.writeBinary(_iter432.getKey()); @@ -40834,17 +43268,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAll_args str } - private static class deleteAll_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAll_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAll_argsTupleScheme getScheme() { return new deleteAll_argsTupleScheme(); } } - private static class deleteAll_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAll_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -40881,56 +43316,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAll_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - { - 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; - for (int _i437 = 0; _i437 < _map434.size; ++_i437) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { { - _key435 = iprot.readBinary(); - _val436 = iprot.readBinary(); - struct.attributes.put(_key435, _val436); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map434 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map434.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key435; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val436; + for (int _i437 = 0; _i437 < _map434.size; ++_i437) + { + _key435 = iprot.readBinary(); + _val436 = iprot.readBinary(); + struct.attributes.put(_key435, _val436); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAll_result 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("deleteAll_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAll_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAll_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAll_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAll_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAll_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAll_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -40944,7 +43385,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -40967,7 +43408,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -40980,23 +43421,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAll_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAll_result.class, metaDataMap); } public deleteAll_result() { @@ -41018,6 +43461,7 @@ public deleteAll_result(deleteAll_result other) { } } + @Override public deleteAll_result deepCopy() { return new deleteAll_result(this); } @@ -41027,12 +43471,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public deleteAll_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public deleteAll_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -41052,7 +43496,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -41065,7 +43510,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -41076,6 +43522,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -41137,7 +43584,7 @@ public int compareTo(deleteAll_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -41145,16 +43592,18 @@ public int compareTo(deleteAll_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -41174,66 +43623,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAll_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAll_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAll_resultStandardScheme getScheme() { return new deleteAll_resultStandardScheme(); } } - private static class deleteAll_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAll_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAll_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -41248,17 +43705,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAll_result s } - private static class deleteAll_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAll_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAll_resultTupleScheme getScheme() { return new deleteAll_resultTupleScheme(); } } - private static class deleteAll_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAll_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -41270,46 +43728,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAll_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllTs_args 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("deleteAllTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Row to update */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * name of column whose value is to be deleted */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * timestamp */ @@ -41317,10 +43781,10 @@ public static class deleteAllTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -41353,7 +43817,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -41384,7 +43848,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -41397,10 +43861,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -41409,23 +43875,23 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllTs_args.class, metaDataMap); } public deleteAllTs_args() { @@ -41439,9 +43905,9 @@ public deleteAllTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.timestamp = timestamp; setTimestampIsSet(true); this.attributes = attributes; @@ -41453,13 +43919,13 @@ public deleteAllTs_args( public deleteAllTs_args(deleteAllTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.timestamp = other.timestamp; if (other.isSetAttributes()) { @@ -41469,9 +43935,9 @@ public deleteAllTs_args(deleteAllTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -41479,6 +43945,7 @@ public deleteAllTs_args(deleteAllTs_args other) { } } + @Override public deleteAllTs_args deepCopy() { return new deleteAllTs_args(this); } @@ -41497,12 +43964,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -41513,8 +43980,8 @@ public deleteAllTs_args setTableName(byte[] tableName) { return this; } - public deleteAllTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public deleteAllTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -41537,12 +44004,12 @@ public void setTableNameIsSet(boolean value) { * Row to update */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -41553,8 +44020,8 @@ public deleteAllTs_args setRow(byte[] row) { return this; } - public deleteAllTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public deleteAllTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -41577,12 +44044,12 @@ public void setRowIsSet(boolean value) { * name of column whose value is to be deleted */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -41593,8 +44060,8 @@ public deleteAllTs_args setColumn(byte[] column) { return this; } - public deleteAllTs_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public deleteAllTs_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -41630,16 +44097,16 @@ public deleteAllTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -41656,7 +44123,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Delete attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -41664,7 +44131,7 @@ public java.util.Map getAttributes() { /** * Delete attributes */ - public deleteAllTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public deleteAllTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -41684,7 +44151,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -41741,7 +44209,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -41764,6 +44233,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -41861,7 +44331,7 @@ public int hashCode() { if (isSetColumn()) hashCode = hashCode * 8191 + column.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -41883,7 +44353,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -41893,7 +44363,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -41903,7 +44373,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -41913,7 +44383,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -41923,7 +44393,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -41931,16 +44401,19 @@ public int compareTo(deleteAllTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -41953,7 +44426,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -41961,7 +44434,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -41969,7 +44442,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -41988,15 +44461,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -42005,94 +44478,102 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllTs_argsStandardScheme getScheme() { return new deleteAllTs_argsStandardScheme(); } } - private static class deleteAllTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map438 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map438.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key439; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val440; - for (int _i441 = 0; _i441 < _map438.size; ++_i441) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key439 = iprot.readBinary(); - _val440 = iprot.readBinary(); - struct.attributes.put(_key439, _val440); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map438 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map438.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key439; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val440; + for (int _i441 = 0; _i441 < _map438.size; ++_i441) + { + _key439 = iprot.readBinary(); + _val440 = iprot.readBinary(); + struct.attributes.put(_key439, _val440); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -42117,7 +44598,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_args s if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter442 : struct.attributes.entrySet()) { oprot.writeBinary(_iter442.getKey()); @@ -42133,17 +44614,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_args s } - private static class deleteAllTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllTs_argsTupleScheme getScheme() { return new deleteAllTs_argsTupleScheme(); } } - private static class deleteAllTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -42186,60 +44668,66 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - { - 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; - for (int _i447 = 0; _i447 < _map444.size; ++_i447) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { { - _key445 = iprot.readBinary(); - _val446 = iprot.readBinary(); - struct.attributes.put(_key445, _val446); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map444 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map444.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key445; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val446; + for (int _i447 = 0; _i447 < _map444.size; ++_i447) + { + _key445 = iprot.readBinary(); + _val446 = iprot.readBinary(); + struct.attributes.put(_key445, _val446); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllTs_result 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("deleteAllTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllTs_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -42253,7 +44741,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -42276,7 +44764,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -42289,23 +44777,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllTs_result.class, metaDataMap); } public deleteAllTs_result() { @@ -42327,6 +44817,7 @@ public deleteAllTs_result(deleteAllTs_result other) { } } + @Override public deleteAllTs_result deepCopy() { return new deleteAllTs_result(this); } @@ -42336,12 +44827,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public deleteAllTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public deleteAllTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -42361,7 +44852,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -42374,7 +44866,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -42385,6 +44878,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -42446,7 +44940,7 @@ public int compareTo(deleteAllTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -42454,16 +44948,18 @@ public int compareTo(deleteAllTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -42483,66 +44979,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllTs_resultStandardScheme getScheme() { return new deleteAllTs_resultStandardScheme(); } } - private static class deleteAllTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -42557,17 +45061,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllTs_result } - private static class deleteAllTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllTs_resultTupleScheme getScheme() { return new deleteAllTs_resultTupleScheme(); } } - private static class deleteAllTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -42579,47 +45084,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllRow_args 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("deleteAllRow_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllRow_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllRow_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRow_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRow_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRow_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRow_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * key of the row to be completely deleted. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * Delete attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -42644,7 +45155,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -42671,7 +45182,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -42684,29 +45195,31 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRow_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRow_args.class, metaDataMap); } public deleteAllRow_args() { @@ -42718,8 +45231,8 @@ public deleteAllRow_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.attributes = attributes; } @@ -42728,10 +45241,10 @@ public deleteAllRow_args( */ public deleteAllRow_args(deleteAllRow_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes.size()); @@ -42740,9 +45253,9 @@ public deleteAllRow_args(deleteAllRow_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -42750,6 +45263,7 @@ public deleteAllRow_args(deleteAllRow_args other) { } } + @Override public deleteAllRow_args deepCopy() { return new deleteAllRow_args(this); } @@ -42765,12 +45279,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -42781,8 +45295,8 @@ public deleteAllRow_args setTableName(byte[] tableName) { return this; } - public deleteAllRow_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public deleteAllRow_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -42805,12 +45319,12 @@ public void setTableNameIsSet(boolean value) { * key of the row to be completely deleted. */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -42821,8 +45335,8 @@ public deleteAllRow_args setRow(byte[] row) { return this; } - public deleteAllRow_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public deleteAllRow_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -42855,7 +45369,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Delete attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -42863,7 +45377,7 @@ public java.util.Map getAttributes() { /** * Delete attributes */ - public deleteAllRow_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public deleteAllRow_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -42883,7 +45397,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -42920,7 +45435,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -42937,6 +45453,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -43028,7 +45545,7 @@ public int compareTo(deleteAllRow_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -43038,7 +45555,7 @@ public int compareTo(deleteAllRow_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -43048,7 +45565,7 @@ public int compareTo(deleteAllRow_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -43056,16 +45573,19 @@ public int compareTo(deleteAllRow_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -43078,7 +45598,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -43086,7 +45606,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -43101,93 +45621,101 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllRow_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRow_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRow_argsStandardScheme getScheme() { return new deleteAllRow_argsStandardScheme(); } } - private static class deleteAllRow_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllRow_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map448 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map448.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key449; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val450; - for (int _i451 = 0; _i451 < _map448.size; ++_i451) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key449 = iprot.readBinary(); - _val450 = iprot.readBinary(); - struct.attributes.put(_key449, _val450); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map448 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map448.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key449; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val450; + for (int _i451 = 0; _i451 < _map448.size; ++_i451) + { + _key449 = iprot.readBinary(); + _val450 = iprot.readBinary(); + struct.attributes.put(_key449, _val450); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43204,7 +45732,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_args if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter452 : struct.attributes.entrySet()) { oprot.writeBinary(_iter452.getKey()); @@ -43220,17 +45748,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_args } - private static class deleteAllRow_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRow_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRow_argsTupleScheme getScheme() { return new deleteAllRow_argsTupleScheme(); } } - private static class deleteAllRow_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllRow_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -43261,52 +45790,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TMap _map454 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map454.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key455; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val456; - for (int _i457 = 0; _i457 < _map454.size; ++_i457) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _key455 = iprot.readBinary(); - _val456 = iprot.readBinary(); - struct.attributes.put(_key455, _val456); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map454 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map454.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key455; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val456; + for (int _i457 = 0; _i457 < _map454.size; ++_i457) + { + _key455 = iprot.readBinary(); + _val456 = iprot.readBinary(); + struct.attributes.put(_key455, _val456); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllRow_result 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("deleteAllRow_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllRow_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllRow_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRow_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRow_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRow_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRow_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -43320,7 +45855,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -43343,7 +45878,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -43356,23 +45891,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRow_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRow_result.class, metaDataMap); } public deleteAllRow_result() { @@ -43394,6 +45931,7 @@ public deleteAllRow_result(deleteAllRow_result other) { } } + @Override public deleteAllRow_result deepCopy() { return new deleteAllRow_result(this); } @@ -43403,12 +45941,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public deleteAllRow_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public deleteAllRow_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -43428,7 +45966,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -43441,7 +45980,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -43452,6 +45992,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -43513,7 +46054,7 @@ public int compareTo(deleteAllRow_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -43521,16 +46062,18 @@ public int compareTo(deleteAllRow_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -43550,66 +46093,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllRow_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRow_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRow_resultStandardScheme getScheme() { return new deleteAllRow_resultStandardScheme(); } } - private static class deleteAllRow_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllRow_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43624,17 +46175,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRow_resul } - private static class deleteAllRow_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRow_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRow_resultTupleScheme getScheme() { return new deleteAllRow_resultTupleScheme(); } } - private static class deleteAllRow_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllRow_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -43646,37 +46198,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class increment_args 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("increment_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class increment_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("increment_args"); - private static final org.apache.thrift.protocol.TField INCREMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("increment", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INCREMENT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("increment", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_argsTupleSchemeFactory(); /** * The single increment to apply */ - public @org.apache.thrift.annotation.Nullable TIncrement increment; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement increment; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The single increment to apply */ @@ -43693,7 +46251,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INCREMENT @@ -43716,7 +46274,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -43729,23 +46287,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INCREMENT, new org.apache.thrift.meta_data.FieldMetaData("increment", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIncrement.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INCREMENT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("increment", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIncrement.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_args.class, metaDataMap); } public increment_args() { @@ -43767,6 +46327,7 @@ public increment_args(increment_args other) { } } + @Override public increment_args deepCopy() { return new increment_args(this); } @@ -43779,7 +46340,7 @@ public void clear() { /** * The single increment to apply */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIncrement getIncrement() { return this.increment; } @@ -43787,7 +46348,7 @@ public TIncrement getIncrement() { /** * The single increment to apply */ - public increment_args setIncrement(@org.apache.thrift.annotation.Nullable TIncrement increment) { + public increment_args setIncrement(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement increment) { this.increment = increment; return this; } @@ -43807,7 +46368,8 @@ public void setIncrementIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INCREMENT: if (value == null) { @@ -43820,7 +46382,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INCREMENT: @@ -43831,6 +46394,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -43892,7 +46456,7 @@ public int compareTo(increment_args other) { return lastComparison; } if (isSetIncrement()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.increment, other.increment); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.increment, other.increment); if (lastComparison != 0) { return lastComparison; } @@ -43900,16 +46464,19 @@ public int compareTo(increment_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -43929,7 +46496,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (increment != null) { @@ -43939,59 +46506,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class increment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_argsStandardScheme getScheme() { return new increment_argsStandardScheme(); } } - private static class increment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class increment_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INCREMENT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.increment = new TIncrement(); - struct.increment.read(iprot); - struct.setIncrementIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // INCREMENT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.increment = new TIncrement(); + struct.increment.read(iprot); + struct.setIncrementIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, increment_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -44006,17 +46581,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, increment_args str } - private static class increment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_argsTupleScheme getScheme() { return new increment_argsTupleScheme(); } } - private static class increment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class increment_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIncrement()) { optionals.set(0); @@ -44028,34 +46604,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, increment_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.increment = new TIncrement(); - struct.increment.read(iprot); - struct.setIncrementIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.increment = new TIncrement(); + struct.increment.read(iprot); + struct.setIncrementIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class increment_result 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("increment_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class increment_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("increment_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -44069,7 +46651,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -44092,7 +46674,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -44105,23 +46687,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_result.class, metaDataMap); } public increment_result() { @@ -44143,6 +46727,7 @@ public increment_result(increment_result other) { } } + @Override public increment_result deepCopy() { return new increment_result(this); } @@ -44152,12 +46737,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public increment_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public increment_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -44177,7 +46762,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -44190,7 +46776,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -44201,6 +46788,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -44262,7 +46850,7 @@ public int compareTo(increment_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -44270,16 +46858,18 @@ public int compareTo(increment_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -44299,66 +46889,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class increment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_resultStandardScheme getScheme() { return new increment_resultStandardScheme(); } } - private static class increment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class increment_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, increment_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -44373,17 +46971,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, increment_result s } - private static class increment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_resultTupleScheme getScheme() { return new increment_resultTupleScheme(); } } - private static class increment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class increment_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -44395,37 +46994,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, increment_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class incrementRows_args 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("incrementRows_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class incrementRows_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("incrementRows_args"); - private static final org.apache.thrift.protocol.TField INCREMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("increments", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INCREMENTS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("increments", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new incrementRows_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new incrementRows_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new incrementRows_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new incrementRows_argsTupleSchemeFactory(); /** * The list of increments */ - public @org.apache.thrift.annotation.Nullable java.util.List increments; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List increments; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The list of increments */ @@ -44442,7 +47047,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INCREMENTS @@ -44465,7 +47070,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -44478,24 +47083,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INCREMENTS, new org.apache.thrift.meta_data.FieldMetaData("increments", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIncrement.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INCREMENTS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("increments", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIncrement.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(incrementRows_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(incrementRows_args.class, metaDataMap); } public incrementRows_args() { @@ -44521,6 +47128,7 @@ public incrementRows_args(incrementRows_args other) { } } + @Override public incrementRows_args deepCopy() { return new incrementRows_args(this); } @@ -44534,7 +47142,7 @@ public int getIncrementsSize() { return (this.increments == null) ? 0 : this.increments.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getIncrementsIterator() { return (this.increments == null) ? null : this.increments.iterator(); } @@ -44549,7 +47157,7 @@ public void addToIncrements(TIncrement elem) { /** * The list of increments */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getIncrements() { return this.increments; } @@ -44557,7 +47165,7 @@ public java.util.List getIncrements() { /** * The list of increments */ - public incrementRows_args setIncrements(@org.apache.thrift.annotation.Nullable java.util.List increments) { + public incrementRows_args setIncrements(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List increments) { this.increments = increments; return this; } @@ -44577,7 +47185,8 @@ public void setIncrementsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INCREMENTS: if (value == null) { @@ -44590,7 +47199,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INCREMENTS: @@ -44601,6 +47211,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -44662,7 +47273,7 @@ public int compareTo(incrementRows_args other) { return lastComparison; } if (isSetIncrements()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.increments, other.increments); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.increments, other.increments); if (lastComparison != 0) { return lastComparison; } @@ -44670,16 +47281,19 @@ public int compareTo(incrementRows_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -44699,83 +47313,91 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class incrementRows_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class incrementRows_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public incrementRows_argsStandardScheme getScheme() { return new incrementRows_argsStandardScheme(); } } - private static class incrementRows_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class incrementRows_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, incrementRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INCREMENTS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list458 = iprot.readListBegin(); - struct.increments = new java.util.ArrayList(_list458.size); - @org.apache.thrift.annotation.Nullable TIncrement _elem459; - for (int _i460 = 0; _i460 < _list458.size; ++_i460) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, incrementRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // INCREMENTS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem459 = new TIncrement(); - _elem459.read(iprot); - struct.increments.add(_elem459); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list458 = iprot.readListBegin(); + struct.increments = new java.util.ArrayList(_list458.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement _elem459; + for (int _i460 = 0; _i460 < _list458.size; ++_i460) + { + _elem459 = new TIncrement(); + _elem459.read(iprot); + struct.increments.add(_elem459); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setIncrementsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setIncrementsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, incrementRows_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, incrementRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.increments != null) { oprot.writeFieldBegin(INCREMENTS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.increments.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.increments.size())); for (TIncrement _iter461 : struct.increments) { _iter461.write(oprot); @@ -44790,17 +47412,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, incrementRows_args } - private static class incrementRows_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class incrementRows_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public incrementRows_argsTupleScheme getScheme() { return new incrementRows_argsTupleScheme(); } } - private static class incrementRows_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class incrementRows_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, incrementRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, incrementRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIncrements()) { optionals.set(0); @@ -44818,43 +47441,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, incrementRows_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, incrementRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list463 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.increments = new java.util.ArrayList(_list463.size); - @org.apache.thrift.annotation.Nullable TIncrement _elem464; - for (int _i465 = 0; _i465 < _list463.size; ++_i465) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, incrementRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _elem464 = new TIncrement(); - _elem464.read(iprot); - struct.increments.add(_elem464); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list463 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.increments = new java.util.ArrayList(_list463.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement _elem464; + for (int _i465 = 0; _i465 < _list463.size; ++_i465) + { + _elem464 = new TIncrement(); + _elem464.read(iprot); + struct.increments.add(_elem464); + } } + struct.setIncrementsIsSet(true); } - struct.setIncrementsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class incrementRows_result 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("incrementRows_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class incrementRows_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("incrementRows_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new incrementRows_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new incrementRows_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new incrementRows_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new incrementRows_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -44868,7 +47497,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -44891,7 +47520,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -44904,23 +47533,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(incrementRows_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(incrementRows_result.class, metaDataMap); } public incrementRows_result() { @@ -44942,6 +47573,7 @@ public incrementRows_result(incrementRows_result other) { } } + @Override public incrementRows_result deepCopy() { return new incrementRows_result(this); } @@ -44951,12 +47583,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public incrementRows_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public incrementRows_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -44976,7 +47608,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -44989,7 +47622,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -45000,6 +47634,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -45061,7 +47696,7 @@ public int compareTo(incrementRows_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -45069,16 +47704,18 @@ public int compareTo(incrementRows_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -45098,66 +47735,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class incrementRows_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class incrementRows_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public incrementRows_resultStandardScheme getScheme() { return new incrementRows_resultStandardScheme(); } } - private static class incrementRows_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class incrementRows_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, incrementRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, incrementRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, incrementRows_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, incrementRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -45172,17 +47817,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, incrementRows_resu } - private static class incrementRows_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class incrementRows_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public incrementRows_resultTupleScheme getScheme() { return new incrementRows_resultTupleScheme(); } } - private static class incrementRows_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class incrementRows_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, incrementRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, incrementRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -45194,41 +47840,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, incrementRows_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, incrementRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, incrementRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllRowTs_args 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("deleteAllRowTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllRowTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllRowTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRowTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRowTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRowTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRowTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * key of the row to be completely deleted. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * timestamp */ @@ -45236,10 +47888,10 @@ public static class deleteAllRowTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -45268,7 +47920,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -45297,7 +47949,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -45310,10 +47962,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -45322,21 +47976,21 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRowTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRowTs_args.class, metaDataMap); } public deleteAllRowTs_args() { @@ -45349,8 +48003,8 @@ public deleteAllRowTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.timestamp = timestamp; setTimestampIsSet(true); this.attributes = attributes; @@ -45362,10 +48016,10 @@ public deleteAllRowTs_args( public deleteAllRowTs_args(deleteAllRowTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } this.timestamp = other.timestamp; if (other.isSetAttributes()) { @@ -45375,9 +48029,9 @@ public deleteAllRowTs_args(deleteAllRowTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -45385,6 +48039,7 @@ public deleteAllRowTs_args(deleteAllRowTs_args other) { } } + @Override public deleteAllRowTs_args deepCopy() { return new deleteAllRowTs_args(this); } @@ -45402,12 +48057,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -45418,8 +48073,8 @@ public deleteAllRowTs_args setTableName(byte[] tableName) { return this; } - public deleteAllRowTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public deleteAllRowTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -45442,12 +48097,12 @@ public void setTableNameIsSet(boolean value) { * key of the row to be completely deleted. */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -45458,8 +48113,8 @@ public deleteAllRowTs_args setRow(byte[] row) { return this; } - public deleteAllRowTs_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public deleteAllRowTs_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -45495,16 +48150,16 @@ public deleteAllRowTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -45521,7 +48176,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Delete attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -45529,7 +48184,7 @@ public java.util.Map getAttributes() { /** * Delete attributes */ - public deleteAllRowTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public deleteAllRowTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -45549,7 +48204,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -45594,7 +48250,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -45614,6 +48271,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -45696,7 +48354,7 @@ public int hashCode() { if (isSetRow()) hashCode = hashCode * 8191 + row.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -45718,7 +48376,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -45728,7 +48386,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -45738,7 +48396,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -45748,7 +48406,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -45756,16 +48414,19 @@ public int compareTo(deleteAllRowTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -45778,7 +48439,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -45786,7 +48447,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -45805,15 +48466,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -45822,86 +48483,94 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllRowTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRowTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRowTs_argsStandardScheme getScheme() { return new deleteAllRowTs_argsStandardScheme(); } } - private static class deleteAllRowTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllRowTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map466 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map466.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key467; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val468; - for (int _i469 = 0; _i469 < _map466.size; ++_i469) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key467 = iprot.readBinary(); - _val468 = iprot.readBinary(); - struct.attributes.put(_key467, _val468); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map466 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map466.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key467; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val468; + for (int _i469 = 0; _i469 < _map466.size; ++_i469) + { + _key467 = iprot.readBinary(); + _val468 = iprot.readBinary(); + struct.attributes.put(_key467, _val468); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -45921,7 +48590,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_arg if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter470 : struct.attributes.entrySet()) { oprot.writeBinary(_iter470.getKey()); @@ -45937,17 +48606,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_arg } - private static class deleteAllRowTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRowTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRowTs_argsTupleScheme getScheme() { return new deleteAllRowTs_argsTupleScheme(); } } - private static class deleteAllRowTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllRowTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -45984,56 +48654,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(3)) { - { - 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; - for (int _i475 = 0; _i475 < _map472.size; ++_i475) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(3)) { { - _key473 = iprot.readBinary(); - _val474 = iprot.readBinary(); - struct.attributes.put(_key473, _val474); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map472 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map472.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key473; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val474; + for (int _i475 = 0; _i475 < _map472.size; ++_i475) + { + _key473 = iprot.readBinary(); + _val474 = iprot.readBinary(); + struct.attributes.put(_key473, _val474); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteAllRowTs_result 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("deleteAllRowTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteAllRowTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteAllRowTs_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRowTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRowTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteAllRowTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteAllRowTs_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -46047,7 +48723,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -46070,7 +48746,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -46083,23 +48759,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRowTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteAllRowTs_result.class, metaDataMap); } public deleteAllRowTs_result() { @@ -46121,6 +48799,7 @@ public deleteAllRowTs_result(deleteAllRowTs_result other) { } } + @Override public deleteAllRowTs_result deepCopy() { return new deleteAllRowTs_result(this); } @@ -46130,12 +48809,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public deleteAllRowTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public deleteAllRowTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -46155,7 +48834,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -46168,7 +48848,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -46179,6 +48860,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -46240,7 +48922,7 @@ public int compareTo(deleteAllRowTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -46248,16 +48930,18 @@ public int compareTo(deleteAllRowTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -46277,66 +48961,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteAllRowTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRowTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRowTs_resultStandardScheme getScheme() { return new deleteAllRowTs_resultStandardScheme(); } } - private static class deleteAllRowTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteAllRowTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteAllRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteAllRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -46351,17 +49043,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteAllRowTs_res } - private static class deleteAllRowTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteAllRowTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteAllRowTs_resultTupleScheme getScheme() { return new deleteAllRowTs_resultTupleScheme(); } } - private static class deleteAllRowTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteAllRowTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -46373,47 +49066,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithScan_args 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("scannerOpenWithScan_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithScan_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithScan_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField SCAN_FIELD_DESC = new org.apache.thrift.protocol.TField("scan", org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCAN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scan", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithScan_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithScan_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithScan_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithScan_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Scan instance */ - public @org.apache.thrift.annotation.Nullable TScan scan; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan scan; // required /** * Scan attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -46438,7 +49137,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -46465,7 +49164,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -46478,29 +49177,31 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.SCAN, new org.apache.thrift.meta_data.FieldMetaData("scan", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TScan.class))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.SCAN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scan", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TScan.class))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithScan_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithScan_args.class, metaDataMap); } public scannerOpenWithScan_args() { @@ -46512,7 +49213,7 @@ public scannerOpenWithScan_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); this.scan = scan; this.attributes = attributes; } @@ -46522,7 +49223,7 @@ public scannerOpenWithScan_args( */ public scannerOpenWithScan_args(scannerOpenWithScan_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetScan()) { this.scan = new TScan(other.scan); @@ -46534,9 +49235,9 @@ public scannerOpenWithScan_args(scannerOpenWithScan_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -46544,6 +49245,7 @@ public scannerOpenWithScan_args(scannerOpenWithScan_args other) { } } + @Override public scannerOpenWithScan_args deepCopy() { return new scannerOpenWithScan_args(this); } @@ -46559,12 +49261,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -46575,8 +49277,8 @@ public scannerOpenWithScan_args setTableName(byte[] tableName) { return this; } - public scannerOpenWithScan_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpenWithScan_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -46598,7 +49300,7 @@ public void setTableNameIsSet(boolean value) { /** * Scan instance */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TScan getScan() { return this.scan; } @@ -46606,7 +49308,7 @@ public TScan getScan() { /** * Scan instance */ - public scannerOpenWithScan_args setScan(@org.apache.thrift.annotation.Nullable TScan scan) { + public scannerOpenWithScan_args setScan(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan scan) { this.scan = scan; return this; } @@ -46640,7 +49342,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -46648,7 +49350,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpenWithScan_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpenWithScan_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -46668,7 +49370,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -46701,7 +49404,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -46718,6 +49422,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -46809,7 +49514,7 @@ public int compareTo(scannerOpenWithScan_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -46819,7 +49524,7 @@ public int compareTo(scannerOpenWithScan_args other) { return lastComparison; } if (isSetScan()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scan, other.scan); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scan, other.scan); if (lastComparison != 0) { return lastComparison; } @@ -46829,7 +49534,7 @@ public int compareTo(scannerOpenWithScan_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -46837,16 +49542,19 @@ public int compareTo(scannerOpenWithScan_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -46859,7 +49567,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -46882,7 +49590,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (scan != null) { @@ -46892,87 +49600,95 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithScan_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithScan_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithScan_argsStandardScheme getScheme() { return new scannerOpenWithScan_argsStandardScheme(); } } - private static class scannerOpenWithScan_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithScan_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithScan_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // SCAN - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.scan = new TScan(); - struct.scan.read(iprot); - struct.setScanIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithScan_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map476 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map476.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key477; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val478; - for (int _i479 = 0; _i479 < _map476.size; ++_i479) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // SCAN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.scan = new TScan(); + struct.scan.read(iprot); + struct.setScanIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key477 = iprot.readBinary(); - _val478 = iprot.readBinary(); - struct.attributes.put(_key477, _val478); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map476 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map476.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key477; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val478; + for (int _i479 = 0; _i479 < _map476.size; ++_i479) + { + _key477 = iprot.readBinary(); + _val478 = iprot.readBinary(); + struct.attributes.put(_key477, _val478); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithScan_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithScan_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -46989,7 +49705,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSca if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter480 : struct.attributes.entrySet()) { oprot.writeBinary(_iter480.getKey()); @@ -47005,17 +49721,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSca } - private static class scannerOpenWithScan_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithScan_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithScan_argsTupleScheme getScheme() { return new scannerOpenWithScan_argsTupleScheme(); } } - private static class scannerOpenWithScan_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithScan_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -47046,55 +49763,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.scan = new TScan(); - struct.scan.read(iprot); - struct.setScanIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TMap _map482 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map482.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key483; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val484; - for (int _i485 = 0; _i485 < _map482.size; ++_i485) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.scan = new TScan(); + struct.scan.read(iprot); + struct.setScanIsSet(true); + } + if (incoming.get(2)) { { - _key483 = iprot.readBinary(); - _val484 = iprot.readBinary(); - struct.attributes.put(_key483, _val484); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map482 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map482.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key483; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val484; + for (int _i485 = 0; _i485 < _map482.size; ++_i485) + { + _key483 = iprot.readBinary(); + _val484 = iprot.readBinary(); + struct.attributes.put(_key483, _val484); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithScan_result 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("scannerOpenWithScan_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithScan_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithScan_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithScan_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithScan_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithScan_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithScan_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -47109,7 +49832,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -47134,7 +49857,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -47147,10 +49870,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -47159,15 +49884,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithScan_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithScan_result.class, metaDataMap); } public scannerOpenWithScan_result() { @@ -47194,6 +49919,7 @@ public scannerOpenWithScan_result(scannerOpenWithScan_result other) { } } + @Override public scannerOpenWithScan_result deepCopy() { return new scannerOpenWithScan_result(this); } @@ -47216,24 +49942,24 @@ public scannerOpenWithScan_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpenWithScan_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpenWithScan_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -47253,7 +49979,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -47274,7 +50001,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -47288,6 +50016,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -47362,7 +50091,7 @@ public int compareTo(scannerOpenWithScan_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -47372,7 +50101,7 @@ public int compareTo(scannerOpenWithScan_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -47380,16 +50109,18 @@ public int compareTo(scannerOpenWithScan_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -47413,15 +50144,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -47430,59 +50161,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithScan_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithScan_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithScan_resultStandardScheme getScheme() { return new scannerOpenWithScan_resultStandardScheme(); } } - private static class scannerOpenWithScan_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithScan_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithScan_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithScan_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithScan_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithScan_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -47502,17 +50241,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSca } - private static class scannerOpenWithScan_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithScan_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithScan_resultTupleScheme getScheme() { return new scannerOpenWithScan_resultTupleScheme(); } } - private static class scannerOpenWithScan_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithScan_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -47530,59 +50270,65 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpen_args 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("scannerOpen_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpen_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpen_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpen_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpen_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpen_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpen_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Starting row in table to scan. * Send "" (empty string) to start at the first row. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required /** * columns to scan. If column name is a column family, all * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * Scan attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -47614,7 +50360,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -47643,7 +50389,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -47656,32 +50402,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpen_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpen_args.class, metaDataMap); } public scannerOpen_args() { @@ -47694,8 +50442,8 @@ public scannerOpen_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); this.columns = columns; this.attributes = attributes; } @@ -47705,15 +50453,15 @@ public scannerOpen_args( */ public scannerOpen_args(scannerOpen_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -47724,9 +50472,9 @@ public scannerOpen_args(scannerOpen_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -47734,6 +50482,7 @@ public scannerOpen_args(scannerOpen_args other) { } } + @Override public scannerOpen_args deepCopy() { return new scannerOpen_args(this); } @@ -47750,12 +50499,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -47766,8 +50515,8 @@ public scannerOpen_args setTableName(byte[] tableName) { return this; } - public scannerOpen_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpen_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -47791,12 +50540,12 @@ public void setTableNameIsSet(boolean value) { * Send "" (empty string) to start at the first row. */ public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } /** @@ -47808,8 +50557,8 @@ public scannerOpen_args setStartRow(byte[] startRow) { return this; } - public scannerOpen_args setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public scannerOpen_args setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -47832,7 +50581,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -47849,7 +50598,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -47859,7 +50608,7 @@ public java.util.List getColumns() { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public scannerOpen_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public scannerOpen_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -47893,7 +50642,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -47901,7 +50650,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpen_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpen_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -47921,7 +50670,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -47966,7 +50716,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -47986,6 +50737,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -48092,7 +50844,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -48102,7 +50854,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -48112,7 +50864,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -48122,7 +50874,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -48130,16 +50882,19 @@ public int compareTo(scannerOpen_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -48152,7 +50907,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -48160,7 +50915,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); @@ -48168,7 +50923,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -48183,111 +50938,119 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpen_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpen_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpen_argsStandardScheme getScheme() { return new scannerOpen_argsStandardScheme(); } } - private static class scannerOpen_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpen_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpen_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpen_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list486 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list486.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem487; - for (int _i488 = 0; _i488 < _list486.size; ++_i488) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem487 = iprot.readBinary(); - struct.columns.add(_elem487); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list486 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list486.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem487; + for (int _i488 = 0; _i488 < _list486.size; ++_i488) + { + _elem487 = iprot.readBinary(); + struct.columns.add(_elem487); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map489 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map489.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key490; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val491; - for (int _i492 = 0; _i492 < _map489.size; ++_i492) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key490 = iprot.readBinary(); - _val491 = iprot.readBinary(); - struct.attributes.put(_key490, _val491); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map489 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map489.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key490; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val491; + for (int _i492 = 0; _i492 < _map489.size; ++_i492) + { + _key490 = iprot.readBinary(); + _val491 = iprot.readBinary(); + struct.attributes.put(_key490, _val491); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpen_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48304,7 +51067,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_args s if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter493 : struct.columns) { oprot.writeBinary(_iter493); @@ -48316,7 +51079,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_args s if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter494 : struct.attributes.entrySet()) { oprot.writeBinary(_iter494.getKey()); @@ -48332,17 +51095,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_args s } - private static class scannerOpen_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpen_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpen_argsTupleScheme getScheme() { return new scannerOpen_argsTupleScheme(); } } - private static class scannerOpen_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpen_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpen_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpen_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -48385,67 +51149,73 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpen_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpen_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list497 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list497.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpen_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(2)) { { - _elem498 = iprot.readBinary(); - struct.columns.add(_elem498); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list497 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list497.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) + { + _elem498 = iprot.readBinary(); + struct.columns.add(_elem498); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map500 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map500.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key501; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val502; - for (int _i503 = 0; _i503 < _map500.size; ++_i503) + if (incoming.get(3)) { { - _key501 = iprot.readBinary(); - _val502 = iprot.readBinary(); - struct.attributes.put(_key501, _val502); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map500 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map500.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key501; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val502; + for (int _i503 = 0; _i503 < _map500.size; ++_i503) + { + _key501 = iprot.readBinary(); + _val502 = iprot.readBinary(); + struct.attributes.put(_key501, _val502); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpen_result 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("scannerOpen_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpen_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpen_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpen_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpen_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpen_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpen_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -48460,7 +51230,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -48485,7 +51255,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -48498,10 +51268,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -48510,15 +51282,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpen_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpen_result.class, metaDataMap); } public scannerOpen_result() { @@ -48545,6 +51317,7 @@ public scannerOpen_result(scannerOpen_result other) { } } + @Override public scannerOpen_result deepCopy() { return new scannerOpen_result(this); } @@ -48567,24 +51340,24 @@ public scannerOpen_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpen_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpen_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -48604,7 +51377,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -48625,7 +51399,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -48639,6 +51414,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -48713,7 +51489,7 @@ public int compareTo(scannerOpen_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -48723,7 +51499,7 @@ public int compareTo(scannerOpen_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -48731,16 +51507,18 @@ public int compareTo(scannerOpen_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -48764,15 +51542,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -48781,59 +51559,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpen_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpen_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpen_resultStandardScheme getScheme() { return new scannerOpen_resultStandardScheme(); } } - private static class scannerOpen_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpen_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpen_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpen_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpen_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48853,17 +51639,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpen_result } - private static class scannerOpen_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpen_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpen_resultTupleScheme getScheme() { return new scannerOpen_resultTupleScheme(); } } - private static class scannerOpen_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpen_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpen_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpen_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -48881,65 +51668,71 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpen_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpen_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpen_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithStop_args 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("scannerOpenWithStop_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithStop_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithStop_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("stopRow", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStop_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStop_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStop_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStop_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Starting row in table to scan. * Send "" (empty string) to start at the first row. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required /** * row to stop scanning on. This row is *not* included in the * scanner's results */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // required /** * columns to scan. If column name is a column family, all * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * Scan attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -48976,7 +51769,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -49007,7 +51800,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -49020,34 +51813,36 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.STOP_ROW, new org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.STOP_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStop_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStop_args.class, metaDataMap); } public scannerOpenWithStop_args() { @@ -49061,9 +51856,9 @@ public scannerOpenWithStop_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); this.columns = columns; this.attributes = attributes; } @@ -49073,18 +51868,18 @@ public scannerOpenWithStop_args( */ public scannerOpenWithStop_args(scannerOpenWithStop_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetStopRow()) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -49095,9 +51890,9 @@ public scannerOpenWithStop_args(scannerOpenWithStop_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -49105,6 +51900,7 @@ public scannerOpenWithStop_args(scannerOpenWithStop_args other) { } } + @Override public scannerOpenWithStop_args deepCopy() { return new scannerOpenWithStop_args(this); } @@ -49122,12 +51918,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -49138,8 +51934,8 @@ public scannerOpenWithStop_args setTableName(byte[] tableName) { return this; } - public scannerOpenWithStop_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpenWithStop_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -49163,12 +51959,12 @@ public void setTableNameIsSet(boolean value) { * Send "" (empty string) to start at the first row. */ public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } /** @@ -49180,8 +51976,8 @@ public scannerOpenWithStop_args setStartRow(byte[] startRow) { return this; } - public scannerOpenWithStop_args setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public scannerOpenWithStop_args setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -49205,12 +52001,12 @@ public void setStartRowIsSet(boolean value) { * scanner's results */ public byte[] getStopRow() { - setStopRow(org.apache.thrift.TBaseHelper.rightSize(stopRow)); + setStopRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(stopRow)); return stopRow == null ? null : stopRow.array(); } public java.nio.ByteBuffer bufferForStopRow() { - return org.apache.thrift.TBaseHelper.copyBinary(stopRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); } /** @@ -49222,8 +52018,8 @@ public scannerOpenWithStop_args setStopRow(byte[] stopRow) { return this; } - public scannerOpenWithStop_args setStopRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + public scannerOpenWithStop_args setStopRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); return this; } @@ -49246,7 +52042,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -49263,7 +52059,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -49273,7 +52069,7 @@ public java.util.List getColumns() { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public scannerOpenWithStop_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public scannerOpenWithStop_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -49307,7 +52103,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -49315,7 +52111,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpenWithStop_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpenWithStop_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -49335,7 +52131,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -49392,7 +52189,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -49415,6 +52213,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -49536,7 +52335,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -49546,7 +52345,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -49556,7 +52355,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } if (isSetStopRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); if (lastComparison != 0) { return lastComparison; } @@ -49566,7 +52365,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -49576,7 +52375,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -49584,16 +52383,19 @@ public int compareTo(scannerOpenWithStop_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -49606,7 +52408,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -49614,7 +52416,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); @@ -49622,7 +52424,7 @@ public java.lang.String toString() { if (this.stopRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); } first = false; if (!first) sb.append(", "); @@ -49630,7 +52432,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -49645,119 +52447,127 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithStop_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStop_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStop_argsStandardScheme getScheme() { return new scannerOpenWithStop_argsStandardScheme(); } } - private static class scannerOpenWithStop_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithStop_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStop_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // STOP_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStop_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list504 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list504.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem505; - for (int _i506 = 0; _i506 < _list504.size; ++_i506) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // STOP_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem505 = iprot.readBinary(); - struct.columns.add(_elem505); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list504 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list504.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem505; + for (int _i506 = 0; _i506 < _list504.size; ++_i506) + { + _elem505 = iprot.readBinary(); + struct.columns.add(_elem505); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map507 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map507.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key508; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val509; - for (int _i510 = 0; _i510 < _map507.size; ++_i510) + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key508 = iprot.readBinary(); - _val509 = iprot.readBinary(); - struct.attributes.put(_key508, _val509); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map507 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map507.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key508; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val509; + for (int _i510 = 0; _i510 < _map507.size; ++_i510) + { + _key508 = iprot.readBinary(); + _val509 = iprot.readBinary(); + struct.attributes.put(_key508, _val509); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStop_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStop_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -49779,7 +52589,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter511 : struct.columns) { oprot.writeBinary(_iter511); @@ -49791,7 +52601,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter512 : struct.attributes.entrySet()) { oprot.writeBinary(_iter512.getKey()); @@ -49807,17 +52617,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto } - private static class scannerOpenWithStop_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStop_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStop_argsTupleScheme getScheme() { return new scannerOpenWithStop_argsTupleScheme(); } } - private static class scannerOpenWithStop_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithStop_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -49866,71 +52677,77 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(2)) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TList _list515 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list515.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem516; - for (int _i517 = 0; _i517 < _list515.size; ++_i517) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(2)) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } + if (incoming.get(3)) { { - _elem516 = iprot.readBinary(); - struct.columns.add(_elem516); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list515 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list515.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem516; + for (int _i517 = 0; _i517 < _list515.size; ++_i517) + { + _elem516 = iprot.readBinary(); + struct.columns.add(_elem516); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map518 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map518.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key519; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val520; - for (int _i521 = 0; _i521 < _map518.size; ++_i521) + if (incoming.get(4)) { { - _key519 = iprot.readBinary(); - _val520 = iprot.readBinary(); - struct.attributes.put(_key519, _val520); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map518 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map518.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key519; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val520; + for (int _i521 = 0; _i521 < _map518.size; ++_i521) + { + _key519 = iprot.readBinary(); + _val520 = iprot.readBinary(); + struct.attributes.put(_key519, _val520); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithStop_result 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("scannerOpenWithStop_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithStop_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithStop_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStop_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStop_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStop_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStop_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -49945,7 +52762,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -49970,7 +52787,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -49983,10 +52800,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -49995,15 +52814,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStop_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStop_result.class, metaDataMap); } public scannerOpenWithStop_result() { @@ -50030,6 +52849,7 @@ public scannerOpenWithStop_result(scannerOpenWithStop_result other) { } } + @Override public scannerOpenWithStop_result deepCopy() { return new scannerOpenWithStop_result(this); } @@ -50052,24 +52872,24 @@ public scannerOpenWithStop_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpenWithStop_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpenWithStop_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -50089,7 +52909,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -50110,7 +52931,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -50124,6 +52946,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -50198,7 +53021,7 @@ public int compareTo(scannerOpenWithStop_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -50208,7 +53031,7 @@ public int compareTo(scannerOpenWithStop_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -50216,16 +53039,18 @@ public int compareTo(scannerOpenWithStop_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -50249,15 +53074,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -50266,59 +53091,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithStop_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStop_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStop_resultStandardScheme getScheme() { return new scannerOpenWithStop_resultStandardScheme(); } } - private static class scannerOpenWithStop_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithStop_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStop_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStop_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStop_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStop_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -50338,17 +53171,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto } - private static class scannerOpenWithStop_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStop_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStop_resultTupleScheme getScheme() { return new scannerOpenWithStop_resultTupleScheme(); } } - private static class scannerOpenWithStop_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithStop_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -50366,56 +53200,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithPrefix_args 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("scannerOpenWithPrefix_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithPrefix_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithPrefix_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField START_AND_PREFIX_FIELD_DESC = new org.apache.thrift.protocol.TField("startAndPrefix", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_AND_PREFIX_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startAndPrefix", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithPrefix_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithPrefix_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithPrefix_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithPrefix_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * the prefix (and thus start row) of the keys you want */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startAndPrefix; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startAndPrefix; // required /** * the columns you want returned */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * Scan attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -50444,7 +53284,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -50473,7 +53313,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -50486,32 +53326,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.START_AND_PREFIX, new org.apache.thrift.meta_data.FieldMetaData("startAndPrefix", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_AND_PREFIX, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startAndPrefix", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithPrefix_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithPrefix_args.class, metaDataMap); } public scannerOpenWithPrefix_args() { @@ -50524,8 +53366,8 @@ public scannerOpenWithPrefix_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.startAndPrefix = org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.startAndPrefix = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); this.columns = columns; this.attributes = attributes; } @@ -50535,15 +53377,15 @@ public scannerOpenWithPrefix_args( */ public scannerOpenWithPrefix_args(scannerOpenWithPrefix_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartAndPrefix()) { - this.startAndPrefix = org.apache.thrift.TBaseHelper.copyBinary(other.startAndPrefix); + this.startAndPrefix = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startAndPrefix); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -50554,9 +53396,9 @@ public scannerOpenWithPrefix_args(scannerOpenWithPrefix_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -50564,6 +53406,7 @@ public scannerOpenWithPrefix_args(scannerOpenWithPrefix_args other) { } } + @Override public scannerOpenWithPrefix_args deepCopy() { return new scannerOpenWithPrefix_args(this); } @@ -50580,12 +53423,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -50596,8 +53439,8 @@ public scannerOpenWithPrefix_args setTableName(byte[] tableName) { return this; } - public scannerOpenWithPrefix_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpenWithPrefix_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -50620,12 +53463,12 @@ public void setTableNameIsSet(boolean value) { * the prefix (and thus start row) of the keys you want */ public byte[] getStartAndPrefix() { - setStartAndPrefix(org.apache.thrift.TBaseHelper.rightSize(startAndPrefix)); + setStartAndPrefix(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startAndPrefix)); return startAndPrefix == null ? null : startAndPrefix.array(); } public java.nio.ByteBuffer bufferForStartAndPrefix() { - return org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); } /** @@ -50636,8 +53479,8 @@ public scannerOpenWithPrefix_args setStartAndPrefix(byte[] startAndPrefix) { return this; } - public scannerOpenWithPrefix_args setStartAndPrefix(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startAndPrefix) { - this.startAndPrefix = org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); + public scannerOpenWithPrefix_args setStartAndPrefix(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startAndPrefix) { + this.startAndPrefix = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startAndPrefix); return this; } @@ -50660,7 +53503,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -50675,7 +53518,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { /** * the columns you want returned */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -50683,7 +53526,7 @@ public java.util.List getColumns() { /** * the columns you want returned */ - public scannerOpenWithPrefix_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public scannerOpenWithPrefix_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -50717,7 +53560,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -50725,7 +53568,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpenWithPrefix_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpenWithPrefix_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -50745,7 +53588,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -50790,7 +53634,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -50810,6 +53655,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -50916,7 +53762,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -50926,7 +53772,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } if (isSetStartAndPrefix()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startAndPrefix, other.startAndPrefix); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startAndPrefix, other.startAndPrefix); if (lastComparison != 0) { return lastComparison; } @@ -50936,7 +53782,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -50946,7 +53792,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -50954,16 +53800,19 @@ public int compareTo(scannerOpenWithPrefix_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -50976,7 +53825,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -50984,7 +53833,7 @@ public java.lang.String toString() { if (this.startAndPrefix == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startAndPrefix, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startAndPrefix, sb); } first = false; if (!first) sb.append(", "); @@ -50992,7 +53841,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -51007,111 +53856,119 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithPrefix_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithPrefix_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithPrefix_argsStandardScheme getScheme() { return new scannerOpenWithPrefix_argsStandardScheme(); } } - private static class scannerOpenWithPrefix_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithPrefix_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithPrefix_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_AND_PREFIX - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startAndPrefix = iprot.readBinary(); - struct.setStartAndPrefixIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithPrefix_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list522 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list522.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem523; - for (int _i524 = 0; _i524 < _list522.size; ++_i524) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // START_AND_PREFIX + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startAndPrefix = iprot.readBinary(); + struct.setStartAndPrefixIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem523 = iprot.readBinary(); - struct.columns.add(_elem523); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list522 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list522.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem523; + for (int _i524 = 0; _i524 < _list522.size; ++_i524) + { + _elem523 = iprot.readBinary(); + struct.columns.add(_elem523); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map525 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map525.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key526; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val527; - for (int _i528 = 0; _i528 < _map525.size; ++_i528) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key526 = iprot.readBinary(); - _val527 = iprot.readBinary(); - struct.attributes.put(_key526, _val527); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map525 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map525.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key526; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val527; + for (int _i528 = 0; _i528 < _map525.size; ++_i528) + { + _key526 = iprot.readBinary(); + _val527 = iprot.readBinary(); + struct.attributes.put(_key526, _val527); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPrefix_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPrefix_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -51128,7 +53985,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPre if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter529 : struct.columns) { oprot.writeBinary(_iter529); @@ -51140,7 +53997,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPre if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter530 : struct.attributes.entrySet()) { oprot.writeBinary(_iter530.getKey()); @@ -51156,17 +54013,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPre } - private static class scannerOpenWithPrefix_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithPrefix_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithPrefix_argsTupleScheme getScheme() { return new scannerOpenWithPrefix_argsTupleScheme(); } } - private static class scannerOpenWithPrefix_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithPrefix_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -51209,67 +54067,73 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPref } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.startAndPrefix = iprot.readBinary(); - struct.setStartAndPrefixIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list533 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list533.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem534; - for (int _i535 = 0; _i535 < _list533.size; ++_i535) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.startAndPrefix = iprot.readBinary(); + struct.setStartAndPrefixIsSet(true); + } + if (incoming.get(2)) { { - _elem534 = iprot.readBinary(); - struct.columns.add(_elem534); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list533 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list533.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem534; + for (int _i535 = 0; _i535 < _list533.size; ++_i535) + { + _elem534 = iprot.readBinary(); + struct.columns.add(_elem534); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TMap _map536 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map536.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key537; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val538; - for (int _i539 = 0; _i539 < _map536.size; ++_i539) + if (incoming.get(3)) { { - _key537 = iprot.readBinary(); - _val538 = iprot.readBinary(); - struct.attributes.put(_key537, _val538); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map536 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map536.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key537; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val538; + for (int _i539 = 0; _i539 < _map536.size; ++_i539) + { + _key537 = iprot.readBinary(); + _val538 = iprot.readBinary(); + struct.attributes.put(_key537, _val538); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithPrefix_result 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("scannerOpenWithPrefix_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithPrefix_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithPrefix_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithPrefix_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithPrefix_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithPrefix_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithPrefix_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -51284,7 +54148,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -51309,7 +54173,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -51322,10 +54186,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -51334,15 +54200,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithPrefix_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithPrefix_result.class, metaDataMap); } public scannerOpenWithPrefix_result() { @@ -51369,6 +54235,7 @@ public scannerOpenWithPrefix_result(scannerOpenWithPrefix_result other) { } } + @Override public scannerOpenWithPrefix_result deepCopy() { return new scannerOpenWithPrefix_result(this); } @@ -51391,24 +54258,24 @@ public scannerOpenWithPrefix_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpenWithPrefix_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpenWithPrefix_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -51428,7 +54295,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -51449,7 +54317,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -51463,6 +54332,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -51537,7 +54407,7 @@ public int compareTo(scannerOpenWithPrefix_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -51547,7 +54417,7 @@ public int compareTo(scannerOpenWithPrefix_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -51555,16 +54425,18 @@ public int compareTo(scannerOpenWithPrefix_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -51588,15 +54460,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -51605,59 +54477,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithPrefix_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithPrefix_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithPrefix_resultStandardScheme getScheme() { return new scannerOpenWithPrefix_resultStandardScheme(); } } - private static class scannerOpenWithPrefix_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithPrefix_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithPrefix_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithPrefix_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPrefix_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPrefix_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -51677,17 +54557,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithPre } - private static class scannerOpenWithPrefix_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithPrefix_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithPrefix_resultTupleScheme getScheme() { return new scannerOpenWithPrefix_resultTupleScheme(); } } - private static class scannerOpenWithPrefix_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithPrefix_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -51705,53 +54586,59 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPref } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefix_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenTs_args 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("scannerOpenTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Starting row in table to scan. * Send "" (empty string) to start at the first row. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required /** * columns to scan. If column name is a column family, all * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * timestamp */ @@ -51759,10 +54646,10 @@ public static class scannerOpenTs_args implements org.apache.thrift.TBase attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -51798,7 +54685,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -51829,7 +54716,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -51842,10 +54729,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -51854,24 +54743,24 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenTs_args.class, metaDataMap); } public scannerOpenTs_args() { @@ -51885,8 +54774,8 @@ public scannerOpenTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); this.columns = columns; this.timestamp = timestamp; setTimestampIsSet(true); @@ -51899,15 +54788,15 @@ public scannerOpenTs_args( public scannerOpenTs_args(scannerOpenTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -51919,9 +54808,9 @@ public scannerOpenTs_args(scannerOpenTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -51929,6 +54818,7 @@ public scannerOpenTs_args(scannerOpenTs_args other) { } } + @Override public scannerOpenTs_args deepCopy() { return new scannerOpenTs_args(this); } @@ -51947,12 +54837,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -51963,8 +54853,8 @@ public scannerOpenTs_args setTableName(byte[] tableName) { return this; } - public scannerOpenTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpenTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -51988,12 +54878,12 @@ public void setTableNameIsSet(boolean value) { * Send "" (empty string) to start at the first row. */ public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } /** @@ -52005,8 +54895,8 @@ public scannerOpenTs_args setStartRow(byte[] startRow) { return this; } - public scannerOpenTs_args setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public scannerOpenTs_args setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -52029,7 +54919,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -52046,7 +54936,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -52056,7 +54946,7 @@ public java.util.List getColumns() { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public scannerOpenTs_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public scannerOpenTs_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -52093,16 +54983,16 @@ public scannerOpenTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -52119,7 +55009,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -52127,7 +55017,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpenTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpenTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -52147,7 +55037,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -52200,7 +55091,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -52223,6 +55115,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -52320,7 +55213,7 @@ public int hashCode() { if (isSetColumns()) hashCode = hashCode * 8191 + columns.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -52342,7 +55235,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -52352,7 +55245,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -52362,7 +55255,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -52372,7 +55265,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -52382,7 +55275,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -52390,16 +55283,19 @@ public int compareTo(scannerOpenTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -52412,7 +55308,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -52420,7 +55316,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); @@ -52428,7 +55324,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -52447,15 +55343,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -52464,104 +55360,112 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenTs_argsStandardScheme getScheme() { return new scannerOpenTs_argsStandardScheme(); } } - private static class scannerOpenTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list540.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem541; - for (int _i542 = 0; _i542 < _list540.size; ++_i542) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem541 = iprot.readBinary(); - struct.columns.add(_elem541); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list540.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) + { + _elem541 = iprot.readBinary(); + struct.columns.add(_elem541); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map543 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map543.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key544; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val545; - for (int _i546 = 0; _i546 < _map543.size; ++_i546) + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key544 = iprot.readBinary(); - _val545 = iprot.readBinary(); - struct.attributes.put(_key544, _val545); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map543 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map543.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key544; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val545; + for (int _i546 = 0; _i546 < _map543.size; ++_i546) + { + _key544 = iprot.readBinary(); + _val545 = iprot.readBinary(); + struct.attributes.put(_key544, _val545); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -52578,7 +55482,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_args if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter547 : struct.columns) { oprot.writeBinary(_iter547); @@ -52593,7 +55497,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_args if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter548 : struct.attributes.entrySet()) { oprot.writeBinary(_iter548.getKey()); @@ -52609,17 +55513,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_args } - private static class scannerOpenTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenTs_argsTupleScheme getScheme() { return new scannerOpenTs_argsTupleScheme(); } } - private static class scannerOpenTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -52668,71 +55573,77 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list551 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list551.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem552; - for (int _i553 = 0; _i553 < _list551.size; ++_i553) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(2)) { { - _elem552 = iprot.readBinary(); - struct.columns.add(_elem552); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list551 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list551.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem552; + for (int _i553 = 0; _i553 < _list551.size; ++_i553) + { + _elem552 = iprot.readBinary(); + struct.columns.add(_elem552); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TMap _map554 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map554.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key555; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val556; - for (int _i557 = 0; _i557 < _map554.size; ++_i557) + if (incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(4)) { { - _key555 = iprot.readBinary(); - _val556 = iprot.readBinary(); - struct.attributes.put(_key555, _val556); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map554 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map554.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key555; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val556; + for (int _i557 = 0; _i557 < _map554.size; ++_i557) + { + _key555 = iprot.readBinary(); + _val556 = iprot.readBinary(); + struct.attributes.put(_key555, _val556); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenTs_result 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("scannerOpenTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenTs_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -52747,7 +55658,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -52772,7 +55683,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -52785,10 +55696,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -52797,15 +55710,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenTs_result.class, metaDataMap); } public scannerOpenTs_result() { @@ -52832,6 +55745,7 @@ public scannerOpenTs_result(scannerOpenTs_result other) { } } + @Override public scannerOpenTs_result deepCopy() { return new scannerOpenTs_result(this); } @@ -52854,24 +55768,24 @@ public scannerOpenTs_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpenTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpenTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -52891,7 +55805,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -52912,7 +55827,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -52926,6 +55842,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -53000,7 +55917,7 @@ public int compareTo(scannerOpenTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -53010,7 +55927,7 @@ public int compareTo(scannerOpenTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -53018,16 +55935,18 @@ public int compareTo(scannerOpenTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -53051,15 +55970,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -53068,59 +55987,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenTs_resultStandardScheme getScheme() { return new scannerOpenTs_resultStandardScheme(); } } - private static class scannerOpenTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -53140,17 +56067,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenTs_resu } - private static class scannerOpenTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenTs_resultTupleScheme getScheme() { return new scannerOpenTs_resultTupleScheme(); } } - private static class scannerOpenTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -53168,59 +56096,65 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithStopTs_args 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("scannerOpenWithStopTs_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithStopTs_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithStopTs_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("stopRow", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)4); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)5); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStopTs_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStopTs_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStopTs_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStopTs_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * Starting row in table to scan. * Send "" (empty string) to start at the first row. */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // required /** * row to stop scanning on. This row is *not* included in the * scanner's results */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // required /** * columns to scan. If column name is a column family, all * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required /** * timestamp */ @@ -53228,10 +56162,10 @@ public static class scannerOpenWithStopTs_args implements org.apache.thrift.TBas /** * Scan attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -53272,7 +56206,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -53305,7 +56239,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -53318,10 +56252,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -53330,26 +56266,26 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.STOP_ROW, new org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.STOP_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStopTs_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStopTs_args.class, metaDataMap); } public scannerOpenWithStopTs_args() { @@ -53364,9 +56300,9 @@ public scannerOpenWithStopTs_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); this.columns = columns; this.timestamp = timestamp; setTimestampIsSet(true); @@ -53379,18 +56315,18 @@ public scannerOpenWithStopTs_args( public scannerOpenWithStopTs_args(scannerOpenWithStopTs_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetStopRow()) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } @@ -53402,9 +56338,9 @@ public scannerOpenWithStopTs_args(scannerOpenWithStopTs_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -53412,6 +56348,7 @@ public scannerOpenWithStopTs_args(scannerOpenWithStopTs_args other) { } } + @Override public scannerOpenWithStopTs_args deepCopy() { return new scannerOpenWithStopTs_args(this); } @@ -53431,12 +56368,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -53447,8 +56384,8 @@ public scannerOpenWithStopTs_args setTableName(byte[] tableName) { return this; } - public scannerOpenWithStopTs_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public scannerOpenWithStopTs_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -53472,12 +56409,12 @@ public void setTableNameIsSet(boolean value) { * Send "" (empty string) to start at the first row. */ public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } /** @@ -53489,8 +56426,8 @@ public scannerOpenWithStopTs_args setStartRow(byte[] startRow) { return this; } - public scannerOpenWithStopTs_args setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public scannerOpenWithStopTs_args setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -53514,12 +56451,12 @@ public void setStartRowIsSet(boolean value) { * scanner's results */ public byte[] getStopRow() { - setStopRow(org.apache.thrift.TBaseHelper.rightSize(stopRow)); + setStopRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(stopRow)); return stopRow == null ? null : stopRow.array(); } public java.nio.ByteBuffer bufferForStopRow() { - return org.apache.thrift.TBaseHelper.copyBinary(stopRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); } /** @@ -53531,8 +56468,8 @@ public scannerOpenWithStopTs_args setStopRow(byte[] stopRow) { return this; } - public scannerOpenWithStopTs_args setStopRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + public scannerOpenWithStopTs_args setStopRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); return this; } @@ -53555,7 +56492,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -53572,7 +56509,7 @@ public void addToColumns(java.nio.ByteBuffer elem) { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } @@ -53582,7 +56519,7 @@ public java.util.List getColumns() { * columns of the specified column family are returned. It's also possible * to pass a regex in the column qualifier. */ - public scannerOpenWithStopTs_args setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public scannerOpenWithStopTs_args setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -53619,16 +56556,16 @@ public scannerOpenWithStopTs_args setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -53645,7 +56582,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Scan attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -53653,7 +56590,7 @@ public java.util.Map getAttributes() { /** * Scan attributes */ - public scannerOpenWithStopTs_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public scannerOpenWithStopTs_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -53673,7 +56610,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -53738,7 +56676,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -53764,6 +56703,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -53876,7 +56816,7 @@ public int hashCode() { if (isSetColumns()) hashCode = hashCode * 8191 + columns.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -53898,7 +56838,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -53908,7 +56848,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -53918,7 +56858,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetStopRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); if (lastComparison != 0) { return lastComparison; } @@ -53928,7 +56868,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -53938,7 +56878,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -53948,7 +56888,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -53956,16 +56896,19 @@ public int compareTo(scannerOpenWithStopTs_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -53978,7 +56921,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -53986,7 +56929,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); @@ -53994,7 +56937,7 @@ public java.lang.String toString() { if (this.stopRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); } first = false; if (!first) sb.append(", "); @@ -54002,7 +56945,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -54021,15 +56964,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -54038,112 +56981,120 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithStopTs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStopTs_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStopTs_argsStandardScheme getScheme() { return new scannerOpenWithStopTs_argsStandardScheme(); } } - private static class scannerOpenWithStopTs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithStopTs_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStopTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // STOP_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStopTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list558.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem559; - for (int _i560 = 0; _i560 < _list558.size; ++_i560) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // STOP_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem559 = iprot.readBinary(); - struct.columns.add(_elem559); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list558.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem559; + for (int _i560 = 0; _i560 < _list558.size; ++_i560) + { + _elem559 = iprot.readBinary(); + struct.columns.add(_elem559); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map561 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map561.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key562; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val563; - for (int _i564 = 0; _i564 < _map561.size; ++_i564) + break; + case 5: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key562 = iprot.readBinary(); - _val563 = iprot.readBinary(); - struct.attributes.put(_key562, _val563); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map561 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map561.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key562; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val563; + for (int _i564 = 0; _i564 < _map561.size; ++_i564) + { + _key562 = iprot.readBinary(); + _val563 = iprot.readBinary(); + struct.attributes.put(_key562, _val563); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStopTs_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStopTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -54165,7 +57116,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter565 : struct.columns) { oprot.writeBinary(_iter565); @@ -54180,7 +57131,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter566 : struct.attributes.entrySet()) { oprot.writeBinary(_iter566.getKey()); @@ -54196,17 +57147,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto } - private static class scannerOpenWithStopTs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStopTs_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStopTs_argsTupleScheme getScheme() { return new scannerOpenWithStopTs_argsTupleScheme(); } } - private static class scannerOpenWithStopTs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithStopTs_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -54261,75 +57213,81 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(6); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(2)) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } - if (incoming.get(3)) { - { - org.apache.thrift.protocol.TList _list569 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.columns = new java.util.ArrayList(_list569.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem570; - for (int _i571 = 0; _i571 < _list569.size; ++_i571) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(6); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(2)) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } + if (incoming.get(3)) { { - _elem570 = iprot.readBinary(); - struct.columns.add(_elem570); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list569 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list569.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem570; + for (int _i571 = 0; _i571 < _list569.size; ++_i571) + { + _elem570 = iprot.readBinary(); + struct.columns.add(_elem570); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(4)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(5)) { - { - org.apache.thrift.protocol.TMap _map572 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map572.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key573; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val574; - for (int _i575 = 0; _i575 < _map572.size; ++_i575) + if (incoming.get(4)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(5)) { { - _key573 = iprot.readBinary(); - _val574 = iprot.readBinary(); - struct.attributes.put(_key573, _val574); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map572 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map572.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key573; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val574; + for (int _i575 = 0; _i575 < _map572.size; ++_i575) + { + _key573 = iprot.readBinary(); + _val574 = iprot.readBinary(); + struct.attributes.put(_key573, _val574); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerOpenWithStopTs_result 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("scannerOpenWithStopTs_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerOpenWithStopTs_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerOpenWithStopTs_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStopTs_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStopTs_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerOpenWithStopTs_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerOpenWithStopTs_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -54344,7 +57302,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -54369,7 +57327,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -54382,10 +57340,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -54394,15 +57354,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStopTs_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerOpenWithStopTs_result.class, metaDataMap); } public scannerOpenWithStopTs_result() { @@ -54429,6 +57389,7 @@ public scannerOpenWithStopTs_result(scannerOpenWithStopTs_result other) { } } + @Override public scannerOpenWithStopTs_result deepCopy() { return new scannerOpenWithStopTs_result(this); } @@ -54451,24 +57412,24 @@ public scannerOpenWithStopTs_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerOpenWithStopTs_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerOpenWithStopTs_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -54488,7 +57449,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -54509,7 +57471,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -54523,6 +57486,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -54597,7 +57561,7 @@ public int compareTo(scannerOpenWithStopTs_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -54607,7 +57571,7 @@ public int compareTo(scannerOpenWithStopTs_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -54615,16 +57579,18 @@ public int compareTo(scannerOpenWithStopTs_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -54648,15 +57614,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -54665,59 +57631,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerOpenWithStopTs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStopTs_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStopTs_resultStandardScheme getScheme() { return new scannerOpenWithStopTs_resultStandardScheme(); } } - private static class scannerOpenWithStopTs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerOpenWithStopTs_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStopTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerOpenWithStopTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStopTs_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithStopTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -54737,17 +57711,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerOpenWithSto } - private static class scannerOpenWithStopTs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerOpenWithStopTs_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerOpenWithStopTs_resultTupleScheme getScheme() { return new scannerOpenWithStopTs_resultTupleScheme(); } } - private static class scannerOpenWithStopTs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerOpenWithStopTs_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -54765,33 +57740,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopTs_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerGet_args 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("scannerGet_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerGet_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerGet_args"); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I32, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("id", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGet_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGet_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGet_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGet_argsTupleSchemeFactory(); /** * id of a scanner returned by scannerOpen @@ -54799,7 +57780,7 @@ public static class scannerGet_args implements org.apache.thrift.TBase metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("id", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGet_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGet_args.class, metaDataMap); } public scannerGet_args() { @@ -54892,6 +57875,7 @@ public scannerGet_args(scannerGet_args other) { this.id = other.id; } + @Override public scannerGet_args deepCopy() { return new scannerGet_args(this); } @@ -54919,19 +57903,20 @@ public scannerGet_args setId(int id) { } public void unsetId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); } /** Returns true if field id is set (has been assigned a value) and false otherwise */ public boolean isSetId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); } public void setIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ID: if (value == null) { @@ -54944,7 +57929,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ID: @@ -54955,6 +57941,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -55014,7 +58001,7 @@ public int compareTo(scannerGet_args other) { return lastComparison; } if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } @@ -55022,16 +58009,19 @@ public int compareTo(scannerGet_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -55047,15 +58037,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -55064,50 +58054,58 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerGet_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGet_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGet_argsStandardScheme getScheme() { return new scannerGet_argsStandardScheme(); } } - private static class scannerGet_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerGet_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerGet_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerGet_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGet_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerGet_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -55120,17 +58118,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGet_args st } - private static class scannerGet_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGet_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGet_argsTupleScheme getScheme() { return new scannerGet_argsTupleScheme(); } } - private static class scannerGet_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerGet_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerGet_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGet_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetId()) { optionals.set(0); @@ -55142,37 +58141,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerGet_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerGet_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGet_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerGet_result 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("scannerGet_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerGet_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerGet_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGet_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGet_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGet_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGet_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"), IA((short)2, "ia"); @@ -55188,7 +58193,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -55215,7 +58220,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -55228,28 +58233,30 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGet_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGet_result.class, metaDataMap); } public scannerGet_result() { @@ -55285,6 +58292,7 @@ public scannerGet_result(scannerGet_result other) { } } + @Override public scannerGet_result deepCopy() { return new scannerGet_result(this); } @@ -55300,7 +58308,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -55312,12 +58320,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public scannerGet_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public scannerGet_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -55337,12 +58345,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerGet_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerGet_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -55362,12 +58370,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public scannerGet_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public scannerGet_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -55387,7 +58395,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -55416,7 +58425,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -55433,6 +58443,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -55524,7 +58535,7 @@ public int compareTo(scannerGet_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -55534,7 +58545,7 @@ public int compareTo(scannerGet_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -55544,7 +58555,7 @@ public int compareTo(scannerGet_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -55552,16 +58563,18 @@ public int compareTo(scannerGet_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -55597,101 +58610,109 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerGet_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGet_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGet_resultStandardScheme getScheme() { return new scannerGet_resultStandardScheme(); } } - private static class scannerGet_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerGet_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerGet_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list576 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list576.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem577; - for (int _i578 = 0; _i578 < _list576.size; ++_i578) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerGet_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem577 = new TRowResult(); - _elem577.read(iprot); - struct.success.add(_elem577); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list576 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list576.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem577; + for (int _i578 = 0; _i578 < _list576.size; ++_i578) + { + _elem577 = new TRowResult(); + _elem577.read(iprot); + struct.success.add(_elem577); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGet_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerGet_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter579 : struct.success) { _iter579.write(oprot); @@ -55716,17 +58737,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGet_result } - private static class scannerGet_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGet_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGet_resultTupleScheme getScheme() { return new scannerGet_resultTupleScheme(); } } - private static class scannerGet_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerGet_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerGet_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGet_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -55756,49 +58778,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerGet_result s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerGet_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list581 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list581.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem582; - for (int _i583 = 0; _i583 < _list581.size; ++_i583) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGet_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { { - _elem582 = new TRowResult(); - _elem582.read(iprot); - struct.success.add(_elem582); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list581 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list581.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem582; + for (int _i583 = 0; _i583 < _list581.size; ++_i583) + { + _elem582 = new TRowResult(); + _elem582.read(iprot); + struct.success.add(_elem582); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(2)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(2)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerGetList_args 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("scannerGetList_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerGetList_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerGetList_args"); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.protocol.TField NB_ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("nbRows", org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("id", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NB_ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("nbRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGetList_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGetList_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGetList_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGetList_argsTupleSchemeFactory(); /** * id of a scanner returned by scannerOpen @@ -55810,7 +58838,7 @@ public static class scannerGetList_args implements org.apache.thrift.TBase metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); - tmpMap.put(_Fields.NB_ROWS, new org.apache.thrift.meta_data.FieldMetaData("nbRows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("id", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + tmpMap.put(_Fields.NB_ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("nbRows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGetList_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGetList_args.class, metaDataMap); } public scannerGetList_args() { @@ -55916,6 +58946,7 @@ public scannerGetList_args(scannerGetList_args other) { this.nbRows = other.nbRows; } + @Override public scannerGetList_args deepCopy() { return new scannerGetList_args(this); } @@ -55945,16 +58976,16 @@ public scannerGetList_args setId(int id) { } public void unsetId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); } /** Returns true if field id is set (has been assigned a value) and false otherwise */ public boolean isSetId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); } public void setIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); } /** @@ -55974,19 +59005,20 @@ public scannerGetList_args setNbRows(int nbRows) { } public void unsetNbRows() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NBROWS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NBROWS_ISSET_ID); } /** Returns true if field nbRows is set (has been assigned a value) and false otherwise */ public boolean isSetNbRows() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NBROWS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NBROWS_ISSET_ID); } public void setNbRowsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NBROWS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NBROWS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ID: if (value == null) { @@ -56007,7 +59039,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ID: @@ -56021,6 +59054,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -56093,7 +59127,7 @@ public int compareTo(scannerGetList_args other) { return lastComparison; } if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } @@ -56103,7 +59137,7 @@ public int compareTo(scannerGetList_args other) { return lastComparison; } if (isSetNbRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nbRows, other.nbRows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.nbRows, other.nbRows); if (lastComparison != 0) { return lastComparison; } @@ -56111,16 +59145,19 @@ public int compareTo(scannerGetList_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -56140,15 +59177,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -56157,58 +59194,66 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerGetList_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGetList_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGetList_argsStandardScheme getScheme() { return new scannerGetList_argsStandardScheme(); } } - private static class scannerGetList_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerGetList_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerGetList_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // NB_ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.nbRows = iprot.readI32(); - struct.setNbRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerGetList_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // NB_ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.nbRows = iprot.readI32(); + struct.setNbRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGetList_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerGetList_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -56224,17 +59269,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGetList_arg } - private static class scannerGetList_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGetList_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGetList_argsTupleScheme getScheme() { return new scannerGetList_argsTupleScheme(); } } - private static class scannerGetList_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerGetList_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerGetList_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGetList_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetId()) { optionals.set(0); @@ -56252,41 +59298,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerGetList_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerGetList_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); - } - if (incoming.get(1)) { - struct.nbRows = iprot.readI32(); - struct.setNbRowsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGetList_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } + if (incoming.get(1)) { + struct.nbRows = iprot.readI32(); + struct.setNbRowsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerGetList_result 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("scannerGetList_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerGetList_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerGetList_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGetList_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGetList_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerGetList_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerGetList_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"), IA((short)2, "ia"); @@ -56302,7 +59354,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -56329,7 +59381,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -56342,28 +59394,30 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGetList_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerGetList_result.class, metaDataMap); } public scannerGetList_result() { @@ -56399,6 +59453,7 @@ public scannerGetList_result(scannerGetList_result other) { } } + @Override public scannerGetList_result deepCopy() { return new scannerGetList_result(this); } @@ -56414,7 +59469,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -56426,12 +59481,12 @@ public void addToSuccess(TRowResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public scannerGetList_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public scannerGetList_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -56451,12 +59506,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerGetList_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerGetList_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -56476,12 +59531,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public scannerGetList_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public scannerGetList_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -56501,7 +59556,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -56530,7 +59586,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -56547,6 +59604,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -56638,7 +59696,7 @@ public int compareTo(scannerGetList_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -56648,7 +59706,7 @@ public int compareTo(scannerGetList_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -56658,7 +59716,7 @@ public int compareTo(scannerGetList_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -56666,16 +59724,18 @@ public int compareTo(scannerGetList_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -56711,101 +59771,109 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerGetList_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGetList_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGetList_resultStandardScheme getScheme() { return new scannerGetList_resultStandardScheme(); } } - private static class scannerGetList_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerGetList_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerGetList_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list584 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list584.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem585; - for (int _i586 = 0; _i586 < _list584.size; ++_i586) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerGetList_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem585 = new TRowResult(); - _elem585.read(iprot); - struct.success.add(_elem585); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list584 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list584.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem585; + for (int _i586 = 0; _i586 < _list584.size; ++_i586) + { + _elem585 = new TRowResult(); + _elem585.read(iprot); + struct.success.add(_elem585); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGetList_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerGetList_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TRowResult _iter587 : struct.success) { _iter587.write(oprot); @@ -56830,17 +59898,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerGetList_res } - private static class scannerGetList_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerGetList_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerGetList_resultTupleScheme getScheme() { return new scannerGetList_resultTupleScheme(); } } - private static class scannerGetList_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerGetList_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerGetList_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGetList_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -56870,48 +59939,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerGetList_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerGetList_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list589 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list589.size); - @org.apache.thrift.annotation.Nullable TRowResult _elem590; - for (int _i591 = 0; _i591 < _list589.size; ++_i591) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerGetList_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { { - _elem590 = new TRowResult(); - _elem590.read(iprot); - struct.success.add(_elem590); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list589 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list589.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowResult _elem590; + for (int _i591 = 0; _i591 < _list589.size; ++_i591) + { + _elem590 = new TRowResult(); + _elem590.read(iprot); + struct.success.add(_elem590); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(2)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(2)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerClose_args 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("scannerClose_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerClose_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerClose_args"); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I32, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("id", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerClose_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerClose_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerClose_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerClose_argsTupleSchemeFactory(); /** * id of a scanner returned by scannerOpen @@ -56919,7 +59994,7 @@ public static class scannerClose_args implements org.apache.thrift.TBase metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32 , "ScannerID"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("id", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32 , "ScannerID"))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerClose_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerClose_args.class, metaDataMap); } public scannerClose_args() { @@ -57012,6 +60089,7 @@ public scannerClose_args(scannerClose_args other) { this.id = other.id; } + @Override public scannerClose_args deepCopy() { return new scannerClose_args(this); } @@ -57039,19 +60117,20 @@ public scannerClose_args setId(int id) { } public void unsetId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); } /** Returns true if field id is set (has been assigned a value) and false otherwise */ public boolean isSetId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); } public void setIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ID: if (value == null) { @@ -57064,7 +60143,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ID: @@ -57075,6 +60155,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -57134,7 +60215,7 @@ public int compareTo(scannerClose_args other) { return lastComparison; } if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } @@ -57142,16 +60223,19 @@ public int compareTo(scannerClose_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -57167,15 +60251,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -57184,50 +60268,58 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerClose_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerClose_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerClose_argsStandardScheme getScheme() { return new scannerClose_argsStandardScheme(); } } - private static class scannerClose_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerClose_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerClose_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerClose_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerClose_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerClose_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -57240,17 +60332,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerClose_args } - private static class scannerClose_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerClose_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerClose_argsTupleScheme getScheme() { return new scannerClose_argsTupleScheme(); } } - private static class scannerClose_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerClose_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerClose_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerClose_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetId()) { optionals.set(0); @@ -57262,35 +60355,41 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerClose_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerClose_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.id = iprot.readI32(); - struct.setIdIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerClose_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.id = iprot.readI32(); + struct.setIdIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class scannerClose_result 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("scannerClose_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class scannerClose_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("scannerClose_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerClose_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerClose_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new scannerClose_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new scannerClose_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), IA((short)2, "ia"); @@ -57305,7 +60404,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -57330,7 +60429,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -57343,25 +60442,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerClose_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scannerClose_result.class, metaDataMap); } public scannerClose_result() { @@ -57388,6 +60489,7 @@ public scannerClose_result(scannerClose_result other) { } } + @Override public scannerClose_result deepCopy() { return new scannerClose_result(this); } @@ -57398,12 +60500,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public scannerClose_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public scannerClose_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -57423,12 +60525,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public scannerClose_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public scannerClose_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -57448,7 +60550,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -57469,7 +60572,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -57483,6 +60587,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -57559,7 +60664,7 @@ public int compareTo(scannerClose_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -57569,7 +60674,7 @@ public int compareTo(scannerClose_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -57577,16 +60682,18 @@ public int compareTo(scannerClose_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -57614,75 +60721,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class scannerClose_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerClose_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerClose_resultStandardScheme getScheme() { return new scannerClose_resultStandardScheme(); } } - private static class scannerClose_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class scannerClose_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, scannerClose_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, scannerClose_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, scannerClose_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, scannerClose_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -57702,17 +60817,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, scannerClose_resul } - private static class scannerClose_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class scannerClose_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public scannerClose_resultTupleScheme getScheme() { return new scannerClose_resultTupleScheme(); } } - private static class scannerClose_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class scannerClose_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, scannerClose_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerClose_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -57730,42 +60846,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, scannerClose_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, scannerClose_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, scannerClose_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRegionInfo_args 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("getRegionInfo_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRegionInfo_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRegionInfo_args"); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionInfo_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionInfo_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionInfo_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionInfo_argsTupleSchemeFactory(); /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * row key */ @@ -57782,7 +60904,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -57805,7 +60927,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -57818,23 +60940,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionInfo_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionInfo_args.class, metaDataMap); } public getRegionInfo_args() { @@ -57844,7 +60968,7 @@ public getRegionInfo_args( java.nio.ByteBuffer row) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -57852,10 +60976,11 @@ public getRegionInfo_args( */ public getRegionInfo_args(getRegionInfo_args other) { if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } } + @Override public getRegionInfo_args deepCopy() { return new getRegionInfo_args(this); } @@ -57869,12 +60994,12 @@ public void clear() { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -57885,8 +61010,8 @@ public getRegionInfo_args setRow(byte[] row) { return this; } - public getRegionInfo_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRegionInfo_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -57905,7 +61030,8 @@ public void setRowIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -57922,7 +61048,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -57933,6 +61060,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -57994,7 +61122,7 @@ public int compareTo(getRegionInfo_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -58002,16 +61130,19 @@ public int compareTo(getRegionInfo_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -58024,72 +61155,80 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRegionInfo_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionInfo_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionInfo_argsStandardScheme getScheme() { return new getRegionInfo_argsStandardScheme(); } } - private static class getRegionInfo_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRegionInfo_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRegionInfo_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRegionInfo_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -58104,17 +61243,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_args } - private static class getRegionInfo_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionInfo_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionInfo_argsTupleScheme getScheme() { return new getRegionInfo_argsTupleScheme(); } } - private static class getRegionInfo_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRegionInfo_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionInfo_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRow()) { optionals.set(0); @@ -58126,35 +61266,41 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionInfo_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRegionInfo_result 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("getRegionInfo_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRegionInfo_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRegionInfo_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionInfo_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionInfo_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionInfo_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionInfo_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TRegionInfo success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRegionInfo success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -58169,7 +61315,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -58194,7 +61340,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -58207,25 +61353,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRegionInfo.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRegionInfo.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionInfo_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionInfo_result.class, metaDataMap); } public getRegionInfo_result() { @@ -58252,6 +61400,7 @@ public getRegionInfo_result(getRegionInfo_result other) { } } + @Override public getRegionInfo_result deepCopy() { return new getRegionInfo_result(this); } @@ -58262,12 +61411,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TRegionInfo getSuccess() { return this.success; } - public getRegionInfo_result setSuccess(@org.apache.thrift.annotation.Nullable TRegionInfo success) { + public getRegionInfo_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRegionInfo success) { this.success = success; return this; } @@ -58287,12 +61436,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public getRegionInfo_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public getRegionInfo_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -58312,7 +61461,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -58333,7 +61483,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -58347,6 +61498,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -58423,7 +61575,7 @@ public int compareTo(getRegionInfo_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -58433,7 +61585,7 @@ public int compareTo(getRegionInfo_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -58441,16 +61593,18 @@ public int compareTo(getRegionInfo_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -58478,7 +61632,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -58488,68 +61642,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRegionInfo_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionInfo_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionInfo_resultStandardScheme getScheme() { return new getRegionInfo_resultStandardScheme(); } } - private static class getRegionInfo_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRegionInfo_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRegionInfo_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TRegionInfo(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRegionInfo_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TRegionInfo(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -58569,17 +61731,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionInfo_resu } - private static class getRegionInfo_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionInfo_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionInfo_resultTupleScheme getScheme() { return new getRegionInfo_resultTupleScheme(); } } - private static class getRegionInfo_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRegionInfo_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionInfo_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -58597,42 +61760,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRegionInfo_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TRegionInfo(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionInfo_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TRegionInfo(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class append_args 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("append_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class append_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("append_args"); - private static final org.apache.thrift.protocol.TField APPEND_FIELD_DESC = new org.apache.thrift.protocol.TField("append", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField APPEND_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("append", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_argsTupleSchemeFactory(); /** * The single append operation to apply */ - public @org.apache.thrift.annotation.Nullable TAppend append; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAppend append; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The single append operation to apply */ @@ -58649,7 +61818,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // APPEND @@ -58672,7 +61841,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -58685,23 +61854,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.APPEND, new org.apache.thrift.meta_data.FieldMetaData("append", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAppend.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.APPEND, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("append", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAppend.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_args.class, metaDataMap); } public append_args() { @@ -58723,6 +61894,7 @@ public append_args(append_args other) { } } + @Override public append_args deepCopy() { return new append_args(this); } @@ -58735,7 +61907,7 @@ public void clear() { /** * The single append operation to apply */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAppend getAppend() { return this.append; } @@ -58743,7 +61915,7 @@ public TAppend getAppend() { /** * The single append operation to apply */ - public append_args setAppend(@org.apache.thrift.annotation.Nullable TAppend append) { + public append_args setAppend(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAppend append) { this.append = append; return this; } @@ -58763,7 +61935,8 @@ public void setAppendIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case APPEND: if (value == null) { @@ -58776,7 +61949,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case APPEND: @@ -58787,6 +61961,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -58848,7 +62023,7 @@ public int compareTo(append_args other) { return lastComparison; } if (isSetAppend()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.append, other.append); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.append, other.append); if (lastComparison != 0) { return lastComparison; } @@ -58856,16 +62031,19 @@ public int compareTo(append_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -58885,7 +62063,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (append != null) { @@ -58895,59 +62073,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class append_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_argsStandardScheme getScheme() { return new append_argsStandardScheme(); } } - private static class append_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class append_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // APPEND - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.append = new TAppend(); - struct.append.read(iprot); - struct.setAppendIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // APPEND + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.append = new TAppend(); + struct.append.read(iprot); + struct.setAppendIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -58962,17 +62148,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct } - private static class append_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_argsTupleScheme getScheme() { return new append_argsTupleScheme(); } } - private static class append_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class append_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetAppend()) { optionals.set(0); @@ -58984,36 +62171,42 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_args struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.append = new TAppend(); - struct.append.read(iprot); - struct.setAppendIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.append = new TAppend(); + struct.append.read(iprot); + struct.setAppendIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class append_result 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("append_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class append_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("append_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -59028,7 +62221,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -59053,7 +62246,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -59066,26 +62259,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_result.class, metaDataMap); } public append_result() { @@ -59116,6 +62311,7 @@ public append_result(append_result other) { } } + @Override public append_result deepCopy() { return new append_result(this); } @@ -59130,7 +62326,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -59142,12 +62338,12 @@ public void addToSuccess(TCell elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public append_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public append_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -59167,12 +62363,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public append_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public append_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -59192,7 +62388,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -59213,7 +62410,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -59227,6 +62425,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -59303,7 +62502,7 @@ public int compareTo(append_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -59313,7 +62512,7 @@ public int compareTo(append_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -59321,16 +62520,18 @@ public int compareTo(append_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -59358,92 +62559,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class append_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_resultStandardScheme getScheme() { return new append_resultStandardScheme(); } } - private static class append_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class append_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list592 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list592.size); - @org.apache.thrift.annotation.Nullable TCell _elem593; - for (int _i594 = 0; _i594 < _list592.size; ++_i594) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem593 = new TCell(); - _elem593.read(iprot); - struct.success.add(_elem593); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list592 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list592.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem593; + for (int _i594 = 0; _i594 < _list592.size; ++_i594) + { + _elem593 = new TCell(); + _elem593.read(iprot); + struct.success.add(_elem593); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, append_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TCell _iter595 : struct.success) { _iter595.write(oprot); @@ -59463,17 +62672,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_result stru } - private static class append_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_resultTupleScheme getScheme() { return new append_resultTupleScheme(); } } - private static class append_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class append_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -59497,78 +62707,84 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list597 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list597.size); - @org.apache.thrift.annotation.Nullable TCell _elem598; - for (int _i599 = 0; _i599 < _list597.size; ++_i599) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem598 = new TCell(); - _elem598.read(iprot); - struct.success.add(_elem598); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list597 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list597.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _elem598; + for (int _i599 = 0; _i599 < _list597.size; ++_i599) + { + _elem598 = new TCell(); + _elem598.read(iprot); + struct.success.add(_elem598); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndPut_args 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("checkAndPut_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndPut_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndPut_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField MPUT_FIELD_DESC = new org.apache.thrift.protocol.TField("mput", org.apache.thrift.protocol.TType.STRUCT, (short)6); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MPUT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("mput", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)7); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_argsTupleSchemeFactory(); /** * name of table */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required /** * row key */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** * the expected value for the column parameter, if not * provided the check is for the non-existence of the * column in question */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required /** * mutation for the put */ - public @org.apache.thrift.annotation.Nullable Mutation mput; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation mput; // required /** * Mutation attributes */ - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of table */ @@ -59607,7 +62823,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -59640,7 +62856,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -59653,35 +62869,37 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.MPUT, new org.apache.thrift.meta_data.FieldMetaData("mput", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Mutation.class))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MPUT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("mput", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, Mutation.class))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_args.class, metaDataMap); } public checkAndPut_args() { @@ -59696,10 +62914,10 @@ public checkAndPut_args( java.util.Map attributes) { this(); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.mput = mput; this.attributes = attributes; } @@ -59709,16 +62927,16 @@ public checkAndPut_args( */ public checkAndPut_args(checkAndPut_args other) { if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetMput()) { this.mput = new Mutation(other.mput); @@ -59730,9 +62948,9 @@ public checkAndPut_args(checkAndPut_args other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); java.nio.ByteBuffer other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__attributes_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__attributes_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); - java.nio.ByteBuffer __this__attributes_copy_value = org.apache.thrift.TBaseHelper.copyBinary(other_element_value); + java.nio.ByteBuffer __this__attributes_copy_value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_value); __this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value); } @@ -59740,6 +62958,7 @@ public checkAndPut_args(checkAndPut_args other) { } } + @Override public checkAndPut_args deepCopy() { return new checkAndPut_args(this); } @@ -59758,12 +62977,12 @@ public void clear() { * name of table */ public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -59774,8 +62993,8 @@ public checkAndPut_args setTableName(byte[] tableName) { return this; } - public checkAndPut_args setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public checkAndPut_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -59798,12 +63017,12 @@ public void setTableNameIsSet(boolean value) { * row key */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -59814,8 +63033,8 @@ public checkAndPut_args setRow(byte[] row) { return this; } - public checkAndPut_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public checkAndPut_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -59838,12 +63057,12 @@ public void setRowIsSet(boolean value) { * column name */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -59854,8 +63073,8 @@ public checkAndPut_args setColumn(byte[] column) { return this; } - public checkAndPut_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public checkAndPut_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -59880,12 +63099,12 @@ public void setColumnIsSet(boolean value) { * column in question */ public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } /** @@ -59898,8 +63117,8 @@ public checkAndPut_args setValue(byte[] value) { return this; } - public checkAndPut_args setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public checkAndPut_args setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -59921,7 +63140,7 @@ public void setValueIsSet(boolean value) { /** * mutation for the put */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public Mutation getMput() { return this.mput; } @@ -59929,7 +63148,7 @@ public Mutation getMput() { /** * mutation for the put */ - public checkAndPut_args setMput(@org.apache.thrift.annotation.Nullable Mutation mput) { + public checkAndPut_args setMput(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable Mutation mput) { this.mput = mput; return this; } @@ -59963,7 +63182,7 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { /** * Mutation attributes */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } @@ -59971,7 +63190,7 @@ public java.util.Map getAttributes() { /** * Mutation attributes */ - public checkAndPut_args setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public checkAndPut_args setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -59991,7 +63210,8 @@ public void setAttributesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -60060,7 +63280,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -60086,6 +63307,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -60222,7 +63444,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -60232,7 +63454,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -60242,7 +63464,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -60252,7 +63474,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -60262,7 +63484,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetMput()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mput, other.mput); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.mput, other.mput); if (lastComparison != 0) { return lastComparison; } @@ -60272,7 +63494,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -60280,16 +63502,19 @@ public int compareTo(checkAndPut_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -60302,7 +63527,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (!first) sb.append(", "); @@ -60310,7 +63535,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -60318,7 +63543,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -60326,7 +63551,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -60349,7 +63574,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (mput != null) { @@ -60359,111 +63584,119 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndPut_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_argsStandardScheme getScheme() { return new checkAndPut_argsStandardScheme(); } } - private static class checkAndPut_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndPut_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // MPUT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.mput = new Mutation(); - struct.mput.read(iprot); - struct.setMputIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 7: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map600 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map600.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key601; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val602; - for (int _i603 = 0; _i603 < _map600.size; ++_i603) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // MPUT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.mput = new Mutation(); + struct.mput.read(iprot); + struct.setMputIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key601 = iprot.readBinary(); - _val602 = iprot.readBinary(); - struct.attributes.put(_key601, _val602); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map600 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map600.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key601; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val602; + for (int _i603 = 0; _i603 < _map600.size; ++_i603) + { + _key601 = iprot.readBinary(); + _val602 = iprot.readBinary(); + struct.attributes.put(_key601, _val602); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -60495,7 +63728,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args s if (struct.attributes != null) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter604 : struct.attributes.entrySet()) { oprot.writeBinary(_iter604.getKey()); @@ -60511,17 +63744,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args s } - private static class checkAndPut_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_argsTupleScheme getScheme() { return new checkAndPut_argsTupleScheme(); } } - private static class checkAndPut_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndPut_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -60570,69 +63804,75 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(6); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } - if (incoming.get(4)) { - struct.mput = new Mutation(); - struct.mput.read(iprot); - struct.setMputIsSet(true); - } - if (incoming.get(5)) { - { - org.apache.thrift.protocol.TMap _map606 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.attributes = new java.util.HashMap(2*_map606.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key607; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val608; - for (int _i609 = 0; _i609 < _map606.size; ++_i609) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(6); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + if (incoming.get(4)) { + struct.mput = new Mutation(); + struct.mput.read(iprot); + struct.setMputIsSet(true); + } + if (incoming.get(5)) { { - _key607 = iprot.readBinary(); - _val608 = iprot.readBinary(); - struct.attributes.put(_key607, _val608); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map606 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map606.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key607; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val608; + for (int _i609 = 0; _i609 < _map606.size; ++_i609) + { + _key607 = iprot.readBinary(); + _val608 = iprot.readBinary(); + struct.attributes.put(_key607, _val608); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndPut_result 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("checkAndPut_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndPut_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndPut_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required - public @org.apache.thrift.annotation.Nullable IllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"), IA((short)2, "ia"); @@ -60648,7 +63888,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -60675,7 +63915,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -60688,10 +63928,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -60700,17 +63942,17 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_result.class, metaDataMap); } public checkAndPut_result() { @@ -60742,6 +63984,7 @@ public checkAndPut_result(checkAndPut_result other) { } } + @Override public checkAndPut_result deepCopy() { return new checkAndPut_result(this); } @@ -60765,24 +64008,24 @@ public checkAndPut_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public checkAndPut_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public checkAndPut_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -60802,12 +64045,12 @@ public void setIoIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IllegalArgument getIa() { return this.ia; } - public checkAndPut_result setIa(@org.apache.thrift.annotation.Nullable IllegalArgument ia) { + public checkAndPut_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IllegalArgument ia) { this.ia = ia; return this; } @@ -60827,7 +64070,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -60856,7 +64100,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -60873,6 +64118,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -60962,7 +64208,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -60972,7 +64218,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -60982,7 +64228,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -60990,16 +64236,18 @@ public int compareTo(checkAndPut_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -61031,15 +64279,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -61048,68 +64296,76 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndPut_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_resultStandardScheme getScheme() { return new checkAndPut_resultStandardScheme(); } } - private static class checkAndPut_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndPut_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -61134,17 +64390,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result } - private static class checkAndPut_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_resultTupleScheme getScheme() { return new checkAndPut_resultTupleScheme(); } } - private static class checkAndPut_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndPut_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -61168,41 +64425,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(2)) { - struct.ia = new IllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(2)) { + struct.ia = new IllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getThriftServerType_args 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("getThriftServerType_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getThriftServerType_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getThriftServerType_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -61216,7 +64479,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -61237,7 +64500,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -61250,19 +64513,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_args.class, metaDataMap); } public getThriftServerType_args() { @@ -61274,6 +64539,7 @@ public getThriftServerType_args() { public getThriftServerType_args(getThriftServerType_args other) { } + @Override public getThriftServerType_args deepCopy() { return new getThriftServerType_args(this); } @@ -61282,12 +64548,14 @@ public getThriftServerType_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -61295,6 +64563,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -61339,16 +64608,19 @@ public int compareTo(getThriftServerType_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -61361,57 +64633,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getThriftServerType_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_argsStandardScheme getScheme() { return new getThriftServerType_argsStandardScheme(); } } - private static class getThriftServerType_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getThriftServerType_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -61421,46 +64701,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerTyp } - private static class getThriftServerType_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_argsTupleScheme getScheme() { return new getThriftServerType_argsTupleScheme(); } } - private static class getThriftServerType_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getThriftServerType_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getThriftServerType_result 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("getThriftServerType_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getThriftServerType_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getThriftServerType_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_resultTupleSchemeFactory(); /** * * @see TThriftServerType */ - public @org.apache.thrift.annotation.Nullable TThriftServerType success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TThriftServerType success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * * @see TThriftServerType @@ -61478,7 +64765,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -61501,7 +64788,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -61514,23 +64801,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TThriftServerType.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TThriftServerType.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_result.class, metaDataMap); } public getThriftServerType_result() { @@ -61552,6 +64841,7 @@ public getThriftServerType_result(getThriftServerType_result other) { } } + @Override public getThriftServerType_result deepCopy() { return new getThriftServerType_result(this); } @@ -61565,7 +64855,7 @@ public void clear() { * * @see TThriftServerType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TThriftServerType getSuccess() { return this.success; } @@ -61574,7 +64864,7 @@ public TThriftServerType getSuccess() { * * @see TThriftServerType */ - public getThriftServerType_result setSuccess(@org.apache.thrift.annotation.Nullable TThriftServerType success) { + public getThriftServerType_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TThriftServerType success) { this.success = success; return this; } @@ -61594,7 +64884,8 @@ public void setSuccessIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -61607,7 +64898,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -61618,6 +64910,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -61679,7 +64972,7 @@ public int compareTo(getThriftServerType_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -61687,16 +64980,18 @@ public int compareTo(getThriftServerType_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -61716,65 +65011,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getThriftServerType_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_resultStandardScheme getScheme() { return new getThriftServerType_resultStandardScheme(); } } - private static class getThriftServerType_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getThriftServerType_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = org.apache.hadoop.hbase.thrift.generated.TThriftServerType.findByValue(iprot.readI32()); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = org.apache.hadoop.hbase.thrift.generated.TThriftServerType.findByValue(iprot.readI32()); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -61789,17 +65092,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerTyp } - private static class getThriftServerType_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_resultTupleScheme getScheme() { return new getThriftServerType_resultTupleScheme(); } } - private static class getThriftServerType_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getThriftServerType_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -61811,31 +65115,37 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.success = org.apache.hadoop.hbase.thrift.generated.TThriftServerType.findByValue(iprot.readI32()); - struct.setSuccessIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = org.apache.hadoop.hbase.thrift.generated.TThriftServerType.findByValue(iprot.readI32()); + struct.setSuccessIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getClusterId_args 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("getClusterId_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getClusterId_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getClusterId_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -61849,7 +65159,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -61870,7 +65180,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -61883,19 +65193,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_args.class, metaDataMap); } public getClusterId_args() { @@ -61907,6 +65219,7 @@ public getClusterId_args() { public getClusterId_args(getClusterId_args other) { } + @Override public getClusterId_args deepCopy() { return new getClusterId_args(this); } @@ -61915,12 +65228,14 @@ public getClusterId_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -61928,6 +65243,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -61972,16 +65288,19 @@ public int compareTo(getClusterId_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -61994,57 +65313,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getClusterId_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_argsStandardScheme getScheme() { return new getClusterId_argsStandardScheme(); } } - private static class getClusterId_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getClusterId_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -62054,42 +65381,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_args } - private static class getClusterId_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_argsTupleScheme getScheme() { return new getClusterId_argsTupleScheme(); } } - private static class getClusterId_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getClusterId_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getClusterId_result 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("getClusterId_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getClusterId_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getClusterId_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)0); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final java.util.Map byName = new java.util.HashMap(); @@ -62103,7 +65437,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -62126,7 +65460,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -62139,23 +65473,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_result.class, metaDataMap); } public getClusterId_result() { @@ -62177,6 +65513,7 @@ public getClusterId_result(getClusterId_result other) { } } + @Override public getClusterId_result deepCopy() { return new getClusterId_result(this); } @@ -62186,12 +65523,12 @@ public void clear() { this.success = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getSuccess() { return this.success; } - public getClusterId_result setSuccess(@org.apache.thrift.annotation.Nullable java.lang.String success) { + public getClusterId_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String success) { this.success = success; return this; } @@ -62211,7 +65548,8 @@ public void setSuccessIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -62224,7 +65562,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -62235,6 +65574,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -62296,7 +65636,7 @@ public int compareTo(getClusterId_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -62304,16 +65644,18 @@ public int compareTo(getClusterId_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -62333,65 +65675,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getClusterId_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_resultStandardScheme getScheme() { return new getClusterId_resultStandardScheme(); } } - private static class getClusterId_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getClusterId_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -62406,17 +65756,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_resul } - private static class getClusterId_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_resultTupleScheme getScheme() { return new getClusterId_resultTupleScheme(); } } - private static class getClusterId_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getClusterId_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -62428,33 +65779,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.success = iprot.readString(); - struct.setSuccessIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readString(); + struct.setSuccessIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class grant_args 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("grant_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class grant_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("grant_args"); - private static final org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("info", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("info", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { INFO((short)1, "info"); private static final java.util.Map byName = new java.util.HashMap(); @@ -62468,7 +65825,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INFO @@ -62491,7 +65848,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -62504,23 +65861,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INFO, new org.apache.thrift.meta_data.FieldMetaData("info", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INFO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("info", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_args.class, metaDataMap); } public grant_args() { @@ -62542,6 +65901,7 @@ public grant_args(grant_args other) { } } + @Override public grant_args deepCopy() { return new grant_args(this); } @@ -62551,12 +65911,12 @@ public void clear() { this.info = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAccessControlEntity getInfo() { return this.info; } - public grant_args setInfo(@org.apache.thrift.annotation.Nullable TAccessControlEntity info) { + public grant_args setInfo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info) { this.info = info; return this; } @@ -62576,7 +65936,8 @@ public void setInfoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INFO: if (value == null) { @@ -62589,7 +65950,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INFO: @@ -62600,6 +65962,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -62661,7 +66024,7 @@ public int compareTo(grant_args other) { return lastComparison; } if (isSetInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); if (lastComparison != 0) { return lastComparison; } @@ -62669,16 +66032,19 @@ public int compareTo(grant_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -62698,10 +66064,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (info == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); } // check for sub-struct validity if (info != null) { @@ -62711,59 +66077,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class grant_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_argsStandardScheme getScheme() { return new grant_argsStandardScheme(); } } - private static class grant_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class grant_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INFO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // INFO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, grant_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -62778,48 +66152,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, grant_args struct) } - private static class grant_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_argsTupleScheme getScheme() { return new grant_argsTupleScheme(); } } - private static class grant_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class grant_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.info.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class grant_result 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("grant_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class grant_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("grant_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -62834,7 +66215,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -62859,7 +66240,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -62872,10 +66253,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -62884,15 +66267,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_result.class, metaDataMap); } public grant_result() { @@ -62919,6 +66302,7 @@ public grant_result(grant_result other) { } } + @Override public grant_result deepCopy() { return new grant_result(this); } @@ -62941,24 +66325,24 @@ public grant_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public grant_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public grant_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -62978,7 +66362,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -62999,7 +66384,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -63013,6 +66399,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -63087,7 +66474,7 @@ public int compareTo(grant_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -63097,7 +66484,7 @@ public int compareTo(grant_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -63105,16 +66492,18 @@ public int compareTo(grant_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -63138,15 +66527,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -63155,59 +66544,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class grant_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_resultStandardScheme getScheme() { return new grant_resultStandardScheme(); } } - private static class grant_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class grant_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, grant_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -63227,17 +66624,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, grant_result struc } - private static class grant_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_resultTupleScheme getScheme() { return new grant_resultTupleScheme(); } } - private static class grant_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class grant_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -63255,38 +66653,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, grant_result struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class revoke_args 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("revoke_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class revoke_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("revoke_args"); - private static final org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("info", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("info", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { INFO((short)1, "info"); private static final java.util.Map byName = new java.util.HashMap(); @@ -63300,7 +66704,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INFO @@ -63323,7 +66727,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -63336,23 +66740,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INFO, new org.apache.thrift.meta_data.FieldMetaData("info", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INFO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("info", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_args.class, metaDataMap); } public revoke_args() { @@ -63374,6 +66780,7 @@ public revoke_args(revoke_args other) { } } + @Override public revoke_args deepCopy() { return new revoke_args(this); } @@ -63383,12 +66790,12 @@ public void clear() { this.info = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAccessControlEntity getInfo() { return this.info; } - public revoke_args setInfo(@org.apache.thrift.annotation.Nullable TAccessControlEntity info) { + public revoke_args setInfo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info) { this.info = info; return this; } @@ -63408,7 +66815,8 @@ public void setInfoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INFO: if (value == null) { @@ -63421,7 +66829,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INFO: @@ -63432,6 +66841,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -63493,7 +66903,7 @@ public int compareTo(revoke_args other) { return lastComparison; } if (isSetInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); if (lastComparison != 0) { return lastComparison; } @@ -63501,16 +66911,19 @@ public int compareTo(revoke_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -63530,10 +66943,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (info == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); } // check for sub-struct validity if (info != null) { @@ -63543,59 +66956,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class revoke_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_argsStandardScheme getScheme() { return new revoke_argsStandardScheme(); } } - private static class revoke_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class revoke_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INFO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // INFO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -63610,48 +67031,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_args struct } - private static class revoke_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_argsTupleScheme getScheme() { return new revoke_argsTupleScheme(); } } - private static class revoke_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class revoke_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.info.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class revoke_result 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("revoke_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class revoke_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("revoke_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable IOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -63666,7 +67094,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -63691,7 +67119,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -63704,10 +67132,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -63716,15 +67146,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, IOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_result.class, metaDataMap); } public revoke_result() { @@ -63751,6 +67181,7 @@ public revoke_result(revoke_result other) { } } + @Override public revoke_result deepCopy() { return new revoke_result(this); } @@ -63773,24 +67204,24 @@ public revoke_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public IOError getIo() { return this.io; } - public revoke_result setIo(@org.apache.thrift.annotation.Nullable IOError io) { + public revoke_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable IOError io) { this.io = io; return this; } @@ -63810,7 +67241,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -63831,7 +67263,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -63845,6 +67278,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -63919,7 +67353,7 @@ public int compareTo(revoke_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -63929,7 +67363,7 @@ public int compareTo(revoke_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -63937,16 +67371,18 @@ public int compareTo(revoke_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -63970,15 +67406,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -63987,59 +67423,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class revoke_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_resultStandardScheme getScheme() { return new revoke_resultStandardScheme(); } } - private static class revoke_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class revoke_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -64059,17 +67503,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_result stru } - private static class revoke_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_resultTupleScheme getScheme() { return new revoke_resultTupleScheme(); } } - private static class revoke_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class revoke_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -64087,23 +67532,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, revoke_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new IOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new IOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 9d4a4f543f4c..29e8b55a19ae 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,32 +1,32 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * An IOError exception signals that an error occurred communicating * 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.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class IOError extends org.apache.hbase.thirdparty.org.apache.thrift.TException implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("IOError"); - private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CAN_RETRY_FIELD_DESC = new org.apache.thrift.protocol.TField("canRetry", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("message", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CAN_RETRY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("canRetry", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new IOErrorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new IOErrorTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new IOErrorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new IOErrorTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String message; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message; // required public boolean canRetry; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MESSAGE((short)1, "message"), CAN_RETRY((short)2, "canRetry"); @@ -41,7 +41,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MESSAGE @@ -66,7 +66,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -79,10 +79,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -91,15 +93,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __CANRETRY_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CAN_RETRY, new org.apache.thrift.meta_data.FieldMetaData("canRetry", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MESSAGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("message", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CAN_RETRY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("canRetry", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(IOError.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(IOError.class, metaDataMap); } public IOError() { @@ -126,6 +128,7 @@ public IOError(IOError other) { this.canRetry = other.canRetry; } + @Override public IOError deepCopy() { return new IOError(this); } @@ -137,12 +140,12 @@ public void clear() { this.canRetry = false; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMessage() { return this.message; } - public IOError setMessage(@org.apache.thrift.annotation.Nullable java.lang.String message) { + public IOError setMessage(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message) { this.message = message; return this; } @@ -173,19 +176,20 @@ public IOError setCanRetry(boolean canRetry) { } public void unsetCanRetry() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CANRETRY_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CANRETRY_ISSET_ID); } /** Returns true if field canRetry is set (has been assigned a value) and false otherwise */ public boolean isSetCanRetry() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CANRETRY_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CANRETRY_ISSET_ID); } public void setCanRetryIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CANRETRY_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CANRETRY_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MESSAGE: if (value == null) { @@ -206,7 +210,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MESSAGE: @@ -220,6 +225,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -294,7 +300,7 @@ public int compareTo(IOError other) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } @@ -304,7 +310,7 @@ public int compareTo(IOError other) { return lastComparison; } if (isSetCanRetry()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.canRetry, other.canRetry); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.canRetry, other.canRetry); if (lastComparison != 0) { return lastComparison; } @@ -312,16 +318,19 @@ public int compareTo(IOError other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -345,15 +354,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -362,58 +371,66 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class IOErrorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class IOErrorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public IOErrorStandardScheme getScheme() { return new IOErrorStandardScheme(); } } - private static class IOErrorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class IOErrorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, IOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MESSAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // CAN_RETRY - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.canRetry = iprot.readBool(); - struct.setCanRetryIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, IOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MESSAGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // CAN_RETRY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.canRetry = iprot.readBool(); + struct.setCanRetryIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, IOError struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, IOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -431,17 +448,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, IOError struct) th } - private static class IOErrorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class IOErrorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public IOErrorTupleScheme getScheme() { return new IOErrorTupleScheme(); } } - private static class IOErrorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class IOErrorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, IOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, IOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetMessage()) { optionals.set(0); @@ -459,22 +477,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, IOError struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, IOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } - if (incoming.get(1)) { - struct.canRetry = iprot.readBool(); - struct.setCanRetryIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, IOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } + if (incoming.get(1)) { + struct.canRetry = iprot.readBool(); + struct.setCanRetryIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 1a1f8bd83a4d..63649e96d27c 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,29 +1,29 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * An IllegalArgument exception indicates an illegal or invalid * argument was passed into a procedure. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class IllegalArgument extends org.apache.hbase.thirdparty.org.apache.thrift.TException implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("IllegalArgument"); - private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("message", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new IllegalArgumentStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new IllegalArgumentTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new IllegalArgumentStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new IllegalArgumentTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String message; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MESSAGE((short)1, "message"); private static final java.util.Map byName = new java.util.HashMap(); @@ -37,7 +37,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MESSAGE @@ -60,7 +60,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -73,23 +73,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MESSAGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("message", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(IllegalArgument.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(IllegalArgument.class, metaDataMap); } public IllegalArgument() { @@ -111,6 +113,7 @@ public IllegalArgument(IllegalArgument other) { } } + @Override public IllegalArgument deepCopy() { return new IllegalArgument(this); } @@ -120,12 +123,12 @@ public void clear() { this.message = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMessage() { return this.message; } - public IllegalArgument setMessage(@org.apache.thrift.annotation.Nullable java.lang.String message) { + public IllegalArgument setMessage(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message) { this.message = message; return this; } @@ -145,7 +148,8 @@ public void setMessageIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MESSAGE: if (value == null) { @@ -158,7 +162,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MESSAGE: @@ -169,6 +174,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -230,7 +236,7 @@ public int compareTo(IllegalArgument other) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } @@ -238,16 +244,19 @@ public int compareTo(IllegalArgument other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -267,65 +276,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class IllegalArgumentStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class IllegalArgumentStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public IllegalArgumentStandardScheme getScheme() { return new IllegalArgumentStandardScheme(); } } - private static class IllegalArgumentStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class IllegalArgumentStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, IllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MESSAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, IllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MESSAGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, IllegalArgument struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, IllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -340,17 +357,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, IllegalArgument st } - private static class IllegalArgumentTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class IllegalArgumentTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public IllegalArgumentTupleScheme getScheme() { return new IllegalArgumentTupleScheme(); } } - private static class IllegalArgumentTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class IllegalArgumentTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, IllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, IllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetMessage()) { optionals.set(0); @@ -362,18 +380,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, IllegalArgument str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, IllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, IllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 ddbfcb3cd8b5..fed0db9920e9 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,34 +1,34 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A Mutation object is used to either update or delete a column-value. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class Mutation implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("Mutation"); - private static final org.apache.thrift.protocol.TField IS_DELETE_FIELD_DESC = new org.apache.thrift.protocol.TField("isDelete", org.apache.thrift.protocol.TType.BOOL, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField WRITE_TO_WAL_FIELD_DESC = new org.apache.thrift.protocol.TField("writeToWAL", org.apache.thrift.protocol.TType.BOOL, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IS_DELETE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("isDelete", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField WRITE_TO_WAL_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("writeToWAL", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new MutationStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new MutationTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new MutationStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new MutationTupleSchemeFactory(); public boolean isDelete; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required public boolean writeToWAL; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IS_DELETE((short)1, "isDelete"), COLUMN((short)2, "column"), VALUE((short)3, "value"), @@ -45,7 +45,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IS_DELETE @@ -74,7 +74,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -87,10 +87,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -100,19 +102,19 @@ public java.lang.String getFieldName() { private static final int __ISDELETE_ISSET_ID = 0; private static final int __WRITETOWAL_ISSET_ID = 1; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IS_DELETE, new org.apache.thrift.meta_data.FieldMetaData("isDelete", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.WRITE_TO_WAL, new org.apache.thrift.meta_data.FieldMetaData("writeToWAL", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IS_DELETE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("isDelete", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.WRITE_TO_WAL, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("writeToWAL", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Mutation.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Mutation.class, metaDataMap); } public Mutation() { @@ -131,8 +133,8 @@ public Mutation( this(); this.isDelete = isDelete; setIsDeleteIsSet(true); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.writeToWAL = writeToWAL; setWriteToWALIsSet(true); } @@ -144,14 +146,15 @@ public Mutation(Mutation other) { __isset_bitfield = other.__isset_bitfield; this.isDelete = other.isDelete; if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } this.writeToWAL = other.writeToWAL; } + @Override public Mutation deepCopy() { return new Mutation(this); } @@ -177,25 +180,25 @@ public Mutation setIsDelete(boolean isDelete) { } public void unsetIsDelete() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISDELETE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISDELETE_ISSET_ID); } /** Returns true if field isDelete is set (has been assigned a value) and false otherwise */ public boolean isSetIsDelete() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISDELETE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISDELETE_ISSET_ID); } public void setIsDeleteIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISDELETE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISDELETE_ISSET_ID, value); } public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } public Mutation setColumn(byte[] column) { @@ -203,8 +206,8 @@ public Mutation setColumn(byte[] column) { return this; } - public Mutation setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public Mutation setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -224,12 +227,12 @@ public void setColumnIsSet(boolean value) { } public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } public Mutation setValue(byte[] value) { @@ -237,8 +240,8 @@ public Mutation setValue(byte[] value) { return this; } - public Mutation setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public Mutation setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -268,19 +271,20 @@ public Mutation setWriteToWAL(boolean writeToWAL) { } public void unsetWriteToWAL() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __WRITETOWAL_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __WRITETOWAL_ISSET_ID); } /** Returns true if field writeToWAL is set (has been assigned a value) and false otherwise */ public boolean isSetWriteToWAL() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __WRITETOWAL_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __WRITETOWAL_ISSET_ID); } public void setWriteToWALIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __WRITETOWAL_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __WRITETOWAL_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IS_DELETE: if (value == null) { @@ -325,7 +329,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IS_DELETE: @@ -345,6 +350,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -447,7 +453,7 @@ public int compareTo(Mutation other) { return lastComparison; } if (isSetIsDelete()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isDelete, other.isDelete); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.isDelete, other.isDelete); if (lastComparison != 0) { return lastComparison; } @@ -457,7 +463,7 @@ public int compareTo(Mutation other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -467,7 +473,7 @@ public int compareTo(Mutation other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -477,7 +483,7 @@ public int compareTo(Mutation other) { return lastComparison; } if (isSetWriteToWAL()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.writeToWAL, other.writeToWAL); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.writeToWAL, other.writeToWAL); if (lastComparison != 0) { return lastComparison; } @@ -485,16 +491,19 @@ public int compareTo(Mutation other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -511,7 +520,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -519,7 +528,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -530,15 +539,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -547,74 +556,82 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class MutationStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class MutationStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public MutationStandardScheme getScheme() { return new MutationStandardScheme(); } } - private static class MutationStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class MutationStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, Mutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IS_DELETE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.isDelete = iprot.readBool(); - struct.setIsDeleteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // WRITE_TO_WAL - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.writeToWAL = iprot.readBool(); - struct.setWriteToWALIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, Mutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IS_DELETE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.isDelete = iprot.readBool(); + struct.setIsDeleteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // WRITE_TO_WAL + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.writeToWAL = iprot.readBool(); + struct.setWriteToWALIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -640,17 +657,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) t } - private static class MutationTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class MutationTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public MutationTupleScheme getScheme() { return new MutationTupleScheme(); } } - private static class MutationTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class MutationTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIsDelete()) { optionals.set(0); @@ -680,30 +698,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Mutation struct) th } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.isDelete = iprot.readBool(); - struct.setIsDeleteIsSet(true); - } - if (incoming.get(1)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(2)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } - if (incoming.get(3)) { - struct.writeToWAL = iprot.readBool(); - struct.setWriteToWALIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.isDelete = iprot.readBool(); + struct.setIsDeleteIsSet(true); + } + if (incoming.get(1)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(2)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + if (incoming.get(3)) { + struct.writeToWAL = iprot.readBool(); + struct.setWriteToWALIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAccessControlEntity.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAccessControlEntity.java index 963b946bf78a..40f0f528fdee 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAccessControlEntity.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAccessControlEntity.java @@ -1,40 +1,40 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * TAccessControlEntity for permission control */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public class TAccessControlEntity 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("TAccessControlEntity"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TAccessControlEntity implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TAccessControlEntity"); - private static final org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("username", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("scope", org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.protocol.TField ACTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("actions", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField NS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("nsName", org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("username", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scope", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ACTIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("actions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NS_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("nsName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAccessControlEntityStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAccessControlEntityTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAccessControlEntityStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAccessControlEntityTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String username; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String username; // required /** * * @see TPermissionScope */ - public @org.apache.thrift.annotation.Nullable TPermissionScope scope; // required - public @org.apache.thrift.annotation.Nullable java.lang.String actions; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String nsName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPermissionScope scope; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String actions; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String nsName; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { USERNAME((short)1, "username"), /** * @@ -56,7 +56,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // USERNAME @@ -87,7 +87,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -100,32 +100,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.TABLE_NAME,_Fields.NS_NAME}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.TABLE_NAME,_Fields.NS_NAME}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.USERNAME, new org.apache.thrift.meta_data.FieldMetaData("username", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.SCOPE, new org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TPermissionScope.class))); - tmpMap.put(_Fields.ACTIONS, new org.apache.thrift.meta_data.FieldMetaData("actions", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); - tmpMap.put(_Fields.NS_NAME, new org.apache.thrift.meta_data.FieldMetaData("nsName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.USERNAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("username", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.SCOPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TPermissionScope.class))); + tmpMap.put(_Fields.ACTIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("actions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.NS_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("nsName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAccessControlEntity.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAccessControlEntity.class, metaDataMap); } public TAccessControlEntity() { @@ -156,13 +158,14 @@ public TAccessControlEntity(TAccessControlEntity other) { this.actions = other.actions; } if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetNsName()) { this.nsName = other.nsName; } } + @Override public TAccessControlEntity deepCopy() { return new TAccessControlEntity(this); } @@ -176,12 +179,12 @@ public void clear() { this.nsName = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getUsername() { return this.username; } - public TAccessControlEntity setUsername(@org.apache.thrift.annotation.Nullable java.lang.String username) { + public TAccessControlEntity setUsername(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String username) { this.username = username; return this; } @@ -205,7 +208,7 @@ public void setUsernameIsSet(boolean value) { * * @see TPermissionScope */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TPermissionScope getScope() { return this.scope; } @@ -214,7 +217,7 @@ public TPermissionScope getScope() { * * @see TPermissionScope */ - public TAccessControlEntity setScope(@org.apache.thrift.annotation.Nullable TPermissionScope scope) { + public TAccessControlEntity setScope(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPermissionScope scope) { this.scope = scope; return this; } @@ -234,12 +237,12 @@ public void setScopeIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getActions() { return this.actions; } - public TAccessControlEntity setActions(@org.apache.thrift.annotation.Nullable java.lang.String actions) { + public TAccessControlEntity setActions(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String actions) { this.actions = actions; return this; } @@ -260,12 +263,12 @@ public void setActionsIsSet(boolean value) { } public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } public TAccessControlEntity setTableName(byte[] tableName) { @@ -273,8 +276,8 @@ public TAccessControlEntity setTableName(byte[] tableName) { return this; } - public TAccessControlEntity setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public TAccessControlEntity setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -293,12 +296,12 @@ public void setTableNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getNsName() { return this.nsName; } - public TAccessControlEntity setNsName(@org.apache.thrift.annotation.Nullable java.lang.String nsName) { + public TAccessControlEntity setNsName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String nsName) { this.nsName = nsName; return this; } @@ -318,7 +321,8 @@ public void setNsNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case USERNAME: if (value == null) { @@ -367,7 +371,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case USERNAME: @@ -390,6 +395,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -511,7 +517,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetUsername()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); if (lastComparison != 0) { return lastComparison; } @@ -521,7 +527,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetScope()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); if (lastComparison != 0) { return lastComparison; } @@ -531,7 +537,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetActions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.actions, other.actions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.actions, other.actions); if (lastComparison != 0) { return lastComparison; } @@ -541,7 +547,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -551,7 +557,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetNsName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nsName, other.nsName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.nsName, other.nsName); if (lastComparison != 0) { return lastComparison; } @@ -559,16 +565,19 @@ public int compareTo(TAccessControlEntity other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -606,7 +615,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; } @@ -624,106 +633,114 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (username == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'username' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'username' was not present! Struct: " + toString()); } if (scope == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'scope' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'scope' was not present! Struct: " + toString()); } if (actions == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'actions' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'actions' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TAccessControlEntityStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAccessControlEntityStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAccessControlEntityStandardScheme getScheme() { return new TAccessControlEntityStandardScheme(); } } - private static class TAccessControlEntityStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TAccessControlEntityStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // USERNAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.username = iprot.readString(); - struct.setUsernameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // SCOPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scope = org.apache.hadoop.hbase.thrift.generated.TPermissionScope.findByValue(iprot.readI32()); - struct.setScopeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ACTIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.actions = iprot.readString(); - struct.setActionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // NS_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.nsName = iprot.readString(); - struct.setNsNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // USERNAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.username = iprot.readString(); + struct.setUsernameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // SCOPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.scope = org.apache.hadoop.hbase.thrift.generated.TPermissionScope.findByValue(iprot.readI32()); + struct.setScopeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ACTIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.actions = iprot.readString(); + struct.setActionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // NS_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.nsName = iprot.readString(); + struct.setNsNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TAccessControlEntity struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -762,17 +779,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAccessControlEnti } - private static class TAccessControlEntityTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAccessControlEntityTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAccessControlEntityTupleScheme getScheme() { return new TAccessControlEntityTupleScheme(); } } - private static class TAccessControlEntityTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TAccessControlEntityTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.username); oprot.writeI32(struct.scope.getValue()); oprot.writeString(struct.actions); @@ -793,28 +811,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntit } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.username = iprot.readString(); - struct.setUsernameIsSet(true); - struct.scope = org.apache.hadoop.hbase.thrift.generated.TPermissionScope.findByValue(iprot.readI32()); - struct.setScopeIsSet(true); - struct.actions = iprot.readString(); - struct.setActionsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.nsName = iprot.readString(); - struct.setNsNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.username = iprot.readString(); + struct.setUsernameIsSet(true); + struct.scope = org.apache.hadoop.hbase.thrift.generated.TPermissionScope.findByValue(iprot.readI32()); + struct.setScopeIsSet(true); + struct.actions = iprot.readString(); + struct.setActionsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.nsName = iprot.readString(); + struct.setNsNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 5a141449842c..78d26c24eab6 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,34 +1,34 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * An Append object is used to specify the parameters for performing the append operation. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TAppend implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TAppend"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("values", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAppendStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAppendTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAppendStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAppendTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required - public @org.apache.thrift.annotation.Nullable java.util.List values; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List values; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE((short)1, "table"), ROW((short)2, "row"), COLUMNS((short)3, "columns"), @@ -45,7 +45,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -74,7 +74,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -87,31 +87,33 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.VALUES, new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.VALUES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("values", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAppend.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAppend.class, metaDataMap); } public TAppend() { @@ -124,8 +126,8 @@ public TAppend( java.util.List values) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columns = columns; this.values = values; } @@ -135,27 +137,28 @@ public TAppend( */ public TAppend(TAppend other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } if (other.isSetValues()) { java.util.List __this__values = new java.util.ArrayList(other.values.size()); for (java.nio.ByteBuffer other_element : other.values) { - __this__values.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__values.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.values = __this__values; } } + @Override public TAppend deepCopy() { return new TAppend(this); } @@ -169,12 +172,12 @@ public void clear() { } public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } public TAppend setTable(byte[] table) { @@ -182,8 +185,8 @@ public TAppend setTable(byte[] table) { return this; } - public TAppend setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public TAppend setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -203,12 +206,12 @@ public void setTableIsSet(boolean value) { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TAppend setRow(byte[] row) { @@ -216,8 +219,8 @@ public TAppend setRow(byte[] row) { return this; } - public TAppend setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TAppend setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -240,7 +243,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -252,12 +255,12 @@ public void addToColumns(java.nio.ByteBuffer elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TAppend setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TAppend setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -281,7 +284,7 @@ public int getValuesSize() { return (this.values == null) ? 0 : this.values.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getValuesIterator() { return (this.values == null) ? null : this.values.iterator(); } @@ -293,12 +296,12 @@ public void addToValues(java.nio.ByteBuffer elem) { this.values.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getValues() { return this.values; } - public TAppend setValues(@org.apache.thrift.annotation.Nullable java.util.List values) { + public TAppend setValues(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List values) { this.values = values; return this; } @@ -318,7 +321,8 @@ public void setValuesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -363,7 +367,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -383,6 +388,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -489,7 +495,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -499,7 +505,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -509,7 +515,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -519,7 +525,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } @@ -527,16 +533,19 @@ public int compareTo(TAppend other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -549,7 +558,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -557,7 +566,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -565,7 +574,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; if (!first) sb.append(", "); @@ -573,116 +582,124 @@ public java.lang.String toString() { if (this.values == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.values, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.values, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TAppendStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAppendStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAppendStandardScheme getScheme() { return new TAppendStandardScheme(); } } - private static class TAppendStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TAppendStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list34 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list34.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem35; - for (int _i36 = 0; _i36 < _list34.size; ++_i36) + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem35 = iprot.readBinary(); - struct.columns.add(_elem35); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list34 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list34.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem35; + for (int _i36 = 0; _i36 < _list34.size; ++_i36) + { + _elem35 = iprot.readBinary(); + struct.columns.add(_elem35); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // VALUES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list37 = iprot.readListBegin(); - struct.values = new java.util.ArrayList(_list37.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem38; - for (int _i39 = 0; _i39 < _list37.size; ++_i39) + break; + case 4: // VALUES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem38 = iprot.readBinary(); - struct.values.add(_elem38); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list37 = iprot.readListBegin(); + struct.values = new java.util.ArrayList(_list37.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem38; + for (int _i39 = 0; _i39 < _list37.size; ++_i39) + { + _elem38 = iprot.readBinary(); + struct.values.add(_elem38); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setValuesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setValuesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -699,7 +716,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter40 : struct.columns) { oprot.writeBinary(_iter40); @@ -711,7 +728,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th if (struct.values != null) { oprot.writeFieldBegin(VALUES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.values.size())); for (java.nio.ByteBuffer _iter41 : struct.values) { oprot.writeBinary(_iter41); @@ -726,17 +743,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th } - private static class TAppendTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAppendTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAppendTupleScheme getScheme() { return new TAppendTupleScheme(); } } - private static class TAppendTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TAppendTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTable()) { optionals.set(0); @@ -778,48 +796,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { { - _elem45 = iprot.readBinary(); - struct.columns.add(_elem45); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list44 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list44.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem45; + for (int _i46 = 0; _i46 < _list44.size; ++_i46) + { + _elem45 = iprot.readBinary(); + struct.columns.add(_elem45); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - { - 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) + if (incoming.get(3)) { { - _elem48 = iprot.readBinary(); - struct.values.add(_elem48); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list47 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.values = new java.util.ArrayList(_list47.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem48; + for (int _i49 = 0; _i49 < _list47.size; ++_i49) + { + _elem48 = iprot.readBinary(); + struct.values.add(_elem48); + } } + struct.setValuesIsSet(true); } - struct.setValuesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 af7470ee0921..67b17f51190d 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,33 +1,33 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * TCell - Used to transport a cell value (byte[]) and the timestamp it was * stored with together as a result for get and getRow methods. This promotes * 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.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TCell implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TCell"); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TCellStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TCellTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TCellStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TCellTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required public long timestamp; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { VALUE((short)1, "value"), TIMESTAMP((short)2, "timestamp"); @@ -42,7 +42,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // VALUE @@ -67,7 +67,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -80,10 +80,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -92,15 +94,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Bytes"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TCell.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TCell.class, metaDataMap); } public TCell() { @@ -111,7 +113,7 @@ public TCell( long timestamp) { this(); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.timestamp = timestamp; setTimestampIsSet(true); } @@ -122,11 +124,12 @@ public TCell( public TCell(TCell other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } this.timestamp = other.timestamp; } + @Override public TCell deepCopy() { return new TCell(this); } @@ -139,12 +142,12 @@ public void clear() { } public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } public TCell setValue(byte[] value) { @@ -152,8 +155,8 @@ public TCell setValue(byte[] value) { return this; } - public TCell setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public TCell setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -183,19 +186,20 @@ public TCell setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case VALUE: if (value == null) { @@ -220,7 +224,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case VALUE: @@ -234,6 +239,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -290,7 +296,7 @@ public int hashCode() { if (isSetValue()) hashCode = hashCode * 8191 + value.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); return hashCode; } @@ -308,7 +314,7 @@ public int compareTo(TCell other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -318,7 +324,7 @@ public int compareTo(TCell other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -326,16 +332,19 @@ public int compareTo(TCell other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -348,7 +357,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -359,15 +368,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -376,58 +385,66 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TCellStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TCellStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TCellStandardScheme getScheme() { return new TCellStandardScheme(); } } - private static class TCellStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TCellStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TCell struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TCell struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TCell struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TCell struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -445,17 +462,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TCell struct) thro } - private static class TCellTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TCellTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TCellTupleScheme getScheme() { return new TCellTupleScheme(); } } - private static class TCellTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TCellTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TCell struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TCell struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetValue()) { optionals.set(0); @@ -473,22 +491,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TCell struct) throw } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TCell struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } - if (incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TCell struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + if (incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 e32bd4e57e6a..a3190654d1e3 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,30 +1,30 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Holds column name and the cell. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TColumn implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TColumn"); - private static final org.apache.thrift.protocol.TField COLUMN_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("columnName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CELL_FIELD_DESC = new org.apache.thrift.protocol.TField("cell", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columnName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CELL_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cell", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer columnName; // required - public @org.apache.thrift.annotation.Nullable TCell cell; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer columnName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell cell; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { COLUMN_NAME((short)1, "columnName"), CELL((short)2, "cell"); @@ -39,7 +39,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // COLUMN_NAME @@ -64,7 +64,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -77,25 +77,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.COLUMN_NAME, new org.apache.thrift.meta_data.FieldMetaData("columnName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.CELL, new org.apache.thrift.meta_data.FieldMetaData("cell", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.COLUMN_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columnName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.CELL, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cell", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumn.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumn.class, metaDataMap); } public TColumn() { @@ -106,7 +108,7 @@ public TColumn( TCell cell) { this(); - this.columnName = org.apache.thrift.TBaseHelper.copyBinary(columnName); + this.columnName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(columnName); this.cell = cell; } @@ -115,13 +117,14 @@ public TColumn( */ public TColumn(TColumn other) { if (other.isSetColumnName()) { - this.columnName = org.apache.thrift.TBaseHelper.copyBinary(other.columnName); + this.columnName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.columnName); } if (other.isSetCell()) { this.cell = new TCell(other.cell); } } + @Override public TColumn deepCopy() { return new TColumn(this); } @@ -133,12 +136,12 @@ public void clear() { } public byte[] getColumnName() { - setColumnName(org.apache.thrift.TBaseHelper.rightSize(columnName)); + setColumnName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(columnName)); return columnName == null ? null : columnName.array(); } public java.nio.ByteBuffer bufferForColumnName() { - return org.apache.thrift.TBaseHelper.copyBinary(columnName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(columnName); } public TColumn setColumnName(byte[] columnName) { @@ -146,8 +149,8 @@ public TColumn setColumnName(byte[] columnName) { return this; } - public TColumn setColumnName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer columnName) { - this.columnName = org.apache.thrift.TBaseHelper.copyBinary(columnName); + public TColumn setColumnName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer columnName) { + this.columnName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(columnName); return this; } @@ -166,12 +169,12 @@ public void setColumnNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCell getCell() { return this.cell; } - public TColumn setCell(@org.apache.thrift.annotation.Nullable TCell cell) { + public TColumn setCell(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell cell) { this.cell = cell; return this; } @@ -191,7 +194,8 @@ public void setCellIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case COLUMN_NAME: if (value == null) { @@ -216,7 +220,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case COLUMN_NAME: @@ -230,6 +235,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -306,7 +312,7 @@ public int compareTo(TColumn other) { return lastComparison; } if (isSetColumnName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName); if (lastComparison != 0) { return lastComparison; } @@ -316,7 +322,7 @@ public int compareTo(TColumn other) { return lastComparison; } if (isSetCell()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cell, other.cell); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cell, other.cell); if (lastComparison != 0) { return lastComparison; } @@ -324,16 +330,19 @@ public int compareTo(TColumn other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -346,7 +355,7 @@ public java.lang.String toString() { if (this.columnName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columnName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columnName, sb); } first = false; if (!first) sb.append(", "); @@ -361,7 +370,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (cell != null) { @@ -371,67 +380,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TColumnStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnStandardScheme getScheme() { return new TColumnStandardScheme(); } } - private static class TColumnStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TColumnStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // COLUMN_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.columnName = iprot.readBinary(); - struct.setColumnNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // CELL - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.cell = new TCell(); - struct.cell.read(iprot); - struct.setCellIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // COLUMN_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.columnName = iprot.readBinary(); + struct.setColumnNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // CELL + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.cell = new TCell(); + struct.cell.read(iprot); + struct.setCellIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TColumn struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -451,17 +468,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumn struct) th } - private static class TColumnTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnTupleScheme getScheme() { return new TColumnTupleScheme(); } } - private static class TColumnTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TColumnTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetColumnName()) { optionals.set(0); @@ -479,23 +497,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TColumn struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.columnName = iprot.readBinary(); - struct.setColumnNameIsSet(true); - } - if (incoming.get(1)) { - struct.cell = new TCell(); - struct.cell.read(iprot); - struct.setCellIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.columnName = iprot.readBinary(); + struct.setColumnNameIsSet(true); + } + if (incoming.get(1)) { + struct.cell = new TCell(); + struct.cell.read(iprot); + struct.setCellIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 9a6a21885ce7..e14cd81bb341 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,35 +1,35 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * For increments that are not incrementColumnValue * equivalents. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TIncrement implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TIncrement"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField AMMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("ammount", org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField AMMOUNT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ammount", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIncrementStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIncrementTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIncrementStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIncrementTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required public long ammount; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE((short)1, "table"), ROW((short)2, "row"), COLUMN((short)3, "column"), @@ -46,7 +46,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -75,7 +75,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -88,10 +88,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -100,19 +102,19 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __AMMOUNT_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.AMMOUNT, new org.apache.thrift.meta_data.FieldMetaData("ammount", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.AMMOUNT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ammount", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIncrement.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIncrement.class, metaDataMap); } public TIncrement() { @@ -125,9 +127,9 @@ public TIncrement( long ammount) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); this.ammount = ammount; setAmmountIsSet(true); } @@ -138,17 +140,18 @@ public TIncrement( public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.ammount = other.ammount; } + @Override public TIncrement deepCopy() { return new TIncrement(this); } @@ -163,12 +166,12 @@ public void clear() { } public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } public TIncrement setTable(byte[] table) { @@ -176,8 +179,8 @@ public TIncrement setTable(byte[] table) { return this; } - public TIncrement setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public TIncrement setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -197,12 +200,12 @@ public void setTableIsSet(boolean value) { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TIncrement setRow(byte[] row) { @@ -210,8 +213,8 @@ public TIncrement setRow(byte[] row) { return this; } - public TIncrement setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TIncrement setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -231,12 +234,12 @@ public void setRowIsSet(boolean value) { } public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } public TIncrement setColumn(byte[] column) { @@ -244,8 +247,8 @@ public TIncrement setColumn(byte[] column) { return this; } - public TIncrement setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public TIncrement setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -275,19 +278,20 @@ public TIncrement setAmmount(long ammount) { } public void unsetAmmount() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __AMMOUNT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __AMMOUNT_ISSET_ID); } /** Returns true if field ammount is set (has been assigned a value) and false otherwise */ public boolean isSetAmmount() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __AMMOUNT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __AMMOUNT_ISSET_ID); } public void setAmmountIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __AMMOUNT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __AMMOUNT_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -336,7 +340,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -356,6 +361,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -442,7 +448,7 @@ public int hashCode() { if (isSetColumn()) hashCode = hashCode * 8191 + column.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(ammount); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(ammount); return hashCode; } @@ -460,7 +466,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -470,7 +476,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -480,7 +486,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -490,7 +496,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetAmmount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ammount, other.ammount); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ammount, other.ammount); if (lastComparison != 0) { return lastComparison; } @@ -498,16 +504,19 @@ public int compareTo(TIncrement other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -520,7 +529,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -528,7 +537,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -536,7 +545,7 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; if (!first) sb.append(", "); @@ -547,15 +556,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -564,74 +573,82 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TIncrementStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIncrementStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIncrementStandardScheme getScheme() { return new TIncrementStandardScheme(); } } - private static class TIncrementStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TIncrementStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // AMMOUNT - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.ammount = iprot.readI64(); - struct.setAmmountIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // AMMOUNT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.ammount = iprot.readI64(); + struct.setAmmountIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -659,17 +676,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) } - private static class TIncrementTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIncrementTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIncrementTupleScheme getScheme() { return new TIncrementTupleScheme(); } } - private static class TIncrementTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TIncrementTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTable()) { optionals.set(0); @@ -699,30 +717,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } - if (incoming.get(1)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(2)) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } - if (incoming.get(3)) { - struct.ammount = iprot.readI64(); - struct.setAmmountIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } + if (incoming.get(1)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(2)) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } + if (incoming.get(3)) { + struct.ammount = iprot.readI64(); + struct.setAmmountIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TPermissionScope.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TPermissionScope.java index 05920189d8a0..f4f0fee214ed 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TPermissionScope.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TPermissionScope.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,8 +7,8 @@ package org.apache.hadoop.hbase.thrift.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TPermissionScope implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TPermissionScope implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { TABLE(0), NAMESPACE(1); @@ -21,6 +21,7 @@ private TPermissionScope(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -29,7 +30,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TPermissionScope findByValue(int value) { switch (value) { case 0: 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 2dddba7368f0..ce786cfdfb3c 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,40 +1,40 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A TRegionInfo contains information about an HTable region. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField START_KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("startKey", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField END_KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("endKey", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("version", org.apache.thrift.protocol.TType.BYTE, (short)5); - private static final org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("serverName", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField PORT_FIELD_DESC = new org.apache.thrift.protocol.TField("port", org.apache.thrift.protocol.TType.I32, (short)7); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRegionInfoStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRegionInfoTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey; // required +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TRegionInfo implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TRegionInfo"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_KEY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startKey", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField END_KEY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("endKey", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("id", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VERSION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("version", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("serverName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PORT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("port", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRegionInfoStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRegionInfoTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey; // required public long id; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required public byte version; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer serverName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer serverName; // required public int port; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { START_KEY((short)1, "startKey"), END_KEY((short)2, "endKey"), ID((short)3, "id"), @@ -54,7 +54,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // START_KEY @@ -89,7 +89,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -102,10 +102,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -116,25 +118,25 @@ public java.lang.String getFieldName() { private static final int __VERSION_ISSET_ID = 1; private static final int __PORT_ISSET_ID = 2; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.START_KEY, new org.apache.thrift.meta_data.FieldMetaData("startKey", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.END_KEY, new org.apache.thrift.meta_data.FieldMetaData("endKey", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.VERSION, new org.apache.thrift.meta_data.FieldMetaData("version", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BYTE))); - tmpMap.put(_Fields.SERVER_NAME, new org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.PORT, new org.apache.thrift.meta_data.FieldMetaData("port", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.START_KEY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startKey", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.END_KEY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("endKey", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("id", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VERSION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("version", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE))); + tmpMap.put(_Fields.SERVER_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.PORT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("port", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRegionInfo.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRegionInfo.class, metaDataMap); } public TRegionInfo() { @@ -150,14 +152,14 @@ public TRegionInfo( int port) { this(); - this.startKey = org.apache.thrift.TBaseHelper.copyBinary(startKey); - this.endKey = org.apache.thrift.TBaseHelper.copyBinary(endKey); + this.startKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startKey); + this.endKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(endKey); this.id = id; setIdIsSet(true); - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); this.version = version; setVersionIsSet(true); - this.serverName = org.apache.thrift.TBaseHelper.copyBinary(serverName); + this.serverName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(serverName); this.port = port; setPortIsSet(true); } @@ -168,22 +170,23 @@ public TRegionInfo( public TRegionInfo(TRegionInfo other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStartKey()) { - this.startKey = org.apache.thrift.TBaseHelper.copyBinary(other.startKey); + this.startKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startKey); } if (other.isSetEndKey()) { - this.endKey = org.apache.thrift.TBaseHelper.copyBinary(other.endKey); + this.endKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.endKey); } this.id = other.id; if (other.isSetName()) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.name); } this.version = other.version; if (other.isSetServerName()) { - this.serverName = org.apache.thrift.TBaseHelper.copyBinary(other.serverName); + this.serverName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.serverName); } this.port = other.port; } + @Override public TRegionInfo deepCopy() { return new TRegionInfo(this); } @@ -203,12 +206,12 @@ public void clear() { } public byte[] getStartKey() { - setStartKey(org.apache.thrift.TBaseHelper.rightSize(startKey)); + setStartKey(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startKey)); return startKey == null ? null : startKey.array(); } public java.nio.ByteBuffer bufferForStartKey() { - return org.apache.thrift.TBaseHelper.copyBinary(startKey); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startKey); } public TRegionInfo setStartKey(byte[] startKey) { @@ -216,8 +219,8 @@ public TRegionInfo setStartKey(byte[] startKey) { return this; } - public TRegionInfo setStartKey(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey) { - this.startKey = org.apache.thrift.TBaseHelper.copyBinary(startKey); + public TRegionInfo setStartKey(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey) { + this.startKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startKey); return this; } @@ -237,12 +240,12 @@ public void setStartKeyIsSet(boolean value) { } public byte[] getEndKey() { - setEndKey(org.apache.thrift.TBaseHelper.rightSize(endKey)); + setEndKey(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(endKey)); return endKey == null ? null : endKey.array(); } public java.nio.ByteBuffer bufferForEndKey() { - return org.apache.thrift.TBaseHelper.copyBinary(endKey); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(endKey); } public TRegionInfo setEndKey(byte[] endKey) { @@ -250,8 +253,8 @@ public TRegionInfo setEndKey(byte[] endKey) { return this; } - public TRegionInfo setEndKey(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey) { - this.endKey = org.apache.thrift.TBaseHelper.copyBinary(endKey); + public TRegionInfo setEndKey(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey) { + this.endKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(endKey); return this; } @@ -281,25 +284,25 @@ public TRegionInfo setId(long id) { } public void unsetId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); } /** Returns true if field id is set (has been assigned a value) and false otherwise */ public boolean isSetId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); } public void setIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); } public byte[] getName() { - setName(org.apache.thrift.TBaseHelper.rightSize(name)); + setName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(name)); return name == null ? null : name.array(); } public java.nio.ByteBuffer bufferForName() { - return org.apache.thrift.TBaseHelper.copyBinary(name); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); } public TRegionInfo setName(byte[] name) { @@ -307,8 +310,8 @@ public TRegionInfo setName(byte[] name) { return this; } - public TRegionInfo setName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + public TRegionInfo setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); return this; } @@ -338,25 +341,25 @@ public TRegionInfo setVersion(byte version) { } public void unsetVersion() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __VERSION_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __VERSION_ISSET_ID); } /** Returns true if field version is set (has been assigned a value) and false otherwise */ public boolean isSetVersion() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __VERSION_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __VERSION_ISSET_ID); } public void setVersionIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __VERSION_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __VERSION_ISSET_ID, value); } public byte[] getServerName() { - setServerName(org.apache.thrift.TBaseHelper.rightSize(serverName)); + setServerName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(serverName)); return serverName == null ? null : serverName.array(); } public java.nio.ByteBuffer bufferForServerName() { - return org.apache.thrift.TBaseHelper.copyBinary(serverName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(serverName); } public TRegionInfo setServerName(byte[] serverName) { @@ -364,8 +367,8 @@ public TRegionInfo setServerName(byte[] serverName) { return this; } - public TRegionInfo setServerName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer serverName) { - this.serverName = org.apache.thrift.TBaseHelper.copyBinary(serverName); + public TRegionInfo setServerName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer serverName) { + this.serverName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(serverName); return this; } @@ -395,19 +398,20 @@ public TRegionInfo setPort(int port) { } public void unsetPort() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PORT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PORT_ISSET_ID); } /** Returns true if field port is set (has been assigned a value) and false otherwise */ public boolean isSetPort() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID); } public void setPortIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case START_KEY: if (value == null) { @@ -484,7 +488,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case START_KEY: @@ -513,6 +518,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -628,7 +634,7 @@ public int hashCode() { if (isSetEndKey()) hashCode = hashCode * 8191 + endKey.hashCode(); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(id); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(id); hashCode = hashCode * 8191 + ((isSetName()) ? 131071 : 524287); if (isSetName()) @@ -658,7 +664,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetStartKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startKey, other.startKey); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startKey, other.startKey); if (lastComparison != 0) { return lastComparison; } @@ -668,7 +674,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetEndKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endKey, other.endKey); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.endKey, other.endKey); if (lastComparison != 0) { return lastComparison; } @@ -678,7 +684,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } @@ -688,7 +694,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -698,7 +704,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetVersion()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) { return lastComparison; } @@ -708,7 +714,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetServerName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); if (lastComparison != 0) { return lastComparison; } @@ -718,7 +724,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } if (isSetPort()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.port, other.port); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.port, other.port); if (lastComparison != 0) { return lastComparison; } @@ -726,16 +732,19 @@ public int compareTo(TRegionInfo other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -748,7 +757,7 @@ public java.lang.String toString() { if (this.startKey == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startKey, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startKey, sb); } first = false; if (!first) sb.append(", "); @@ -756,7 +765,7 @@ public java.lang.String toString() { if (this.endKey == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.endKey, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.endKey, sb); } first = false; if (!first) sb.append(", "); @@ -768,7 +777,7 @@ public java.lang.String toString() { if (this.name == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.name, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.name, sb); } first = false; if (!first) sb.append(", "); @@ -780,7 +789,7 @@ public java.lang.String toString() { if (this.serverName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.serverName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.serverName, sb); } first = false; if (!first) sb.append(", "); @@ -791,15 +800,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -808,98 +817,106 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TRegionInfoStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRegionInfoStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRegionInfoStandardScheme getScheme() { return new TRegionInfoStandardScheme(); } } - private static class TRegionInfoStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TRegionInfoStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // START_KEY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startKey = iprot.readBinary(); - struct.setStartKeyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // END_KEY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.endKey = iprot.readBinary(); - struct.setEndKeyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ID - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.id = iprot.readI64(); - struct.setIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // VERSION - if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { - struct.version = iprot.readByte(); - struct.setVersionIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // SERVER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.serverName = iprot.readBinary(); - struct.setServerNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // PORT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.port = iprot.readI32(); - struct.setPortIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // START_KEY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startKey = iprot.readBinary(); + struct.setStartKeyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // END_KEY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.endKey = iprot.readBinary(); + struct.setEndKeyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.id = iprot.readI64(); + struct.setIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // VERSION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE) { + struct.version = iprot.readByte(); + struct.setVersionIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // SERVER_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.serverName = iprot.readBinary(); + struct.setServerNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // PORT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.port = iprot.readI32(); + struct.setPortIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TRegionInfo struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -938,17 +955,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRegionInfo struct } - private static class TRegionInfoTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRegionInfoTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRegionInfoTupleScheme getScheme() { return new TRegionInfoTupleScheme(); } } - private static class TRegionInfoTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TRegionInfoTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetStartKey()) { optionals.set(0); @@ -996,42 +1014,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRegionInfo struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(7); - if (incoming.get(0)) { - struct.startKey = iprot.readBinary(); - struct.setStartKeyIsSet(true); - } - if (incoming.get(1)) { - struct.endKey = iprot.readBinary(); - struct.setEndKeyIsSet(true); - } - if (incoming.get(2)) { - struct.id = iprot.readI64(); - struct.setIdIsSet(true); - } - if (incoming.get(3)) { - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - } - if (incoming.get(4)) { - struct.version = iprot.readByte(); - struct.setVersionIsSet(true); - } - if (incoming.get(5)) { - struct.serverName = iprot.readBinary(); - struct.setServerNameIsSet(true); - } - if (incoming.get(6)) { - struct.port = iprot.readI32(); - struct.setPortIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(7); + if (incoming.get(0)) { + struct.startKey = iprot.readBinary(); + struct.setStartKeyIsSet(true); + } + if (incoming.get(1)) { + struct.endKey = iprot.readBinary(); + struct.setEndKeyIsSet(true); + } + if (incoming.get(2)) { + struct.id = iprot.readI64(); + struct.setIdIsSet(true); + } + if (incoming.get(3)) { + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + } + if (incoming.get(4)) { + struct.version = iprot.readByte(); + struct.setVersionIsSet(true); + } + if (incoming.get(5)) { + struct.serverName = iprot.readBinary(); + struct.setServerNameIsSet(true); + } + if (incoming.get(6)) { + struct.port = iprot.readI32(); + struct.setPortIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 911a0e8f79f6..32ac1f30bbb5 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,32 +1,32 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Holds row name and then a map of columns to cells. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TRowResult implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TRowResult"); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.MAP, (short)2); - private static final org.apache.thrift.protocol.TField SORTED_COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("sortedColumns", org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SORTED_COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("sortedColumns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRowResultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRowResultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRowResultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRowResultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.Map columns; // optional - public @org.apache.thrift.annotation.Nullable java.util.List sortedColumns; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map columns; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List sortedColumns; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMNS((short)2, "columns"), SORTED_COLUMNS((short)3, "sortedColumns"); @@ -42,7 +42,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -69,7 +69,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -82,31 +82,33 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.COLUMNS,_Fields.SORTED_COLUMNS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.COLUMNS,_Fields.SORTED_COLUMNS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"), - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); - tmpMap.put(_Fields.SORTED_COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("sortedColumns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCell.class)))); + tmpMap.put(_Fields.SORTED_COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("sortedColumns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRowResult.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRowResult.class, metaDataMap); } public TRowResult() { @@ -116,7 +118,7 @@ public TRowResult( java.nio.ByteBuffer row) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -124,7 +126,7 @@ public TRowResult( */ public TRowResult(TRowResult other) { if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.Map __this__columns = new java.util.HashMap(other.columns.size()); @@ -133,7 +135,7 @@ public TRowResult(TRowResult other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); TCell other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__columns_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__columns_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); TCell __this__columns_copy_value = new TCell(other_element_value); @@ -150,6 +152,7 @@ public TRowResult(TRowResult other) { } } + @Override public TRowResult deepCopy() { return new TRowResult(this); } @@ -162,12 +165,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TRowResult setRow(byte[] row) { @@ -175,8 +178,8 @@ public TRowResult setRow(byte[] row) { return this; } - public TRowResult setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TRowResult setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -206,12 +209,12 @@ public void putToColumns(java.nio.ByteBuffer key, TCell val) { this.columns.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getColumns() { return this.columns; } - public TRowResult setColumns(@org.apache.thrift.annotation.Nullable java.util.Map columns) { + public TRowResult setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map columns) { this.columns = columns; return this; } @@ -235,7 +238,7 @@ public int getSortedColumnsSize() { return (this.sortedColumns == null) ? 0 : this.sortedColumns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSortedColumnsIterator() { return (this.sortedColumns == null) ? null : this.sortedColumns.iterator(); } @@ -247,12 +250,12 @@ public void addToSortedColumns(TColumn elem) { this.sortedColumns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSortedColumns() { return this.sortedColumns; } - public TRowResult setSortedColumns(@org.apache.thrift.annotation.Nullable java.util.List sortedColumns) { + public TRowResult setSortedColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List sortedColumns) { this.sortedColumns = sortedColumns; return this; } @@ -272,7 +275,8 @@ public void setSortedColumnsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -305,7 +309,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -322,6 +327,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -413,7 +419,7 @@ public int compareTo(TRowResult other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -423,7 +429,7 @@ public int compareTo(TRowResult other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -433,7 +439,7 @@ public int compareTo(TRowResult other) { return lastComparison; } if (isSetSortedColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sortedColumns, other.sortedColumns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.sortedColumns, other.sortedColumns); if (lastComparison != 0) { return lastComparison; } @@ -441,16 +447,19 @@ public int compareTo(TRowResult other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -463,7 +472,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (isSetColumns()) { @@ -490,105 +499,113 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TRowResultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRowResultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRowResultStandardScheme getScheme() { return new TRowResultStandardScheme(); } } - private static class TRowResultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TRowResultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TRowResult struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TRowResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map8 = iprot.readMapBegin(); - struct.columns = new java.util.HashMap(2*_map8.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key9; - @org.apache.thrift.annotation.Nullable TCell _val10; - for (int _i11 = 0; _i11 < _map8.size; ++_i11) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key9 = iprot.readBinary(); - _val10 = new TCell(); - _val10.read(iprot); - struct.columns.put(_key9, _val10); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map8 = iprot.readMapBegin(); + struct.columns = new java.util.HashMap(2*_map8.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key9; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _val10; + for (int _i11 = 0; _i11 < _map8.size; ++_i11) + { + _key9 = iprot.readBinary(); + _val10 = new TCell(); + _val10.read(iprot); + struct.columns.put(_key9, _val10); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // SORTED_COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list12 = iprot.readListBegin(); - struct.sortedColumns = new java.util.ArrayList(_list12.size); - @org.apache.thrift.annotation.Nullable TColumn _elem13; - for (int _i14 = 0; _i14 < _list12.size; ++_i14) + break; + case 3: // SORTED_COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem13 = new TColumn(); - _elem13.read(iprot); - struct.sortedColumns.add(_elem13); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list12 = iprot.readListBegin(); + struct.sortedColumns = new java.util.ArrayList(_list12.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem13; + for (int _i14 = 0; _i14 < _list12.size; ++_i14) + { + _elem13 = new TColumn(); + _elem13.read(iprot); + struct.sortedColumns.add(_elem13); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSortedColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSortedColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TRowResult struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TRowResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -601,7 +618,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowResult struct) if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (java.util.Map.Entry _iter15 : struct.columns.entrySet()) { oprot.writeBinary(_iter15.getKey()); @@ -616,7 +633,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowResult struct) if (struct.isSetSortedColumns()) { oprot.writeFieldBegin(SORTED_COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.sortedColumns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.sortedColumns.size())); for (TColumn _iter16 : struct.sortedColumns) { _iter16.write(oprot); @@ -632,17 +649,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowResult struct) } - private static class TRowResultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRowResultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRowResultTupleScheme getScheme() { return new TRowResultTupleScheme(); } } - private static class TRowResultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TRowResultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TRowResult struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRowResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRow()) { optionals.set(0); @@ -679,48 +697,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRowResult struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TRowResult struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(1)) { - { - 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; - for (int _i22 = 0; _i22 < _map19.size; ++_i22) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRowResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(1)) { { - _key20 = iprot.readBinary(); - _val21 = new TCell(); - _val21.read(iprot); - struct.columns.put(_key20, _val21); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map19 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.HashMap(2*_map19.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCell _val21; + for (int _i22 = 0; _i22 < _map19.size; ++_i22) + { + _key20 = iprot.readBinary(); + _val21 = new TCell(); + _val21.read(iprot); + struct.columns.put(_key20, _val21); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(2)) { - { - 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) + if (incoming.get(2)) { { - _elem24 = new TColumn(); - _elem24.read(iprot); - struct.sortedColumns.add(_elem24); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list23 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.sortedColumns = new java.util.ArrayList(_list23.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem24; + for (int _i25 = 0; _i25 < _list23.size; ++_i25) + { + _elem24 = new TColumn(); + _elem24.read(iprot); + struct.sortedColumns.add(_elem24); + } } + struct.setSortedColumnsIsSet(true); } - struct.setSortedColumnsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 21afb638b54a..3251f4468223 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,46 +1,46 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A Scan object is used to specify scanner parameters when opening a scanner. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("stopRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)4); - private static final org.apache.thrift.protocol.TField CACHING_FIELD_DESC = new org.apache.thrift.protocol.TField("caching", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("filterString", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField BATCH_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("batchSize", org.apache.thrift.protocol.TType.I32, (short)7); - private static final org.apache.thrift.protocol.TField SORT_COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("sortColumns", org.apache.thrift.protocol.TType.BOOL, (short)8); - private static final org.apache.thrift.protocol.TField REVERSED_FIELD_DESC = new org.apache.thrift.protocol.TField("reversed", org.apache.thrift.protocol.TType.BOOL, (short)9); - private static final org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheBlocks", org.apache.thrift.protocol.TType.BOOL, (short)10); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TScanStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TScanTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TScan implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TScan"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("caching", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterString", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BATCH_SIZE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("batchSize", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SORT_COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("sortColumns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REVERSED_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("reversed", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)9); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)10); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TScanStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TScanTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // optional public long timestamp; // optional - public @org.apache.thrift.annotation.Nullable java.util.List columns; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // optional public int caching; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional public int batchSize; // optional public boolean sortColumns; // optional public boolean reversed; // optional public boolean cacheBlocks; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { START_ROW((short)1, "startRow"), STOP_ROW((short)2, "stopRow"), TIMESTAMP((short)3, "timestamp"), @@ -63,7 +63,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // START_ROW @@ -104,7 +104,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -117,10 +117,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -134,33 +136,33 @@ public java.lang.String getFieldName() { private static final int __REVERSED_ISSET_ID = 4; private static final int __CACHEBLOCKS_ISSET_ID = 5; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.START_ROW,_Fields.STOP_ROW,_Fields.TIMESTAMP,_Fields.COLUMNS,_Fields.CACHING,_Fields.FILTER_STRING,_Fields.BATCH_SIZE,_Fields.SORT_COLUMNS,_Fields.REVERSED,_Fields.CACHE_BLOCKS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.START_ROW,_Fields.STOP_ROW,_Fields.TIMESTAMP,_Fields.COLUMNS,_Fields.CACHING,_Fields.FILTER_STRING,_Fields.BATCH_SIZE,_Fields.SORT_COLUMNS,_Fields.REVERSED,_Fields.CACHE_BLOCKS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.STOP_ROW, new org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text")))); - tmpMap.put(_Fields.CACHING, new org.apache.thrift.meta_data.FieldMetaData("caching", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.FILTER_STRING, new org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , "Text"))); - tmpMap.put(_Fields.BATCH_SIZE, new org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.SORT_COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("sortColumns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.REVERSED, new org.apache.thrift.meta_data.FieldMetaData("reversed", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.STOP_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.CACHING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("caching", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.FILTER_STRING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.BATCH_SIZE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.SORT_COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("sortColumns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.REVERSED, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("reversed", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TScan.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TScan.class, metaDataMap); } public TScan() { @@ -172,22 +174,22 @@ public TScan() { public TScan(TScan other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetStopRow()) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); } this.timestamp = other.timestamp; if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); for (java.nio.ByteBuffer other_element : other.columns) { - __this__columns.add(org.apache.thrift.TBaseHelper.copyBinary(other_element)); + __this__columns.add(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element)); } this.columns = __this__columns; } this.caching = other.caching; if (other.isSetFilterString()) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(other.filterString); + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.filterString); } this.batchSize = other.batchSize; this.sortColumns = other.sortColumns; @@ -195,6 +197,7 @@ public TScan(TScan other) { this.cacheBlocks = other.cacheBlocks; } + @Override public TScan deepCopy() { return new TScan(this); } @@ -220,12 +223,12 @@ public void clear() { } public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } public TScan setStartRow(byte[] startRow) { @@ -233,8 +236,8 @@ public TScan setStartRow(byte[] startRow) { return this; } - public TScan setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public TScan setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -254,12 +257,12 @@ public void setStartRowIsSet(boolean value) { } public byte[] getStopRow() { - setStopRow(org.apache.thrift.TBaseHelper.rightSize(stopRow)); + setStopRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(stopRow)); return stopRow == null ? null : stopRow.array(); } public java.nio.ByteBuffer bufferForStopRow() { - return org.apache.thrift.TBaseHelper.copyBinary(stopRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); } public TScan setStopRow(byte[] stopRow) { @@ -267,8 +270,8 @@ public TScan setStopRow(byte[] stopRow) { return this; } - public TScan setStopRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + public TScan setStopRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); return this; } @@ -298,23 +301,23 @@ public TScan setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -326,12 +329,12 @@ public void addToColumns(java.nio.ByteBuffer elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TScan setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TScan setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -362,25 +365,25 @@ public TScan setCaching(int caching) { } public void unsetCaching() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHING_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHING_ISSET_ID); } /** Returns true if field caching is set (has been assigned a value) and false otherwise */ public boolean isSetCaching() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHING_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHING_ISSET_ID); } public void setCachingIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHING_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHING_ISSET_ID, value); } public byte[] getFilterString() { - setFilterString(org.apache.thrift.TBaseHelper.rightSize(filterString)); + setFilterString(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(filterString)); return filterString == null ? null : filterString.array(); } public java.nio.ByteBuffer bufferForFilterString() { - return org.apache.thrift.TBaseHelper.copyBinary(filterString); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); } public TScan setFilterString(byte[] filterString) { @@ -388,8 +391,8 @@ public TScan setFilterString(byte[] filterString) { return this; } - public TScan setFilterString(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(filterString); + public TScan setFilterString(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); return this; } @@ -419,16 +422,16 @@ public TScan setBatchSize(int batchSize) { } public void unsetBatchSize() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); } /** Returns true if field batchSize is set (has been assigned a value) and false otherwise */ public boolean isSetBatchSize() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); } public void setBatchSizeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BATCHSIZE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BATCHSIZE_ISSET_ID, value); } public boolean isSortColumns() { @@ -442,16 +445,16 @@ public TScan setSortColumns(boolean sortColumns) { } public void unsetSortColumns() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID); } /** Returns true if field sortColumns is set (has been assigned a value) and false otherwise */ public boolean isSetSortColumns() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID); } public void setSortColumnsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SORTCOLUMNS_ISSET_ID, value); } public boolean isReversed() { @@ -465,16 +468,16 @@ public TScan setReversed(boolean reversed) { } public void unsetReversed() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REVERSED_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REVERSED_ISSET_ID); } /** Returns true if field reversed is set (has been assigned a value) and false otherwise */ public boolean isSetReversed() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REVERSED_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REVERSED_ISSET_ID); } public void setReversedIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REVERSED_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REVERSED_ISSET_ID, value); } public boolean isCacheBlocks() { @@ -488,19 +491,20 @@ public TScan setCacheBlocks(boolean cacheBlocks) { } public void unsetCacheBlocks() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } /** Returns true if field cacheBlocks is set (has been assigned a value) and false otherwise */ public boolean isSetCacheBlocks() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } public void setCacheBlocksIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case START_ROW: if (value == null) { @@ -597,7 +601,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case START_ROW: @@ -635,6 +640,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -785,7 +791,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetColumns()) ? 131071 : 524287); if (isSetColumns()) @@ -831,7 +837,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -841,7 +847,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetStopRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); if (lastComparison != 0) { return lastComparison; } @@ -851,7 +857,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -861,7 +867,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -871,7 +877,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetCaching()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.caching, other.caching); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.caching, other.caching); if (lastComparison != 0) { return lastComparison; } @@ -881,7 +887,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetFilterString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); if (lastComparison != 0) { return lastComparison; } @@ -891,7 +897,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetBatchSize()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchSize, other.batchSize); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.batchSize, other.batchSize); if (lastComparison != 0) { return lastComparison; } @@ -901,7 +907,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetSortColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sortColumns, other.sortColumns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.sortColumns, other.sortColumns); if (lastComparison != 0) { return lastComparison; } @@ -911,7 +917,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetReversed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reversed, other.reversed); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.reversed, other.reversed); if (lastComparison != 0) { return lastComparison; } @@ -921,7 +927,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetCacheBlocks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); if (lastComparison != 0) { return lastComparison; } @@ -929,16 +935,19 @@ public int compareTo(TScan other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -952,7 +961,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; } @@ -962,7 +971,7 @@ public java.lang.String toString() { if (this.stopRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); } first = false; } @@ -978,7 +987,7 @@ public java.lang.String toString() { if (this.columns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.columns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.columns, sb); } first = false; } @@ -994,7 +1003,7 @@ public java.lang.String toString() { if (this.filterString == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.filterString, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.filterString, sb); } first = false; } @@ -1026,15 +1035,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -1043,132 +1052,140 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TScanStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TScanStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TScanStandardScheme getScheme() { return new TScanStandardScheme(); } } - private static class TScanStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TScanStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // STOP_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 4: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list26 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list26.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem27; - for (int _i28 = 0; _i28 < _list26.size; ++_i28) + } + switch (schemeField.id) { + case 1: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // STOP_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem27 = iprot.readBinary(); - struct.columns.add(_elem27); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list26 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list26.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem27; + for (int _i28 = 0; _i28 < _list26.size; ++_i28) + { + _elem27 = iprot.readBinary(); + struct.columns.add(_elem27); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // CACHING - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.caching = iprot.readI32(); - struct.setCachingIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // FILTER_STRING - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // BATCH_SIZE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.batchSize = iprot.readI32(); - struct.setBatchSizeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // SORT_COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.sortColumns = iprot.readBool(); - struct.setSortColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // REVERSED - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.reversed = iprot.readBool(); - struct.setReversedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // CACHE_BLOCKS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 5: // CACHING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.caching = iprot.readI32(); + struct.setCachingIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // FILTER_STRING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // BATCH_SIZE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.batchSize = iprot.readI32(); + struct.setBatchSizeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // SORT_COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.sortColumns = iprot.readBool(); + struct.setSortColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // REVERSED + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.reversed = iprot.readBool(); + struct.setReversedIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 10: // CACHE_BLOCKS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -1195,7 +1212,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.columns.size())); for (java.nio.ByteBuffer _iter29 : struct.columns) { oprot.writeBinary(_iter29); @@ -1243,17 +1260,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro } - private static class TScanTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TScanTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TScanTupleScheme getScheme() { return new TScanTupleScheme(); } } - private static class TScanTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TScanTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetStartRow()) { optionals.set(0); @@ -1325,63 +1343,68 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TScan struct) throw } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(10); - if (incoming.get(0)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(1)) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } - if (incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(3)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(10); + if (incoming.get(0)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(1)) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } + if (incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(3)) { { - _elem32 = iprot.readBinary(); - struct.columns.add(_elem32); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list31 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.columns = new java.util.ArrayList(_list31.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem32; + for (int _i33 = 0; _i33 < _list31.size; ++_i33) + { + _elem32 = iprot.readBinary(); + struct.columns.add(_elem32); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(4)) { - struct.caching = iprot.readI32(); - struct.setCachingIsSet(true); - } - if (incoming.get(5)) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } - if (incoming.get(6)) { - struct.batchSize = iprot.readI32(); - struct.setBatchSizeIsSet(true); - } - if (incoming.get(7)) { - struct.sortColumns = iprot.readBool(); - struct.setSortColumnsIsSet(true); - } - if (incoming.get(8)) { - struct.reversed = iprot.readBool(); - struct.setReversedIsSet(true); - } - if (incoming.get(9)) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); + if (incoming.get(4)) { + struct.caching = iprot.readI32(); + struct.setCachingIsSet(true); + } + if (incoming.get(5)) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } + if (incoming.get(6)) { + struct.batchSize = iprot.readI32(); + struct.setBatchSizeIsSet(true); + } + if (incoming.get(7)) { + struct.sortColumns = iprot.readBool(); + struct.setSortColumnsIsSet(true); + } + if (incoming.get(8)) { + struct.reversed = iprot.readBool(); + struct.setReversedIsSet(true); + } + if (incoming.get(9)) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 cf18a5d9e195..fee5afa82af4 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,8 +10,8 @@ /** * Specify type of thrift server: thrift and thrift2 */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TThriftServerType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TThriftServerType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { ONE(1), TWO(2); @@ -24,6 +24,7 @@ private TThriftServerType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -32,7 +33,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TThriftServerType findByValue(int value) { switch (value) { case 1: diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java index 1397bc49b2aa..14a5f397976d 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java @@ -44,7 +44,7 @@ import static org.apache.hadoop.hbase.thrift2.ThriftUtilities.tableDescriptorsFromHBase; import static org.apache.hadoop.hbase.thrift2.ThriftUtilities.tableNameFromThrift; import static org.apache.hadoop.hbase.thrift2.ThriftUtilities.tableNamesFromHBase; -import static org.apache.thrift.TBaseHelper.byteBufferToByteArray; +import static org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.byteBufferToByteArray; import java.io.IOException; import java.nio.ByteBuffer; @@ -96,7 +96,6 @@ import org.apache.hadoop.hbase.thrift2.generated.TTableName; import org.apache.hadoop.hbase.thrift2.generated.TThriftServerType; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.TException; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -104,6 +103,7 @@ import org.apache.hbase.thirdparty.com.google.common.cache.Cache; import org.apache.hbase.thirdparty.com.google.common.cache.CacheBuilder; import org.apache.hbase.thirdparty.com.google.common.cache.RemovalListener; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * This class is a glue object that connects Thrift RPC calls to the HBase client API primarily diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java index 0361626ffc7f..2d2848d8d883 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java @@ -32,7 +32,6 @@ import org.apache.hadoop.hbase.thrift2.generated.THBaseService; import org.apache.hadoop.util.Shell; import org.apache.hadoop.util.ToolRunner; -import org.apache.thrift.TProcessor; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -40,6 +39,7 @@ import org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine; import org.apache.hbase.thirdparty.org.apache.commons.cli.HelpFormatter; import org.apache.hbase.thirdparty.org.apache.commons.cli.Options; +import org.apache.hbase.thirdparty.org.apache.thrift.TProcessor; /** * ThriftServer - this class starts up a Thrift server which implements the HBase API specified in diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftAdmin.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftAdmin.java index 4ff52ec8f7eb..97d61f9ba2e7 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftAdmin.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftAdmin.java @@ -79,10 +79,11 @@ import org.apache.hadoop.hbase.thrift2.generated.TTableName; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Pair; -import org.apache.thrift.TException; -import org.apache.thrift.transport.TTransport; import org.apache.yetus.audience.InterfaceAudience; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; + @InterfaceAudience.Private public class ThriftAdmin implements Admin { diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftClientBuilder.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftClientBuilder.java index c7d4d77cee55..40b79c35e8c0 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftClientBuilder.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftClientBuilder.java @@ -20,9 +20,10 @@ import java.io.IOException; import org.apache.hadoop.hbase.thrift2.generated.THBaseService; import org.apache.hadoop.hbase.util.Pair; -import org.apache.thrift.transport.TTransport; import org.apache.yetus.audience.InterfaceAudience; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; + @InterfaceAudience.Private public abstract class ThriftClientBuilder { protected ThriftConnection connection; 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 db1b1e1c9870..9e38444e35a6 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 @@ -53,20 +53,20 @@ import org.apache.http.impl.client.DefaultHttpRequestRetryHandler; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.protocol.HttpContext; -import org.apache.thrift.TException; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TCompactProtocol; -import org.apache.thrift.protocol.TProtocol; -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; import org.apache.hbase.thirdparty.com.google.common.base.Preconditions; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.layered.TFramedTransport; @InterfaceAudience.Private public class ThriftConnection implements Connection { diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftTable.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftTable.java index d8f22f17dbfb..bafe8c1573f5 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftTable.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftTable.java @@ -65,12 +65,12 @@ import org.apache.hadoop.hbase.thrift2.generated.TScan; import org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.TException; -import org.apache.thrift.transport.TTransport; import org.apache.yetus.audience.InterfaceAudience; import org.apache.hbase.thirdparty.com.google.common.base.Preconditions; import org.apache.hbase.thirdparty.com.google.common.primitives.Booleans; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; @InterfaceAudience.Private public class ThriftTable implements Table { diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/NamespaceDescriptor.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/NamespaceDescriptor.java deleted file mode 100644 index 3f9f51242478..000000000000 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/NamespaceDescriptor.java +++ /dev/null @@ -1,554 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package org.apache.hadoop.hbase.thrift2.generated; - -import org.apache.thrift.scheme.IScheme; -import org.apache.thrift.scheme.SchemeFactory; -import org.apache.thrift.scheme.StandardScheme; - -import org.apache.thrift.scheme.TupleScheme; -import org.apache.thrift.protocol.TTupleProtocol; -import org.apache.thrift.protocol.TProtocolException; -import org.apache.thrift.EncodingUtils; -import org.apache.thrift.TException; -import org.apache.thrift.async.AsyncMethodCallback; -import org.apache.thrift.server.AbstractNonblockingServer.*; -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.EnumMap; -import java.util.Set; -import java.util.HashSet; -import java.util.EnumSet; -import java.util.Collections; -import java.util.BitSet; -import java.nio.ByteBuffer; -import java.util.Arrays; -import javax.annotation.Generated; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2018-12-26") -public class NamespaceDescriptor 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("NamespaceDescriptor"); - - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CONFIGURATION_FIELD_DESC = new org.apache.thrift.protocol.TField("configuration", org.apache.thrift.protocol.TType.MAP, (short)2); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new NamespaceDescriptorStandardSchemeFactory()); - schemes.put(TupleScheme.class, new NamespaceDescriptorTupleSchemeFactory()); - } - - public String name; // required - public Map configuration; // optional - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - NAME((short)1, "name"), - CONFIGURATION((short)2, "configuration"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // NAME - return NAME; - case 2: // CONFIGURATION - return CONFIGURATION; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = {_Fields.CONFIGURATION}; - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CONFIGURATION, new org.apache.thrift.meta_data.FieldMetaData("configuration", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(NamespaceDescriptor.class, metaDataMap); - } - - public NamespaceDescriptor() { - } - - public NamespaceDescriptor( - String name) - { - this(); - this.name = name; - } - - /** - * Performs a deep copy on other. - */ - public NamespaceDescriptor(NamespaceDescriptor other) { - if (other.isSetName()) { - this.name = other.name; - } - if (other.isSetConfiguration()) { - Map __this__configuration = new HashMap(other.configuration); - this.configuration = __this__configuration; - } - } - - public NamespaceDescriptor deepCopy() { - return new NamespaceDescriptor(this); - } - - @Override - public void clear() { - this.name = null; - this.configuration = null; - } - - public String getName() { - return this.name; - } - - public NamespaceDescriptor setName(String name) { - this.name = name; - return this; - } - - public void unsetName() { - this.name = null; - } - - /** Returns true if field name is set (has been assigned a value) and false otherwise */ - public boolean isSetName() { - return this.name != null; - } - - public void setNameIsSet(boolean value) { - if (!value) { - this.name = null; - } - } - - public int getConfigurationSize() { - return (this.configuration == null) ? 0 : this.configuration.size(); - } - - public void putToConfiguration(String key, String val) { - if (this.configuration == null) { - this.configuration = new HashMap(); - } - this.configuration.put(key, val); - } - - public Map getConfiguration() { - return this.configuration; - } - - public NamespaceDescriptor setConfiguration(Map configuration) { - this.configuration = configuration; - return this; - } - - public void unsetConfiguration() { - this.configuration = null; - } - - /** Returns true if field configuration is set (has been assigned a value) and false otherwise */ - public boolean isSetConfiguration() { - return this.configuration != null; - } - - public void setConfigurationIsSet(boolean value) { - if (!value) { - this.configuration = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case NAME: - if (value == null) { - unsetName(); - } else { - setName((String)value); - } - break; - - case CONFIGURATION: - if (value == null) { - unsetConfiguration(); - } else { - setConfiguration((Map)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case NAME: - return getName(); - - case CONFIGURATION: - return getConfiguration(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case NAME: - return isSetName(); - case CONFIGURATION: - return isSetConfiguration(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof NamespaceDescriptor) - return this.equals((NamespaceDescriptor)that); - return false; - } - - public boolean equals(NamespaceDescriptor that) { - if (that == null) - return false; - - boolean this_present_name = true && this.isSetName(); - boolean that_present_name = true && that.isSetName(); - if (this_present_name || that_present_name) { - if (!(this_present_name && that_present_name)) - return false; - if (!this.name.equals(that.name)) - return false; - } - - boolean this_present_configuration = true && this.isSetConfiguration(); - boolean that_present_configuration = true && that.isSetConfiguration(); - if (this_present_configuration || that_present_configuration) { - if (!(this_present_configuration && that_present_configuration)) - return false; - if (!this.configuration.equals(that.configuration)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_name = true && (isSetName()); - list.add(present_name); - if (present_name) - list.add(name); - - boolean present_configuration = true && (isSetConfiguration()); - list.add(present_configuration); - if (present_configuration) - list.add(configuration); - - return list.hashCode(); - } - - @Override - public int compareTo(NamespaceDescriptor other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetConfiguration()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("NamespaceDescriptor("); - boolean first = true; - - sb.append("name:"); - if (this.name == null) { - sb.append("null"); - } else { - sb.append(this.name); - } - first = false; - if (isSetConfiguration()) { - if (!first) sb.append(", "); - sb.append("configuration:"); - if (this.configuration == null) { - sb.append("null"); - } else { - sb.append(this.configuration); - } - first = false; - } - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); - } - // check for sub-struct validity - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class NamespaceDescriptorStandardSchemeFactory implements SchemeFactory { - public NamespaceDescriptorStandardScheme getScheme() { - return new NamespaceDescriptorStandardScheme(); - } - } - - private static class NamespaceDescriptorStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, NamespaceDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // CONFIGURATION - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); - struct.configuration = new HashMap(2*_map180.size); - String _key181; - String _val182; - for (int _i183 = 0; _i183 < _map180.size; ++_i183) - { - _key181 = iprot.readString(); - _val182 = iprot.readString(); - struct.configuration.put(_key181, _val182); - } - iprot.readMapEnd(); - } - struct.setConfigurationIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, NamespaceDescriptor struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.name != null) { - oprot.writeFieldBegin(NAME_FIELD_DESC); - oprot.writeString(struct.name); - oprot.writeFieldEnd(); - } - if (struct.configuration != null) { - if (struct.isSetConfiguration()) { - oprot.writeFieldBegin(CONFIGURATION_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); - for (Map.Entry _iter184 : struct.configuration.entrySet()) - { - oprot.writeString(_iter184.getKey()); - oprot.writeString(_iter184.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class NamespaceDescriptorTupleSchemeFactory implements SchemeFactory { - public NamespaceDescriptorTupleScheme getScheme() { - return new NamespaceDescriptorTupleScheme(); - } - } - - private static class NamespaceDescriptorTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, NamespaceDescriptor struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - oprot.writeString(struct.name); - BitSet optionals = new BitSet(); - if (struct.isSetConfiguration()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetConfiguration()) { - { - oprot.writeI32(struct.configuration.size()); - for (Map.Entry _iter185 : struct.configuration.entrySet()) - { - oprot.writeString(_iter185.getKey()); - oprot.writeString(_iter185.getValue()); - } - } - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, NamespaceDescriptor struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); - 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()); - struct.configuration = new HashMap(2*_map186.size); - String _key187; - String _val188; - for (int _i189 = 0; _i189 < _map186.size; ++_i189) - { - _key187 = iprot.readString(); - _val188 = iprot.readString(); - struct.configuration.put(_key187, _val188); - } - } - struct.setConfigurationIsSet(true); - } - } - } - -} - diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAccessControlEntity.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAccessControlEntity.java index f8d2e0fef934..6bd908ad6e5c 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAccessControlEntity.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAccessControlEntity.java @@ -1,40 +1,40 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * TAccessControlEntity for permission control */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public class TAccessControlEntity 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("TAccessControlEntity"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TAccessControlEntity implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TAccessControlEntity"); - private static final org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("username", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("scope", org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.protocol.TField ACTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("actions", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField NS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("nsName", org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("username", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scope", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ACTIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("actions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NS_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("nsName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAccessControlEntityStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAccessControlEntityTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAccessControlEntityStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAccessControlEntityTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String username; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String username; // required /** * * @see TPermissionScope */ - public @org.apache.thrift.annotation.Nullable TPermissionScope scope; // required - public @org.apache.thrift.annotation.Nullable java.lang.String actions; // required - public @org.apache.thrift.annotation.Nullable java.lang.String tableName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String nsName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPermissionScope scope; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String actions; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String tableName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String nsName; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { USERNAME((short)1, "username"), /** * @@ -56,7 +56,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // USERNAME @@ -87,7 +87,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -100,32 +100,34 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.TABLE_NAME,_Fields.NS_NAME}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.TABLE_NAME,_Fields.NS_NAME}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.USERNAME, new org.apache.thrift.meta_data.FieldMetaData("username", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.SCOPE, new org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TPermissionScope.class))); - tmpMap.put(_Fields.ACTIONS, new org.apache.thrift.meta_data.FieldMetaData("actions", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.NS_NAME, new org.apache.thrift.meta_data.FieldMetaData("nsName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.USERNAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("username", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.SCOPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TPermissionScope.class))); + tmpMap.put(_Fields.ACTIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("actions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.NS_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("nsName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAccessControlEntity.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAccessControlEntity.class, metaDataMap); } public TAccessControlEntity() { @@ -163,6 +165,7 @@ public TAccessControlEntity(TAccessControlEntity other) { } } + @Override public TAccessControlEntity deepCopy() { return new TAccessControlEntity(this); } @@ -176,12 +179,12 @@ public void clear() { this.nsName = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getUsername() { return this.username; } - public TAccessControlEntity setUsername(@org.apache.thrift.annotation.Nullable java.lang.String username) { + public TAccessControlEntity setUsername(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String username) { this.username = username; return this; } @@ -205,7 +208,7 @@ public void setUsernameIsSet(boolean value) { * * @see TPermissionScope */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TPermissionScope getScope() { return this.scope; } @@ -214,7 +217,7 @@ public TPermissionScope getScope() { * * @see TPermissionScope */ - public TAccessControlEntity setScope(@org.apache.thrift.annotation.Nullable TPermissionScope scope) { + public TAccessControlEntity setScope(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPermissionScope scope) { this.scope = scope; return this; } @@ -234,12 +237,12 @@ public void setScopeIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getActions() { return this.actions; } - public TAccessControlEntity setActions(@org.apache.thrift.annotation.Nullable java.lang.String actions) { + public TAccessControlEntity setActions(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String actions) { this.actions = actions; return this; } @@ -259,12 +262,12 @@ public void setActionsIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getTableName() { return this.tableName; } - public TAccessControlEntity setTableName(@org.apache.thrift.annotation.Nullable java.lang.String tableName) { + public TAccessControlEntity setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String tableName) { this.tableName = tableName; return this; } @@ -284,12 +287,12 @@ public void setTableNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getNsName() { return this.nsName; } - public TAccessControlEntity setNsName(@org.apache.thrift.annotation.Nullable java.lang.String nsName) { + public TAccessControlEntity setNsName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String nsName) { this.nsName = nsName; return this; } @@ -309,7 +312,8 @@ public void setNsNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case USERNAME: if (value == null) { @@ -354,7 +358,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case USERNAME: @@ -377,6 +382,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -498,7 +504,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetUsername()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); if (lastComparison != 0) { return lastComparison; } @@ -508,7 +514,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetScope()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); if (lastComparison != 0) { return lastComparison; } @@ -518,7 +524,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetActions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.actions, other.actions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.actions, other.actions); if (lastComparison != 0) { return lastComparison; } @@ -528,7 +534,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -538,7 +544,7 @@ public int compareTo(TAccessControlEntity other) { return lastComparison; } if (isSetNsName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nsName, other.nsName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.nsName, other.nsName); if (lastComparison != 0) { return lastComparison; } @@ -546,16 +552,19 @@ public int compareTo(TAccessControlEntity other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -611,106 +620,114 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (username == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'username' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'username' was not present! Struct: " + toString()); } if (scope == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'scope' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'scope' was not present! Struct: " + toString()); } if (actions == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'actions' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'actions' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TAccessControlEntityStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAccessControlEntityStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAccessControlEntityStandardScheme getScheme() { return new TAccessControlEntityStandardScheme(); } } - private static class TAccessControlEntityStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TAccessControlEntityStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // USERNAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.username = iprot.readString(); - struct.setUsernameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // SCOPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scope = org.apache.hadoop.hbase.thrift2.generated.TPermissionScope.findByValue(iprot.readI32()); - struct.setScopeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ACTIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.actions = iprot.readString(); - struct.setActionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readString(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // NS_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.nsName = iprot.readString(); - struct.setNsNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // USERNAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.username = iprot.readString(); + struct.setUsernameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // SCOPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.scope = org.apache.hadoop.hbase.thrift2.generated.TPermissionScope.findByValue(iprot.readI32()); + struct.setScopeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // ACTIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.actions = iprot.readString(); + struct.setActionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // NS_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.nsName = iprot.readString(); + struct.setNsNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TAccessControlEntity struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -749,17 +766,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAccessControlEnti } - private static class TAccessControlEntityTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAccessControlEntityTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAccessControlEntityTupleScheme getScheme() { return new TAccessControlEntityTupleScheme(); } } - private static class TAccessControlEntityTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TAccessControlEntityTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.username); oprot.writeI32(struct.scope.getValue()); oprot.writeString(struct.actions); @@ -780,28 +798,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntit } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.username = iprot.readString(); - struct.setUsernameIsSet(true); - struct.scope = org.apache.hadoop.hbase.thrift2.generated.TPermissionScope.findByValue(iprot.readI32()); - struct.setScopeIsSet(true); - struct.actions = iprot.readString(); - struct.setActionsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.tableName = iprot.readString(); - struct.setTableNameIsSet(true); - } - if (incoming.get(1)) { - struct.nsName = iprot.readString(); - struct.setNsNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAccessControlEntity struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.username = iprot.readString(); + struct.setUsernameIsSet(true); + struct.scope = org.apache.hadoop.hbase.thrift2.generated.TPermissionScope.findByValue(iprot.readI32()); + struct.setScopeIsSet(true); + struct.actions = iprot.readString(); + struct.setActionsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + } + if (incoming.get(1)) { + struct.nsName = iprot.readString(); + struct.setNsNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 cd3ac911fbeb..62101c6fe7b3 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,33 +7,33 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("durability", org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("cellVisibility", org.apache.thrift.protocol.TType.STRUCT, (short)5); - private static final org.apache.thrift.protocol.TField RETURN_RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("returnResults", org.apache.thrift.protocol.TType.BOOL, (short)6); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAppendStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAppendTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TAppend implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TAppend"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("durability", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField RETURN_RESULTS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("returnResults", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)6); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAppendStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAppendTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional /** * * @see TDurability */ - public @org.apache.thrift.annotation.Nullable TDurability durability; // optional - public @org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional public boolean returnResults; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMNS((short)2, "columns"), ATTRIBUTES((short)3, "attributes"), @@ -56,7 +56,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -89,7 +89,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -102,10 +102,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -114,27 +116,27 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __RETURNRESULTS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY,_Fields.RETURN_RESULTS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY,_Fields.RETURN_RESULTS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.DURABILITY, new org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDurability.class))); - tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); - tmpMap.put(_Fields.RETURN_RESULTS, new org.apache.thrift.meta_data.FieldMetaData("returnResults", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.DURABILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDurability.class))); + tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); + tmpMap.put(_Fields.RETURN_RESULTS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("returnResults", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAppend.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAppend.class, metaDataMap); } public TAppend() { @@ -145,7 +147,7 @@ public TAppend( java.util.List columns) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columns = columns; } @@ -155,7 +157,7 @@ public TAppend( public TAppend(TAppend other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); @@ -177,6 +179,7 @@ public TAppend(TAppend other) { this.returnResults = other.returnResults; } + @Override public TAppend deepCopy() { return new TAppend(this); } @@ -193,12 +196,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TAppend setRow(byte[] row) { @@ -206,8 +209,8 @@ public TAppend setRow(byte[] row) { return this; } - public TAppend setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TAppend setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -230,7 +233,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -242,12 +245,12 @@ public void addToColumns(TColumnValue elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TAppend setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TAppend setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -278,12 +281,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TAppend setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TAppend setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -307,7 +310,7 @@ public void setAttributesIsSet(boolean value) { * * @see TDurability */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDurability getDurability() { return this.durability; } @@ -316,7 +319,7 @@ public TDurability getDurability() { * * @see TDurability */ - public TAppend setDurability(@org.apache.thrift.annotation.Nullable TDurability durability) { + public TAppend setDurability(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability) { this.durability = durability; return this; } @@ -336,12 +339,12 @@ public void setDurabilityIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCellVisibility getCellVisibility() { return this.cellVisibility; } - public TAppend setCellVisibility(@org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { + public TAppend setCellVisibility(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { this.cellVisibility = cellVisibility; return this; } @@ -372,19 +375,20 @@ public TAppend setReturnResults(boolean returnResults) { } public void unsetReturnResults() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); } /** Returns true if field returnResults is set (has been assigned a value) and false otherwise */ public boolean isSetReturnResults() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); } public void setReturnResultsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -441,7 +445,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -467,6 +472,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -603,7 +609,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -613,7 +619,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -623,7 +629,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -633,7 +639,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetDurability()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); if (lastComparison != 0) { return lastComparison; } @@ -643,7 +649,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetCellVisibility()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); if (lastComparison != 0) { return lastComparison; } @@ -653,7 +659,7 @@ public int compareTo(TAppend other) { return lastComparison; } if (isSetReturnResults()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnResults, other.returnResults); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.returnResults, other.returnResults); if (lastComparison != 0) { return lastComparison; } @@ -661,16 +667,19 @@ public int compareTo(TAppend other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -683,7 +692,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -734,13 +743,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (columns == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'columns' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'columns' was not present! Struct: " + toString()); } // check for sub-struct validity if (cellVisibility != null) { @@ -750,8 +759,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -760,114 +769,122 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TAppendStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAppendStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAppendStandardScheme getScheme() { return new TAppendStandardScheme(); } } - private static class TAppendStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TAppendStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list88 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list88.size); - @org.apache.thrift.annotation.Nullable TColumnValue _elem89; - for (int _i90 = 0; _i90 < _list88.size; ++_i90) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem89 = new TColumnValue(); - _elem89.read(iprot); - struct.columns.add(_elem89); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list88 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list88.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem89; + for (int _i90 = 0; _i90 < _list88.size; ++_i90) + { + _elem89 = new TColumnValue(); + _elem89.read(iprot); + struct.columns.add(_elem89); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map91 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map91.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key92; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val93; - for (int _i94 = 0; _i94 < _map91.size; ++_i94) + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key92 = iprot.readBinary(); - _val93 = iprot.readBinary(); - struct.attributes.put(_key92, _val93); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map91 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map91.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key92; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val93; + for (int _i94 = 0; _i94 < _map91.size; ++_i94) + { + _key92 = iprot.readBinary(); + _val93 = iprot.readBinary(); + struct.attributes.put(_key92, _val93); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // DURABILITY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // CELL_VISIBILITY - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // RETURN_RESULTS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.returnResults = iprot.readBool(); - struct.setReturnResultsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 4: // DURABILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // CELL_VISIBILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // RETURN_RESULTS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.returnResults = iprot.readBool(); + struct.setReturnResultsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -879,7 +896,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumnValue _iter95 : struct.columns) { _iter95.write(oprot); @@ -892,7 +909,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter96 : struct.attributes.entrySet()) { oprot.writeBinary(_iter96.getKey()); @@ -928,17 +945,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAppend struct) th } - private static class TAppendTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAppendTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAppendTupleScheme getScheme() { return new TAppendTupleScheme(); } } - private static class TAppendTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TAppendTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); { oprot.writeI32(struct.columns.size()); @@ -983,56 +1001,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAppend struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); { - _elem100 = new TColumnValue(); - _elem100.read(iprot); - struct.columns.add(_elem100); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list99 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list99.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem100; + for (int _i101 = 0; _i101 < _list99.size; ++_i101) + { + _elem100 = new TColumnValue(); + _elem100.read(iprot); + struct.columns.add(_elem100); + } } - } - struct.setColumnsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - { - 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; - for (int _i105 = 0; _i105 < _map102.size; ++_i105) + struct.setColumnsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { { - _key103 = iprot.readBinary(); - _val104 = iprot.readBinary(); - struct.attributes.put(_key103, _val104); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map102 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map102.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key103; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val104; + for (int _i105 = 0; _i105 < _map102.size; ++_i105) + { + _key103 = iprot.readBinary(); + _val104 = iprot.readBinary(); + struct.attributes.put(_key103, _val104); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(1)) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } - if (incoming.get(2)) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } - if (incoming.get(3)) { - struct.returnResults = iprot.readBool(); - struct.setReturnResultsIsSet(true); + if (incoming.get(1)) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } + if (incoming.get(2)) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } + if (incoming.get(3)) { + struct.returnResults = iprot.readBool(); + struct.setReturnResultsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 880994e37a90..203130ac2fbf 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,19 +7,19 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TAuthorization implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TAuthorization"); - private static final org.apache.thrift.protocol.TField LABELS_FIELD_DESC = new org.apache.thrift.protocol.TField("labels", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField LABELS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("labels", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAuthorizationStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAuthorizationTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAuthorizationStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAuthorizationTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List labels; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List labels; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { LABELS((short)1, "labels"); private static final java.util.Map byName = new java.util.HashMap(); @@ -33,7 +33,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // LABELS @@ -56,7 +56,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -69,25 +69,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.LABELS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.LABELS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.LABELS, new org.apache.thrift.meta_data.FieldMetaData("labels", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.LABELS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("labels", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAuthorization.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAuthorization.class, metaDataMap); } public TAuthorization() { @@ -103,6 +105,7 @@ public TAuthorization(TAuthorization other) { } } + @Override public TAuthorization deepCopy() { return new TAuthorization(this); } @@ -116,7 +119,7 @@ public int getLabelsSize() { return (this.labels == null) ? 0 : this.labels.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getLabelsIterator() { return (this.labels == null) ? null : this.labels.iterator(); } @@ -128,12 +131,12 @@ public void addToLabels(java.lang.String elem) { this.labels.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getLabels() { return this.labels; } - public TAuthorization setLabels(@org.apache.thrift.annotation.Nullable java.util.List labels) { + public TAuthorization setLabels(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List labels) { this.labels = labels; return this; } @@ -153,7 +156,8 @@ public void setLabelsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case LABELS: if (value == null) { @@ -166,7 +170,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case LABELS: @@ -177,6 +182,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -238,7 +244,7 @@ public int compareTo(TAuthorization other) { return lastComparison; } if (isSetLabels()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.labels, other.labels); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.labels, other.labels); if (lastComparison != 0) { return lastComparison; } @@ -246,16 +252,19 @@ public int compareTo(TAuthorization other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -277,75 +286,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TAuthorizationStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAuthorizationStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAuthorizationStandardScheme getScheme() { return new TAuthorizationStandardScheme(); } } - private static class TAuthorizationStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TAuthorizationStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TAuthorization struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // LABELS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); - struct.labels = new java.util.ArrayList(_list8.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem9; - for (int _i10 = 0; _i10 < _list8.size; ++_i10) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TAuthorization struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // LABELS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem9 = iprot.readString(); - struct.labels.add(_elem9); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); + struct.labels = new java.util.ArrayList(_list8.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem9; + for (int _i10 = 0; _i10 < _list8.size; ++_i10) + { + _elem9 = iprot.readString(); + struct.labels.add(_elem9); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setLabelsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setLabelsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -353,7 +370,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization str if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (java.lang.String _iter11 : struct.labels) { oprot.writeString(_iter11); @@ -369,17 +386,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization str } - private static class TAuthorizationTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TAuthorizationTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TAuthorizationTupleScheme getScheme() { return new TAuthorizationTupleScheme(); } } - private static class TAuthorizationTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TAuthorizationTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TAuthorization struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAuthorization struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetLabels()) { optionals.set(0); @@ -397,27 +415,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TAuthorization stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TAuthorization struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TAuthorization struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _elem14 = iprot.readString(); - struct.labels.add(_elem14); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list13 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.labels = new java.util.ArrayList(_list13.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem14; + for (int _i15 = 0; _i15 < _list13.size; ++_i15) + { + _elem14 = iprot.readString(); + struct.labels.add(_elem14); + } } + struct.setLabelsIsSet(true); } - struct.setLabelsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 f62eb36b0e78..8224a02a1a65 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,8 +11,8 @@ * Thrift wrapper around * org.apache.hadoop.hbase.regionserver.BloomType */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TBloomFilterType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TBloomFilterType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { /** * Bloomfilters disabled */ @@ -39,6 +39,7 @@ private TBloomFilterType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -47,7 +48,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TBloomFilterType findByValue(int value) { switch (value) { case 0: 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 736550022104..ae9370191d00 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,19 +7,19 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TCellVisibility implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TCellVisibility"); - private static final org.apache.thrift.protocol.TField EXPRESSION_FIELD_DESC = new org.apache.thrift.protocol.TField("expression", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField EXPRESSION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("expression", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TCellVisibilityStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TCellVisibilityTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TCellVisibilityStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TCellVisibilityTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String expression; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String expression; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { EXPRESSION((short)1, "expression"); private static final java.util.Map byName = new java.util.HashMap(); @@ -33,7 +33,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // EXPRESSION @@ -56,7 +56,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -69,24 +69,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.EXPRESSION}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.EXPRESSION}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.EXPRESSION, new org.apache.thrift.meta_data.FieldMetaData("expression", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.EXPRESSION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("expression", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TCellVisibility.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TCellVisibility.class, metaDataMap); } public TCellVisibility() { @@ -101,6 +103,7 @@ public TCellVisibility(TCellVisibility other) { } } + @Override public TCellVisibility deepCopy() { return new TCellVisibility(this); } @@ -110,12 +113,12 @@ public void clear() { this.expression = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getExpression() { return this.expression; } - public TCellVisibility setExpression(@org.apache.thrift.annotation.Nullable java.lang.String expression) { + public TCellVisibility setExpression(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String expression) { this.expression = expression; return this; } @@ -135,7 +138,8 @@ public void setExpressionIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case EXPRESSION: if (value == null) { @@ -148,7 +152,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case EXPRESSION: @@ -159,6 +164,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -220,7 +226,7 @@ public int compareTo(TCellVisibility other) { return lastComparison; } if (isSetExpression()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expression, other.expression); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.expression, other.expression); if (lastComparison != 0) { return lastComparison; } @@ -228,16 +234,19 @@ public int compareTo(TCellVisibility other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -259,65 +268,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TCellVisibilityStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TCellVisibilityStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TCellVisibilityStandardScheme getScheme() { return new TCellVisibilityStandardScheme(); } } - private static class TCellVisibilityStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TCellVisibilityStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TCellVisibility struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // EXPRESSION - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.expression = iprot.readString(); - struct.setExpressionIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TCellVisibility struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // EXPRESSION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.expression = iprot.readString(); + struct.setExpressionIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TCellVisibility struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TCellVisibility struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -334,17 +351,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TCellVisibility st } - private static class TCellVisibilityTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TCellVisibilityTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TCellVisibilityTupleScheme getScheme() { return new TCellVisibilityTupleScheme(); } } - private static class TCellVisibilityTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TCellVisibilityTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TCellVisibility struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TCellVisibility struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetExpression()) { optionals.set(0); @@ -356,18 +374,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TCellVisibility str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TCellVisibility struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.expression = iprot.readString(); - struct.setExpressionIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TCellVisibility struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.expression = iprot.readString(); + struct.setExpressionIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 18f52911adf9..d55606f46948 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,34 +1,34 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Addresses a single cell or multiple cells * in a HBase table by column family and optionally * a column qualifier and timestamp */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TColumn implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TColumn"); - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // optional public long timestamp; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { FAMILY((short)1, "family"), QUALIFIER((short)2, "qualifier"), TIMESTAMP((short)3, "timestamp"); @@ -44,7 +44,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // FAMILY @@ -71,7 +71,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -84,10 +84,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -96,18 +98,18 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.QUALIFIER,_Fields.TIMESTAMP}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.QUALIFIER,_Fields.TIMESTAMP}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumn.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumn.class, metaDataMap); } public TColumn() { @@ -117,7 +119,7 @@ public TColumn( java.nio.ByteBuffer family) { this(); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } /** @@ -126,14 +128,15 @@ public TColumn( public TColumn(TColumn other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.timestamp = other.timestamp; } + @Override public TColumn deepCopy() { return new TColumn(this); } @@ -147,12 +150,12 @@ public void clear() { } public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } public TColumn setFamily(byte[] family) { @@ -160,8 +163,8 @@ public TColumn setFamily(byte[] family) { return this; } - public TColumn setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public TColumn setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -181,12 +184,12 @@ public void setFamilyIsSet(boolean value) { } public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } public TColumn setQualifier(byte[] qualifier) { @@ -194,8 +197,8 @@ public TColumn setQualifier(byte[] qualifier) { return this; } - public TColumn setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public TColumn setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -225,19 +228,20 @@ public TColumn setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case FAMILY: if (value == null) { @@ -274,7 +278,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case FAMILY: @@ -291,6 +296,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -364,7 +370,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); return hashCode; } @@ -382,7 +388,7 @@ public int compareTo(TColumn other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -392,7 +398,7 @@ public int compareTo(TColumn other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -402,7 +408,7 @@ public int compareTo(TColumn other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -410,16 +416,19 @@ public int compareTo(TColumn other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -432,7 +441,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (isSetQualifier()) { @@ -441,7 +450,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; } @@ -455,18 +464,18 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -475,66 +484,74 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TColumnStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnStandardScheme getScheme() { return new TColumnStandardScheme(); } } - private static class TColumnStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TColumnStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TColumn struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -561,17 +578,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumn struct) th } - private static class TColumnTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnTupleScheme getScheme() { return new TColumnTupleScheme(); } } - private static class TColumnTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TColumnTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.family); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetQualifier()) { @@ -590,24 +608,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TColumn struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } - if (incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumn struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } + if (incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 74e07b516935..35be03a20568 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,69 +1,69 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.client.ColumnFamilyDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)2); - private static final org.apache.thrift.protocol.TField CONFIGURATION_FIELD_DESC = new org.apache.thrift.protocol.TField("configuration", org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.protocol.TField BLOCK_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("blockSize", org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.protocol.TField BLOOMN_FILTER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bloomnFilterType", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField COMPRESSION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("compressionType", org.apache.thrift.protocol.TType.I32, (short)6); - private static final org.apache.thrift.protocol.TField DFS_REPLICATION_FIELD_DESC = new org.apache.thrift.protocol.TField("dfsReplication", org.apache.thrift.protocol.TType.I16, (short)7); - private static final org.apache.thrift.protocol.TField DATA_BLOCK_ENCODING_FIELD_DESC = new org.apache.thrift.protocol.TField("dataBlockEncoding", org.apache.thrift.protocol.TType.I32, (short)8); - private static final org.apache.thrift.protocol.TField KEEP_DELETED_CELLS_FIELD_DESC = new org.apache.thrift.protocol.TField("keepDeletedCells", org.apache.thrift.protocol.TType.I32, (short)9); - private static final org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxVersions", org.apache.thrift.protocol.TType.I32, (short)10); - private static final org.apache.thrift.protocol.TField MIN_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("minVersions", org.apache.thrift.protocol.TType.I32, (short)11); - private static final org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("scope", org.apache.thrift.protocol.TType.I32, (short)12); - private static final org.apache.thrift.protocol.TField TIME_TO_LIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeToLive", org.apache.thrift.protocol.TType.I32, (short)13); - private static final org.apache.thrift.protocol.TField BLOCK_CACHE_ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("blockCacheEnabled", org.apache.thrift.protocol.TType.BOOL, (short)14); - private static final org.apache.thrift.protocol.TField CACHE_BLOOMS_ON_WRITE_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheBloomsOnWrite", org.apache.thrift.protocol.TType.BOOL, (short)15); - private static final org.apache.thrift.protocol.TField CACHE_DATA_ON_WRITE_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheDataOnWrite", org.apache.thrift.protocol.TType.BOOL, (short)16); - private static final org.apache.thrift.protocol.TField CACHE_INDEXES_ON_WRITE_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheIndexesOnWrite", org.apache.thrift.protocol.TType.BOOL, (short)17); - private static final org.apache.thrift.protocol.TField COMPRESS_TAGS_FIELD_DESC = new org.apache.thrift.protocol.TField("compressTags", org.apache.thrift.protocol.TType.BOOL, (short)18); - private static final org.apache.thrift.protocol.TField EVICT_BLOCKS_ON_CLOSE_FIELD_DESC = new org.apache.thrift.protocol.TField("evictBlocksOnClose", org.apache.thrift.protocol.TType.BOOL, (short)19); - private static final org.apache.thrift.protocol.TField IN_MEMORY_FIELD_DESC = new org.apache.thrift.protocol.TField("inMemory", org.apache.thrift.protocol.TType.BOOL, (short)20); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnFamilyDescriptorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnFamilyDescriptorTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map configuration; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TColumnFamilyDescriptor implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TColumnFamilyDescriptor"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CONFIGURATION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("configuration", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOCK_SIZE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("blockSize", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOOMN_FILTER_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("bloomnFilterType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COMPRESSION_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("compressionType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DFS_REPLICATION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("dfsReplication", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I16, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DATA_BLOCK_ENCODING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("dataBlockEncoding", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField KEEP_DELETED_CELLS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("keepDeletedCells", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)9); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)10); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MIN_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("minVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)11); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCOPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scope", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)12); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIME_TO_LIVE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timeToLive", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)13); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOCK_CACHE_ENABLED_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("blockCacheEnabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)14); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_BLOOMS_ON_WRITE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheBloomsOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)15); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_DATA_ON_WRITE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheDataOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)16); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_INDEXES_ON_WRITE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheIndexesOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)17); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COMPRESS_TAGS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("compressTags", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)18); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField EVICT_BLOCKS_ON_CLOSE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("evictBlocksOnClose", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)19); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IN_MEMORY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("inMemory", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)20); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnFamilyDescriptorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnFamilyDescriptorTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map configuration; // optional public int blockSize; // optional /** * * @see TBloomFilterType */ - public @org.apache.thrift.annotation.Nullable TBloomFilterType bloomnFilterType; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TBloomFilterType bloomnFilterType; // optional /** * * @see TCompressionAlgorithm */ - public @org.apache.thrift.annotation.Nullable TCompressionAlgorithm compressionType; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompressionAlgorithm compressionType; // optional public short dfsReplication; // optional /** * * @see TDataBlockEncoding */ - public @org.apache.thrift.annotation.Nullable TDataBlockEncoding dataBlockEncoding; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDataBlockEncoding dataBlockEncoding; // optional /** * * @see TKeepDeletedCells */ - public @org.apache.thrift.annotation.Nullable TKeepDeletedCells keepDeletedCells; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TKeepDeletedCells keepDeletedCells; // optional public int maxVersions; // optional public int minVersions; // optional public int scope; // optional @@ -77,7 +77,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase metaDataMap; + private static final _Fields[] optionals = {_Fields.ATTRIBUTES,_Fields.CONFIGURATION,_Fields.BLOCK_SIZE,_Fields.BLOOMN_FILTER_TYPE,_Fields.COMPRESSION_TYPE,_Fields.DFS_REPLICATION,_Fields.DATA_BLOCK_ENCODING,_Fields.KEEP_DELETED_CELLS,_Fields.MAX_VERSIONS,_Fields.MIN_VERSIONS,_Fields.SCOPE,_Fields.TIME_TO_LIVE,_Fields.BLOCK_CACHE_ENABLED,_Fields.CACHE_BLOOMS_ON_WRITE,_Fields.CACHE_DATA_ON_WRITE,_Fields.CACHE_INDEXES_ON_WRITE,_Fields.COMPRESS_TAGS,_Fields.EVICT_BLOCKS_ON_CLOSE,_Fields.IN_MEMORY}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.CONFIGURATION, new org.apache.thrift.meta_data.FieldMetaData("configuration", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.BLOCK_SIZE, new org.apache.thrift.meta_data.FieldMetaData("blockSize", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.BLOOMN_FILTER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bloomnFilterType", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TBloomFilterType.class))); - tmpMap.put(_Fields.COMPRESSION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("compressionType", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TCompressionAlgorithm.class))); - tmpMap.put(_Fields.DFS_REPLICATION, new org.apache.thrift.meta_data.FieldMetaData("dfsReplication", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); - tmpMap.put(_Fields.DATA_BLOCK_ENCODING, new org.apache.thrift.meta_data.FieldMetaData("dataBlockEncoding", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDataBlockEncoding.class))); - tmpMap.put(_Fields.KEEP_DELETED_CELLS, new org.apache.thrift.meta_data.FieldMetaData("keepDeletedCells", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TKeepDeletedCells.class))); - tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.MIN_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("minVersions", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.SCOPE, new org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.TIME_TO_LIVE, new org.apache.thrift.meta_data.FieldMetaData("timeToLive", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.BLOCK_CACHE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("blockCacheEnabled", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.CACHE_BLOOMS_ON_WRITE, new org.apache.thrift.meta_data.FieldMetaData("cacheBloomsOnWrite", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.CACHE_DATA_ON_WRITE, new org.apache.thrift.meta_data.FieldMetaData("cacheDataOnWrite", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.CACHE_INDEXES_ON_WRITE, new org.apache.thrift.meta_data.FieldMetaData("cacheIndexesOnWrite", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.COMPRESS_TAGS, new org.apache.thrift.meta_data.FieldMetaData("compressTags", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.EVICT_BLOCKS_ON_CLOSE, new org.apache.thrift.meta_data.FieldMetaData("evictBlocksOnClose", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IN_MEMORY, new org.apache.thrift.meta_data.FieldMetaData("inMemory", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.CONFIGURATION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("configuration", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.BLOCK_SIZE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("blockSize", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.BLOOMN_FILTER_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("bloomnFilterType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TBloomFilterType.class))); + tmpMap.put(_Fields.COMPRESSION_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("compressionType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TCompressionAlgorithm.class))); + tmpMap.put(_Fields.DFS_REPLICATION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("dfsReplication", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I16))); + tmpMap.put(_Fields.DATA_BLOCK_ENCODING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("dataBlockEncoding", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDataBlockEncoding.class))); + tmpMap.put(_Fields.KEEP_DELETED_CELLS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("keepDeletedCells", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TKeepDeletedCells.class))); + tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.MIN_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("minVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.SCOPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scope", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.TIME_TO_LIVE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timeToLive", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.BLOCK_CACHE_ENABLED, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("blockCacheEnabled", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.CACHE_BLOOMS_ON_WRITE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheBloomsOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.CACHE_DATA_ON_WRITE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheDataOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.CACHE_INDEXES_ON_WRITE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheIndexesOnWrite", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.COMPRESS_TAGS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("compressTags", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.EVICT_BLOCKS_ON_CLOSE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("evictBlocksOnClose", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IN_MEMORY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("inMemory", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnFamilyDescriptor.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnFamilyDescriptor.class, metaDataMap); } public TColumnFamilyDescriptor() { @@ -283,7 +285,7 @@ public TColumnFamilyDescriptor( java.nio.ByteBuffer name) { this(); - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); } /** @@ -292,7 +294,7 @@ public TColumnFamilyDescriptor( public TColumnFamilyDescriptor(TColumnFamilyDescriptor other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetName()) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.name); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes); @@ -329,6 +331,7 @@ public TColumnFamilyDescriptor(TColumnFamilyDescriptor other) { this.inMemory = other.inMemory; } + @Override public TColumnFamilyDescriptor deepCopy() { return new TColumnFamilyDescriptor(this); } @@ -371,12 +374,12 @@ public void clear() { } public byte[] getName() { - setName(org.apache.thrift.TBaseHelper.rightSize(name)); + setName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(name)); return name == null ? null : name.array(); } public java.nio.ByteBuffer bufferForName() { - return org.apache.thrift.TBaseHelper.copyBinary(name); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); } public TColumnFamilyDescriptor setName(byte[] name) { @@ -384,8 +387,8 @@ public TColumnFamilyDescriptor setName(byte[] name) { return this; } - public TColumnFamilyDescriptor setName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { - this.name = org.apache.thrift.TBaseHelper.copyBinary(name); + public TColumnFamilyDescriptor setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer name) { + this.name = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(name); return this; } @@ -415,12 +418,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TColumnFamilyDescriptor setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TColumnFamilyDescriptor setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -451,12 +454,12 @@ public void putToConfiguration(java.lang.String key, java.lang.String val) { this.configuration.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getConfiguration() { return this.configuration; } - public TColumnFamilyDescriptor setConfiguration(@org.apache.thrift.annotation.Nullable java.util.Map configuration) { + public TColumnFamilyDescriptor setConfiguration(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map configuration) { this.configuration = configuration; return this; } @@ -487,23 +490,23 @@ public TColumnFamilyDescriptor setBlockSize(int blockSize) { } public void unsetBlockSize() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID); } /** Returns true if field blockSize is set (has been assigned a value) and false otherwise */ public boolean isSetBlockSize() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID); } public void setBlockSizeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKSIZE_ISSET_ID, value); } /** * * @see TBloomFilterType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TBloomFilterType getBloomnFilterType() { return this.bloomnFilterType; } @@ -512,7 +515,7 @@ public TBloomFilterType getBloomnFilterType() { * * @see TBloomFilterType */ - public TColumnFamilyDescriptor setBloomnFilterType(@org.apache.thrift.annotation.Nullable TBloomFilterType bloomnFilterType) { + public TColumnFamilyDescriptor setBloomnFilterType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TBloomFilterType bloomnFilterType) { this.bloomnFilterType = bloomnFilterType; return this; } @@ -536,7 +539,7 @@ public void setBloomnFilterTypeIsSet(boolean value) { * * @see TCompressionAlgorithm */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCompressionAlgorithm getCompressionType() { return this.compressionType; } @@ -545,7 +548,7 @@ public TCompressionAlgorithm getCompressionType() { * * @see TCompressionAlgorithm */ - public TColumnFamilyDescriptor setCompressionType(@org.apache.thrift.annotation.Nullable TCompressionAlgorithm compressionType) { + public TColumnFamilyDescriptor setCompressionType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompressionAlgorithm compressionType) { this.compressionType = compressionType; return this; } @@ -576,23 +579,23 @@ public TColumnFamilyDescriptor setDfsReplication(short dfsReplication) { } public void unsetDfsReplication() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID); } /** Returns true if field dfsReplication is set (has been assigned a value) and false otherwise */ public boolean isSetDfsReplication() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID); } public void setDfsReplicationIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __DFSREPLICATION_ISSET_ID, value); } /** * * @see TDataBlockEncoding */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDataBlockEncoding getDataBlockEncoding() { return this.dataBlockEncoding; } @@ -601,7 +604,7 @@ public TDataBlockEncoding getDataBlockEncoding() { * * @see TDataBlockEncoding */ - public TColumnFamilyDescriptor setDataBlockEncoding(@org.apache.thrift.annotation.Nullable TDataBlockEncoding dataBlockEncoding) { + public TColumnFamilyDescriptor setDataBlockEncoding(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDataBlockEncoding dataBlockEncoding) { this.dataBlockEncoding = dataBlockEncoding; return this; } @@ -625,7 +628,7 @@ public void setDataBlockEncodingIsSet(boolean value) { * * @see TKeepDeletedCells */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TKeepDeletedCells getKeepDeletedCells() { return this.keepDeletedCells; } @@ -634,7 +637,7 @@ public TKeepDeletedCells getKeepDeletedCells() { * * @see TKeepDeletedCells */ - public TColumnFamilyDescriptor setKeepDeletedCells(@org.apache.thrift.annotation.Nullable TKeepDeletedCells keepDeletedCells) { + public TColumnFamilyDescriptor setKeepDeletedCells(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TKeepDeletedCells keepDeletedCells) { this.keepDeletedCells = keepDeletedCells; return this; } @@ -665,16 +668,16 @@ public TColumnFamilyDescriptor setMaxVersions(int maxVersions) { } public void unsetMaxVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } /** Returns true if field maxVersions is set (has been assigned a value) and false otherwise */ public boolean isSetMaxVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } public void setMaxVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); } public int getMinVersions() { @@ -688,16 +691,16 @@ public TColumnFamilyDescriptor setMinVersions(int minVersions) { } public void unsetMinVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MINVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MINVERSIONS_ISSET_ID); } /** Returns true if field minVersions is set (has been assigned a value) and false otherwise */ public boolean isSetMinVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MINVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MINVERSIONS_ISSET_ID); } public void setMinVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MINVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MINVERSIONS_ISSET_ID, value); } public int getScope() { @@ -711,16 +714,16 @@ public TColumnFamilyDescriptor setScope(int scope) { } public void unsetScope() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCOPE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCOPE_ISSET_ID); } /** Returns true if field scope is set (has been assigned a value) and false otherwise */ public boolean isSetScope() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCOPE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCOPE_ISSET_ID); } public void setScopeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCOPE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCOPE_ISSET_ID, value); } public int getTimeToLive() { @@ -734,16 +737,16 @@ public TColumnFamilyDescriptor setTimeToLive(int timeToLive) { } public void unsetTimeToLive() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); } /** Returns true if field timeToLive is set (has been assigned a value) and false otherwise */ public boolean isSetTimeToLive() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID); } public void setTimeToLiveIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID, value); } public boolean isBlockCacheEnabled() { @@ -757,16 +760,16 @@ public TColumnFamilyDescriptor setBlockCacheEnabled(boolean blockCacheEnabled) { } public void unsetBlockCacheEnabled() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); } /** Returns true if field blockCacheEnabled is set (has been assigned a value) and false otherwise */ public boolean isSetBlockCacheEnabled() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID); } public void setBlockCacheEnabledIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKCACHEENABLED_ISSET_ID, value); } public boolean isCacheBloomsOnWrite() { @@ -780,16 +783,16 @@ public TColumnFamilyDescriptor setCacheBloomsOnWrite(boolean cacheBloomsOnWrite) } public void unsetCacheBloomsOnWrite() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID); } /** Returns true if field cacheBloomsOnWrite is set (has been assigned a value) and false otherwise */ public boolean isSetCacheBloomsOnWrite() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID); } public void setCacheBloomsOnWriteIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOOMSONWRITE_ISSET_ID, value); } public boolean isCacheDataOnWrite() { @@ -803,16 +806,16 @@ public TColumnFamilyDescriptor setCacheDataOnWrite(boolean cacheDataOnWrite) { } public void unsetCacheDataOnWrite() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID); } /** Returns true if field cacheDataOnWrite is set (has been assigned a value) and false otherwise */ public boolean isSetCacheDataOnWrite() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID); } public void setCacheDataOnWriteIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEDATAONWRITE_ISSET_ID, value); } public boolean isCacheIndexesOnWrite() { @@ -826,16 +829,16 @@ public TColumnFamilyDescriptor setCacheIndexesOnWrite(boolean cacheIndexesOnWrit } public void unsetCacheIndexesOnWrite() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID); } /** Returns true if field cacheIndexesOnWrite is set (has been assigned a value) and false otherwise */ public boolean isSetCacheIndexesOnWrite() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID); } public void setCacheIndexesOnWriteIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEINDEXESONWRITE_ISSET_ID, value); } public boolean isCompressTags() { @@ -849,16 +852,16 @@ public TColumnFamilyDescriptor setCompressTags(boolean compressTags) { } public void unsetCompressTags() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID); } /** Returns true if field compressTags is set (has been assigned a value) and false otherwise */ public boolean isSetCompressTags() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID); } public void setCompressTagsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __COMPRESSTAGS_ISSET_ID, value); } public boolean isEvictBlocksOnClose() { @@ -872,16 +875,16 @@ public TColumnFamilyDescriptor setEvictBlocksOnClose(boolean evictBlocksOnClose) } public void unsetEvictBlocksOnClose() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID); } /** Returns true if field evictBlocksOnClose is set (has been assigned a value) and false otherwise */ public boolean isSetEvictBlocksOnClose() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID); } public void setEvictBlocksOnCloseIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __EVICTBLOCKSONCLOSE_ISSET_ID, value); } public boolean isInMemory() { @@ -895,19 +898,20 @@ public TColumnFamilyDescriptor setInMemory(boolean inMemory) { } public void unsetInMemory() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INMEMORY_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INMEMORY_ISSET_ID); } /** Returns true if field inMemory is set (has been assigned a value) and false otherwise */ public boolean isSetInMemory() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INMEMORY_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INMEMORY_ISSET_ID); } public void setInMemoryIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INMEMORY_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INMEMORY_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -1076,7 +1080,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -1144,6 +1149,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -1490,7 +1496,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -1500,7 +1506,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -1510,7 +1516,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetConfiguration()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); if (lastComparison != 0) { return lastComparison; } @@ -1520,7 +1526,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetBlockSize()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockSize, other.blockSize); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.blockSize, other.blockSize); if (lastComparison != 0) { return lastComparison; } @@ -1530,7 +1536,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetBloomnFilterType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bloomnFilterType, other.bloomnFilterType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.bloomnFilterType, other.bloomnFilterType); if (lastComparison != 0) { return lastComparison; } @@ -1540,7 +1546,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetCompressionType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressionType, other.compressionType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.compressionType, other.compressionType); if (lastComparison != 0) { return lastComparison; } @@ -1550,7 +1556,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetDfsReplication()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dfsReplication, other.dfsReplication); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.dfsReplication, other.dfsReplication); if (lastComparison != 0) { return lastComparison; } @@ -1560,7 +1566,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetDataBlockEncoding()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataBlockEncoding, other.dataBlockEncoding); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.dataBlockEncoding, other.dataBlockEncoding); if (lastComparison != 0) { return lastComparison; } @@ -1570,7 +1576,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetKeepDeletedCells()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keepDeletedCells, other.keepDeletedCells); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.keepDeletedCells, other.keepDeletedCells); if (lastComparison != 0) { return lastComparison; } @@ -1580,7 +1586,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetMaxVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); if (lastComparison != 0) { return lastComparison; } @@ -1590,7 +1596,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetMinVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minVersions, other.minVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.minVersions, other.minVersions); if (lastComparison != 0) { return lastComparison; } @@ -1600,7 +1606,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetScope()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scope, other.scope); if (lastComparison != 0) { return lastComparison; } @@ -1610,7 +1616,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetTimeToLive()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeToLive, other.timeToLive); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timeToLive, other.timeToLive); if (lastComparison != 0) { return lastComparison; } @@ -1620,7 +1626,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetBlockCacheEnabled()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockCacheEnabled, other.blockCacheEnabled); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.blockCacheEnabled, other.blockCacheEnabled); if (lastComparison != 0) { return lastComparison; } @@ -1630,7 +1636,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetCacheBloomsOnWrite()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheBloomsOnWrite, other.cacheBloomsOnWrite); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheBloomsOnWrite, other.cacheBloomsOnWrite); if (lastComparison != 0) { return lastComparison; } @@ -1640,7 +1646,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetCacheDataOnWrite()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheDataOnWrite, other.cacheDataOnWrite); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheDataOnWrite, other.cacheDataOnWrite); if (lastComparison != 0) { return lastComparison; } @@ -1650,7 +1656,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetCacheIndexesOnWrite()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheIndexesOnWrite, other.cacheIndexesOnWrite); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheIndexesOnWrite, other.cacheIndexesOnWrite); if (lastComparison != 0) { return lastComparison; } @@ -1660,7 +1666,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetCompressTags()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressTags, other.compressTags); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.compressTags, other.compressTags); if (lastComparison != 0) { return lastComparison; } @@ -1670,7 +1676,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetEvictBlocksOnClose()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.evictBlocksOnClose, other.evictBlocksOnClose); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.evictBlocksOnClose, other.evictBlocksOnClose); if (lastComparison != 0) { return lastComparison; } @@ -1680,7 +1686,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } if (isSetInMemory()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inMemory, other.inMemory); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.inMemory, other.inMemory); if (lastComparison != 0) { return lastComparison; } @@ -1688,16 +1694,19 @@ public int compareTo(TColumnFamilyDescriptor other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -1710,7 +1719,7 @@ public java.lang.String toString() { if (this.name == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.name, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.name, sb); } first = false; if (isSetAttributes()) { @@ -1855,18 +1864,18 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -1875,226 +1884,234 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TColumnFamilyDescriptorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnFamilyDescriptorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnFamilyDescriptorStandardScheme getScheme() { return new TColumnFamilyDescriptorStandardScheme(); } } - private static class TColumnFamilyDescriptorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TColumnFamilyDescriptorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TColumnFamilyDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map142 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map142.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key143; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val144; - for (int _i145 = 0; _i145 < _map142.size; ++_i145) + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key143 = iprot.readBinary(); - _val144 = iprot.readBinary(); - struct.attributes.put(_key143, _val144); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map142 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map142.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key143; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val144; + for (int _i145 = 0; _i145 < _map142.size; ++_i145) + { + _key143 = iprot.readBinary(); + _val144 = iprot.readBinary(); + struct.attributes.put(_key143, _val144); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // CONFIGURATION - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map146 = iprot.readMapBegin(); - struct.configuration = new java.util.HashMap(2*_map146.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key147; - @org.apache.thrift.annotation.Nullable java.lang.String _val148; - for (int _i149 = 0; _i149 < _map146.size; ++_i149) + break; + case 3: // CONFIGURATION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key147 = iprot.readString(); - _val148 = iprot.readString(); - struct.configuration.put(_key147, _val148); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map146 = iprot.readMapBegin(); + struct.configuration = new java.util.HashMap(2*_map146.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _key147; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _val148; + for (int _i149 = 0; _i149 < _map146.size; ++_i149) + { + _key147 = iprot.readString(); + _val148 = iprot.readString(); + struct.configuration.put(_key147, _val148); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setConfigurationIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setConfigurationIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // BLOCK_SIZE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.blockSize = iprot.readI32(); - struct.setBlockSizeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // BLOOMN_FILTER_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.bloomnFilterType = org.apache.hadoop.hbase.thrift2.generated.TBloomFilterType.findByValue(iprot.readI32()); - struct.setBloomnFilterTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // COMPRESSION_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.compressionType = org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm.findByValue(iprot.readI32()); - struct.setCompressionTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // DFS_REPLICATION - if (schemeField.type == org.apache.thrift.protocol.TType.I16) { - struct.dfsReplication = iprot.readI16(); - struct.setDfsReplicationIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // DATA_BLOCK_ENCODING - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.dataBlockEncoding = org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding.findByValue(iprot.readI32()); - struct.setDataBlockEncodingIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // KEEP_DELETED_CELLS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.keepDeletedCells = org.apache.hadoop.hbase.thrift2.generated.TKeepDeletedCells.findByValue(iprot.readI32()); - struct.setKeepDeletedCellsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // MAX_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 11: // MIN_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.minVersions = iprot.readI32(); - struct.setMinVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 12: // SCOPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scope = iprot.readI32(); - struct.setScopeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 13: // TIME_TO_LIVE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.timeToLive = iprot.readI32(); - struct.setTimeToLiveIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 14: // BLOCK_CACHE_ENABLED - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.blockCacheEnabled = iprot.readBool(); - struct.setBlockCacheEnabledIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 15: // CACHE_BLOOMS_ON_WRITE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheBloomsOnWrite = iprot.readBool(); - struct.setCacheBloomsOnWriteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 16: // CACHE_DATA_ON_WRITE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheDataOnWrite = iprot.readBool(); - struct.setCacheDataOnWriteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 17: // CACHE_INDEXES_ON_WRITE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheIndexesOnWrite = iprot.readBool(); - struct.setCacheIndexesOnWriteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 18: // COMPRESS_TAGS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.compressTags = iprot.readBool(); - struct.setCompressTagsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 19: // EVICT_BLOCKS_ON_CLOSE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.evictBlocksOnClose = iprot.readBool(); - struct.setEvictBlocksOnCloseIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 20: // IN_MEMORY - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.inMemory = iprot.readBool(); - struct.setInMemoryIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 4: // BLOCK_SIZE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.blockSize = iprot.readI32(); + struct.setBlockSizeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // BLOOMN_FILTER_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.bloomnFilterType = org.apache.hadoop.hbase.thrift2.generated.TBloomFilterType.findByValue(iprot.readI32()); + struct.setBloomnFilterTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // COMPRESSION_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.compressionType = org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm.findByValue(iprot.readI32()); + struct.setCompressionTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // DFS_REPLICATION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I16) { + struct.dfsReplication = iprot.readI16(); + struct.setDfsReplicationIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // DATA_BLOCK_ENCODING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.dataBlockEncoding = org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding.findByValue(iprot.readI32()); + struct.setDataBlockEncodingIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // KEEP_DELETED_CELLS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.keepDeletedCells = org.apache.hadoop.hbase.thrift2.generated.TKeepDeletedCells.findByValue(iprot.readI32()); + struct.setKeepDeletedCellsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 10: // MAX_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // MIN_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.minVersions = iprot.readI32(); + struct.setMinVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // SCOPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.scope = iprot.readI32(); + struct.setScopeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 13: // TIME_TO_LIVE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.timeToLive = iprot.readI32(); + struct.setTimeToLiveIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 14: // BLOCK_CACHE_ENABLED + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.blockCacheEnabled = iprot.readBool(); + struct.setBlockCacheEnabledIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 15: // CACHE_BLOOMS_ON_WRITE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheBloomsOnWrite = iprot.readBool(); + struct.setCacheBloomsOnWriteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 16: // CACHE_DATA_ON_WRITE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheDataOnWrite = iprot.readBool(); + struct.setCacheDataOnWriteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 17: // CACHE_INDEXES_ON_WRITE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheIndexesOnWrite = iprot.readBool(); + struct.setCacheIndexesOnWriteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 18: // COMPRESS_TAGS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.compressTags = iprot.readBool(); + struct.setCompressTagsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 19: // EVICT_BLOCKS_ON_CLOSE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.evictBlocksOnClose = iprot.readBool(); + struct.setEvictBlocksOnCloseIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 20: // IN_MEMORY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.inMemory = iprot.readBool(); + struct.setInMemoryIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -2107,7 +2124,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescr if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter150 : struct.attributes.entrySet()) { oprot.writeBinary(_iter150.getKey()); @@ -2122,7 +2139,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescr if (struct.isSetConfiguration()) { oprot.writeFieldBegin(CONFIGURATION_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); for (java.util.Map.Entry _iter151 : struct.configuration.entrySet()) { oprot.writeString(_iter151.getKey()); @@ -2232,17 +2249,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescr } - private static class TColumnFamilyDescriptorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnFamilyDescriptorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnFamilyDescriptorTupleScheme getScheme() { return new TColumnFamilyDescriptorTupleScheme(); } } - private static class TColumnFamilyDescriptorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TColumnFamilyDescriptorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.name); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetAttributes()) { @@ -2377,114 +2395,119 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescri } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readBinary(); - struct.setNameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(19); - if (incoming.get(0)) { - { - 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; - for (int _i157 = 0; _i157 < _map154.size; ++_i157) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readBinary(); + struct.setNameIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(19); + if (incoming.get(0)) { { - _key155 = iprot.readBinary(); - _val156 = iprot.readBinary(); - struct.attributes.put(_key155, _val156); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map154 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map154.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key155; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val156; + for (int _i157 = 0; _i157 < _map154.size; ++_i157) + { + _key155 = iprot.readBinary(); + _val156 = iprot.readBinary(); + struct.attributes.put(_key155, _val156); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(1)) { - { - 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; - for (int _i161 = 0; _i161 < _map158.size; ++_i161) + if (incoming.get(1)) { { - _key159 = iprot.readString(); - _val160 = iprot.readString(); - struct.configuration.put(_key159, _val160); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map158 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.configuration = new java.util.HashMap(2*_map158.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _key159; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _val160; + for (int _i161 = 0; _i161 < _map158.size; ++_i161) + { + _key159 = iprot.readString(); + _val160 = iprot.readString(); + struct.configuration.put(_key159, _val160); + } } + struct.setConfigurationIsSet(true); } - struct.setConfigurationIsSet(true); - } - if (incoming.get(2)) { - struct.blockSize = iprot.readI32(); - struct.setBlockSizeIsSet(true); - } - if (incoming.get(3)) { - struct.bloomnFilterType = org.apache.hadoop.hbase.thrift2.generated.TBloomFilterType.findByValue(iprot.readI32()); - struct.setBloomnFilterTypeIsSet(true); - } - if (incoming.get(4)) { - struct.compressionType = org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm.findByValue(iprot.readI32()); - struct.setCompressionTypeIsSet(true); - } - if (incoming.get(5)) { - struct.dfsReplication = iprot.readI16(); - struct.setDfsReplicationIsSet(true); - } - if (incoming.get(6)) { - struct.dataBlockEncoding = org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding.findByValue(iprot.readI32()); - struct.setDataBlockEncodingIsSet(true); - } - if (incoming.get(7)) { - struct.keepDeletedCells = org.apache.hadoop.hbase.thrift2.generated.TKeepDeletedCells.findByValue(iprot.readI32()); - struct.setKeepDeletedCellsIsSet(true); - } - if (incoming.get(8)) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } - if (incoming.get(9)) { - struct.minVersions = iprot.readI32(); - struct.setMinVersionsIsSet(true); - } - if (incoming.get(10)) { - struct.scope = iprot.readI32(); - struct.setScopeIsSet(true); - } - if (incoming.get(11)) { - struct.timeToLive = iprot.readI32(); - struct.setTimeToLiveIsSet(true); - } - if (incoming.get(12)) { - struct.blockCacheEnabled = iprot.readBool(); - struct.setBlockCacheEnabledIsSet(true); - } - if (incoming.get(13)) { - struct.cacheBloomsOnWrite = iprot.readBool(); - struct.setCacheBloomsOnWriteIsSet(true); - } - if (incoming.get(14)) { - struct.cacheDataOnWrite = iprot.readBool(); - struct.setCacheDataOnWriteIsSet(true); - } - if (incoming.get(15)) { - struct.cacheIndexesOnWrite = iprot.readBool(); - struct.setCacheIndexesOnWriteIsSet(true); - } - if (incoming.get(16)) { - struct.compressTags = iprot.readBool(); - struct.setCompressTagsIsSet(true); - } - if (incoming.get(17)) { - struct.evictBlocksOnClose = iprot.readBool(); - struct.setEvictBlocksOnCloseIsSet(true); - } - if (incoming.get(18)) { - struct.inMemory = iprot.readBool(); - struct.setInMemoryIsSet(true); + if (incoming.get(2)) { + struct.blockSize = iprot.readI32(); + struct.setBlockSizeIsSet(true); + } + if (incoming.get(3)) { + struct.bloomnFilterType = org.apache.hadoop.hbase.thrift2.generated.TBloomFilterType.findByValue(iprot.readI32()); + struct.setBloomnFilterTypeIsSet(true); + } + if (incoming.get(4)) { + struct.compressionType = org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm.findByValue(iprot.readI32()); + struct.setCompressionTypeIsSet(true); + } + if (incoming.get(5)) { + struct.dfsReplication = iprot.readI16(); + struct.setDfsReplicationIsSet(true); + } + if (incoming.get(6)) { + struct.dataBlockEncoding = org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding.findByValue(iprot.readI32()); + struct.setDataBlockEncodingIsSet(true); + } + if (incoming.get(7)) { + struct.keepDeletedCells = org.apache.hadoop.hbase.thrift2.generated.TKeepDeletedCells.findByValue(iprot.readI32()); + struct.setKeepDeletedCellsIsSet(true); + } + if (incoming.get(8)) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } + if (incoming.get(9)) { + struct.minVersions = iprot.readI32(); + struct.setMinVersionsIsSet(true); + } + if (incoming.get(10)) { + struct.scope = iprot.readI32(); + struct.setScopeIsSet(true); + } + if (incoming.get(11)) { + struct.timeToLive = iprot.readI32(); + struct.setTimeToLiveIsSet(true); + } + if (incoming.get(12)) { + struct.blockCacheEnabled = iprot.readBool(); + struct.setBlockCacheEnabledIsSet(true); + } + if (incoming.get(13)) { + struct.cacheBloomsOnWrite = iprot.readBool(); + struct.setCacheBloomsOnWriteIsSet(true); + } + if (incoming.get(14)) { + struct.cacheDataOnWrite = iprot.readBool(); + struct.setCacheDataOnWriteIsSet(true); + } + if (incoming.get(15)) { + struct.cacheIndexesOnWrite = iprot.readBool(); + struct.setCacheIndexesOnWriteIsSet(true); + } + if (incoming.get(16)) { + struct.compressTags = iprot.readBool(); + struct.setCompressTagsIsSet(true); + } + if (incoming.get(17)) { + struct.evictBlocksOnClose = iprot.readBool(); + struct.setEvictBlocksOnCloseIsSet(true); + } + if (incoming.get(18)) { + struct.inMemory = iprot.readBool(); + struct.setInMemoryIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 00bc7987bd28..a841cb6db57f 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,32 +1,32 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Represents a single cell and the amount to increment it by */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TColumnIncrement implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TColumnIncrement"); - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("amount", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnIncrementStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnIncrementTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnIncrementStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnIncrementTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required public long amount; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { FAMILY((short)1, "family"), QUALIFIER((short)2, "qualifier"), AMOUNT((short)3, "amount"); @@ -42,7 +42,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // FAMILY @@ -69,7 +69,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -82,10 +82,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -94,18 +96,18 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __AMOUNT_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.AMOUNT}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.AMOUNT}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.AMOUNT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnIncrement.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnIncrement.class, metaDataMap); } public TColumnIncrement() { @@ -118,8 +120,8 @@ public TColumnIncrement( java.nio.ByteBuffer qualifier) { this(); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -128,14 +130,15 @@ public TColumnIncrement( public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; } + @Override public TColumnIncrement deepCopy() { return new TColumnIncrement(this); } @@ -149,12 +152,12 @@ public void clear() { } public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } public TColumnIncrement setFamily(byte[] family) { @@ -162,8 +165,8 @@ public TColumnIncrement setFamily(byte[] family) { return this; } - public TColumnIncrement setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public TColumnIncrement setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -183,12 +186,12 @@ public void setFamilyIsSet(boolean value) { } public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } public TColumnIncrement setQualifier(byte[] qualifier) { @@ -196,8 +199,8 @@ public TColumnIncrement setQualifier(byte[] qualifier) { return this; } - public TColumnIncrement setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public TColumnIncrement setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -227,19 +230,20 @@ public TColumnIncrement setAmount(long amount) { } public void unsetAmount() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __AMOUNT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __AMOUNT_ISSET_ID); } /** Returns true if field amount is set (has been assigned a value) and false otherwise */ public boolean isSetAmount() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __AMOUNT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __AMOUNT_ISSET_ID); } public void setAmountIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __AMOUNT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __AMOUNT_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case FAMILY: if (value == null) { @@ -276,7 +280,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case FAMILY: @@ -293,6 +298,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -366,7 +372,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetAmount()) ? 131071 : 524287); if (isSetAmount()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(amount); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(amount); return hashCode; } @@ -384,7 +390,7 @@ public int compareTo(TColumnIncrement other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -394,7 +400,7 @@ public int compareTo(TColumnIncrement other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -404,7 +410,7 @@ public int compareTo(TColumnIncrement other) { return lastComparison; } if (isSetAmount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amount, other.amount); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.amount, other.amount); if (lastComparison != 0) { return lastComparison; } @@ -412,16 +418,19 @@ public int compareTo(TColumnIncrement other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -434,7 +443,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (!first) sb.append(", "); @@ -442,7 +451,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; if (isSetAmount()) { @@ -455,21 +464,21 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -478,66 +487,74 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TColumnIncrementStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnIncrementStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnIncrementStandardScheme getScheme() { return new TColumnIncrementStandardScheme(); } } - private static class TColumnIncrementStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TColumnIncrementStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TColumnIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // AMOUNT - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.amount = iprot.readI64(); - struct.setAmountIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TColumnIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // AMOUNT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.amount = iprot.readI64(); + struct.setAmountIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnIncrement struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TColumnIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -562,17 +579,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnIncrement s } - private static class TColumnIncrementTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnIncrementTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnIncrementTupleScheme getScheme() { return new TColumnIncrementTupleScheme(); } } - private static class TColumnIncrementTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TColumnIncrementTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TColumnIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); java.util.BitSet optionals = new java.util.BitSet(); @@ -586,22 +604,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TColumnIncrement st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TColumnIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.amount = iprot.readI64(); - struct.setAmountIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.amount = iprot.readI64(); + struct.setAmountIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 09699bf93411..260854c4727f 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,38 +1,38 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Represents a single cell and its value. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField TAGS_FIELD_DESC = new org.apache.thrift.protocol.TField("tags", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.BYTE, (short)6); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnValueStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnValueTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TColumnValue implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TColumnValue"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TAGS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tags", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("type", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE, (short)6); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TColumnValueStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TColumnValueTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required public long timestamp; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tags; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tags; // optional public byte type; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { FAMILY((short)1, "family"), QUALIFIER((short)2, "qualifier"), VALUE((short)3, "value"), @@ -51,7 +51,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // FAMILY @@ -84,7 +84,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -97,10 +97,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -110,24 +112,24 @@ public java.lang.String getFieldName() { private static final int __TIMESTAMP_ISSET_ID = 0; private static final int __TYPE_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.TIMESTAMP,_Fields.TAGS,_Fields.TYPE}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.TIMESTAMP,_Fields.TAGS,_Fields.TYPE}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TAGS, new org.apache.thrift.meta_data.FieldMetaData("tags", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BYTE))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TAGS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tags", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("type", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnValue.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TColumnValue.class, metaDataMap); } public TColumnValue() { @@ -139,9 +141,9 @@ public TColumnValue( java.nio.ByteBuffer value) { this(); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } /** @@ -150,21 +152,22 @@ public TColumnValue( public TColumnValue(TColumnValue other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } this.timestamp = other.timestamp; if (other.isSetTags()) { - this.tags = org.apache.thrift.TBaseHelper.copyBinary(other.tags); + this.tags = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tags); } this.type = other.type; } + @Override public TColumnValue deepCopy() { return new TColumnValue(this); } @@ -182,12 +185,12 @@ public void clear() { } public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } public TColumnValue setFamily(byte[] family) { @@ -195,8 +198,8 @@ public TColumnValue setFamily(byte[] family) { return this; } - public TColumnValue setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public TColumnValue setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -216,12 +219,12 @@ public void setFamilyIsSet(boolean value) { } public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } public TColumnValue setQualifier(byte[] qualifier) { @@ -229,8 +232,8 @@ public TColumnValue setQualifier(byte[] qualifier) { return this; } - public TColumnValue setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public TColumnValue setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -250,12 +253,12 @@ public void setQualifierIsSet(boolean value) { } public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } public TColumnValue setValue(byte[] value) { @@ -263,8 +266,8 @@ public TColumnValue setValue(byte[] value) { return this; } - public TColumnValue setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public TColumnValue setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -294,25 +297,25 @@ public TColumnValue setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public byte[] getTags() { - setTags(org.apache.thrift.TBaseHelper.rightSize(tags)); + setTags(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tags)); return tags == null ? null : tags.array(); } public java.nio.ByteBuffer bufferForTags() { - return org.apache.thrift.TBaseHelper.copyBinary(tags); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tags); } public TColumnValue setTags(byte[] tags) { @@ -320,8 +323,8 @@ public TColumnValue setTags(byte[] tags) { return this; } - public TColumnValue setTags(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tags) { - this.tags = org.apache.thrift.TBaseHelper.copyBinary(tags); + public TColumnValue setTags(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tags) { + this.tags = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tags); return this; } @@ -351,19 +354,20 @@ public TColumnValue setType(byte type) { } public void unsetType() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TYPE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TYPE_ISSET_ID); } /** Returns true if field type is set (has been assigned a value) and false otherwise */ public boolean isSetType() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TYPE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TYPE_ISSET_ID); } public void setTypeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TYPE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TYPE_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case FAMILY: if (value == null) { @@ -432,7 +436,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case FAMILY: @@ -458,6 +463,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -568,7 +574,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetTags()) ? 131071 : 524287); if (isSetTags()) @@ -594,7 +600,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -604,7 +610,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -614,7 +620,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -624,7 +630,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -634,7 +640,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetTags()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tags, other.tags); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tags, other.tags); if (lastComparison != 0) { return lastComparison; } @@ -644,7 +650,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } @@ -652,16 +658,19 @@ public int compareTo(TColumnValue other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -674,7 +683,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (!first) sb.append(", "); @@ -682,7 +691,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; if (!first) sb.append(", "); @@ -690,7 +699,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (isSetTimestamp()) { @@ -705,7 +714,7 @@ public java.lang.String toString() { if (this.tags == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tags, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tags, sb); } first = false; } @@ -719,24 +728,24 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } if (value == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'value' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'value' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -745,90 +754,98 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TColumnValueStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnValueStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnValueStandardScheme getScheme() { return new TColumnValueStandardScheme(); } } - private static class TColumnValueStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TColumnValueStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TColumnValue struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // TAGS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tags = iprot.readBinary(); - struct.setTagsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { - struct.type = iprot.readByte(); - struct.setTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TColumnValue struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // TAGS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tags = iprot.readBinary(); + struct.setTagsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BYTE) { + struct.type = iprot.readByte(); + struct.setTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnValue struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TColumnValue struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -870,17 +887,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnValue struc } - private static class TColumnValueTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TColumnValueTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TColumnValueTupleScheme getScheme() { return new TColumnValueTupleScheme(); } } - private static class TColumnValueTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TColumnValueTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); oprot.writeBinary(struct.value); @@ -907,32 +925,37 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TColumnValue struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(1)) { - struct.tags = iprot.readBinary(); - struct.setTagsIsSet(true); - } - if (incoming.get(2)) { - struct.type = iprot.readByte(); - struct.setTypeIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(1)) { + struct.tags = iprot.readBinary(); + struct.setTagsIsSet(true); + } + if (incoming.get(2)) { + struct.type = iprot.readByte(); + struct.setTypeIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 eff42b8e7beb..db6bb3a6331e 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,8 +11,8 @@ * Thrift wrapper around * org.apache.hadoop.hbase.CompareOperator. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TCompareOperator implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TCompareOperator implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { LESS(0), LESS_OR_EQUAL(1), EQUAL(2), @@ -30,6 +30,7 @@ private TCompareOperator(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -38,7 +39,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TCompareOperator findByValue(int value) { switch (value) { case 0: 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 9b7c1401b4af..32bd3b7e5125 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,8 +11,8 @@ * Thrift wrapper around * org.apache.hadoop.hbase.io.compress.Algorithm */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TCompressionAlgorithm implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TCompressionAlgorithm implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { LZO(0), GZ(1), NONE(2), @@ -30,6 +30,7 @@ private TCompressionAlgorithm(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -38,7 +39,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TCompressionAlgorithm findByValue(int value) { switch (value) { case 0: 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 ae7f5b6868be..713e5b473585 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,8 +12,8 @@ * - 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.14.1)", date = "2025-08-16") -public enum TConsistency implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TConsistency implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { STRONG(1), TIMELINE(2); @@ -26,6 +26,7 @@ private TConsistency(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -34,7 +35,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TConsistency findByValue(int value) { switch (value) { case 1: 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 816eb3b72886..78df7faf7170 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,8 +11,8 @@ * Thrift wrapper around * org.apache.hadoop.hbase.io.encoding.DataBlockEncoding */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TDataBlockEncoding implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TDataBlockEncoding implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { /** * Disable data block encoding. */ @@ -31,6 +31,7 @@ private TDataBlockEncoding(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -39,7 +40,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TDataBlockEncoding findByValue(int value) { switch (value) { case 0: 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 e243ac1c4046..e6e174274a2f 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,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Used to perform Delete operations on a single row. * @@ -33,39 +32,40 @@ * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField DELETE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("deleteType", org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)6); - private static final org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("durability", org.apache.thrift.protocol.TType.I32, (short)7); - private static final org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("cellVisibility", org.apache.thrift.protocol.TType.STRUCT, (short)8); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TDeleteStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TDeleteTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TDelete implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TDelete"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DELETE_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("deleteType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("durability", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)8); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TDeleteStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TDeleteTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // optional public long timestamp; // optional /** * * @see TDeleteType */ - public @org.apache.thrift.annotation.Nullable TDeleteType deleteType; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDeleteType deleteType; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional /** * * @see TDurability */ - public @org.apache.thrift.annotation.Nullable TDurability durability; // optional - public @org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMNS((short)2, "columns"), TIMESTAMP((short)3, "timestamp"), @@ -93,7 +93,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -128,7 +128,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -141,10 +141,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -153,29 +155,29 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.COLUMNS,_Fields.TIMESTAMP,_Fields.DELETE_TYPE,_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.COLUMNS,_Fields.TIMESTAMP,_Fields.DELETE_TYPE,_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.DELETE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("deleteType", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDeleteType.class))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.DURABILITY, new org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDurability.class))); - tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.DELETE_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("deleteType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDeleteType.class))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.DURABILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDurability.class))); + tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TDelete.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TDelete.class, metaDataMap); } public TDelete() { @@ -187,7 +189,7 @@ public TDelete( java.nio.ByteBuffer row) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -196,7 +198,7 @@ public TDelete( public TDelete(TDelete other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); @@ -221,6 +223,7 @@ public TDelete(TDelete other) { } } + @Override public TDelete deepCopy() { return new TDelete(this); } @@ -239,12 +242,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TDelete setRow(byte[] row) { @@ -252,8 +255,8 @@ public TDelete setRow(byte[] row) { return this; } - public TDelete setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TDelete setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -276,7 +279,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -288,12 +291,12 @@ public void addToColumns(TColumn elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TDelete setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TDelete setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -324,23 +327,23 @@ public TDelete setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } /** * * @see TDeleteType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDeleteType getDeleteType() { return this.deleteType; } @@ -349,7 +352,7 @@ public TDeleteType getDeleteType() { * * @see TDeleteType */ - public TDelete setDeleteType(@org.apache.thrift.annotation.Nullable TDeleteType deleteType) { + public TDelete setDeleteType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDeleteType deleteType) { this.deleteType = deleteType; return this; } @@ -380,12 +383,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TDelete setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TDelete setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -409,7 +412,7 @@ public void setAttributesIsSet(boolean value) { * * @see TDurability */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDurability getDurability() { return this.durability; } @@ -418,7 +421,7 @@ public TDurability getDurability() { * * @see TDurability */ - public TDelete setDurability(@org.apache.thrift.annotation.Nullable TDurability durability) { + public TDelete setDurability(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability) { this.durability = durability; return this; } @@ -438,12 +441,12 @@ public void setDurabilityIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCellVisibility getCellVisibility() { return this.cellVisibility; } - public TDelete setCellVisibility(@org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { + public TDelete setCellVisibility(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { this.cellVisibility = cellVisibility; return this; } @@ -463,7 +466,8 @@ public void setCellVisibilityIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -528,7 +532,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -557,6 +562,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -674,7 +680,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetDeleteType()) ? 131071 : 524287); if (isSetDeleteType()) @@ -708,7 +714,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -718,7 +724,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -728,7 +734,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -738,7 +744,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetDeleteType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteType, other.deleteType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.deleteType, other.deleteType); if (lastComparison != 0) { return lastComparison; } @@ -748,7 +754,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -758,7 +764,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetDurability()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); if (lastComparison != 0) { return lastComparison; } @@ -768,7 +774,7 @@ public int compareTo(TDelete other) { return lastComparison; } if (isSetCellVisibility()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); if (lastComparison != 0) { return lastComparison; } @@ -776,16 +782,19 @@ public int compareTo(TDelete other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -798,7 +807,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (isSetColumns()) { @@ -861,10 +870,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (cellVisibility != null) { @@ -874,8 +883,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -884,122 +893,130 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TDeleteStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TDeleteStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TDeleteStandardScheme getScheme() { return new TDeleteStandardScheme(); } } - private static class TDeleteStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TDeleteStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TDelete struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TDelete struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list52 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list52.size); - @org.apache.thrift.annotation.Nullable TColumn _elem53; - for (int _i54 = 0; _i54 < _list52.size; ++_i54) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem53 = new TColumn(); - _elem53.read(iprot); - struct.columns.add(_elem53); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list52 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list52.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem53; + for (int _i54 = 0; _i54 < _list52.size; ++_i54) + { + _elem53 = new TColumn(); + _elem53.read(iprot); + struct.columns.add(_elem53); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // DELETE_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.deleteType = org.apache.hadoop.hbase.thrift2.generated.TDeleteType.findByValue(iprot.readI32()); - struct.setDeleteTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map55 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map55.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key56; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val57; - for (int _i58 = 0; _i58 < _map55.size; ++_i58) + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // DELETE_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.deleteType = org.apache.hadoop.hbase.thrift2.generated.TDeleteType.findByValue(iprot.readI32()); + struct.setDeleteTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key56 = iprot.readBinary(); - _val57 = iprot.readBinary(); - struct.attributes.put(_key56, _val57); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map55 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map55.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key56; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val57; + for (int _i58 = 0; _i58 < _map55.size; ++_i58) + { + _key56 = iprot.readBinary(); + _val57 = iprot.readBinary(); + struct.attributes.put(_key56, _val57); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // DURABILITY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // CELL_VISIBILITY - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 7: // DURABILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // CELL_VISIBILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TDelete struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TDelete struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -1012,7 +1029,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TDelete struct) th if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumn _iter59 : struct.columns) { _iter59.write(oprot); @@ -1038,7 +1055,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TDelete struct) th if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter60 : struct.attributes.entrySet()) { oprot.writeBinary(_iter60.getKey()); @@ -1069,17 +1086,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TDelete struct) th } - private static class TDeleteTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TDeleteTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TDeleteTupleScheme getScheme() { return new TDeleteTupleScheme(); } } - private static class TDeleteTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TDeleteTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDelete struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TDelete struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetColumns()) { @@ -1135,62 +1153,67 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TDelete struct) thr } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDelete struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(6); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TDelete struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(6); + if (incoming.get(0)) { { - _elem64 = new TColumn(); - _elem64.read(iprot); - struct.columns.add(_elem64); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list63 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list63.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem64; + for (int _i65 = 0; _i65 < _list63.size; ++_i65) + { + _elem64 = new TColumn(); + _elem64.read(iprot); + struct.columns.add(_elem64); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(2)) { - struct.deleteType = org.apache.hadoop.hbase.thrift2.generated.TDeleteType.findByValue(iprot.readI32()); - struct.setDeleteTypeIsSet(true); - } - if (incoming.get(3)) { - { - 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; - for (int _i69 = 0; _i69 < _map66.size; ++_i69) + if (incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(2)) { + struct.deleteType = org.apache.hadoop.hbase.thrift2.generated.TDeleteType.findByValue(iprot.readI32()); + struct.setDeleteTypeIsSet(true); + } + if (incoming.get(3)) { { - _key67 = iprot.readBinary(); - _val68 = iprot.readBinary(); - struct.attributes.put(_key67, _val68); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map66 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map66.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key67; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val68; + for (int _i69 = 0; _i69 < _map66.size; ++_i69) + { + _key67 = iprot.readBinary(); + _val68 = iprot.readBinary(); + struct.attributes.put(_key67, _val68); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(4)) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } - if (incoming.get(5)) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); + if (incoming.get(4)) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } + if (incoming.get(5)) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 562a45361064..b0eda1d29e19 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,8 +12,8 @@ * - 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.14.1)", date = "2025-08-16") -public enum TDeleteType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TDeleteType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { DELETE_COLUMN(0), DELETE_COLUMNS(1), DELETE_FAMILY(2), @@ -28,6 +28,7 @@ private TDeleteType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -36,7 +37,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TDeleteType findByValue(int value) { switch (value) { case 0: 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 c77ed62e5e74..af84782389d1 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -14,8 +14,8 @@ * - 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.14.1)", date = "2025-08-16") -public enum TDurability implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TDurability implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { USE_DEFAULT(0), SKIP_WAL(1), ASYNC_WAL(2), @@ -31,6 +31,7 @@ private TDurability(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -39,7 +40,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TDurability findByValue(int value) { switch (value) { case 0: 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 45bd1b42989f..6109bacdbd6e 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,8 +7,8 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TFilterByOperator implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TFilterByOperator implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { AND(0), OR(1); @@ -21,6 +21,7 @@ private TFilterByOperator(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -29,7 +30,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TFilterByOperator findByValue(int value) { switch (value) { case 0: 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 583c379e96ec..1f754fc6b015 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,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Used to perform Get operations on a single row. * @@ -20,51 +19,52 @@ * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField TIME_RANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeRange", org.apache.thrift.protocol.TType.STRUCT, (short)4); - private static final org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxVersions", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("filterString", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)7); - private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.STRUCT, (short)8); - private static final org.apache.thrift.protocol.TField CONSISTENCY_FIELD_DESC = new org.apache.thrift.protocol.TField("consistency", org.apache.thrift.protocol.TType.I32, (short)9); - private static final org.apache.thrift.protocol.TField TARGET_REPLICA_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("targetReplicaId", org.apache.thrift.protocol.TType.I32, (short)10); - private static final org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheBlocks", org.apache.thrift.protocol.TType.BOOL, (short)11); - private static final org.apache.thrift.protocol.TField STORE_LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("storeLimit", org.apache.thrift.protocol.TType.I32, (short)12); - private static final org.apache.thrift.protocol.TField STORE_OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("storeOffset", org.apache.thrift.protocol.TType.I32, (short)13); - private static final org.apache.thrift.protocol.TField EXISTENCE_ONLY_FIELD_DESC = new org.apache.thrift.protocol.TField("existence_only", org.apache.thrift.protocol.TType.BOOL, (short)14); - private static final org.apache.thrift.protocol.TField FILTER_BYTES_FIELD_DESC = new org.apache.thrift.protocol.TField("filterBytes", org.apache.thrift.protocol.TType.STRING, (short)15); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TGetStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TGetTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TGet implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TGet"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIME_RANGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timeRange", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterString", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("authorizations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CONSISTENCY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("consistency", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)9); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TARGET_REPLICA_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("targetReplicaId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)10); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)11); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STORE_LIMIT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("storeLimit", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)12); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STORE_OFFSET_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("storeOffset", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)13); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField EXISTENCE_ONLY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("existence_only", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)14); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_BYTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterBytes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)15); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TGetStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TGetTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // optional public long timestamp; // optional - public @org.apache.thrift.annotation.Nullable TTimeRange timeRange; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange timeRange; // optional public int maxVersions; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional - public @org.apache.thrift.annotation.Nullable TAuthorization authorizations; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAuthorization authorizations; // optional /** * * @see TConsistency */ - public @org.apache.thrift.annotation.Nullable TConsistency consistency; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TConsistency consistency; // optional public int targetReplicaId; // optional public boolean cacheBlocks; // optional public int storeLimit; // optional public int storeOffset; // optional public boolean existence_only; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMNS((short)2, "columns"), TIMESTAMP((short)3, "timestamp"), @@ -96,7 +96,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -147,7 +147,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -160,10 +160,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -178,45 +180,45 @@ public java.lang.String getFieldName() { private static final int __STOREOFFSET_ISSET_ID = 5; private static final int __EXISTENCE_ONLY_ISSET_ID = 6; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.COLUMNS,_Fields.TIMESTAMP,_Fields.TIME_RANGE,_Fields.MAX_VERSIONS,_Fields.FILTER_STRING,_Fields.ATTRIBUTES,_Fields.AUTHORIZATIONS,_Fields.CONSISTENCY,_Fields.TARGET_REPLICA_ID,_Fields.CACHE_BLOCKS,_Fields.STORE_LIMIT,_Fields.STORE_OFFSET,_Fields.EXISTENCE_ONLY,_Fields.FILTER_BYTES}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.COLUMNS,_Fields.TIMESTAMP,_Fields.TIME_RANGE,_Fields.MAX_VERSIONS,_Fields.FILTER_STRING,_Fields.ATTRIBUTES,_Fields.AUTHORIZATIONS,_Fields.CONSISTENCY,_Fields.TARGET_REPLICA_ID,_Fields.CACHE_BLOCKS,_Fields.STORE_LIMIT,_Fields.STORE_OFFSET,_Fields.EXISTENCE_ONLY,_Fields.FILTER_BYTES}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIME_RANGE, new org.apache.thrift.meta_data.FieldMetaData("timeRange", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class))); - tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.FILTER_STRING, new org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAuthorization.class))); - tmpMap.put(_Fields.CONSISTENCY, new org.apache.thrift.meta_data.FieldMetaData("consistency", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TConsistency.class))); - tmpMap.put(_Fields.TARGET_REPLICA_ID, new org.apache.thrift.meta_data.FieldMetaData("targetReplicaId", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.STORE_LIMIT, new org.apache.thrift.meta_data.FieldMetaData("storeLimit", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.STORE_OFFSET, new org.apache.thrift.meta_data.FieldMetaData("storeOffset", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.EXISTENCE_ONLY, new org.apache.thrift.meta_data.FieldMetaData("existence_only", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.FILTER_BYTES, new org.apache.thrift.meta_data.FieldMetaData("filterBytes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIME_RANGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timeRange", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class))); + tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.FILTER_STRING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAuthorization.class))); + tmpMap.put(_Fields.CONSISTENCY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("consistency", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TConsistency.class))); + tmpMap.put(_Fields.TARGET_REPLICA_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("targetReplicaId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.STORE_LIMIT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("storeLimit", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.STORE_OFFSET, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("storeOffset", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.EXISTENCE_ONLY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("existence_only", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.FILTER_BYTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterBytes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TGet.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TGet.class, metaDataMap); } public TGet() { @@ -226,7 +228,7 @@ public TGet( java.nio.ByteBuffer row) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -235,7 +237,7 @@ public TGet( public TGet(TGet other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); @@ -250,7 +252,7 @@ public TGet(TGet other) { } this.maxVersions = other.maxVersions; if (other.isSetFilterString()) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(other.filterString); + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.filterString); } if (other.isSetAttributes()) { java.util.Map __this__attributes = new java.util.HashMap(other.attributes); @@ -268,10 +270,11 @@ public TGet(TGet other) { this.storeOffset = other.storeOffset; this.existence_only = other.existence_only; if (other.isSetFilterBytes()) { - this.filterBytes = org.apache.thrift.TBaseHelper.copyBinary(other.filterBytes); + this.filterBytes = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.filterBytes); } } + @Override public TGet deepCopy() { return new TGet(this); } @@ -303,12 +306,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TGet setRow(byte[] row) { @@ -316,8 +319,8 @@ public TGet setRow(byte[] row) { return this; } - public TGet setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TGet setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -340,7 +343,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -352,12 +355,12 @@ public void addToColumns(TColumn elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TGet setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TGet setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -388,24 +391,24 @@ public TGet setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTimeRange getTimeRange() { return this.timeRange; } - public TGet setTimeRange(@org.apache.thrift.annotation.Nullable TTimeRange timeRange) { + public TGet setTimeRange(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange timeRange) { this.timeRange = timeRange; return this; } @@ -436,25 +439,25 @@ public TGet setMaxVersions(int maxVersions) { } public void unsetMaxVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } /** Returns true if field maxVersions is set (has been assigned a value) and false otherwise */ public boolean isSetMaxVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } public void setMaxVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); } public byte[] getFilterString() { - setFilterString(org.apache.thrift.TBaseHelper.rightSize(filterString)); + setFilterString(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(filterString)); return filterString == null ? null : filterString.array(); } public java.nio.ByteBuffer bufferForFilterString() { - return org.apache.thrift.TBaseHelper.copyBinary(filterString); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); } public TGet setFilterString(byte[] filterString) { @@ -462,8 +465,8 @@ public TGet setFilterString(byte[] filterString) { return this; } - public TGet setFilterString(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(filterString); + public TGet setFilterString(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); return this; } @@ -493,12 +496,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TGet setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TGet setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -518,12 +521,12 @@ public void setAttributesIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAuthorization getAuthorizations() { return this.authorizations; } - public TGet setAuthorizations(@org.apache.thrift.annotation.Nullable TAuthorization authorizations) { + public TGet setAuthorizations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAuthorization authorizations) { this.authorizations = authorizations; return this; } @@ -547,7 +550,7 @@ public void setAuthorizationsIsSet(boolean value) { * * @see TConsistency */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TConsistency getConsistency() { return this.consistency; } @@ -556,7 +559,7 @@ public TConsistency getConsistency() { * * @see TConsistency */ - public TGet setConsistency(@org.apache.thrift.annotation.Nullable TConsistency consistency) { + public TGet setConsistency(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TConsistency consistency) { this.consistency = consistency; return this; } @@ -587,16 +590,16 @@ public TGet setTargetReplicaId(int targetReplicaId) { } public void unsetTargetReplicaId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); } /** Returns true if field targetReplicaId is set (has been assigned a value) and false otherwise */ public boolean isSetTargetReplicaId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); } public void setTargetReplicaIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID, value); } public boolean isCacheBlocks() { @@ -610,16 +613,16 @@ public TGet setCacheBlocks(boolean cacheBlocks) { } public void unsetCacheBlocks() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } /** Returns true if field cacheBlocks is set (has been assigned a value) and false otherwise */ public boolean isSetCacheBlocks() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } public void setCacheBlocksIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); } public int getStoreLimit() { @@ -633,16 +636,16 @@ public TGet setStoreLimit(int storeLimit) { } public void unsetStoreLimit() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STORELIMIT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STORELIMIT_ISSET_ID); } /** Returns true if field storeLimit is set (has been assigned a value) and false otherwise */ public boolean isSetStoreLimit() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STORELIMIT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STORELIMIT_ISSET_ID); } public void setStoreLimitIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STORELIMIT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STORELIMIT_ISSET_ID, value); } public int getStoreOffset() { @@ -656,16 +659,16 @@ public TGet setStoreOffset(int storeOffset) { } public void unsetStoreOffset() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STOREOFFSET_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STOREOFFSET_ISSET_ID); } /** Returns true if field storeOffset is set (has been assigned a value) and false otherwise */ public boolean isSetStoreOffset() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STOREOFFSET_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STOREOFFSET_ISSET_ID); } public void setStoreOffsetIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STOREOFFSET_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STOREOFFSET_ISSET_ID, value); } public boolean isExistence_only() { @@ -679,25 +682,25 @@ public TGet setExistence_only(boolean existence_only) { } public void unsetExistence_only() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID); } /** Returns true if field existence_only is set (has been assigned a value) and false otherwise */ public boolean isSetExistence_only() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID); } public void setExistence_onlyIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __EXISTENCE_ONLY_ISSET_ID, value); } public byte[] getFilterBytes() { - setFilterBytes(org.apache.thrift.TBaseHelper.rightSize(filterBytes)); + setFilterBytes(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(filterBytes)); return filterBytes == null ? null : filterBytes.array(); } public java.nio.ByteBuffer bufferForFilterBytes() { - return org.apache.thrift.TBaseHelper.copyBinary(filterBytes); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterBytes); } public TGet setFilterBytes(byte[] filterBytes) { @@ -705,8 +708,8 @@ public TGet setFilterBytes(byte[] filterBytes) { return this; } - public TGet setFilterBytes(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes) { - this.filterBytes = org.apache.thrift.TBaseHelper.copyBinary(filterBytes); + public TGet setFilterBytes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes) { + this.filterBytes = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterBytes); return this; } @@ -725,7 +728,8 @@ public void setFilterBytesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -862,7 +866,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -915,6 +920,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -1120,7 +1126,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetTimeRange()) ? 131071 : 524287); if (isSetTimeRange()) @@ -1186,7 +1192,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -1196,7 +1202,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -1206,7 +1212,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -1216,7 +1222,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetTimeRange()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeRange, other.timeRange); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timeRange, other.timeRange); if (lastComparison != 0) { return lastComparison; } @@ -1226,7 +1232,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetMaxVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); if (lastComparison != 0) { return lastComparison; } @@ -1236,7 +1242,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetFilterString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); if (lastComparison != 0) { return lastComparison; } @@ -1246,7 +1252,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -1256,7 +1262,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetAuthorizations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, other.authorizations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.authorizations, other.authorizations); if (lastComparison != 0) { return lastComparison; } @@ -1266,7 +1272,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetConsistency()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.consistency, other.consistency); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.consistency, other.consistency); if (lastComparison != 0) { return lastComparison; } @@ -1276,7 +1282,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetTargetReplicaId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.targetReplicaId, other.targetReplicaId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.targetReplicaId, other.targetReplicaId); if (lastComparison != 0) { return lastComparison; } @@ -1286,7 +1292,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetCacheBlocks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); if (lastComparison != 0) { return lastComparison; } @@ -1296,7 +1302,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetStoreLimit()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeLimit, other.storeLimit); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.storeLimit, other.storeLimit); if (lastComparison != 0) { return lastComparison; } @@ -1306,7 +1312,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetStoreOffset()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeOffset, other.storeOffset); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.storeOffset, other.storeOffset); if (lastComparison != 0) { return lastComparison; } @@ -1316,7 +1322,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetExistence_only()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.existence_only, other.existence_only); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.existence_only, other.existence_only); if (lastComparison != 0) { return lastComparison; } @@ -1326,7 +1332,7 @@ public int compareTo(TGet other) { return lastComparison; } if (isSetFilterBytes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterBytes, other.filterBytes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterBytes, other.filterBytes); if (lastComparison != 0) { return lastComparison; } @@ -1334,16 +1340,19 @@ public int compareTo(TGet other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -1356,7 +1365,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (isSetColumns()) { @@ -1397,7 +1406,7 @@ public java.lang.String toString() { if (this.filterString == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.filterString, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.filterString, sb); } first = false; } @@ -1467,7 +1476,7 @@ public java.lang.String toString() { if (this.filterBytes == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.filterBytes, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.filterBytes, sb); } first = false; } @@ -1475,10 +1484,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { @@ -1491,8 +1500,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -1501,187 +1510,195 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TGetStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TGetStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TGetStandardScheme getScheme() { return new TGetStandardScheme(); } } - private static class TGetStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TGetStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TGet struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TGet struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list16 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list16.size); - @org.apache.thrift.annotation.Nullable TColumn _elem17; - for (int _i18 = 0; _i18 < _list16.size; ++_i18) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem17 = new TColumn(); - _elem17.read(iprot); - struct.columns.add(_elem17); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list16 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list16.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem17; + for (int _i18 = 0; _i18 < _list16.size; ++_i18) + { + _elem17 = new TColumn(); + _elem17.read(iprot); + struct.columns.add(_elem17); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // TIME_RANGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.timeRange = new TTimeRange(); - struct.timeRange.read(iprot); - struct.setTimeRangeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // MAX_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // FILTER_STRING - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map19 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map19.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val21; - for (int _i22 = 0; _i22 < _map19.size; ++_i22) + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // TIME_RANGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.timeRange = new TTimeRange(); + struct.timeRange.read(iprot); + struct.setTimeRangeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // MAX_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // FILTER_STRING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key20 = iprot.readBinary(); - _val21 = iprot.readBinary(); - struct.attributes.put(_key20, _val21); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map19 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map19.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val21; + for (int _i22 = 0; _i22 < _map19.size; ++_i22) + { + _key20 = iprot.readBinary(); + _val21 = iprot.readBinary(); + struct.attributes.put(_key20, _val21); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // AUTHORIZATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.authorizations = new TAuthorization(); - struct.authorizations.read(iprot); - struct.setAuthorizationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // CONSISTENCY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); - struct.setConsistencyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // TARGET_REPLICA_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.targetReplicaId = iprot.readI32(); - struct.setTargetReplicaIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 11: // CACHE_BLOCKS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 12: // STORE_LIMIT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.storeLimit = iprot.readI32(); - struct.setStoreLimitIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 13: // STORE_OFFSET - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.storeOffset = iprot.readI32(); - struct.setStoreOffsetIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 14: // EXISTENCE_ONLY - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.existence_only = iprot.readBool(); - struct.setExistence_onlyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 15: // FILTER_BYTES - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filterBytes = iprot.readBinary(); - struct.setFilterBytesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 8: // AUTHORIZATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.authorizations = new TAuthorization(); + struct.authorizations.read(iprot); + struct.setAuthorizationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // CONSISTENCY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); + struct.setConsistencyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 10: // TARGET_REPLICA_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.targetReplicaId = iprot.readI32(); + struct.setTargetReplicaIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // CACHE_BLOCKS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // STORE_LIMIT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.storeLimit = iprot.readI32(); + struct.setStoreLimitIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 13: // STORE_OFFSET + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.storeOffset = iprot.readI32(); + struct.setStoreOffsetIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 14: // EXISTENCE_ONLY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.existence_only = iprot.readBool(); + struct.setExistence_onlyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 15: // FILTER_BYTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.filterBytes = iprot.readBinary(); + struct.setFilterBytesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TGet struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TGet struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -1694,7 +1711,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TGet struct) throw if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumn _iter23 : struct.columns) { _iter23.write(oprot); @@ -1732,7 +1749,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TGet struct) throw if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter24 : struct.attributes.entrySet()) { oprot.writeBinary(_iter24.getKey()); @@ -1795,17 +1812,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TGet struct) throw } - private static class TGetTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TGetTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TGetTupleScheme getScheme() { return new TGetTupleScheme(); } } - private static class TGetTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TGetTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TGet struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TGet struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetColumns()) { @@ -1909,95 +1927,100 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TGet struct) throws } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TGet struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(14); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TGet struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(14); + if (incoming.get(0)) { { - _elem28 = new TColumn(); - _elem28.read(iprot); - struct.columns.add(_elem28); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list27 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list27.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem28; + for (int _i29 = 0; _i29 < _list27.size; ++_i29) + { + _elem28 = new TColumn(); + _elem28.read(iprot); + struct.columns.add(_elem28); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(2)) { - struct.timeRange = new TTimeRange(); - struct.timeRange.read(iprot); - struct.setTimeRangeIsSet(true); - } - if (incoming.get(3)) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } - if (incoming.get(4)) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } - if (incoming.get(5)) { - { - 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; - for (int _i33 = 0; _i33 < _map30.size; ++_i33) + if (incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(2)) { + struct.timeRange = new TTimeRange(); + struct.timeRange.read(iprot); + struct.setTimeRangeIsSet(true); + } + if (incoming.get(3)) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } + if (incoming.get(4)) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } + if (incoming.get(5)) { { - _key31 = iprot.readBinary(); - _val32 = iprot.readBinary(); - struct.attributes.put(_key31, _val32); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map30 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map30.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key31; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val32; + for (int _i33 = 0; _i33 < _map30.size; ++_i33) + { + _key31 = iprot.readBinary(); + _val32 = iprot.readBinary(); + struct.attributes.put(_key31, _val32); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(6)) { - struct.authorizations = new TAuthorization(); - struct.authorizations.read(iprot); - struct.setAuthorizationsIsSet(true); - } - if (incoming.get(7)) { - struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); - struct.setConsistencyIsSet(true); - } - if (incoming.get(8)) { - struct.targetReplicaId = iprot.readI32(); - struct.setTargetReplicaIdIsSet(true); - } - if (incoming.get(9)) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); - } - if (incoming.get(10)) { - struct.storeLimit = iprot.readI32(); - struct.setStoreLimitIsSet(true); - } - if (incoming.get(11)) { - struct.storeOffset = iprot.readI32(); - struct.setStoreOffsetIsSet(true); - } - if (incoming.get(12)) { - struct.existence_only = iprot.readBool(); - struct.setExistence_onlyIsSet(true); - } - if (incoming.get(13)) { - struct.filterBytes = iprot.readBinary(); - struct.setFilterBytesIsSet(true); + if (incoming.get(6)) { + struct.authorizations = new TAuthorization(); + struct.authorizations.read(iprot); + struct.setAuthorizationsIsSet(true); + } + if (incoming.get(7)) { + struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); + struct.setConsistencyIsSet(true); + } + if (incoming.get(8)) { + struct.targetReplicaId = iprot.readI32(); + struct.setTargetReplicaIdIsSet(true); + } + if (incoming.get(9)) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } + if (incoming.get(10)) { + struct.storeLimit = iprot.readI32(); + struct.setStoreLimitIsSet(true); + } + if (incoming.get(11)) { + struct.storeOffset = iprot.readI32(); + struct.setStoreOffsetIsSet(true); + } + if (incoming.get(12)) { + struct.existence_only = iprot.readBool(); + struct.setExistence_onlyIsSet(true); + } + if (incoming.get(13)) { + struct.filterBytes = iprot.readBinary(); + struct.setFilterBytesIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 7dc1e91a2676..6449351ee917 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,13 +1,13 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") public class THBaseService { public interface Iface { @@ -21,7 +21,7 @@ public interface Iface { * * @param tget the TGet to check for */ - public boolean exists(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException; + public boolean exists(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Test for the existence of columns in the table, as specified by the TGets. @@ -33,7 +33,7 @@ public interface Iface { * * @param tgets a list of TGets to check for */ - public java.util.List existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.thrift.TException; + public java.util.List existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Method for getting data from a row. @@ -47,7 +47,7 @@ public interface Iface { * * @param tget the TGet to fetch */ - public TResult get(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException; + public TResult get(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Method for getting multiple rows. @@ -64,7 +64,7 @@ public interface Iface { * will have the Results at corresponding positions * or null if there was an error */ - public java.util.List getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.thrift.TException; + public java.util.List getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Commit a TPut to a table. @@ -73,7 +73,7 @@ public interface Iface { * * @param tput the TPut to put */ - public void put(java.nio.ByteBuffer table, TPut tput) throws TIOError, org.apache.thrift.TException; + public void put(java.nio.ByteBuffer table, TPut tput) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Atomically checks if a row/family/qualifier value matches the expected @@ -95,7 +95,7 @@ public interface Iface { * * @param tput the TPut to put if the check succeeds */ - public boolean checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws TIOError, org.apache.thrift.TException; + public boolean checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Commit a List of Puts to the table. @@ -104,7 +104,7 @@ public interface Iface { * * @param tputs a list of TPuts to commit */ - public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws TIOError, org.apache.thrift.TException; + public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Deletes as specified by the TDelete. @@ -116,7 +116,7 @@ public interface Iface { * * @param tdelete the TDelete to delete */ - public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws TIOError, org.apache.thrift.TException; + public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Bulk commit a List of TDeletes to the table. @@ -129,7 +129,7 @@ public interface Iface { * * @param tdeletes list of TDeletes to delete */ - public java.util.List deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws TIOError, org.apache.thrift.TException; + public java.util.List deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Atomically checks if a row/family/qualifier value matches the expected @@ -151,11 +151,11 @@ public interface Iface { * * @param tdelete the TDelete to execute if the check succeeds */ - public boolean checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws TIOError, org.apache.thrift.TException; + public boolean checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; - public TResult increment(java.nio.ByteBuffer table, TIncrement tincrement) throws TIOError, org.apache.thrift.TException; + public TResult increment(java.nio.ByteBuffer table, TIncrement tincrement) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; - public TResult append(java.nio.ByteBuffer table, TAppend tappend) throws TIOError, org.apache.thrift.TException; + public TResult append(java.nio.ByteBuffer table, TAppend tappend) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a Scanner for the provided TScan object. @@ -166,7 +166,7 @@ public interface Iface { * * @param tscan the scan object to get a Scanner for */ - public int openScanner(java.nio.ByteBuffer table, TScan tscan) throws TIOError, org.apache.thrift.TException; + public int openScanner(java.nio.ByteBuffer table, TScan tscan) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Grabs multiple rows from a Scanner. @@ -177,7 +177,7 @@ public interface Iface { * * @param numRows number of rows to return */ - public java.util.List getScannerRows(int scannerId, int numRows) throws TIOError, TIllegalArgument, org.apache.thrift.TException; + public java.util.List getScannerRows(int scannerId, int numRows) throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Closes the scanner. Should be called to free server side resources timely. @@ -186,7 +186,7 @@ public interface Iface { * * @param scannerId the Id of the Scanner to close * */ - public void closeScanner(int scannerId) throws TIOError, TIllegalArgument, org.apache.thrift.TException; + public void closeScanner(int scannerId) throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * mutateRow performs multiple mutations atomically on a single row. @@ -195,7 +195,7 @@ public interface Iface { * * @param trowMutations mutations to apply */ - public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws TIOError, org.apache.thrift.TException; + public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get results for the provided TScan object. @@ -209,7 +209,7 @@ public interface Iface { * * @param numRows number of rows to return */ - public java.util.List getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws TIOError, org.apache.thrift.TException; + public java.util.List getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Given a table and a row get the location of the region that @@ -222,7 +222,7 @@ public interface Iface { * @param row * @param reload */ - public THRegionLocation getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws TIOError, org.apache.thrift.TException; + public THRegionLocation getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get all of the region locations for a given table. @@ -230,7 +230,7 @@ public interface Iface { * * @param table */ - public java.util.List getAllRegionLocations(java.nio.ByteBuffer table) throws TIOError, org.apache.thrift.TException; + public java.util.List getAllRegionLocations(java.nio.ByteBuffer table) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Atomically checks if a row/family/qualifier value matches the expected @@ -253,7 +253,7 @@ public interface Iface { * * @param rowMutations row mutations to execute if the value matches */ - public boolean checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.thrift.TException; + public boolean checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a table descriptor. @@ -262,7 +262,7 @@ public interface Iface { * * @param table the tablename of the table to get tableDescriptor */ - public TTableDescriptor getTableDescriptor(TTableName table) throws TIOError, org.apache.thrift.TException; + public TTableDescriptor getTableDescriptor(TTableName table) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get table descriptors of tables. @@ -271,7 +271,7 @@ public interface Iface { * * @param tables the tablename list of the tables to get tableDescriptor */ - public java.util.List getTableDescriptors(java.util.List tables) throws TIOError, org.apache.thrift.TException; + public java.util.List getTableDescriptors(java.util.List tables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @@ -280,7 +280,7 @@ public interface Iface { * * @param tableName the tablename of the tables to check */ - public boolean tableExists(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public boolean tableExists(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get table descriptors of tables that match the given pattern @@ -291,7 +291,7 @@ public interface Iface { * * @param includeSysTables set to false if match only against userspace tables */ - public java.util.List getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException; + public java.util.List getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get table descriptors of tables in the given namespace @@ -300,7 +300,7 @@ public interface Iface { * * @param name The namesapce's name */ - public java.util.List getTableDescriptorsByNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException; + public java.util.List getTableDescriptorsByNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get table names of tables that match the given pattern @@ -311,7 +311,7 @@ public interface Iface { * * @param includeSysTables set to false if match only against userspace tables */ - public java.util.List getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException; + public java.util.List getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get table names of tables in the given namespace @@ -320,7 +320,7 @@ public interface Iface { * * @param name The namesapce's name */ - public java.util.List getTableNamesByNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException; + public java.util.List getTableNamesByNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Creates a new table with an initial set of empty regions defined by the specified split keys. @@ -332,7 +332,7 @@ public interface Iface { * * @param splitKeys rray of split keys for the initial regions of the table */ - public void createTable(TTableDescriptor desc, java.util.List splitKeys) throws TIOError, org.apache.thrift.TException; + public void createTable(TTableDescriptor desc, java.util.List splitKeys) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Deletes a table. Synchronous operation. @@ -340,7 +340,7 @@ public interface Iface { * * @param tableName the tablename to delete */ - public void deleteTable(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public void deleteTable(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Truncate a table. Synchronous operation. @@ -350,7 +350,7 @@ public interface Iface { * * @param preserveSplits whether to preserve previous splits */ - public void truncateTable(TTableName tableName, boolean preserveSplits) throws TIOError, org.apache.thrift.TException; + public void truncateTable(TTableName tableName, boolean preserveSplits) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Enalbe a table @@ -358,7 +358,7 @@ public interface Iface { * * @param tableName the tablename to enable */ - public void enableTable(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public void enableTable(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Disable a table @@ -366,7 +366,7 @@ public interface Iface { * * @param tableName the tablename to disable */ - public void disableTable(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public void disableTable(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @@ -375,7 +375,7 @@ public interface Iface { * * @param tableName the tablename to check */ - public boolean isTableEnabled(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public boolean isTableEnabled(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @@ -384,7 +384,7 @@ public interface Iface { * * @param tableName the tablename to check */ - public boolean isTableDisabled(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public boolean isTableDisabled(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @@ -393,7 +393,7 @@ public interface Iface { * * @param tableName the tablename to check */ - public boolean isTableAvailable(TTableName tableName) throws TIOError, org.apache.thrift.TException; + public boolean isTableAvailable(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Add a column family to an existing table. Synchronous operation. @@ -403,7 +403,7 @@ public interface Iface { * * @param column column family descriptor of column family to be added */ - public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException; + public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Delete a column family from a table. Synchronous operation. @@ -413,7 +413,7 @@ public interface Iface { * * @param column name of column family to be deleted */ - public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws TIOError, org.apache.thrift.TException; + public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Modify an existing column family on a table. Synchronous operation. @@ -423,7 +423,7 @@ public interface Iface { * * @param column column family descriptor of column family to be modified */ - public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException; + public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Modify an existing table @@ -431,7 +431,7 @@ public interface Iface { * * @param desc the descriptor of the table to modify */ - public void modifyTable(TTableDescriptor desc) throws TIOError, org.apache.thrift.TException; + public void modifyTable(TTableDescriptor desc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Create a new namespace. Blocks until namespace has been successfully created or an exception is @@ -440,7 +440,7 @@ public interface Iface { * * @param namespaceDesc descriptor which describes the new namespace */ - public void createNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException; + public void createNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Modify an existing namespace. Blocks until namespace has been successfully modified or an @@ -449,7 +449,7 @@ public interface Iface { * * @param namespaceDesc descriptor which describes the new namespace */ - public void modifyNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException; + public void modifyNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Delete an existing namespace. Only empty namespaces (no tables) can be removed. @@ -459,7 +459,7 @@ public interface Iface { * * @param name namespace name */ - public void deleteNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException; + public void deleteNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get a namespace descriptor by name. @@ -468,31 +468,31 @@ public interface Iface { * * @param name name of namespace descriptor */ - public TNamespaceDescriptor getNamespaceDescriptor(java.lang.String name) throws TIOError, org.apache.thrift.TException; + public TNamespaceDescriptor getNamespaceDescriptor(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @return all namespaces * */ - public java.util.List listNamespaceDescriptors() throws TIOError, org.apache.thrift.TException; + public java.util.List listNamespaceDescriptors() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * @return all namespace names * */ - public java.util.List listNamespaces() throws TIOError, org.apache.thrift.TException; + public java.util.List listNamespaces() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Get the type of this thrift server. * * @return the type of this thrift server */ - public TThriftServerType getThriftServerType() throws org.apache.thrift.TException; + public TThriftServerType getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Returns the cluster ID for this cluster. */ - public java.lang.String getClusterId() throws org.apache.thrift.TException; + public java.lang.String getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Retrieves online slow RPC logs from the provided list of @@ -505,7 +505,7 @@ public interface Iface { * * @param logQueryFilter @param logQueryFilter filter to be used if provided */ - public java.util.List getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws TIOError, org.apache.thrift.TException; + public java.util.List getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Clears online slow/large RPC logs from the provided list of @@ -517,157 +517,160 @@ public interface Iface { * * @param serverNames @param serverNames Set of Server names to clean slowlog responses from */ - public java.util.List clearSlowLogResponses(java.util.Set serverNames) throws TIOError, org.apache.thrift.TException; + public java.util.List clearSlowLogResponses(java.util.Set serverNames) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Grant permissions in table or namespace level. * * @param info */ - public boolean grant(TAccessControlEntity info) throws TIOError, org.apache.thrift.TException; + public boolean grant(TAccessControlEntity info) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Revoke permissions in table or namespace level. * * @param info */ - public boolean revoke(TAccessControlEntity info) throws TIOError, org.apache.thrift.TException; + public boolean revoke(TAccessControlEntity info) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; } public interface AsyncIface { - public void exists(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void exists(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void existsAll(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void existsAll(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void get(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getMultiple(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getMultiple(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void put(java.nio.ByteBuffer table, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void put(java.nio.ByteBuffer table, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void increment(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void increment(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void append(java.nio.ByteBuffer table, TAppend tappend, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void append(java.nio.ByteBuffer table, TAppend tappend, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void openScanner(java.nio.ByteBuffer table, TScan tscan, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void openScanner(java.nio.ByteBuffer table, TScan tscan, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getScannerRows(int scannerId, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getScannerRows(int scannerId, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void closeScanner(int scannerId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void closeScanner(int scannerId, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getAllRegionLocations(java.nio.ByteBuffer table, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getAllRegionLocations(java.nio.ByteBuffer table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableDescriptor(TTableName table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getTableDescriptor(TTableName table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableDescriptors(java.util.List tables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableDescriptors(java.util.List tables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void tableExists(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void tableExists(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableDescriptorsByNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableDescriptorsByNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableNamesByPattern(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableNamesByPattern(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getTableNamesByNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getTableNamesByNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void createTable(TTableDescriptor desc, java.util.List splitKeys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void createTable(TTableDescriptor desc, java.util.List splitKeys, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void truncateTable(TTableName tableName, boolean preserveSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void truncateTable(TTableName tableName, boolean preserveSplits, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void enableTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void enableTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void disableTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void disableTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void isTableEnabled(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isTableEnabled(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void isTableDisabled(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isTableDisabled(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void isTableAvailable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isTableAvailable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void modifyTable(TTableDescriptor desc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void modifyTable(TTableDescriptor desc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void createNamespace(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void createNamespace(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void modifyNamespace(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void modifyNamespace(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void deleteNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void deleteNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getNamespaceDescriptor(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getNamespaceDescriptor(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void listNamespaceDescriptors(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void listNamespaceDescriptors(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void listNamespaces(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void listNamespaces(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getThriftServerType(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getThriftServerType(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getClusterId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getClusterId(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void clearSlowLogResponses(java.util.Set serverNames, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void clearSlowLogResponses(java.util.Set serverNames, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void grant(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; - public void revoke(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void revoke(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException; } - public static class Client extends org.apache.thrift.TServiceClient implements Iface { - public static class Factory implements org.apache.thrift.TServiceClientFactory { + public static class Client extends org.apache.hbase.thirdparty.org.apache.thrift.TServiceClient implements Iface { + public static class Factory implements org.apache.hbase.thirdparty.org.apache.thrift.TServiceClientFactory { public Factory() {} - public Client getClient(org.apache.thrift.protocol.TProtocol prot) { + @Override + public Client getClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) { return new Client(prot); } - public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { + @Override + public Client getClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) { return new Client(iprot, oprot); } } - public Client(org.apache.thrift.protocol.TProtocol prot) + public Client(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) { super(prot, prot); } - public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { + public Client(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) { super(iprot, oprot); } - public boolean exists(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException + @Override + public boolean exists(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_exists(table, tget); return recv_exists(); } - public void send_exists(java.nio.ByteBuffer table, TGet tget) throws org.apache.thrift.TException + public void send_exists(java.nio.ByteBuffer table, TGet tget) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { exists_args args = new exists_args(); args.setTable(table); @@ -675,7 +678,7 @@ public void send_exists(java.nio.ByteBuffer table, TGet tget) throws org.apache. sendBase("exists", args); } - public boolean recv_exists() throws TIOError, org.apache.thrift.TException + public boolean recv_exists() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); @@ -685,16 +688,17 @@ public boolean recv_exists() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); } - public java.util.List existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_existsAll(table, tgets); return recv_existsAll(); } - public void send_existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws org.apache.thrift.TException + public void send_existsAll(java.nio.ByteBuffer table, java.util.List tgets) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { existsAll_args args = new existsAll_args(); args.setTable(table); @@ -702,7 +706,7 @@ public void send_existsAll(java.nio.ByteBuffer table, java.util.List tgets sendBase("existsAll", args); } - public java.util.List recv_existsAll() throws TIOError, org.apache.thrift.TException + public java.util.List recv_existsAll() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { existsAll_result result = new existsAll_result(); receiveBase(result, "existsAll"); @@ -712,16 +716,17 @@ public java.util.List recv_existsAll() throws TIOError, org.a if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "existsAll failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "existsAll failed: unknown result"); } - public TResult get(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException + @Override + public TResult get(java.nio.ByteBuffer table, TGet tget) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_get(table, tget); return recv_get(); } - public void send_get(java.nio.ByteBuffer table, TGet tget) throws org.apache.thrift.TException + public void send_get(java.nio.ByteBuffer table, TGet tget) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { get_args args = new get_args(); args.setTable(table); @@ -729,7 +734,7 @@ public void send_get(java.nio.ByteBuffer table, TGet tget) throws org.apache.thr sendBase("get", args); } - public TResult recv_get() throws TIOError, org.apache.thrift.TException + public TResult recv_get() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { get_result result = new get_result(); receiveBase(result, "get"); @@ -739,16 +744,17 @@ public TResult recv_get() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "get failed: unknown result"); } - public java.util.List getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getMultiple(table, tgets); return recv_getMultiple(); } - public void send_getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws org.apache.thrift.TException + public void send_getMultiple(java.nio.ByteBuffer table, java.util.List tgets) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getMultiple_args args = new getMultiple_args(); args.setTable(table); @@ -756,7 +762,7 @@ public void send_getMultiple(java.nio.ByteBuffer table, java.util.List tge sendBase("getMultiple", args); } - public java.util.List recv_getMultiple() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getMultiple() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getMultiple_result result = new getMultiple_result(); receiveBase(result, "getMultiple"); @@ -766,16 +772,17 @@ public java.util.List recv_getMultiple() throws TIOError, org.apache.th if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMultiple failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getMultiple failed: unknown result"); } - public void put(java.nio.ByteBuffer table, TPut tput) throws TIOError, org.apache.thrift.TException + @Override + public void put(java.nio.ByteBuffer table, TPut tput) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_put(table, tput); recv_put(); } - public void send_put(java.nio.ByteBuffer table, TPut tput) throws org.apache.thrift.TException + public void send_put(java.nio.ByteBuffer table, TPut tput) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { put_args args = new put_args(); args.setTable(table); @@ -783,7 +790,7 @@ public void send_put(java.nio.ByteBuffer table, TPut tput) throws org.apache.thr sendBase("put", args); } - public void recv_put() throws TIOError, org.apache.thrift.TException + public void recv_put() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { put_result result = new put_result(); receiveBase(result, "put"); @@ -793,13 +800,14 @@ public void recv_put() throws TIOError, org.apache.thrift.TException return; } - public boolean checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws TIOError, org.apache.thrift.TException + @Override + public boolean checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_checkAndPut(table, row, family, qualifier, value, tput); return recv_checkAndPut(); } - public void send_checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws org.apache.thrift.TException + public void send_checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndPut_args args = new checkAndPut_args(); args.setTable(table); @@ -811,7 +819,7 @@ public void send_checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, sendBase("checkAndPut", args); } - public boolean recv_checkAndPut() throws TIOError, org.apache.thrift.TException + public boolean recv_checkAndPut() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndPut_result result = new checkAndPut_result(); receiveBase(result, "checkAndPut"); @@ -821,16 +829,17 @@ public boolean recv_checkAndPut() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndPut failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndPut failed: unknown result"); } - public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws TIOError, org.apache.thrift.TException + @Override + public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_putMultiple(table, tputs); recv_putMultiple(); } - public void send_putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws org.apache.thrift.TException + public void send_putMultiple(java.nio.ByteBuffer table, java.util.List tputs) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { putMultiple_args args = new putMultiple_args(); args.setTable(table); @@ -838,7 +847,7 @@ public void send_putMultiple(java.nio.ByteBuffer table, java.util.List tpu sendBase("putMultiple", args); } - public void recv_putMultiple() throws TIOError, org.apache.thrift.TException + public void recv_putMultiple() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { putMultiple_result result = new putMultiple_result(); receiveBase(result, "putMultiple"); @@ -848,13 +857,14 @@ public void recv_putMultiple() throws TIOError, org.apache.thrift.TException return; } - public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws TIOError, org.apache.thrift.TException + @Override + public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteSingle(table, tdelete); recv_deleteSingle(); } - public void send_deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws org.apache.thrift.TException + public void send_deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteSingle_args args = new deleteSingle_args(); args.setTable(table); @@ -862,7 +872,7 @@ public void send_deleteSingle(java.nio.ByteBuffer table, TDelete tdelete) throws sendBase("deleteSingle", args); } - public void recv_deleteSingle() throws TIOError, org.apache.thrift.TException + public void recv_deleteSingle() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteSingle_result result = new deleteSingle_result(); receiveBase(result, "deleteSingle"); @@ -872,13 +882,14 @@ public void recv_deleteSingle() throws TIOError, org.apache.thrift.TException return; } - public java.util.List deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteMultiple(table, tdeletes); return recv_deleteMultiple(); } - public void send_deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws org.apache.thrift.TException + public void send_deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteMultiple_args args = new deleteMultiple_args(); args.setTable(table); @@ -886,7 +897,7 @@ public void send_deleteMultiple(java.nio.ByteBuffer table, java.util.List recv_deleteMultiple() throws TIOError, org.apache.thrift.TException + public java.util.List recv_deleteMultiple() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteMultiple_result result = new deleteMultiple_result(); receiveBase(result, "deleteMultiple"); @@ -896,16 +907,17 @@ public java.util.List recv_deleteMultiple() throws TIOError, org.apache if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteMultiple failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteMultiple failed: unknown result"); } - public boolean checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws TIOError, org.apache.thrift.TException + @Override + public boolean checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_checkAndDelete(table, row, family, qualifier, value, tdelete); return recv_checkAndDelete(); } - public void send_checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws org.apache.thrift.TException + public void send_checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndDelete_args args = new checkAndDelete_args(); args.setTable(table); @@ -917,7 +929,7 @@ public void send_checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer r sendBase("checkAndDelete", args); } - public boolean recv_checkAndDelete() throws TIOError, org.apache.thrift.TException + public boolean recv_checkAndDelete() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndDelete_result result = new checkAndDelete_result(); receiveBase(result, "checkAndDelete"); @@ -927,16 +939,17 @@ public boolean recv_checkAndDelete() throws TIOError, org.apache.thrift.TExcepti if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndDelete failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndDelete failed: unknown result"); } - public TResult increment(java.nio.ByteBuffer table, TIncrement tincrement) throws TIOError, org.apache.thrift.TException + @Override + public TResult increment(java.nio.ByteBuffer table, TIncrement tincrement) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_increment(table, tincrement); return recv_increment(); } - public void send_increment(java.nio.ByteBuffer table, TIncrement tincrement) throws org.apache.thrift.TException + public void send_increment(java.nio.ByteBuffer table, TIncrement tincrement) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { increment_args args = new increment_args(); args.setTable(table); @@ -944,7 +957,7 @@ public void send_increment(java.nio.ByteBuffer table, TIncrement tincrement) thr sendBase("increment", args); } - public TResult recv_increment() throws TIOError, org.apache.thrift.TException + public TResult recv_increment() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { increment_result result = new increment_result(); receiveBase(result, "increment"); @@ -954,16 +967,17 @@ public TResult recv_increment() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "increment failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "increment failed: unknown result"); } - public TResult append(java.nio.ByteBuffer table, TAppend tappend) throws TIOError, org.apache.thrift.TException + @Override + public TResult append(java.nio.ByteBuffer table, TAppend tappend) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_append(table, tappend); return recv_append(); } - public void send_append(java.nio.ByteBuffer table, TAppend tappend) throws org.apache.thrift.TException + public void send_append(java.nio.ByteBuffer table, TAppend tappend) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { append_args args = new append_args(); args.setTable(table); @@ -971,7 +985,7 @@ public void send_append(java.nio.ByteBuffer table, TAppend tappend) throws org.a sendBase("append", args); } - public TResult recv_append() throws TIOError, org.apache.thrift.TException + public TResult recv_append() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { append_result result = new append_result(); receiveBase(result, "append"); @@ -981,16 +995,17 @@ public TResult recv_append() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "append failed: unknown result"); } - public int openScanner(java.nio.ByteBuffer table, TScan tscan) throws TIOError, org.apache.thrift.TException + @Override + public int openScanner(java.nio.ByteBuffer table, TScan tscan) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_openScanner(table, tscan); return recv_openScanner(); } - public void send_openScanner(java.nio.ByteBuffer table, TScan tscan) throws org.apache.thrift.TException + public void send_openScanner(java.nio.ByteBuffer table, TScan tscan) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { openScanner_args args = new openScanner_args(); args.setTable(table); @@ -998,7 +1013,7 @@ public void send_openScanner(java.nio.ByteBuffer table, TScan tscan) throws org. sendBase("openScanner", args); } - public int recv_openScanner() throws TIOError, org.apache.thrift.TException + public int recv_openScanner() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { openScanner_result result = new openScanner_result(); receiveBase(result, "openScanner"); @@ -1008,16 +1023,17 @@ public int recv_openScanner() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "openScanner failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "openScanner failed: unknown result"); } - public java.util.List getScannerRows(int scannerId, int numRows) throws TIOError, TIllegalArgument, org.apache.thrift.TException + @Override + public java.util.List getScannerRows(int scannerId, int numRows) throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getScannerRows(scannerId, numRows); return recv_getScannerRows(); } - public void send_getScannerRows(int scannerId, int numRows) throws org.apache.thrift.TException + public void send_getScannerRows(int scannerId, int numRows) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getScannerRows_args args = new getScannerRows_args(); args.setScannerId(scannerId); @@ -1025,7 +1041,7 @@ public void send_getScannerRows(int scannerId, int numRows) throws org.apache.th sendBase("getScannerRows", args); } - public java.util.List recv_getScannerRows() throws TIOError, TIllegalArgument, org.apache.thrift.TException + public java.util.List recv_getScannerRows() throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { getScannerRows_result result = new getScannerRows_result(); receiveBase(result, "getScannerRows"); @@ -1038,23 +1054,24 @@ public java.util.List recv_getScannerRows() throws TIOError, TIllegalAr if (result.ia != null) { throw result.ia; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getScannerRows failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getScannerRows failed: unknown result"); } - public void closeScanner(int scannerId) throws TIOError, TIllegalArgument, org.apache.thrift.TException + @Override + public void closeScanner(int scannerId) throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_closeScanner(scannerId); recv_closeScanner(); } - public void send_closeScanner(int scannerId) throws org.apache.thrift.TException + public void send_closeScanner(int scannerId) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { closeScanner_args args = new closeScanner_args(); args.setScannerId(scannerId); sendBase("closeScanner", args); } - public void recv_closeScanner() throws TIOError, TIllegalArgument, org.apache.thrift.TException + public void recv_closeScanner() throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { closeScanner_result result = new closeScanner_result(); receiveBase(result, "closeScanner"); @@ -1067,13 +1084,14 @@ public void recv_closeScanner() throws TIOError, TIllegalArgument, org.apache.th return; } - public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws TIOError, org.apache.thrift.TException + @Override + public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_mutateRow(table, trowMutations); recv_mutateRow(); } - public void send_mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws org.apache.thrift.TException + public void send_mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRow_args args = new mutateRow_args(); args.setTable(table); @@ -1081,7 +1099,7 @@ public void send_mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutation sendBase("mutateRow", args); } - public void recv_mutateRow() throws TIOError, org.apache.thrift.TException + public void recv_mutateRow() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { mutateRow_result result = new mutateRow_result(); receiveBase(result, "mutateRow"); @@ -1091,13 +1109,14 @@ public void recv_mutateRow() throws TIOError, org.apache.thrift.TException return; } - public java.util.List getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getScannerResults(table, tscan, numRows); return recv_getScannerResults(); } - public void send_getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws org.apache.thrift.TException + public void send_getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getScannerResults_args args = new getScannerResults_args(); args.setTable(table); @@ -1106,7 +1125,7 @@ public void send_getScannerResults(java.nio.ByteBuffer table, TScan tscan, int n sendBase("getScannerResults", args); } - public java.util.List recv_getScannerResults() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getScannerResults() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getScannerResults_result result = new getScannerResults_result(); receiveBase(result, "getScannerResults"); @@ -1116,16 +1135,17 @@ public java.util.List recv_getScannerResults() throws TIOError, org.apa if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getScannerResults failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getScannerResults failed: unknown result"); } - public THRegionLocation getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws TIOError, org.apache.thrift.TException + @Override + public THRegionLocation getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getRegionLocation(table, row, reload); return recv_getRegionLocation(); } - public void send_getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws org.apache.thrift.TException + public void send_getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getRegionLocation_args args = new getRegionLocation_args(); args.setTable(table); @@ -1134,7 +1154,7 @@ public void send_getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffe sendBase("getRegionLocation", args); } - public THRegionLocation recv_getRegionLocation() throws TIOError, org.apache.thrift.TException + public THRegionLocation recv_getRegionLocation() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getRegionLocation_result result = new getRegionLocation_result(); receiveBase(result, "getRegionLocation"); @@ -1144,23 +1164,24 @@ public THRegionLocation recv_getRegionLocation() throws TIOError, org.apache.thr if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRegionLocation failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getRegionLocation failed: unknown result"); } - public java.util.List getAllRegionLocations(java.nio.ByteBuffer table) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getAllRegionLocations(java.nio.ByteBuffer table) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getAllRegionLocations(table); return recv_getAllRegionLocations(); } - public void send_getAllRegionLocations(java.nio.ByteBuffer table) throws org.apache.thrift.TException + public void send_getAllRegionLocations(java.nio.ByteBuffer table) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getAllRegionLocations_args args = new getAllRegionLocations_args(); args.setTable(table); sendBase("getAllRegionLocations", args); } - public java.util.List recv_getAllRegionLocations() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getAllRegionLocations() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getAllRegionLocations_result result = new getAllRegionLocations_result(); receiveBase(result, "getAllRegionLocations"); @@ -1170,16 +1191,17 @@ public java.util.List recv_getAllRegionLocations() throws TIOE if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllRegionLocations failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllRegionLocations failed: unknown result"); } - public boolean checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.thrift.TException + @Override + public boolean checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_checkAndMutate(table, row, family, qualifier, compareOperator, value, rowMutations); return recv_checkAndMutate(); } - public void send_checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws org.apache.thrift.TException + public void send_checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndMutate_args args = new checkAndMutate_args(); args.setTable(table); @@ -1192,7 +1214,7 @@ public void send_checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer r sendBase("checkAndMutate", args); } - public boolean recv_checkAndMutate() throws TIOError, org.apache.thrift.TException + public boolean recv_checkAndMutate() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndMutate_result result = new checkAndMutate_result(); receiveBase(result, "checkAndMutate"); @@ -1202,23 +1224,24 @@ public boolean recv_checkAndMutate() throws TIOError, org.apache.thrift.TExcepti if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndMutate failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "checkAndMutate failed: unknown result"); } - public TTableDescriptor getTableDescriptor(TTableName table) throws TIOError, org.apache.thrift.TException + @Override + public TTableDescriptor getTableDescriptor(TTableName table) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableDescriptor(table); return recv_getTableDescriptor(); } - public void send_getTableDescriptor(TTableName table) throws org.apache.thrift.TException + public void send_getTableDescriptor(TTableName table) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptor_args args = new getTableDescriptor_args(); args.setTable(table); sendBase("getTableDescriptor", args); } - public TTableDescriptor recv_getTableDescriptor() throws TIOError, org.apache.thrift.TException + public TTableDescriptor recv_getTableDescriptor() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptor_result result = new getTableDescriptor_result(); receiveBase(result, "getTableDescriptor"); @@ -1228,23 +1251,24 @@ public TTableDescriptor recv_getTableDescriptor() throws TIOError, org.apache.th if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptor failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptor failed: unknown result"); } - public java.util.List getTableDescriptors(java.util.List tables) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getTableDescriptors(java.util.List tables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableDescriptors(tables); return recv_getTableDescriptors(); } - public void send_getTableDescriptors(java.util.List tables) throws org.apache.thrift.TException + public void send_getTableDescriptors(java.util.List tables) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptors_args args = new getTableDescriptors_args(); args.setTables(tables); sendBase("getTableDescriptors", args); } - public java.util.List recv_getTableDescriptors() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getTableDescriptors() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptors_result result = new getTableDescriptors_result(); receiveBase(result, "getTableDescriptors"); @@ -1254,23 +1278,24 @@ public java.util.List recv_getTableDescriptors() throws TIOErr if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptors failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptors failed: unknown result"); } - public boolean tableExists(TTableName tableName) throws TIOError, org.apache.thrift.TException + @Override + public boolean tableExists(TTableName tableName) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_tableExists(tableName); return recv_tableExists(); } - public void send_tableExists(TTableName tableName) throws org.apache.thrift.TException + public void send_tableExists(TTableName tableName) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { tableExists_args args = new tableExists_args(); args.setTableName(tableName); sendBase("tableExists", args); } - public boolean recv_tableExists() throws TIOError, org.apache.thrift.TException + public boolean recv_tableExists() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { tableExists_result result = new tableExists_result(); receiveBase(result, "tableExists"); @@ -1280,16 +1305,17 @@ public boolean recv_tableExists() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "tableExists failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "tableExists failed: unknown result"); } - public java.util.List getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableDescriptorsByPattern(regex, includeSysTables); return recv_getTableDescriptorsByPattern(); } - public void send_getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws org.apache.thrift.TException + public void send_getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptorsByPattern_args args = new getTableDescriptorsByPattern_args(); args.setRegex(regex); @@ -1297,7 +1323,7 @@ public void send_getTableDescriptorsByPattern(java.lang.String regex, boolean in sendBase("getTableDescriptorsByPattern", args); } - public java.util.List recv_getTableDescriptorsByPattern() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getTableDescriptorsByPattern() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptorsByPattern_result result = new getTableDescriptorsByPattern_result(); receiveBase(result, "getTableDescriptorsByPattern"); @@ -1307,23 +1333,24 @@ public java.util.List recv_getTableDescriptorsByPattern() thro if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptorsByPattern failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptorsByPattern failed: unknown result"); } - public java.util.List getTableDescriptorsByNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getTableDescriptorsByNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableDescriptorsByNamespace(name); return recv_getTableDescriptorsByNamespace(); } - public void send_getTableDescriptorsByNamespace(java.lang.String name) throws org.apache.thrift.TException + public void send_getTableDescriptorsByNamespace(java.lang.String name) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptorsByNamespace_args args = new getTableDescriptorsByNamespace_args(); args.setName(name); sendBase("getTableDescriptorsByNamespace", args); } - public java.util.List recv_getTableDescriptorsByNamespace() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getTableDescriptorsByNamespace() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableDescriptorsByNamespace_result result = new getTableDescriptorsByNamespace_result(); receiveBase(result, "getTableDescriptorsByNamespace"); @@ -1333,16 +1360,17 @@ public java.util.List recv_getTableDescriptorsByNamespace() th if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptorsByNamespace failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableDescriptorsByNamespace failed: unknown result"); } - public java.util.List getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableNamesByPattern(regex, includeSysTables); return recv_getTableNamesByPattern(); } - public void send_getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws org.apache.thrift.TException + public void send_getTableNamesByPattern(java.lang.String regex, boolean includeSysTables) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesByPattern_args args = new getTableNamesByPattern_args(); args.setRegex(regex); @@ -1350,7 +1378,7 @@ public void send_getTableNamesByPattern(java.lang.String regex, boolean includeS sendBase("getTableNamesByPattern", args); } - public java.util.List recv_getTableNamesByPattern() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getTableNamesByPattern() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesByPattern_result result = new getTableNamesByPattern_result(); receiveBase(result, "getTableNamesByPattern"); @@ -1360,23 +1388,24 @@ public java.util.List recv_getTableNamesByPattern() throws TIOError, if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesByPattern failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesByPattern failed: unknown result"); } - public java.util.List getTableNamesByNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getTableNamesByNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getTableNamesByNamespace(name); return recv_getTableNamesByNamespace(); } - public void send_getTableNamesByNamespace(java.lang.String name) throws org.apache.thrift.TException + public void send_getTableNamesByNamespace(java.lang.String name) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesByNamespace_args args = new getTableNamesByNamespace_args(); args.setName(name); sendBase("getTableNamesByNamespace", args); } - public java.util.List recv_getTableNamesByNamespace() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getTableNamesByNamespace() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getTableNamesByNamespace_result result = new getTableNamesByNamespace_result(); receiveBase(result, "getTableNamesByNamespace"); @@ -1386,16 +1415,17 @@ public java.util.List recv_getTableNamesByNamespace() throws TIOErro if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesByNamespace failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNamesByNamespace failed: unknown result"); } - public void createTable(TTableDescriptor desc, java.util.List splitKeys) throws TIOError, org.apache.thrift.TException + @Override + public void createTable(TTableDescriptor desc, java.util.List splitKeys) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_createTable(desc, splitKeys); recv_createTable(); } - public void send_createTable(TTableDescriptor desc, java.util.List splitKeys) throws org.apache.thrift.TException + public void send_createTable(TTableDescriptor desc, java.util.List splitKeys) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { createTable_args args = new createTable_args(); args.setDesc(desc); @@ -1403,7 +1433,7 @@ public void send_createTable(TTableDescriptor desc, java.util.List listNamespaceDescriptors() throws TIOError, org.apache.thrift.TException + @Override + public java.util.List listNamespaceDescriptors() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_listNamespaceDescriptors(); return recv_listNamespaceDescriptors(); } - public void send_listNamespaceDescriptors() throws org.apache.thrift.TException + public void send_listNamespaceDescriptors() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { listNamespaceDescriptors_args args = new listNamespaceDescriptors_args(); sendBase("listNamespaceDescriptors", args); } - public java.util.List recv_listNamespaceDescriptors() throws TIOError, org.apache.thrift.TException + public java.util.List recv_listNamespaceDescriptors() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { listNamespaceDescriptors_result result = new listNamespaceDescriptors_result(); receiveBase(result, "listNamespaceDescriptors"); @@ -1796,22 +1842,23 @@ public java.util.List recv_listNamespaceDescriptors() thro if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listNamespaceDescriptors failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "listNamespaceDescriptors failed: unknown result"); } - public java.util.List listNamespaces() throws TIOError, org.apache.thrift.TException + @Override + public java.util.List listNamespaces() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_listNamespaces(); return recv_listNamespaces(); } - public void send_listNamespaces() throws org.apache.thrift.TException + public void send_listNamespaces() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { listNamespaces_args args = new listNamespaces_args(); sendBase("listNamespaces", args); } - public java.util.List recv_listNamespaces() throws TIOError, org.apache.thrift.TException + public java.util.List recv_listNamespaces() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { listNamespaces_result result = new listNamespaces_result(); receiveBase(result, "listNamespaces"); @@ -1821,60 +1868,63 @@ public java.util.List recv_listNamespaces() throws TIOError, o if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listNamespaces failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "listNamespaces failed: unknown result"); } - public TThriftServerType getThriftServerType() throws org.apache.thrift.TException + @Override + public TThriftServerType getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getThriftServerType(); return recv_getThriftServerType(); } - public void send_getThriftServerType() throws org.apache.thrift.TException + public void send_getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getThriftServerType_args args = new getThriftServerType_args(); sendBase("getThriftServerType", args); } - public TThriftServerType recv_getThriftServerType() throws org.apache.thrift.TException + public TThriftServerType recv_getThriftServerType() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getThriftServerType_result result = new getThriftServerType_result(); receiveBase(result, "getThriftServerType"); if (result.isSetSuccess()) { return result.success; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getThriftServerType failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getThriftServerType failed: unknown result"); } - public java.lang.String getClusterId() throws org.apache.thrift.TException + @Override + public java.lang.String getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getClusterId(); return recv_getClusterId(); } - public void send_getClusterId() throws org.apache.thrift.TException + public void send_getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getClusterId_args args = new getClusterId_args(); sendBase("getClusterId", args); } - public java.lang.String recv_getClusterId() throws org.apache.thrift.TException + public java.lang.String recv_getClusterId() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getClusterId_result result = new getClusterId_result(); receiveBase(result, "getClusterId"); if (result.isSetSuccess()) { return result.success; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getClusterId failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getClusterId failed: unknown result"); } - public java.util.List getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getSlowLogResponses(serverNames, logQueryFilter); return recv_getSlowLogResponses(); } - public void send_getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws org.apache.thrift.TException + public void send_getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getSlowLogResponses_args args = new getSlowLogResponses_args(); args.setServerNames(serverNames); @@ -1882,7 +1932,7 @@ public void send_getSlowLogResponses(java.util.Set serverNames, TLo sendBase("getSlowLogResponses", args); } - public java.util.List recv_getSlowLogResponses() throws TIOError, org.apache.thrift.TException + public java.util.List recv_getSlowLogResponses() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getSlowLogResponses_result result = new getSlowLogResponses_result(); receiveBase(result, "getSlowLogResponses"); @@ -1892,23 +1942,24 @@ public java.util.List recv_getSlowLogResponses() throws TIOErr if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSlowLogResponses failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getSlowLogResponses failed: unknown result"); } - public java.util.List clearSlowLogResponses(java.util.Set serverNames) throws TIOError, org.apache.thrift.TException + @Override + public java.util.List clearSlowLogResponses(java.util.Set serverNames) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_clearSlowLogResponses(serverNames); return recv_clearSlowLogResponses(); } - public void send_clearSlowLogResponses(java.util.Set serverNames) throws org.apache.thrift.TException + public void send_clearSlowLogResponses(java.util.Set serverNames) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { clearSlowLogResponses_args args = new clearSlowLogResponses_args(); args.setServerNames(serverNames); sendBase("clearSlowLogResponses", args); } - public java.util.List recv_clearSlowLogResponses() throws TIOError, org.apache.thrift.TException + public java.util.List recv_clearSlowLogResponses() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { clearSlowLogResponses_result result = new clearSlowLogResponses_result(); receiveBase(result, "clearSlowLogResponses"); @@ -1918,23 +1969,24 @@ public java.util.List recv_clearSlowLogResponses() throws TIO if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "clearSlowLogResponses failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "clearSlowLogResponses failed: unknown result"); } - public boolean grant(TAccessControlEntity info) throws TIOError, org.apache.thrift.TException + @Override + public boolean grant(TAccessControlEntity info) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_grant(info); return recv_grant(); } - public void send_grant(TAccessControlEntity info) throws org.apache.thrift.TException + public void send_grant(TAccessControlEntity info) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { grant_args args = new grant_args(); args.setInfo(info); sendBase("grant", args); } - public boolean recv_grant() throws TIOError, org.apache.thrift.TException + public boolean recv_grant() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { grant_result result = new grant_result(); receiveBase(result, "grant"); @@ -1944,23 +1996,24 @@ public boolean recv_grant() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "grant failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "grant failed: unknown result"); } - public boolean revoke(TAccessControlEntity info) throws TIOError, org.apache.thrift.TException + @Override + public boolean revoke(TAccessControlEntity info) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_revoke(info); return recv_revoke(); } - public void send_revoke(TAccessControlEntity info) throws org.apache.thrift.TException + public void send_revoke(TAccessControlEntity info) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { revoke_args args = new revoke_args(); args.setInfo(info); sendBase("revoke", args); } - public boolean recv_revoke() throws TIOError, org.apache.thrift.TException + public boolean recv_revoke() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { revoke_result result = new revoke_result(); receiveBase(result, "revoke"); @@ -1970,45 +2023,48 @@ public boolean recv_revoke() throws TIOError, org.apache.thrift.TException if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "revoke failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "revoke failed: unknown result"); } } - public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface { - public static class Factory implements org.apache.thrift.async.TAsyncClientFactory { - private org.apache.thrift.async.TAsyncClientManager clientManager; - private org.apache.thrift.protocol.TProtocolFactory protocolFactory; - public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) { + public static class AsyncClient extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient implements AsyncIface { + public static class Factory implements org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientFactory { + private org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager; + private org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory; + public Factory(org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory) { this.clientManager = clientManager; this.protocolFactory = protocolFactory; } - public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) { + @Override + public AsyncClient getAsyncClient(org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) { return new AsyncClient(protocolFactory, clientManager, transport); } } - public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) { + public AsyncClient(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) { super(protocolFactory, clientManager, transport); } - public void exists(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void exists(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); exists_call method_call = new exists_call(table, tget, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class exists_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class exists_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TGet tget; - public exists_call(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public exists_call(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tget = tget; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("exists", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("exists", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); exists_args args = new exists_args(); args.setTable(table); args.setTget(tget); @@ -2016,34 +2072,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_exists(); } } - public void existsAll(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void existsAll(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); existsAll_call method_call = new existsAll_call(table, tgets, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class existsAll_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class existsAll_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer table; private java.util.List tgets; - public existsAll_call(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public existsAll_call(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tgets = tgets; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("existsAll", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("existsAll", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); existsAll_args args = new existsAll_args(); args.setTable(table); args.setTgets(tgets); @@ -2051,34 +2110,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_existsAll(); } } - public void get(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void get(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); get_call method_call = new get_call(table, tget, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class get_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class get_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TGet tget; - public get_call(java.nio.ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public get_call(java.nio.ByteBuffer table, TGet tget, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tget = tget; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("get", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); get_args args = new get_args(); args.setTable(table); args.setTget(tget); @@ -2086,34 +2148,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public TResult getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TResult getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_get(); } } - public void getMultiple(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getMultiple(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getMultiple_call method_call = new getMultiple_call(table, tgets, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getMultiple_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getMultiple_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer table; private java.util.List tgets; - public getMultiple_call(java.nio.ByteBuffer table, java.util.List tgets, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getMultiple_call(java.nio.ByteBuffer table, java.util.List tgets, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tgets = tgets; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMultiple", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getMultiple", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getMultiple_args args = new getMultiple_args(); args.setTable(table); args.setTgets(tgets); @@ -2121,34 +2186,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getMultiple(); } } - public void put(java.nio.ByteBuffer table, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void put(java.nio.ByteBuffer table, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); put_call method_call = new put_call(table, tput, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class put_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class put_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TPut tput; - public put_call(java.nio.ByteBuffer table, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public put_call(java.nio.ByteBuffer table, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tput = tput; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("put", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("put", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); put_args args = new put_args(); args.setTable(table); args.setTput(tput); @@ -2156,31 +2224,34 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_put(); return null; } } - public void checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void checkAndPut(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); checkAndPut_call method_call = new checkAndPut_call(table, row, family, qualifier, value, tput, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class checkAndPut_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class checkAndPut_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private java.nio.ByteBuffer row; private java.nio.ByteBuffer family; private java.nio.ByteBuffer qualifier; private java.nio.ByteBuffer value; private TPut tput; - public checkAndPut_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public checkAndPut_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TPut tput, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.row = row; @@ -2190,8 +2261,9 @@ public checkAndPut_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java this.tput = tput; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkAndPut", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("checkAndPut", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); checkAndPut_args args = new checkAndPut_args(); args.setTable(table); args.setRow(row); @@ -2203,34 +2275,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_checkAndPut(); } } - public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void putMultiple(java.nio.ByteBuffer table, java.util.List tputs, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); putMultiple_call method_call = new putMultiple_call(table, tputs, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class putMultiple_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class putMultiple_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private java.util.List tputs; - public putMultiple_call(java.nio.ByteBuffer table, java.util.List tputs, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public putMultiple_call(java.nio.ByteBuffer table, java.util.List tputs, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tputs = tputs; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("putMultiple", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("putMultiple", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); putMultiple_args args = new putMultiple_args(); args.setTable(table); args.setTputs(tputs); @@ -2238,34 +2313,38 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_putMultiple(); return null; } } - public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteSingle(java.nio.ByteBuffer table, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteSingle_call method_call = new deleteSingle_call(table, tdelete, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteSingle_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteSingle_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TDelete tdelete; - public deleteSingle_call(java.nio.ByteBuffer table, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteSingle_call(java.nio.ByteBuffer table, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tdelete = tdelete; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteSingle", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteSingle", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteSingle_args args = new deleteSingle_args(); args.setTable(table); args.setTdelete(tdelete); @@ -2273,34 +2352,38 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteSingle(); return null; } } - public void deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteMultiple(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteMultiple_call method_call = new deleteMultiple_call(table, tdeletes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteMultiple_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class deleteMultiple_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer table; private java.util.List tdeletes; - public deleteMultiple_call(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteMultiple_call(java.nio.ByteBuffer table, java.util.List tdeletes, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tdeletes = tdeletes; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteMultiple", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteMultiple", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteMultiple_args args = new deleteMultiple_args(); args.setTable(table); args.setTdeletes(tdeletes); @@ -2308,31 +2391,33 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_deleteMultiple(); } } - public void checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void checkAndDelete(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); checkAndDelete_call method_call = new checkAndDelete_call(table, row, family, qualifier, value, tdelete, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class checkAndDelete_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class checkAndDelete_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private java.nio.ByteBuffer row; private java.nio.ByteBuffer family; private java.nio.ByteBuffer qualifier; private java.nio.ByteBuffer value; private TDelete tdelete; - public checkAndDelete_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public checkAndDelete_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, java.nio.ByteBuffer value, TDelete tdelete, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.row = row; @@ -2342,8 +2427,9 @@ public checkAndDelete_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, j this.tdelete = tdelete; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkAndDelete", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("checkAndDelete", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); checkAndDelete_args args = new checkAndDelete_args(); args.setTable(table); args.setRow(row); @@ -2355,34 +2441,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_checkAndDelete(); } } - public void increment(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void increment(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); increment_call method_call = new increment_call(table, tincrement, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class increment_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class increment_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TIncrement tincrement; - public increment_call(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public increment_call(java.nio.ByteBuffer table, TIncrement tincrement, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tincrement = tincrement; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("increment", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("increment", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); increment_args args = new increment_args(); args.setTable(table); args.setTincrement(tincrement); @@ -2390,34 +2479,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public TResult getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TResult getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_increment(); } } - public void append(java.nio.ByteBuffer table, TAppend tappend, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void append(java.nio.ByteBuffer table, TAppend tappend, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); append_call method_call = new append_call(table, tappend, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class append_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class append_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TAppend tappend; - public append_call(java.nio.ByteBuffer table, TAppend tappend, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public append_call(java.nio.ByteBuffer table, TAppend tappend, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tappend = tappend; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("append", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("append", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); append_args args = new append_args(); args.setTable(table); args.setTappend(tappend); @@ -2425,34 +2517,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public TResult getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TResult getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_append(); } } - public void openScanner(java.nio.ByteBuffer table, TScan tscan, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void openScanner(java.nio.ByteBuffer table, TScan tscan, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); openScanner_call method_call = new openScanner_call(table, tscan, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class openScanner_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class openScanner_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TScan tscan; - public openScanner_call(java.nio.ByteBuffer table, TScan tscan, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public openScanner_call(java.nio.ByteBuffer table, TScan tscan, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tscan = tscan; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("openScanner", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("openScanner", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); openScanner_args args = new openScanner_args(); args.setTable(table); args.setTscan(tscan); @@ -2460,34 +2555,37 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Integer getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Integer getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_openScanner(); } } - public void getScannerRows(int scannerId, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getScannerRows(int scannerId, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getScannerRows_call method_call = new getScannerRows_call(scannerId, numRows, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getScannerRows_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getScannerRows_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private int scannerId; private int numRows; - public getScannerRows_call(int scannerId, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getScannerRows_call(int scannerId, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.scannerId = scannerId; this.numRows = numRows; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getScannerRows", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getScannerRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getScannerRows_args args = new getScannerRows_args(); args.setScannerId(scannerId); args.setNumRows(numRows); @@ -2495,66 +2593,73 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, TIllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getScannerRows(); } } - public void closeScanner(int scannerId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void closeScanner(int scannerId, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); closeScanner_call method_call = new closeScanner_call(scannerId, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class closeScanner_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class closeScanner_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private int scannerId; - public closeScanner_call(int scannerId, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public closeScanner_call(int scannerId, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.scannerId = scannerId; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeScanner", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("closeScanner", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); closeScanner_args args = new closeScanner_args(); args.setScannerId(scannerId); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, TIllegalArgument, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, TIllegalArgument, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_closeScanner(); return null; } } - public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void mutateRow(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); mutateRow_call method_call = new mutateRow_call(table, trowMutations, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class mutateRow_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class mutateRow_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private TRowMutations trowMutations; - public mutateRow_call(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public mutateRow_call(java.nio.ByteBuffer table, TRowMutations trowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.trowMutations = trowMutations; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRow", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("mutateRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); mutateRow_args args = new mutateRow_args(); args.setTable(table); args.setTrowMutations(trowMutations); @@ -2562,36 +2667,40 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_mutateRow(); return null; } } - public void getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getScannerResults(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getScannerResults_call method_call = new getScannerResults_call(table, tscan, numRows, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getScannerResults_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getScannerResults_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer table; private TScan tscan; private int numRows; - public getScannerResults_call(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getScannerResults_call(java.nio.ByteBuffer table, TScan tscan, int numRows, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.tscan = tscan; this.numRows = numRows; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getScannerResults", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getScannerResults", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getScannerResults_args args = new getScannerResults_args(); args.setTable(table); args.setTscan(tscan); @@ -2600,36 +2709,39 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getScannerResults(); } } - public void getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getRegionLocation(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getRegionLocation_call method_call = new getRegionLocation_call(table, row, reload, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getRegionLocation_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class getRegionLocation_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private java.nio.ByteBuffer row; private boolean reload; - public getRegionLocation_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getRegionLocation_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, boolean reload, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.row = row; this.reload = reload; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRegionLocation", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getRegionLocation", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getRegionLocation_args args = new getRegionLocation_args(); args.setTable(table); args.setRow(row); @@ -2638,56 +2750,61 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public THRegionLocation getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public THRegionLocation getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRegionLocation(); } } - public void getAllRegionLocations(java.nio.ByteBuffer table, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getAllRegionLocations(java.nio.ByteBuffer table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getAllRegionLocations_call method_call = new getAllRegionLocations_call(table, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getAllRegionLocations_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getAllRegionLocations_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.nio.ByteBuffer table; - public getAllRegionLocations_call(java.nio.ByteBuffer table, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getAllRegionLocations_call(java.nio.ByteBuffer table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllRegionLocations", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getAllRegionLocations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getAllRegionLocations_args args = new getAllRegionLocations_args(); args.setTable(table); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getAllRegionLocations(); } } - public void checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void checkAndMutate(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); checkAndMutate_call method_call = new checkAndMutate_call(table, row, family, qualifier, compareOperator, value, rowMutations, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class checkAndMutate_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class checkAndMutate_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.nio.ByteBuffer table; private java.nio.ByteBuffer row; private java.nio.ByteBuffer family; @@ -2695,7 +2812,7 @@ public static class checkAndMutate_call extends org.apache.thrift.async.TAsyncMe private TCompareOperator compareOperator; private java.nio.ByteBuffer value; private TRowMutations rowMutations; - public checkAndMutate_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public checkAndMutate_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, java.nio.ByteBuffer family, java.nio.ByteBuffer qualifier, TCompareOperator compareOperator, java.nio.ByteBuffer value, TRowMutations rowMutations, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; this.row = row; @@ -2706,8 +2823,9 @@ public checkAndMutate_call(java.nio.ByteBuffer table, java.nio.ByteBuffer row, j this.rowMutations = rowMutations; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkAndMutate", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("checkAndMutate", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); checkAndMutate_args args = new checkAndMutate_args(); args.setTable(table); args.setRow(row); @@ -2720,130 +2838,142 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_checkAndMutate(); } } - public void getTableDescriptor(TTableName table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableDescriptor(TTableName table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableDescriptor_call method_call = new getTableDescriptor_call(table, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableDescriptor_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class getTableDescriptor_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName table; - public getTableDescriptor_call(TTableName table, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableDescriptor_call(TTableName table, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.table = table; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableDescriptor", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableDescriptor", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableDescriptor_args args = new getTableDescriptor_args(); args.setTable(table); args.write(prot); prot.writeMessageEnd(); } - public TTableDescriptor getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TTableDescriptor getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableDescriptor(); } } - public void getTableDescriptors(java.util.List tables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableDescriptors(java.util.List tables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableDescriptors_call method_call = new getTableDescriptors_call(tables, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableDescriptors_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableDescriptors_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.util.List tables; - public getTableDescriptors_call(java.util.List tables, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableDescriptors_call(java.util.List tables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tables = tables; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableDescriptors", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableDescriptors", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableDescriptors_args args = new getTableDescriptors_args(); args.setTables(tables); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableDescriptors(); } } - public void tableExists(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void tableExists(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); tableExists_call method_call = new tableExists_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class tableExists_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class tableExists_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public tableExists_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public tableExists_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("tableExists", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("tableExists", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); tableExists_args args = new tableExists_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_tableExists(); } } - public void getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableDescriptorsByPattern(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableDescriptorsByPattern_call method_call = new getTableDescriptorsByPattern_call(regex, includeSysTables, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableDescriptorsByPattern_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableDescriptorsByPattern_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.lang.String regex; private boolean includeSysTables; - public getTableDescriptorsByPattern_call(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableDescriptorsByPattern_call(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.regex = regex; this.includeSysTables = includeSysTables; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableDescriptorsByPattern", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableDescriptorsByPattern", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableDescriptorsByPattern_args args = new getTableDescriptorsByPattern_args(); args.setRegex(regex); args.setIncludeSysTables(includeSysTables); @@ -2851,66 +2981,72 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableDescriptorsByPattern(); } } - public void getTableDescriptorsByNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableDescriptorsByNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableDescriptorsByNamespace_call method_call = new getTableDescriptorsByNamespace_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableDescriptorsByNamespace_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableDescriptorsByNamespace_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.lang.String name; - public getTableDescriptorsByNamespace_call(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableDescriptorsByNamespace_call(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableDescriptorsByNamespace", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableDescriptorsByNamespace", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableDescriptorsByNamespace_args args = new getTableDescriptorsByNamespace_args(); args.setName(name); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableDescriptorsByNamespace(); } } - public void getTableNamesByPattern(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableNamesByPattern(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableNamesByPattern_call method_call = new getTableNamesByPattern_call(regex, includeSysTables, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableNamesByPattern_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableNamesByPattern_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.lang.String regex; private boolean includeSysTables; - public getTableNamesByPattern_call(java.lang.String regex, boolean includeSysTables, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableNamesByPattern_call(java.lang.String regex, boolean includeSysTables, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.regex = regex; this.includeSysTables = includeSysTables; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableNamesByPattern", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableNamesByPattern", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableNamesByPattern_args args = new getTableNamesByPattern_args(); args.setRegex(regex); args.setIncludeSysTables(includeSysTables); @@ -2918,66 +3054,72 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableNamesByPattern(); } } - public void getTableNamesByNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getTableNamesByNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getTableNamesByNamespace_call method_call = new getTableNamesByNamespace_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getTableNamesByNamespace_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getTableNamesByNamespace_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.lang.String name; - public getTableNamesByNamespace_call(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getTableNamesByNamespace_call(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableNamesByNamespace", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getTableNamesByNamespace", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getTableNamesByNamespace_args args = new getTableNamesByNamespace_args(); args.setName(name); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getTableNamesByNamespace(); } } - public void createTable(TTableDescriptor desc, java.util.List splitKeys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void createTable(TTableDescriptor desc, java.util.List splitKeys, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); createTable_call method_call = new createTable_call(desc, splitKeys, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class createTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class createTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableDescriptor desc; private java.util.List splitKeys; - public createTable_call(TTableDescriptor desc, java.util.List splitKeys, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public createTable_call(TTableDescriptor desc, java.util.List splitKeys, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.desc = desc; this.splitKeys = splitKeys; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("createTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); createTable_args args = new createTable_args(); args.setDesc(desc); args.setSplitKeys(splitKeys); @@ -2985,66 +3127,74 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_createTable(); return null; } } - public void deleteTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteTable_call method_call = new deleteTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public deleteTable_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteTable_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteTable_args args = new deleteTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteTable(); return null; } } - public void truncateTable(TTableName tableName, boolean preserveSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void truncateTable(TTableName tableName, boolean preserveSplits, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); truncateTable_call method_call = new truncateTable_call(tableName, preserveSplits, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class truncateTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class truncateTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; private boolean preserveSplits; - public truncateTable_call(TTableName tableName, boolean preserveSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public truncateTable_call(TTableName tableName, boolean preserveSplits, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.preserveSplits = preserveSplits; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("truncateTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("truncateTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); truncateTable_args args = new truncateTable_args(); args.setTableName(tableName); args.setPreserveSplits(preserveSplits); @@ -3052,194 +3202,215 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_truncateTable(); return null; } } - public void enableTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void enableTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); enableTable_call method_call = new enableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class enableTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class enableTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public enableTable_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public enableTable_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("enableTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("enableTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); enableTable_args args = new enableTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_enableTable(); return null; } } - public void disableTable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void disableTable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); disableTable_call method_call = new disableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class disableTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class disableTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public disableTable_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public disableTable_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("disableTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("disableTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); disableTable_args args = new disableTable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_disableTable(); return null; } } - public void isTableEnabled(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void isTableEnabled(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); isTableEnabled_call method_call = new isTableEnabled_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class isTableEnabled_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class isTableEnabled_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public isTableEnabled_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public isTableEnabled_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTableEnabled", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("isTableEnabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); isTableEnabled_args args = new isTableEnabled_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_isTableEnabled(); } } - public void isTableDisabled(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void isTableDisabled(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); isTableDisabled_call method_call = new isTableDisabled_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class isTableDisabled_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class isTableDisabled_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public isTableDisabled_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public isTableDisabled_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTableDisabled", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("isTableDisabled", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); isTableDisabled_args args = new isTableDisabled_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_isTableDisabled(); } } - public void isTableAvailable(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void isTableAvailable(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); isTableAvailable_call method_call = new isTableAvailable_call(tableName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class isTableAvailable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class isTableAvailable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; - public isTableAvailable_call(TTableName tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public isTableAvailable_call(TTableName tableName, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTableAvailable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("isTableAvailable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); isTableAvailable_args args = new isTableAvailable_args(); args.setTableName(tableName); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_isTableAvailable(); } } - public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); addColumnFamily_call method_call = new addColumnFamily_call(tableName, column, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class addColumnFamily_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class addColumnFamily_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; private TColumnFamilyDescriptor column; - public addColumnFamily_call(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public addColumnFamily_call(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.column = column; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addColumnFamily", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("addColumnFamily", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); addColumnFamily_args args = new addColumnFamily_args(); args.setTableName(tableName); args.setColumn(column); @@ -3247,34 +3418,38 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_addColumnFamily(); return null; } } - public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteColumnFamily_call method_call = new deleteColumnFamily_call(tableName, column, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteColumnFamily_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteColumnFamily_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; private java.nio.ByteBuffer column; - public deleteColumnFamily_call(TTableName tableName, java.nio.ByteBuffer column, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteColumnFamily_call(TTableName tableName, java.nio.ByteBuffer column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.column = column; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteColumnFamily", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteColumnFamily", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteColumnFamily_args args = new deleteColumnFamily_args(); args.setTableName(tableName); args.setColumn(column); @@ -3282,34 +3457,38 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteColumnFamily(); return null; } } - public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); modifyColumnFamily_call method_call = new modifyColumnFamily_call(tableName, column, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class modifyColumnFamily_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class modifyColumnFamily_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; private TColumnFamilyDescriptor column; - public modifyColumnFamily_call(TTableName tableName, TColumnFamilyDescriptor column, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public modifyColumnFamily_call(TTableName tableName, TColumnFamilyDescriptor column, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tableName = tableName; this.column = column; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("modifyColumnFamily", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("modifyColumnFamily", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); modifyColumnFamily_args args = new modifyColumnFamily_args(); args.setTableName(tableName); args.setColumn(column); @@ -3317,310 +3496,345 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_modifyColumnFamily(); return null; } } - public void modifyTable(TTableDescriptor desc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void modifyTable(TTableDescriptor desc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); modifyTable_call method_call = new modifyTable_call(desc, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class modifyTable_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class modifyTable_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableDescriptor desc; - public modifyTable_call(TTableDescriptor desc, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public modifyTable_call(TTableDescriptor desc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.desc = desc; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("modifyTable", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("modifyTable", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); modifyTable_args args = new modifyTable_args(); args.setDesc(desc); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_modifyTable(); return null; } } - public void createNamespace(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void createNamespace(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); createNamespace_call method_call = new createNamespace_call(namespaceDesc, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class createNamespace_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class createNamespace_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TNamespaceDescriptor namespaceDesc; - public createNamespace_call(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public createNamespace_call(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.namespaceDesc = namespaceDesc; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createNamespace", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("createNamespace", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); createNamespace_args args = new createNamespace_args(); args.setNamespaceDesc(namespaceDesc); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_createNamespace(); return null; } } - public void modifyNamespace(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void modifyNamespace(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); modifyNamespace_call method_call = new modifyNamespace_call(namespaceDesc, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class modifyNamespace_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class modifyNamespace_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TNamespaceDescriptor namespaceDesc; - public modifyNamespace_call(TNamespaceDescriptor namespaceDesc, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public modifyNamespace_call(TNamespaceDescriptor namespaceDesc, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.namespaceDesc = namespaceDesc; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("modifyNamespace", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("modifyNamespace", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); modifyNamespace_args args = new modifyNamespace_args(); args.setNamespaceDesc(namespaceDesc); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_modifyNamespace(); return null; } } - public void deleteNamespace(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void deleteNamespace(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); deleteNamespace_call method_call = new deleteNamespace_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class deleteNamespace_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class deleteNamespace_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.lang.String name; - public deleteNamespace_call(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public deleteNamespace_call(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteNamespace", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("deleteNamespace", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); deleteNamespace_args args = new deleteNamespace_args(); args.setName(name); args.write(prot); prot.writeMessageEnd(); } - public Void getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public Void getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_deleteNamespace(); return null; } } - public void getNamespaceDescriptor(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getNamespaceDescriptor(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getNamespaceDescriptor_call method_call = new getNamespaceDescriptor_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getNamespaceDescriptor_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class getNamespaceDescriptor_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private java.lang.String name; - public getNamespaceDescriptor_call(java.lang.String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getNamespaceDescriptor_call(java.lang.String name, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getNamespaceDescriptor", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getNamespaceDescriptor", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getNamespaceDescriptor_args args = new getNamespaceDescriptor_args(); args.setName(name); args.write(prot); prot.writeMessageEnd(); } - public TNamespaceDescriptor getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TNamespaceDescriptor getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getNamespaceDescriptor(); } } - public void listNamespaceDescriptors(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void listNamespaceDescriptors(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); listNamespaceDescriptors_call method_call = new listNamespaceDescriptors_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class listNamespaceDescriptors_call extends org.apache.thrift.async.TAsyncMethodCall> { - public listNamespaceDescriptors_call(org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class listNamespaceDescriptors_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { + public listNamespaceDescriptors_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listNamespaceDescriptors", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("listNamespaceDescriptors", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); listNamespaceDescriptors_args args = new listNamespaceDescriptors_args(); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_listNamespaceDescriptors(); } } - public void listNamespaces(org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void listNamespaces(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); listNamespaces_call method_call = new listNamespaces_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class listNamespaces_call extends org.apache.thrift.async.TAsyncMethodCall> { - public listNamespaces_call(org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class listNamespaces_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { + public listNamespaces_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listNamespaces", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("listNamespaces", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); listNamespaces_args args = new listNamespaces_args(); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_listNamespaces(); } } - public void getThriftServerType(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getThriftServerType(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getThriftServerType_call method_call = new getThriftServerType_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getThriftServerType_call extends org.apache.thrift.async.TAsyncMethodCall { - public getThriftServerType_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getThriftServerType_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { + public getThriftServerType_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getThriftServerType", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getThriftServerType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getThriftServerType_args args = new getThriftServerType_args(); args.write(prot); prot.writeMessageEnd(); } - public TThriftServerType getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public TThriftServerType getResult() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getThriftServerType(); } } - public void getClusterId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void getClusterId(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getClusterId_call method_call = new getClusterId_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getClusterId_call extends org.apache.thrift.async.TAsyncMethodCall { - public getClusterId_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getClusterId_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { + public getClusterId_call(org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getClusterId", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getClusterId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getClusterId_args args = new getClusterId_args(); args.write(prot); prot.writeMessageEnd(); } - public java.lang.String getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.String getResult() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getClusterId(); } } - public void getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void getSlowLogResponses(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); getSlowLogResponses_call method_call = new getSlowLogResponses_call(serverNames, logQueryFilter, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getSlowLogResponses_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class getSlowLogResponses_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.util.Set serverNames; private TLogQueryFilter logQueryFilter; - public getSlowLogResponses_call(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getSlowLogResponses_call(java.util.Set serverNames, TLogQueryFilter logQueryFilter, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.serverNames = serverNames; this.logQueryFilter = logQueryFilter; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSlowLogResponses", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("getSlowLogResponses", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); getSlowLogResponses_args args = new getSlowLogResponses_args(); args.setServerNames(serverNames); args.setLogQueryFilter(logQueryFilter); @@ -3628,125 +3842,135 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getSlowLogResponses(); } } - public void clearSlowLogResponses(java.util.Set serverNames, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void clearSlowLogResponses(java.util.Set serverNames, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); clearSlowLogResponses_call method_call = new clearSlowLogResponses_call(serverNames, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class clearSlowLogResponses_call extends org.apache.thrift.async.TAsyncMethodCall> { + public static class clearSlowLogResponses_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall> { private java.util.Set serverNames; - public clearSlowLogResponses_call(java.util.Set serverNames, org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public clearSlowLogResponses_call(java.util.Set serverNames, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.serverNames = serverNames; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("clearSlowLogResponses", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("clearSlowLogResponses", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); clearSlowLogResponses_args args = new clearSlowLogResponses_args(); args.setServerNames(serverNames); args.write(prot); prot.writeMessageEnd(); } - public java.util.List getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.util.List getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_clearSlowLogResponses(); } } - public void grant(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void grant(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); grant_call method_call = new grant_call(info, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class grant_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class grant_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TAccessControlEntity info; - public grant_call(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public grant_call(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.info = info; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grant", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("grant", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); grant_args args = new grant_args(); args.setInfo(info); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_grant(); } } - public void revoke(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void revoke(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); revoke_call method_call = new revoke_call(info, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revoke_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class revoke_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TAccessControlEntity info; - public revoke_call(TAccessControlEntity info, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public revoke_call(TAccessControlEntity info, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncClient client, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.hbase.thirdparty.org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.info = info; } - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("revoke", org.apache.thrift.protocol.TMessageType.CALL, 0)); + @Override + public void write_args(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessage("revoke", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); revoke_args args = new revoke_args(); args.setInfo(info); args.write(prot); prot.writeMessageEnd(); } - public java.lang.Boolean getResult() throws TIOError, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + @Override + public java.lang.Boolean getResult() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { + if (getState() != org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new java.lang.IllegalStateException("Method call not finished!"); } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_revoke(); } } } - public static class Processor extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor { + public static class Processor extends org.apache.hbase.thirdparty.org.apache.thrift.TBaseProcessor implements org.apache.hbase.thirdparty.org.apache.thrift.TProcessor { private static final org.slf4j.Logger _LOGGER = org.slf4j.LoggerFactory.getLogger(Processor.class.getName()); public Processor(I iface) { - super(iface, getProcessMap(new java.util.HashMap>())); + super(iface, getProcessMap(new java.util.HashMap>())); } - protected Processor(I iface, java.util.Map> processMap) { + protected Processor(I iface, java.util.Map> processMap) { super(iface, getProcessMap(processMap)); } - private static java.util.Map> getProcessMap(java.util.Map> processMap) { + private static java.util.Map> getProcessMap(java.util.Map> processMap) { processMap.put("exists", new exists()); processMap.put("existsAll", new existsAll()); processMap.put("get", new get()); @@ -3801,16 +4025,18 @@ protected Processor(I iface, java.util.Map extends org.apache.thrift.ProcessFunction { + public static class exists extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public exists() { super("exists"); } + @Override public exists_args getEmptyArgsInstance() { return new exists_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3819,8 +4045,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public exists_result getResult(I iface, exists_args args) throws org.apache.thrift.TException { - exists_result result = new exists_result(); + @Override + public exists_result getEmptyResultInstance() { + return new exists_result(); + } + + @Override + public exists_result getResult(I iface, exists_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + exists_result result = getEmptyResultInstance(); try { result.success = iface.exists(args.table, args.tget); result.setSuccessIsSet(true); @@ -3831,16 +4063,18 @@ public exists_result getResult(I iface, exists_args args) throws org.apache.thri } } - public static class existsAll extends org.apache.thrift.ProcessFunction { + public static class existsAll extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public existsAll() { super("existsAll"); } + @Override public existsAll_args getEmptyArgsInstance() { return new existsAll_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3849,8 +4083,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public existsAll_result getResult(I iface, existsAll_args args) throws org.apache.thrift.TException { - existsAll_result result = new existsAll_result(); + @Override + public existsAll_result getEmptyResultInstance() { + return new existsAll_result(); + } + + @Override + public existsAll_result getResult(I iface, existsAll_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + existsAll_result result = getEmptyResultInstance(); try { result.success = iface.existsAll(args.table, args.tgets); } catch (TIOError io) { @@ -3860,16 +4100,18 @@ public existsAll_result getResult(I iface, existsAll_args args) throws org.apach } } - public static class get extends org.apache.thrift.ProcessFunction { + public static class get extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public get() { super("get"); } + @Override public get_args getEmptyArgsInstance() { return new get_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3878,8 +4120,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public get_result getResult(I iface, get_args args) throws org.apache.thrift.TException { - get_result result = new get_result(); + @Override + public get_result getEmptyResultInstance() { + return new get_result(); + } + + @Override + public get_result getResult(I iface, get_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + get_result result = getEmptyResultInstance(); try { result.success = iface.get(args.table, args.tget); } catch (TIOError io) { @@ -3889,16 +4137,18 @@ public get_result getResult(I iface, get_args args) throws org.apache.thrift.TEx } } - public static class getMultiple extends org.apache.thrift.ProcessFunction { + public static class getMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getMultiple() { super("getMultiple"); } + @Override public getMultiple_args getEmptyArgsInstance() { return new getMultiple_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3907,8 +4157,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getMultiple_result getResult(I iface, getMultiple_args args) throws org.apache.thrift.TException { - getMultiple_result result = new getMultiple_result(); + @Override + public getMultiple_result getEmptyResultInstance() { + return new getMultiple_result(); + } + + @Override + public getMultiple_result getResult(I iface, getMultiple_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getMultiple_result result = getEmptyResultInstance(); try { result.success = iface.getMultiple(args.table, args.tgets); } catch (TIOError io) { @@ -3918,16 +4174,18 @@ public getMultiple_result getResult(I iface, getMultiple_args args) throws org.a } } - public static class put extends org.apache.thrift.ProcessFunction { + public static class put extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public put() { super("put"); } + @Override public put_args getEmptyArgsInstance() { return new put_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3936,8 +4194,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public put_result getResult(I iface, put_args args) throws org.apache.thrift.TException { - put_result result = new put_result(); + @Override + public put_result getEmptyResultInstance() { + return new put_result(); + } + + @Override + public put_result getResult(I iface, put_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + put_result result = getEmptyResultInstance(); try { iface.put(args.table, args.tput); } catch (TIOError io) { @@ -3947,16 +4211,18 @@ public put_result getResult(I iface, put_args args) throws org.apache.thrift.TEx } } - public static class checkAndPut extends org.apache.thrift.ProcessFunction { + public static class checkAndPut extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public checkAndPut() { super("checkAndPut"); } + @Override public checkAndPut_args getEmptyArgsInstance() { return new checkAndPut_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3965,8 +4231,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.apache.thrift.TException { - checkAndPut_result result = new checkAndPut_result(); + @Override + public checkAndPut_result getEmptyResultInstance() { + return new checkAndPut_result(); + } + + @Override + public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + checkAndPut_result result = getEmptyResultInstance(); try { result.success = iface.checkAndPut(args.table, args.row, args.family, args.qualifier, args.value, args.tput); result.setSuccessIsSet(true); @@ -3977,16 +4249,18 @@ public checkAndPut_result getResult(I iface, checkAndPut_args args) throws org.a } } - public static class putMultiple extends org.apache.thrift.ProcessFunction { + public static class putMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public putMultiple() { super("putMultiple"); } + @Override public putMultiple_args getEmptyArgsInstance() { return new putMultiple_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -3995,8 +4269,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public putMultiple_result getResult(I iface, putMultiple_args args) throws org.apache.thrift.TException { - putMultiple_result result = new putMultiple_result(); + @Override + public putMultiple_result getEmptyResultInstance() { + return new putMultiple_result(); + } + + @Override + public putMultiple_result getResult(I iface, putMultiple_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + putMultiple_result result = getEmptyResultInstance(); try { iface.putMultiple(args.table, args.tputs); } catch (TIOError io) { @@ -4006,16 +4286,18 @@ public putMultiple_result getResult(I iface, putMultiple_args args) throws org.a } } - public static class deleteSingle extends org.apache.thrift.ProcessFunction { + public static class deleteSingle extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteSingle() { super("deleteSingle"); } + @Override public deleteSingle_args getEmptyArgsInstance() { return new deleteSingle_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4024,8 +4306,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteSingle_result getResult(I iface, deleteSingle_args args) throws org.apache.thrift.TException { - deleteSingle_result result = new deleteSingle_result(); + @Override + public deleteSingle_result getEmptyResultInstance() { + return new deleteSingle_result(); + } + + @Override + public deleteSingle_result getResult(I iface, deleteSingle_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteSingle_result result = getEmptyResultInstance(); try { iface.deleteSingle(args.table, args.tdelete); } catch (TIOError io) { @@ -4035,16 +4323,18 @@ public deleteSingle_result getResult(I iface, deleteSingle_args args) throws org } } - public static class deleteMultiple extends org.apache.thrift.ProcessFunction { + public static class deleteMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteMultiple() { super("deleteMultiple"); } + @Override public deleteMultiple_args getEmptyArgsInstance() { return new deleteMultiple_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4053,8 +4343,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteMultiple_result getResult(I iface, deleteMultiple_args args) throws org.apache.thrift.TException { - deleteMultiple_result result = new deleteMultiple_result(); + @Override + public deleteMultiple_result getEmptyResultInstance() { + return new deleteMultiple_result(); + } + + @Override + public deleteMultiple_result getResult(I iface, deleteMultiple_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteMultiple_result result = getEmptyResultInstance(); try { result.success = iface.deleteMultiple(args.table, args.tdeletes); } catch (TIOError io) { @@ -4064,16 +4360,18 @@ public deleteMultiple_result getResult(I iface, deleteMultiple_args args) throws } } - public static class checkAndDelete extends org.apache.thrift.ProcessFunction { + public static class checkAndDelete extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public checkAndDelete() { super("checkAndDelete"); } + @Override public checkAndDelete_args getEmptyArgsInstance() { return new checkAndDelete_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4082,8 +4380,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.thrift.TException { - checkAndDelete_result result = new checkAndDelete_result(); + @Override + public checkAndDelete_result getEmptyResultInstance() { + return new checkAndDelete_result(); + } + + @Override + public checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + checkAndDelete_result result = getEmptyResultInstance(); try { result.success = iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.tdelete); result.setSuccessIsSet(true); @@ -4094,16 +4398,18 @@ public checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws } } - public static class increment extends org.apache.thrift.ProcessFunction { + public static class increment extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public increment() { super("increment"); } + @Override public increment_args getEmptyArgsInstance() { return new increment_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4112,8 +4418,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public increment_result getResult(I iface, increment_args args) throws org.apache.thrift.TException { - increment_result result = new increment_result(); + @Override + public increment_result getEmptyResultInstance() { + return new increment_result(); + } + + @Override + public increment_result getResult(I iface, increment_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + increment_result result = getEmptyResultInstance(); try { result.success = iface.increment(args.table, args.tincrement); } catch (TIOError io) { @@ -4123,16 +4435,18 @@ public increment_result getResult(I iface, increment_args args) throws org.apach } } - public static class append extends org.apache.thrift.ProcessFunction { + public static class append extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public append() { super("append"); } + @Override public append_args getEmptyArgsInstance() { return new append_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4141,8 +4455,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public append_result getResult(I iface, append_args args) throws org.apache.thrift.TException { - append_result result = new append_result(); + @Override + public append_result getEmptyResultInstance() { + return new append_result(); + } + + @Override + public append_result getResult(I iface, append_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + append_result result = getEmptyResultInstance(); try { result.success = iface.append(args.table, args.tappend); } catch (TIOError io) { @@ -4152,16 +4472,18 @@ public append_result getResult(I iface, append_args args) throws org.apache.thri } } - public static class openScanner extends org.apache.thrift.ProcessFunction { + public static class openScanner extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public openScanner() { super("openScanner"); } + @Override public openScanner_args getEmptyArgsInstance() { return new openScanner_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4170,8 +4492,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public openScanner_result getResult(I iface, openScanner_args args) throws org.apache.thrift.TException { - openScanner_result result = new openScanner_result(); + @Override + public openScanner_result getEmptyResultInstance() { + return new openScanner_result(); + } + + @Override + public openScanner_result getResult(I iface, openScanner_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + openScanner_result result = getEmptyResultInstance(); try { result.success = iface.openScanner(args.table, args.tscan); result.setSuccessIsSet(true); @@ -4182,16 +4510,18 @@ public openScanner_result getResult(I iface, openScanner_args args) throws org.a } } - public static class getScannerRows extends org.apache.thrift.ProcessFunction { + public static class getScannerRows extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getScannerRows() { super("getScannerRows"); } + @Override public getScannerRows_args getEmptyArgsInstance() { return new getScannerRows_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4200,8 +4530,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getScannerRows_result getResult(I iface, getScannerRows_args args) throws org.apache.thrift.TException { - getScannerRows_result result = new getScannerRows_result(); + @Override + public getScannerRows_result getEmptyResultInstance() { + return new getScannerRows_result(); + } + + @Override + public getScannerRows_result getResult(I iface, getScannerRows_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getScannerRows_result result = getEmptyResultInstance(); try { result.success = iface.getScannerRows(args.scannerId, args.numRows); } catch (TIOError io) { @@ -4213,16 +4549,18 @@ public getScannerRows_result getResult(I iface, getScannerRows_args args) throws } } - public static class closeScanner extends org.apache.thrift.ProcessFunction { + public static class closeScanner extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public closeScanner() { super("closeScanner"); } + @Override public closeScanner_args getEmptyArgsInstance() { return new closeScanner_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4231,8 +4569,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public closeScanner_result getResult(I iface, closeScanner_args args) throws org.apache.thrift.TException { - closeScanner_result result = new closeScanner_result(); + @Override + public closeScanner_result getEmptyResultInstance() { + return new closeScanner_result(); + } + + @Override + public closeScanner_result getResult(I iface, closeScanner_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + closeScanner_result result = getEmptyResultInstance(); try { iface.closeScanner(args.scannerId); } catch (TIOError io) { @@ -4244,16 +4588,18 @@ public closeScanner_result getResult(I iface, closeScanner_args args) throws org } } - public static class mutateRow extends org.apache.thrift.ProcessFunction { + public static class mutateRow extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public mutateRow() { super("mutateRow"); } + @Override public mutateRow_args getEmptyArgsInstance() { return new mutateRow_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4262,8 +4608,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apache.thrift.TException { - mutateRow_result result = new mutateRow_result(); + @Override + public mutateRow_result getEmptyResultInstance() { + return new mutateRow_result(); + } + + @Override + public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + mutateRow_result result = getEmptyResultInstance(); try { iface.mutateRow(args.table, args.trowMutations); } catch (TIOError io) { @@ -4273,16 +4625,18 @@ public mutateRow_result getResult(I iface, mutateRow_args args) throws org.apach } } - public static class getScannerResults extends org.apache.thrift.ProcessFunction { + public static class getScannerResults extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getScannerResults() { super("getScannerResults"); } + @Override public getScannerResults_args getEmptyArgsInstance() { return new getScannerResults_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4291,8 +4645,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getScannerResults_result getResult(I iface, getScannerResults_args args) throws org.apache.thrift.TException { - getScannerResults_result result = new getScannerResults_result(); + @Override + public getScannerResults_result getEmptyResultInstance() { + return new getScannerResults_result(); + } + + @Override + public getScannerResults_result getResult(I iface, getScannerResults_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getScannerResults_result result = getEmptyResultInstance(); try { result.success = iface.getScannerResults(args.table, args.tscan, args.numRows); } catch (TIOError io) { @@ -4302,16 +4662,18 @@ public getScannerResults_result getResult(I iface, getScannerResults_args args) } } - public static class getRegionLocation extends org.apache.thrift.ProcessFunction { + public static class getRegionLocation extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getRegionLocation() { super("getRegionLocation"); } + @Override public getRegionLocation_args getEmptyArgsInstance() { return new getRegionLocation_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4320,8 +4682,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getRegionLocation_result getResult(I iface, getRegionLocation_args args) throws org.apache.thrift.TException { - getRegionLocation_result result = new getRegionLocation_result(); + @Override + public getRegionLocation_result getEmptyResultInstance() { + return new getRegionLocation_result(); + } + + @Override + public getRegionLocation_result getResult(I iface, getRegionLocation_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getRegionLocation_result result = getEmptyResultInstance(); try { result.success = iface.getRegionLocation(args.table, args.row, args.reload); } catch (TIOError io) { @@ -4331,16 +4699,18 @@ public getRegionLocation_result getResult(I iface, getRegionLocation_args args) } } - public static class getAllRegionLocations extends org.apache.thrift.ProcessFunction { + public static class getAllRegionLocations extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getAllRegionLocations() { super("getAllRegionLocations"); } + @Override public getAllRegionLocations_args getEmptyArgsInstance() { return new getAllRegionLocations_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4349,8 +4719,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getAllRegionLocations_result getResult(I iface, getAllRegionLocations_args args) throws org.apache.thrift.TException { - getAllRegionLocations_result result = new getAllRegionLocations_result(); + @Override + public getAllRegionLocations_result getEmptyResultInstance() { + return new getAllRegionLocations_result(); + } + + @Override + public getAllRegionLocations_result getResult(I iface, getAllRegionLocations_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getAllRegionLocations_result result = getEmptyResultInstance(); try { result.success = iface.getAllRegionLocations(args.table); } catch (TIOError io) { @@ -4360,16 +4736,18 @@ public getAllRegionLocations_result getResult(I iface, getAllRegionLocations_arg } } - public static class checkAndMutate extends org.apache.thrift.ProcessFunction { + public static class checkAndMutate extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public checkAndMutate() { super("checkAndMutate"); } + @Override public checkAndMutate_args getEmptyArgsInstance() { return new checkAndMutate_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4378,8 +4756,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public checkAndMutate_result getResult(I iface, checkAndMutate_args args) throws org.apache.thrift.TException { - checkAndMutate_result result = new checkAndMutate_result(); + @Override + public checkAndMutate_result getEmptyResultInstance() { + return new checkAndMutate_result(); + } + + @Override + public checkAndMutate_result getResult(I iface, checkAndMutate_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + checkAndMutate_result result = getEmptyResultInstance(); try { result.success = iface.checkAndMutate(args.table, args.row, args.family, args.qualifier, args.compareOperator, args.value, args.rowMutations); result.setSuccessIsSet(true); @@ -4390,16 +4774,18 @@ public checkAndMutate_result getResult(I iface, checkAndMutate_args args) throws } } - public static class getTableDescriptor extends org.apache.thrift.ProcessFunction { + public static class getTableDescriptor extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableDescriptor() { super("getTableDescriptor"); } + @Override public getTableDescriptor_args getEmptyArgsInstance() { return new getTableDescriptor_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4408,8 +4794,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableDescriptor_result getResult(I iface, getTableDescriptor_args args) throws org.apache.thrift.TException { - getTableDescriptor_result result = new getTableDescriptor_result(); + @Override + public getTableDescriptor_result getEmptyResultInstance() { + return new getTableDescriptor_result(); + } + + @Override + public getTableDescriptor_result getResult(I iface, getTableDescriptor_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableDescriptor_result result = getEmptyResultInstance(); try { result.success = iface.getTableDescriptor(args.table); } catch (TIOError io) { @@ -4419,16 +4811,18 @@ public getTableDescriptor_result getResult(I iface, getTableDescriptor_args args } } - public static class getTableDescriptors extends org.apache.thrift.ProcessFunction { + public static class getTableDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableDescriptors() { super("getTableDescriptors"); } + @Override public getTableDescriptors_args getEmptyArgsInstance() { return new getTableDescriptors_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4437,8 +4831,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableDescriptors_result getResult(I iface, getTableDescriptors_args args) throws org.apache.thrift.TException { - getTableDescriptors_result result = new getTableDescriptors_result(); + @Override + public getTableDescriptors_result getEmptyResultInstance() { + return new getTableDescriptors_result(); + } + + @Override + public getTableDescriptors_result getResult(I iface, getTableDescriptors_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableDescriptors_result result = getEmptyResultInstance(); try { result.success = iface.getTableDescriptors(args.tables); } catch (TIOError io) { @@ -4448,16 +4848,18 @@ public getTableDescriptors_result getResult(I iface, getTableDescriptors_args ar } } - public static class tableExists extends org.apache.thrift.ProcessFunction { + public static class tableExists extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public tableExists() { super("tableExists"); } + @Override public tableExists_args getEmptyArgsInstance() { return new tableExists_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4466,8 +4868,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public tableExists_result getResult(I iface, tableExists_args args) throws org.apache.thrift.TException { - tableExists_result result = new tableExists_result(); + @Override + public tableExists_result getEmptyResultInstance() { + return new tableExists_result(); + } + + @Override + public tableExists_result getResult(I iface, tableExists_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + tableExists_result result = getEmptyResultInstance(); try { result.success = iface.tableExists(args.tableName); result.setSuccessIsSet(true); @@ -4478,16 +4886,18 @@ public tableExists_result getResult(I iface, tableExists_args args) throws org.a } } - public static class getTableDescriptorsByPattern extends org.apache.thrift.ProcessFunction { + public static class getTableDescriptorsByPattern extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableDescriptorsByPattern() { super("getTableDescriptorsByPattern"); } + @Override public getTableDescriptorsByPattern_args getEmptyArgsInstance() { return new getTableDescriptorsByPattern_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4496,8 +4906,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableDescriptorsByPattern_result getResult(I iface, getTableDescriptorsByPattern_args args) throws org.apache.thrift.TException { - getTableDescriptorsByPattern_result result = new getTableDescriptorsByPattern_result(); + @Override + public getTableDescriptorsByPattern_result getEmptyResultInstance() { + return new getTableDescriptorsByPattern_result(); + } + + @Override + public getTableDescriptorsByPattern_result getResult(I iface, getTableDescriptorsByPattern_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableDescriptorsByPattern_result result = getEmptyResultInstance(); try { result.success = iface.getTableDescriptorsByPattern(args.regex, args.includeSysTables); } catch (TIOError io) { @@ -4507,16 +4923,18 @@ public getTableDescriptorsByPattern_result getResult(I iface, getTableDescriptor } } - public static class getTableDescriptorsByNamespace extends org.apache.thrift.ProcessFunction { + public static class getTableDescriptorsByNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableDescriptorsByNamespace() { super("getTableDescriptorsByNamespace"); } + @Override public getTableDescriptorsByNamespace_args getEmptyArgsInstance() { return new getTableDescriptorsByNamespace_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4525,8 +4943,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableDescriptorsByNamespace_result getResult(I iface, getTableDescriptorsByNamespace_args args) throws org.apache.thrift.TException { - getTableDescriptorsByNamespace_result result = new getTableDescriptorsByNamespace_result(); + @Override + public getTableDescriptorsByNamespace_result getEmptyResultInstance() { + return new getTableDescriptorsByNamespace_result(); + } + + @Override + public getTableDescriptorsByNamespace_result getResult(I iface, getTableDescriptorsByNamespace_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableDescriptorsByNamespace_result result = getEmptyResultInstance(); try { result.success = iface.getTableDescriptorsByNamespace(args.name); } catch (TIOError io) { @@ -4536,16 +4960,18 @@ public getTableDescriptorsByNamespace_result getResult(I iface, getTableDescript } } - public static class getTableNamesByPattern extends org.apache.thrift.ProcessFunction { + public static class getTableNamesByPattern extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableNamesByPattern() { super("getTableNamesByPattern"); } + @Override public getTableNamesByPattern_args getEmptyArgsInstance() { return new getTableNamesByPattern_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4554,8 +4980,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableNamesByPattern_result getResult(I iface, getTableNamesByPattern_args args) throws org.apache.thrift.TException { - getTableNamesByPattern_result result = new getTableNamesByPattern_result(); + @Override + public getTableNamesByPattern_result getEmptyResultInstance() { + return new getTableNamesByPattern_result(); + } + + @Override + public getTableNamesByPattern_result getResult(I iface, getTableNamesByPattern_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableNamesByPattern_result result = getEmptyResultInstance(); try { result.success = iface.getTableNamesByPattern(args.regex, args.includeSysTables); } catch (TIOError io) { @@ -4565,16 +4997,18 @@ public getTableNamesByPattern_result getResult(I iface, getTableNamesByPattern_a } } - public static class getTableNamesByNamespace extends org.apache.thrift.ProcessFunction { + public static class getTableNamesByNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getTableNamesByNamespace() { super("getTableNamesByNamespace"); } + @Override public getTableNamesByNamespace_args getEmptyArgsInstance() { return new getTableNamesByNamespace_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4583,8 +5017,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getTableNamesByNamespace_result getResult(I iface, getTableNamesByNamespace_args args) throws org.apache.thrift.TException { - getTableNamesByNamespace_result result = new getTableNamesByNamespace_result(); + @Override + public getTableNamesByNamespace_result getEmptyResultInstance() { + return new getTableNamesByNamespace_result(); + } + + @Override + public getTableNamesByNamespace_result getResult(I iface, getTableNamesByNamespace_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getTableNamesByNamespace_result result = getEmptyResultInstance(); try { result.success = iface.getTableNamesByNamespace(args.name); } catch (TIOError io) { @@ -4594,16 +5034,18 @@ public getTableNamesByNamespace_result getResult(I iface, getTableNamesByNamespa } } - public static class createTable extends org.apache.thrift.ProcessFunction { + public static class createTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public createTable() { super("createTable"); } + @Override public createTable_args getEmptyArgsInstance() { return new createTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4612,8 +5054,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public createTable_result getResult(I iface, createTable_args args) throws org.apache.thrift.TException { - createTable_result result = new createTable_result(); + @Override + public createTable_result getEmptyResultInstance() { + return new createTable_result(); + } + + @Override + public createTable_result getResult(I iface, createTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + createTable_result result = getEmptyResultInstance(); try { iface.createTable(args.desc, args.splitKeys); } catch (TIOError io) { @@ -4623,16 +5071,18 @@ public createTable_result getResult(I iface, createTable_args args) throws org.a } } - public static class deleteTable extends org.apache.thrift.ProcessFunction { + public static class deleteTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteTable() { super("deleteTable"); } + @Override public deleteTable_args getEmptyArgsInstance() { return new deleteTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4641,8 +5091,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.thrift.TException { - deleteTable_result result = new deleteTable_result(); + @Override + public deleteTable_result getEmptyResultInstance() { + return new deleteTable_result(); + } + + @Override + public deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteTable_result result = getEmptyResultInstance(); try { iface.deleteTable(args.tableName); } catch (TIOError io) { @@ -4652,16 +5108,18 @@ public deleteTable_result getResult(I iface, deleteTable_args args) throws org.a } } - public static class truncateTable extends org.apache.thrift.ProcessFunction { + public static class truncateTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public truncateTable() { super("truncateTable"); } + @Override public truncateTable_args getEmptyArgsInstance() { return new truncateTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4670,8 +5128,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public truncateTable_result getResult(I iface, truncateTable_args args) throws org.apache.thrift.TException { - truncateTable_result result = new truncateTable_result(); + @Override + public truncateTable_result getEmptyResultInstance() { + return new truncateTable_result(); + } + + @Override + public truncateTable_result getResult(I iface, truncateTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + truncateTable_result result = getEmptyResultInstance(); try { iface.truncateTable(args.tableName, args.preserveSplits); } catch (TIOError io) { @@ -4681,16 +5145,18 @@ public truncateTable_result getResult(I iface, truncateTable_args args) throws o } } - public static class enableTable extends org.apache.thrift.ProcessFunction { + public static class enableTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public enableTable() { super("enableTable"); } + @Override public enableTable_args getEmptyArgsInstance() { return new enableTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4699,8 +5165,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public enableTable_result getResult(I iface, enableTable_args args) throws org.apache.thrift.TException { - enableTable_result result = new enableTable_result(); + @Override + public enableTable_result getEmptyResultInstance() { + return new enableTable_result(); + } + + @Override + public enableTable_result getResult(I iface, enableTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + enableTable_result result = getEmptyResultInstance(); try { iface.enableTable(args.tableName); } catch (TIOError io) { @@ -4710,16 +5182,18 @@ public enableTable_result getResult(I iface, enableTable_args args) throws org.a } } - public static class disableTable extends org.apache.thrift.ProcessFunction { + public static class disableTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public disableTable() { super("disableTable"); } + @Override public disableTable_args getEmptyArgsInstance() { return new disableTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4728,8 +5202,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public disableTable_result getResult(I iface, disableTable_args args) throws org.apache.thrift.TException { - disableTable_result result = new disableTable_result(); + @Override + public disableTable_result getEmptyResultInstance() { + return new disableTable_result(); + } + + @Override + public disableTable_result getResult(I iface, disableTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + disableTable_result result = getEmptyResultInstance(); try { iface.disableTable(args.tableName); } catch (TIOError io) { @@ -4739,16 +5219,18 @@ public disableTable_result getResult(I iface, disableTable_args args) throws org } } - public static class isTableEnabled extends org.apache.thrift.ProcessFunction { + public static class isTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public isTableEnabled() { super("isTableEnabled"); } + @Override public isTableEnabled_args getEmptyArgsInstance() { return new isTableEnabled_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4757,8 +5239,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws org.apache.thrift.TException { - isTableEnabled_result result = new isTableEnabled_result(); + @Override + public isTableEnabled_result getEmptyResultInstance() { + return new isTableEnabled_result(); + } + + @Override + public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + isTableEnabled_result result = getEmptyResultInstance(); try { result.success = iface.isTableEnabled(args.tableName); result.setSuccessIsSet(true); @@ -4769,16 +5257,18 @@ public isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws } } - public static class isTableDisabled extends org.apache.thrift.ProcessFunction { + public static class isTableDisabled extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public isTableDisabled() { super("isTableDisabled"); } + @Override public isTableDisabled_args getEmptyArgsInstance() { return new isTableDisabled_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4787,8 +5277,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public isTableDisabled_result getResult(I iface, isTableDisabled_args args) throws org.apache.thrift.TException { - isTableDisabled_result result = new isTableDisabled_result(); + @Override + public isTableDisabled_result getEmptyResultInstance() { + return new isTableDisabled_result(); + } + + @Override + public isTableDisabled_result getResult(I iface, isTableDisabled_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + isTableDisabled_result result = getEmptyResultInstance(); try { result.success = iface.isTableDisabled(args.tableName); result.setSuccessIsSet(true); @@ -4799,16 +5295,18 @@ public isTableDisabled_result getResult(I iface, isTableDisabled_args args) thro } } - public static class isTableAvailable extends org.apache.thrift.ProcessFunction { + public static class isTableAvailable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public isTableAvailable() { super("isTableAvailable"); } + @Override public isTableAvailable_args getEmptyArgsInstance() { return new isTableAvailable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4817,8 +5315,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public isTableAvailable_result getResult(I iface, isTableAvailable_args args) throws org.apache.thrift.TException { - isTableAvailable_result result = new isTableAvailable_result(); + @Override + public isTableAvailable_result getEmptyResultInstance() { + return new isTableAvailable_result(); + } + + @Override + public isTableAvailable_result getResult(I iface, isTableAvailable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + isTableAvailable_result result = getEmptyResultInstance(); try { result.success = iface.isTableAvailable(args.tableName); result.setSuccessIsSet(true); @@ -4829,16 +5333,18 @@ public isTableAvailable_result getResult(I iface, isTableAvailable_args args) th } } - public static class addColumnFamily extends org.apache.thrift.ProcessFunction { + public static class addColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public addColumnFamily() { super("addColumnFamily"); } + @Override public addColumnFamily_args getEmptyArgsInstance() { return new addColumnFamily_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4847,8 +5353,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public addColumnFamily_result getResult(I iface, addColumnFamily_args args) throws org.apache.thrift.TException { - addColumnFamily_result result = new addColumnFamily_result(); + @Override + public addColumnFamily_result getEmptyResultInstance() { + return new addColumnFamily_result(); + } + + @Override + public addColumnFamily_result getResult(I iface, addColumnFamily_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + addColumnFamily_result result = getEmptyResultInstance(); try { iface.addColumnFamily(args.tableName, args.column); } catch (TIOError io) { @@ -4858,16 +5370,18 @@ public addColumnFamily_result getResult(I iface, addColumnFamily_args args) thro } } - public static class deleteColumnFamily extends org.apache.thrift.ProcessFunction { + public static class deleteColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteColumnFamily() { super("deleteColumnFamily"); } + @Override public deleteColumnFamily_args getEmptyArgsInstance() { return new deleteColumnFamily_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4876,8 +5390,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteColumnFamily_result getResult(I iface, deleteColumnFamily_args args) throws org.apache.thrift.TException { - deleteColumnFamily_result result = new deleteColumnFamily_result(); + @Override + public deleteColumnFamily_result getEmptyResultInstance() { + return new deleteColumnFamily_result(); + } + + @Override + public deleteColumnFamily_result getResult(I iface, deleteColumnFamily_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteColumnFamily_result result = getEmptyResultInstance(); try { iface.deleteColumnFamily(args.tableName, args.column); } catch (TIOError io) { @@ -4887,16 +5407,18 @@ public deleteColumnFamily_result getResult(I iface, deleteColumnFamily_args args } } - public static class modifyColumnFamily extends org.apache.thrift.ProcessFunction { + public static class modifyColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public modifyColumnFamily() { super("modifyColumnFamily"); } + @Override public modifyColumnFamily_args getEmptyArgsInstance() { return new modifyColumnFamily_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4905,8 +5427,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public modifyColumnFamily_result getResult(I iface, modifyColumnFamily_args args) throws org.apache.thrift.TException { - modifyColumnFamily_result result = new modifyColumnFamily_result(); + @Override + public modifyColumnFamily_result getEmptyResultInstance() { + return new modifyColumnFamily_result(); + } + + @Override + public modifyColumnFamily_result getResult(I iface, modifyColumnFamily_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + modifyColumnFamily_result result = getEmptyResultInstance(); try { iface.modifyColumnFamily(args.tableName, args.column); } catch (TIOError io) { @@ -4916,16 +5444,18 @@ public modifyColumnFamily_result getResult(I iface, modifyColumnFamily_args args } } - public static class modifyTable extends org.apache.thrift.ProcessFunction { + public static class modifyTable extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public modifyTable() { super("modifyTable"); } + @Override public modifyTable_args getEmptyArgsInstance() { return new modifyTable_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4934,8 +5464,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public modifyTable_result getResult(I iface, modifyTable_args args) throws org.apache.thrift.TException { - modifyTable_result result = new modifyTable_result(); + @Override + public modifyTable_result getEmptyResultInstance() { + return new modifyTable_result(); + } + + @Override + public modifyTable_result getResult(I iface, modifyTable_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + modifyTable_result result = getEmptyResultInstance(); try { iface.modifyTable(args.desc); } catch (TIOError io) { @@ -4945,16 +5481,18 @@ public modifyTable_result getResult(I iface, modifyTable_args args) throws org.a } } - public static class createNamespace extends org.apache.thrift.ProcessFunction { + public static class createNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public createNamespace() { super("createNamespace"); } + @Override public createNamespace_args getEmptyArgsInstance() { return new createNamespace_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4963,8 +5501,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public createNamespace_result getResult(I iface, createNamespace_args args) throws org.apache.thrift.TException { - createNamespace_result result = new createNamespace_result(); + @Override + public createNamespace_result getEmptyResultInstance() { + return new createNamespace_result(); + } + + @Override + public createNamespace_result getResult(I iface, createNamespace_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + createNamespace_result result = getEmptyResultInstance(); try { iface.createNamespace(args.namespaceDesc); } catch (TIOError io) { @@ -4974,16 +5518,18 @@ public createNamespace_result getResult(I iface, createNamespace_args args) thro } } - public static class modifyNamespace extends org.apache.thrift.ProcessFunction { + public static class modifyNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public modifyNamespace() { super("modifyNamespace"); } + @Override public modifyNamespace_args getEmptyArgsInstance() { return new modifyNamespace_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4992,8 +5538,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public modifyNamespace_result getResult(I iface, modifyNamespace_args args) throws org.apache.thrift.TException { - modifyNamespace_result result = new modifyNamespace_result(); + @Override + public modifyNamespace_result getEmptyResultInstance() { + return new modifyNamespace_result(); + } + + @Override + public modifyNamespace_result getResult(I iface, modifyNamespace_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + modifyNamespace_result result = getEmptyResultInstance(); try { iface.modifyNamespace(args.namespaceDesc); } catch (TIOError io) { @@ -5003,16 +5555,18 @@ public modifyNamespace_result getResult(I iface, modifyNamespace_args args) thro } } - public static class deleteNamespace extends org.apache.thrift.ProcessFunction { + public static class deleteNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public deleteNamespace() { super("deleteNamespace"); } + @Override public deleteNamespace_args getEmptyArgsInstance() { return new deleteNamespace_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5021,8 +5575,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public deleteNamespace_result getResult(I iface, deleteNamespace_args args) throws org.apache.thrift.TException { - deleteNamespace_result result = new deleteNamespace_result(); + @Override + public deleteNamespace_result getEmptyResultInstance() { + return new deleteNamespace_result(); + } + + @Override + public deleteNamespace_result getResult(I iface, deleteNamespace_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + deleteNamespace_result result = getEmptyResultInstance(); try { iface.deleteNamespace(args.name); } catch (TIOError io) { @@ -5032,16 +5592,18 @@ public deleteNamespace_result getResult(I iface, deleteNamespace_args args) thro } } - public static class getNamespaceDescriptor extends org.apache.thrift.ProcessFunction { + public static class getNamespaceDescriptor extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getNamespaceDescriptor() { super("getNamespaceDescriptor"); } + @Override public getNamespaceDescriptor_args getEmptyArgsInstance() { return new getNamespaceDescriptor_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5050,8 +5612,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getNamespaceDescriptor_result getResult(I iface, getNamespaceDescriptor_args args) throws org.apache.thrift.TException { - getNamespaceDescriptor_result result = new getNamespaceDescriptor_result(); + @Override + public getNamespaceDescriptor_result getEmptyResultInstance() { + return new getNamespaceDescriptor_result(); + } + + @Override + public getNamespaceDescriptor_result getResult(I iface, getNamespaceDescriptor_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getNamespaceDescriptor_result result = getEmptyResultInstance(); try { result.success = iface.getNamespaceDescriptor(args.name); } catch (TIOError io) { @@ -5061,16 +5629,18 @@ public getNamespaceDescriptor_result getResult(I iface, getNamespaceDescriptor_a } } - public static class listNamespaceDescriptors extends org.apache.thrift.ProcessFunction { + public static class listNamespaceDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public listNamespaceDescriptors() { super("listNamespaceDescriptors"); } + @Override public listNamespaceDescriptors_args getEmptyArgsInstance() { return new listNamespaceDescriptors_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5079,8 +5649,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public listNamespaceDescriptors_result getResult(I iface, listNamespaceDescriptors_args args) throws org.apache.thrift.TException { - listNamespaceDescriptors_result result = new listNamespaceDescriptors_result(); + @Override + public listNamespaceDescriptors_result getEmptyResultInstance() { + return new listNamespaceDescriptors_result(); + } + + @Override + public listNamespaceDescriptors_result getResult(I iface, listNamespaceDescriptors_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + listNamespaceDescriptors_result result = getEmptyResultInstance(); try { result.success = iface.listNamespaceDescriptors(); } catch (TIOError io) { @@ -5090,16 +5666,18 @@ public listNamespaceDescriptors_result getResult(I iface, listNamespaceDescripto } } - public static class listNamespaces extends org.apache.thrift.ProcessFunction { + public static class listNamespaces extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public listNamespaces() { super("listNamespaces"); } + @Override public listNamespaces_args getEmptyArgsInstance() { return new listNamespaces_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5108,8 +5686,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public listNamespaces_result getResult(I iface, listNamespaces_args args) throws org.apache.thrift.TException { - listNamespaces_result result = new listNamespaces_result(); + @Override + public listNamespaces_result getEmptyResultInstance() { + return new listNamespaces_result(); + } + + @Override + public listNamespaces_result getResult(I iface, listNamespaces_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + listNamespaces_result result = getEmptyResultInstance(); try { result.success = iface.listNamespaces(); } catch (TIOError io) { @@ -5119,16 +5703,18 @@ public listNamespaces_result getResult(I iface, listNamespaces_args args) throws } } - public static class getThriftServerType extends org.apache.thrift.ProcessFunction { + public static class getThriftServerType extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getThriftServerType() { super("getThriftServerType"); } + @Override public getThriftServerType_args getEmptyArgsInstance() { return new getThriftServerType_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5137,23 +5723,31 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getThriftServerType_result getResult(I iface, getThriftServerType_args args) throws org.apache.thrift.TException { - getThriftServerType_result result = new getThriftServerType_result(); + @Override + public getThriftServerType_result getEmptyResultInstance() { + return new getThriftServerType_result(); + } + + @Override + public getThriftServerType_result getResult(I iface, getThriftServerType_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getThriftServerType_result result = getEmptyResultInstance(); result.success = iface.getThriftServerType(); return result; } } - public static class getClusterId extends org.apache.thrift.ProcessFunction { + public static class getClusterId extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getClusterId() { super("getClusterId"); } + @Override public getClusterId_args getEmptyArgsInstance() { return new getClusterId_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5162,23 +5756,31 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getClusterId_result getResult(I iface, getClusterId_args args) throws org.apache.thrift.TException { - getClusterId_result result = new getClusterId_result(); + @Override + public getClusterId_result getEmptyResultInstance() { + return new getClusterId_result(); + } + + @Override + public getClusterId_result getResult(I iface, getClusterId_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getClusterId_result result = getEmptyResultInstance(); result.success = iface.getClusterId(); return result; } } - public static class getSlowLogResponses extends org.apache.thrift.ProcessFunction { + public static class getSlowLogResponses extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public getSlowLogResponses() { super("getSlowLogResponses"); } + @Override public getSlowLogResponses_args getEmptyArgsInstance() { return new getSlowLogResponses_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5187,8 +5789,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public getSlowLogResponses_result getResult(I iface, getSlowLogResponses_args args) throws org.apache.thrift.TException { - getSlowLogResponses_result result = new getSlowLogResponses_result(); + @Override + public getSlowLogResponses_result getEmptyResultInstance() { + return new getSlowLogResponses_result(); + } + + @Override + public getSlowLogResponses_result getResult(I iface, getSlowLogResponses_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + getSlowLogResponses_result result = getEmptyResultInstance(); try { result.success = iface.getSlowLogResponses(args.serverNames, args.logQueryFilter); } catch (TIOError io) { @@ -5198,16 +5806,18 @@ public getSlowLogResponses_result getResult(I iface, getSlowLogResponses_args ar } } - public static class clearSlowLogResponses extends org.apache.thrift.ProcessFunction { + public static class clearSlowLogResponses extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public clearSlowLogResponses() { super("clearSlowLogResponses"); } + @Override public clearSlowLogResponses_args getEmptyArgsInstance() { return new clearSlowLogResponses_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5216,8 +5826,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public clearSlowLogResponses_result getResult(I iface, clearSlowLogResponses_args args) throws org.apache.thrift.TException { - clearSlowLogResponses_result result = new clearSlowLogResponses_result(); + @Override + public clearSlowLogResponses_result getEmptyResultInstance() { + return new clearSlowLogResponses_result(); + } + + @Override + public clearSlowLogResponses_result getResult(I iface, clearSlowLogResponses_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + clearSlowLogResponses_result result = getEmptyResultInstance(); try { result.success = iface.clearSlowLogResponses(args.serverNames); } catch (TIOError io) { @@ -5227,16 +5843,18 @@ public clearSlowLogResponses_result getResult(I iface, clearSlowLogResponses_arg } } - public static class grant extends org.apache.thrift.ProcessFunction { + public static class grant extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public grant() { super("grant"); } + @Override public grant_args getEmptyArgsInstance() { return new grant_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5245,8 +5863,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public grant_result getResult(I iface, grant_args args) throws org.apache.thrift.TException { - grant_result result = new grant_result(); + @Override + public grant_result getEmptyResultInstance() { + return new grant_result(); + } + + @Override + public grant_result getResult(I iface, grant_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + grant_result result = getEmptyResultInstance(); try { result.success = iface.grant(args.info); result.setSuccessIsSet(true); @@ -5257,16 +5881,18 @@ public grant_result getResult(I iface, grant_args args) throws org.apache.thrift } } - public static class revoke extends org.apache.thrift.ProcessFunction { + public static class revoke extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public revoke() { super("revoke"); } + @Override public revoke_args getEmptyArgsInstance() { return new revoke_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -5275,8 +5901,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public revoke_result getResult(I iface, revoke_args args) throws org.apache.thrift.TException { - revoke_result result = new revoke_result(); + @Override + public revoke_result getEmptyResultInstance() { + return new revoke_result(); + } + + @Override + public revoke_result getResult(I iface, revoke_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + revoke_result result = getEmptyResultInstance(); try { result.success = iface.revoke(args.info); result.setSuccessIsSet(true); @@ -5289,17 +5921,17 @@ public revoke_result getResult(I iface, revoke_args args) throws org.apache.thri } - public static class AsyncProcessor extends org.apache.thrift.TBaseAsyncProcessor { + public static class AsyncProcessor extends org.apache.hbase.thirdparty.org.apache.thrift.TBaseAsyncProcessor { private static final org.slf4j.Logger _LOGGER = org.slf4j.LoggerFactory.getLogger(AsyncProcessor.class.getName()); public AsyncProcessor(I iface) { - super(iface, getProcessMap(new java.util.HashMap>())); + super(iface, getProcessMap(new java.util.HashMap>())); } - protected AsyncProcessor(I iface, java.util.Map> processMap) { + protected AsyncProcessor(I iface, java.util.Map> processMap) { super(iface, getProcessMap(processMap)); } - private static java.util.Map> getProcessMap(java.util.Map> processMap) { + private static java.util.Map> getProcessMap(java.util.Map> processMap) { processMap.put("exists", new exists()); processMap.put("existsAll", new existsAll()); processMap.put("get", new get()); @@ -5354,25 +5986,33 @@ protected AsyncProcessor(I iface, java.util.Map extends org.apache.thrift.AsyncProcessFunction { + public static class exists extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public exists() { super("exists"); } + @Override + public exists_result getEmptyResultInstance() { + return new exists_result(); + } + + @Override public exists_args getEmptyArgsInstance() { return new exists_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { exists_result result = new exists_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5380,26 +6020,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; exists_result result = new exists_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5411,33 +6052,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, exists_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, exists_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.exists(args.table, args.tget,resultHandler); } } - public static class existsAll extends org.apache.thrift.AsyncProcessFunction> { + public static class existsAll extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, existsAll_result> { public existsAll() { super("existsAll"); } + @Override + public existsAll_result getEmptyResultInstance() { + return new existsAll_result(); + } + + @Override public existsAll_args getEmptyArgsInstance() { return new existsAll_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { existsAll_result result = new existsAll_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5445,26 +6096,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; existsAll_result result = new existsAll_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5476,33 +6128,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, existsAll_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, existsAll_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.existsAll(args.table, args.tgets,resultHandler); } } - public static class get extends org.apache.thrift.AsyncProcessFunction { + public static class get extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public get() { super("get"); } + @Override + public get_result getEmptyResultInstance() { + return new get_result(); + } + + @Override public get_args getEmptyArgsInstance() { return new get_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TResult o) { get_result result = new get_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5510,26 +6172,27 @@ public void onComplete(TResult o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; get_result result = new get_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5541,33 +6204,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, get_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, get_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.get(args.table, args.tget,resultHandler); } } - public static class getMultiple extends org.apache.thrift.AsyncProcessFunction> { + public static class getMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getMultiple_result> { public getMultiple() { super("getMultiple"); } + @Override + public getMultiple_result getEmptyResultInstance() { + return new getMultiple_result(); + } + + @Override public getMultiple_args getEmptyArgsInstance() { return new getMultiple_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getMultiple_result result = new getMultiple_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5575,26 +6248,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getMultiple_result result = new getMultiple_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5606,32 +6280,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getMultiple_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getMultiple_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getMultiple(args.table, args.tgets,resultHandler); } } - public static class put extends org.apache.thrift.AsyncProcessFunction { + public static class put extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public put() { super("put"); } + @Override + public put_result getEmptyResultInstance() { + return new put_result(); + } + + @Override public put_args getEmptyArgsInstance() { return new put_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { put_result result = new put_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5639,26 +6323,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; put_result result = new put_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5670,34 +6355,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, put_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, put_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.put(args.table, args.tput,resultHandler); } } - public static class checkAndPut extends org.apache.thrift.AsyncProcessFunction { + public static class checkAndPut extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public checkAndPut() { super("checkAndPut"); } + @Override + public checkAndPut_result getEmptyResultInstance() { + return new checkAndPut_result(); + } + + @Override public checkAndPut_args getEmptyArgsInstance() { return new checkAndPut_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { checkAndPut_result result = new checkAndPut_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5705,26 +6400,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; checkAndPut_result result = new checkAndPut_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5736,32 +6432,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, checkAndPut_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, checkAndPut_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.checkAndPut(args.table, args.row, args.family, args.qualifier, args.value, args.tput,resultHandler); } } - public static class putMultiple extends org.apache.thrift.AsyncProcessFunction { + public static class putMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public putMultiple() { super("putMultiple"); } + @Override + public putMultiple_result getEmptyResultInstance() { + return new putMultiple_result(); + } + + @Override public putMultiple_args getEmptyArgsInstance() { return new putMultiple_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { putMultiple_result result = new putMultiple_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5769,26 +6475,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; putMultiple_result result = new putMultiple_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5800,32 +6507,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, putMultiple_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, putMultiple_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.putMultiple(args.table, args.tputs,resultHandler); } } - public static class deleteSingle extends org.apache.thrift.AsyncProcessFunction { + public static class deleteSingle extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteSingle() { super("deleteSingle"); } + @Override + public deleteSingle_result getEmptyResultInstance() { + return new deleteSingle_result(); + } + + @Override public deleteSingle_args getEmptyArgsInstance() { return new deleteSingle_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteSingle_result result = new deleteSingle_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5833,26 +6550,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteSingle_result result = new deleteSingle_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5864,33 +6582,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteSingle_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteSingle_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteSingle(args.table, args.tdelete,resultHandler); } } - public static class deleteMultiple extends org.apache.thrift.AsyncProcessFunction> { + public static class deleteMultiple extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, deleteMultiple_result> { public deleteMultiple() { super("deleteMultiple"); } + @Override + public deleteMultiple_result getEmptyResultInstance() { + return new deleteMultiple_result(); + } + + @Override public deleteMultiple_args getEmptyArgsInstance() { return new deleteMultiple_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { deleteMultiple_result result = new deleteMultiple_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5898,26 +6626,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteMultiple_result result = new deleteMultiple_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5929,34 +6658,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteMultiple_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteMultiple_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteMultiple(args.table, args.tdeletes,resultHandler); } } - public static class checkAndDelete extends org.apache.thrift.AsyncProcessFunction { + public static class checkAndDelete extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public checkAndDelete() { super("checkAndDelete"); } + @Override + public checkAndDelete_result getEmptyResultInstance() { + return new checkAndDelete_result(); + } + + @Override public checkAndDelete_args getEmptyArgsInstance() { return new checkAndDelete_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { checkAndDelete_result result = new checkAndDelete_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -5964,26 +6703,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; checkAndDelete_result result = new checkAndDelete_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -5995,33 +6735,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, checkAndDelete_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, checkAndDelete_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.tdelete,resultHandler); } } - public static class increment extends org.apache.thrift.AsyncProcessFunction { + public static class increment extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public increment() { super("increment"); } + @Override + public increment_result getEmptyResultInstance() { + return new increment_result(); + } + + @Override public increment_args getEmptyArgsInstance() { return new increment_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TResult o) { increment_result result = new increment_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6029,26 +6779,27 @@ public void onComplete(TResult o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; increment_result result = new increment_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6060,33 +6811,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, increment_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, increment_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.increment(args.table, args.tincrement,resultHandler); } } - public static class append extends org.apache.thrift.AsyncProcessFunction { + public static class append extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public append() { super("append"); } + @Override + public append_result getEmptyResultInstance() { + return new append_result(); + } + + @Override public append_args getEmptyArgsInstance() { return new append_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TResult o) { append_result result = new append_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6094,26 +6855,27 @@ public void onComplete(TResult o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; append_result result = new append_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6125,34 +6887,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, append_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, append_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.append(args.table, args.tappend,resultHandler); } } - public static class openScanner extends org.apache.thrift.AsyncProcessFunction { + public static class openScanner extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public openScanner() { super("openScanner"); } + @Override + public openScanner_result getEmptyResultInstance() { + return new openScanner_result(); + } + + @Override public openScanner_args getEmptyArgsInstance() { return new openScanner_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Integer o) { openScanner_result result = new openScanner_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6160,26 +6932,27 @@ public void onComplete(java.lang.Integer o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; openScanner_result result = new openScanner_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6191,33 +6964,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, openScanner_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, openScanner_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.openScanner(args.table, args.tscan,resultHandler); } } - public static class getScannerRows extends org.apache.thrift.AsyncProcessFunction> { + public static class getScannerRows extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getScannerRows_result> { public getScannerRows() { super("getScannerRows"); } + @Override + public getScannerRows_result getEmptyResultInstance() { + return new getScannerRows_result(); + } + + @Override public getScannerRows_args getEmptyArgsInstance() { return new getScannerRows_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getScannerRows_result result = new getScannerRows_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6225,9 +7008,10 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getScannerRows_result result = new getScannerRows_result(); if (e instanceof TIOError) { result.io = (TIOError) e; @@ -6237,18 +7021,18 @@ public void onError(java.lang.Exception e) { result.ia = (TIllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6260,32 +7044,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getScannerRows_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getScannerRows_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getScannerRows(args.scannerId, args.numRows,resultHandler); } } - public static class closeScanner extends org.apache.thrift.AsyncProcessFunction { + public static class closeScanner extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public closeScanner() { super("closeScanner"); } + @Override + public closeScanner_result getEmptyResultInstance() { + return new closeScanner_result(); + } + + @Override public closeScanner_args getEmptyArgsInstance() { return new closeScanner_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { closeScanner_result result = new closeScanner_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6293,9 +7087,10 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; closeScanner_result result = new closeScanner_result(); if (e instanceof TIOError) { result.io = (TIOError) e; @@ -6305,18 +7100,18 @@ public void onError(java.lang.Exception e) { result.ia = (TIllegalArgument) e; result.setIaIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6328,32 +7123,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, closeScanner_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, closeScanner_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.closeScanner(args.scannerId,resultHandler); } } - public static class mutateRow extends org.apache.thrift.AsyncProcessFunction { + public static class mutateRow extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public mutateRow() { super("mutateRow"); } + @Override + public mutateRow_result getEmptyResultInstance() { + return new mutateRow_result(); + } + + @Override public mutateRow_args getEmptyArgsInstance() { return new mutateRow_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { mutateRow_result result = new mutateRow_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6361,26 +7166,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; mutateRow_result result = new mutateRow_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6392,33 +7198,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, mutateRow_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, mutateRow_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.mutateRow(args.table, args.trowMutations,resultHandler); } } - public static class getScannerResults extends org.apache.thrift.AsyncProcessFunction> { + public static class getScannerResults extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getScannerResults_result> { public getScannerResults() { super("getScannerResults"); } + @Override + public getScannerResults_result getEmptyResultInstance() { + return new getScannerResults_result(); + } + + @Override public getScannerResults_args getEmptyArgsInstance() { return new getScannerResults_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getScannerResults_result result = new getScannerResults_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6426,26 +7242,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getScannerResults_result result = new getScannerResults_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6457,33 +7274,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getScannerResults_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getScannerResults_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getScannerResults(args.table, args.tscan, args.numRows,resultHandler); } } - public static class getRegionLocation extends org.apache.thrift.AsyncProcessFunction { + public static class getRegionLocation extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getRegionLocation() { super("getRegionLocation"); } + @Override + public getRegionLocation_result getEmptyResultInstance() { + return new getRegionLocation_result(); + } + + @Override public getRegionLocation_args getEmptyArgsInstance() { return new getRegionLocation_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(THRegionLocation o) { getRegionLocation_result result = new getRegionLocation_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6491,26 +7318,27 @@ public void onComplete(THRegionLocation o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getRegionLocation_result result = new getRegionLocation_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6522,33 +7350,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getRegionLocation_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getRegionLocation_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getRegionLocation(args.table, args.row, args.reload,resultHandler); } } - public static class getAllRegionLocations extends org.apache.thrift.AsyncProcessFunction> { + public static class getAllRegionLocations extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getAllRegionLocations_result> { public getAllRegionLocations() { super("getAllRegionLocations"); } + @Override + public getAllRegionLocations_result getEmptyResultInstance() { + return new getAllRegionLocations_result(); + } + + @Override public getAllRegionLocations_args getEmptyArgsInstance() { return new getAllRegionLocations_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getAllRegionLocations_result result = new getAllRegionLocations_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6556,26 +7394,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getAllRegionLocations_result result = new getAllRegionLocations_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6587,34 +7426,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getAllRegionLocations_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getAllRegionLocations_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getAllRegionLocations(args.table,resultHandler); } } - public static class checkAndMutate extends org.apache.thrift.AsyncProcessFunction { + public static class checkAndMutate extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public checkAndMutate() { super("checkAndMutate"); } + @Override + public checkAndMutate_result getEmptyResultInstance() { + return new checkAndMutate_result(); + } + + @Override public checkAndMutate_args getEmptyArgsInstance() { return new checkAndMutate_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { checkAndMutate_result result = new checkAndMutate_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6622,26 +7471,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; checkAndMutate_result result = new checkAndMutate_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6653,33 +7503,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, checkAndMutate_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, checkAndMutate_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.checkAndMutate(args.table, args.row, args.family, args.qualifier, args.compareOperator, args.value, args.rowMutations,resultHandler); } } - public static class getTableDescriptor extends org.apache.thrift.AsyncProcessFunction { + public static class getTableDescriptor extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getTableDescriptor() { super("getTableDescriptor"); } + @Override + public getTableDescriptor_result getEmptyResultInstance() { + return new getTableDescriptor_result(); + } + + @Override public getTableDescriptor_args getEmptyArgsInstance() { return new getTableDescriptor_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TTableDescriptor o) { getTableDescriptor_result result = new getTableDescriptor_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6687,26 +7547,27 @@ public void onComplete(TTableDescriptor o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableDescriptor_result result = new getTableDescriptor_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6718,33 +7579,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableDescriptor_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableDescriptor_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableDescriptor(args.table,resultHandler); } } - public static class getTableDescriptors extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableDescriptors_result> { public getTableDescriptors() { super("getTableDescriptors"); } + @Override + public getTableDescriptors_result getEmptyResultInstance() { + return new getTableDescriptors_result(); + } + + @Override public getTableDescriptors_args getEmptyArgsInstance() { return new getTableDescriptors_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableDescriptors_result result = new getTableDescriptors_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6752,26 +7623,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableDescriptors_result result = new getTableDescriptors_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6783,34 +7655,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableDescriptors_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableDescriptors_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableDescriptors(args.tables,resultHandler); } } - public static class tableExists extends org.apache.thrift.AsyncProcessFunction { + public static class tableExists extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public tableExists() { super("tableExists"); } + @Override + public tableExists_result getEmptyResultInstance() { + return new tableExists_result(); + } + + @Override public tableExists_args getEmptyArgsInstance() { return new tableExists_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { tableExists_result result = new tableExists_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6818,26 +7700,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; tableExists_result result = new tableExists_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6849,33 +7732,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, tableExists_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, tableExists_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.tableExists(args.tableName,resultHandler); } } - public static class getTableDescriptorsByPattern extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableDescriptorsByPattern extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableDescriptorsByPattern_result> { public getTableDescriptorsByPattern() { super("getTableDescriptorsByPattern"); } + @Override + public getTableDescriptorsByPattern_result getEmptyResultInstance() { + return new getTableDescriptorsByPattern_result(); + } + + @Override public getTableDescriptorsByPattern_args getEmptyArgsInstance() { return new getTableDescriptorsByPattern_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableDescriptorsByPattern_result result = new getTableDescriptorsByPattern_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6883,26 +7776,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableDescriptorsByPattern_result result = new getTableDescriptorsByPattern_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6914,33 +7808,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableDescriptorsByPattern_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableDescriptorsByPattern_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableDescriptorsByPattern(args.regex, args.includeSysTables,resultHandler); } } - public static class getTableDescriptorsByNamespace extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableDescriptorsByNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableDescriptorsByNamespace_result> { public getTableDescriptorsByNamespace() { super("getTableDescriptorsByNamespace"); } + @Override + public getTableDescriptorsByNamespace_result getEmptyResultInstance() { + return new getTableDescriptorsByNamespace_result(); + } + + @Override public getTableDescriptorsByNamespace_args getEmptyArgsInstance() { return new getTableDescriptorsByNamespace_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableDescriptorsByNamespace_result result = new getTableDescriptorsByNamespace_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -6948,26 +7852,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableDescriptorsByNamespace_result result = new getTableDescriptorsByNamespace_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -6979,33 +7884,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableDescriptorsByNamespace_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableDescriptorsByNamespace_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableDescriptorsByNamespace(args.name,resultHandler); } } - public static class getTableNamesByPattern extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableNamesByPattern extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableNamesByPattern_result> { public getTableNamesByPattern() { super("getTableNamesByPattern"); } + @Override + public getTableNamesByPattern_result getEmptyResultInstance() { + return new getTableNamesByPattern_result(); + } + + @Override public getTableNamesByPattern_args getEmptyArgsInstance() { return new getTableNamesByPattern_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableNamesByPattern_result result = new getTableNamesByPattern_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7013,26 +7928,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableNamesByPattern_result result = new getTableNamesByPattern_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7044,33 +7960,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableNamesByPattern_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableNamesByPattern_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableNamesByPattern(args.regex, args.includeSysTables,resultHandler); } } - public static class getTableNamesByNamespace extends org.apache.thrift.AsyncProcessFunction> { + public static class getTableNamesByNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getTableNamesByNamespace_result> { public getTableNamesByNamespace() { super("getTableNamesByNamespace"); } + @Override + public getTableNamesByNamespace_result getEmptyResultInstance() { + return new getTableNamesByNamespace_result(); + } + + @Override public getTableNamesByNamespace_args getEmptyArgsInstance() { return new getTableNamesByNamespace_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getTableNamesByNamespace_result result = new getTableNamesByNamespace_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7078,26 +8004,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getTableNamesByNamespace_result result = new getTableNamesByNamespace_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7109,32 +8036,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getTableNamesByNamespace_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getTableNamesByNamespace_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getTableNamesByNamespace(args.name,resultHandler); } } - public static class createTable extends org.apache.thrift.AsyncProcessFunction { + public static class createTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public createTable() { super("createTable"); } + @Override + public createTable_result getEmptyResultInstance() { + return new createTable_result(); + } + + @Override public createTable_args getEmptyArgsInstance() { return new createTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { createTable_result result = new createTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7142,26 +8079,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; createTable_result result = new createTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7173,32 +8111,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, createTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, createTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.createTable(args.desc, args.splitKeys,resultHandler); } } - public static class deleteTable extends org.apache.thrift.AsyncProcessFunction { + public static class deleteTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteTable() { super("deleteTable"); } + @Override + public deleteTable_result getEmptyResultInstance() { + return new deleteTable_result(); + } + + @Override public deleteTable_args getEmptyArgsInstance() { return new deleteTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteTable_result result = new deleteTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7206,26 +8154,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteTable_result result = new deleteTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7237,32 +8186,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteTable(args.tableName,resultHandler); } } - public static class truncateTable extends org.apache.thrift.AsyncProcessFunction { + public static class truncateTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public truncateTable() { super("truncateTable"); } + @Override + public truncateTable_result getEmptyResultInstance() { + return new truncateTable_result(); + } + + @Override public truncateTable_args getEmptyArgsInstance() { return new truncateTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { truncateTable_result result = new truncateTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7270,26 +8229,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; truncateTable_result result = new truncateTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7301,32 +8261,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, truncateTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, truncateTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.truncateTable(args.tableName, args.preserveSplits,resultHandler); } } - public static class enableTable extends org.apache.thrift.AsyncProcessFunction { + public static class enableTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public enableTable() { super("enableTable"); } + @Override + public enableTable_result getEmptyResultInstance() { + return new enableTable_result(); + } + + @Override public enableTable_args getEmptyArgsInstance() { return new enableTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { enableTable_result result = new enableTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7334,26 +8304,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; enableTable_result result = new enableTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7365,32 +8336,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, enableTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, enableTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.enableTable(args.tableName,resultHandler); } } - public static class disableTable extends org.apache.thrift.AsyncProcessFunction { + public static class disableTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public disableTable() { super("disableTable"); } + @Override + public disableTable_result getEmptyResultInstance() { + return new disableTable_result(); + } + + @Override public disableTable_args getEmptyArgsInstance() { return new disableTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { disableTable_result result = new disableTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7398,26 +8379,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; disableTable_result result = new disableTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7429,34 +8411,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, disableTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, disableTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.disableTable(args.tableName,resultHandler); } } - public static class isTableEnabled extends org.apache.thrift.AsyncProcessFunction { + public static class isTableEnabled extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public isTableEnabled() { super("isTableEnabled"); } + @Override + public isTableEnabled_result getEmptyResultInstance() { + return new isTableEnabled_result(); + } + + @Override public isTableEnabled_args getEmptyArgsInstance() { return new isTableEnabled_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { isTableEnabled_result result = new isTableEnabled_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7464,26 +8456,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; isTableEnabled_result result = new isTableEnabled_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7495,34 +8488,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, isTableEnabled_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, isTableEnabled_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.isTableEnabled(args.tableName,resultHandler); } } - public static class isTableDisabled extends org.apache.thrift.AsyncProcessFunction { + public static class isTableDisabled extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public isTableDisabled() { super("isTableDisabled"); } + @Override + public isTableDisabled_result getEmptyResultInstance() { + return new isTableDisabled_result(); + } + + @Override public isTableDisabled_args getEmptyArgsInstance() { return new isTableDisabled_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { isTableDisabled_result result = new isTableDisabled_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7530,26 +8533,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; isTableDisabled_result result = new isTableDisabled_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7561,34 +8565,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, isTableDisabled_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, isTableDisabled_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.isTableDisabled(args.tableName,resultHandler); } } - public static class isTableAvailable extends org.apache.thrift.AsyncProcessFunction { + public static class isTableAvailable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public isTableAvailable() { super("isTableAvailable"); } + @Override + public isTableAvailable_result getEmptyResultInstance() { + return new isTableAvailable_result(); + } + + @Override public isTableAvailable_args getEmptyArgsInstance() { return new isTableAvailable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { isTableAvailable_result result = new isTableAvailable_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7596,26 +8610,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; isTableAvailable_result result = new isTableAvailable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7627,32 +8642,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, isTableAvailable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, isTableAvailable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.isTableAvailable(args.tableName,resultHandler); } } - public static class addColumnFamily extends org.apache.thrift.AsyncProcessFunction { + public static class addColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public addColumnFamily() { super("addColumnFamily"); } + @Override + public addColumnFamily_result getEmptyResultInstance() { + return new addColumnFamily_result(); + } + + @Override public addColumnFamily_args getEmptyArgsInstance() { return new addColumnFamily_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { addColumnFamily_result result = new addColumnFamily_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7660,26 +8685,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; addColumnFamily_result result = new addColumnFamily_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7691,32 +8717,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, addColumnFamily_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, addColumnFamily_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.addColumnFamily(args.tableName, args.column,resultHandler); } } - public static class deleteColumnFamily extends org.apache.thrift.AsyncProcessFunction { + public static class deleteColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteColumnFamily() { super("deleteColumnFamily"); } + @Override + public deleteColumnFamily_result getEmptyResultInstance() { + return new deleteColumnFamily_result(); + } + + @Override public deleteColumnFamily_args getEmptyArgsInstance() { return new deleteColumnFamily_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteColumnFamily_result result = new deleteColumnFamily_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7724,26 +8760,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteColumnFamily_result result = new deleteColumnFamily_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7755,32 +8792,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteColumnFamily_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteColumnFamily_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteColumnFamily(args.tableName, args.column,resultHandler); } } - public static class modifyColumnFamily extends org.apache.thrift.AsyncProcessFunction { + public static class modifyColumnFamily extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public modifyColumnFamily() { super("modifyColumnFamily"); } + @Override + public modifyColumnFamily_result getEmptyResultInstance() { + return new modifyColumnFamily_result(); + } + + @Override public modifyColumnFamily_args getEmptyArgsInstance() { return new modifyColumnFamily_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { modifyColumnFamily_result result = new modifyColumnFamily_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7788,26 +8835,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; modifyColumnFamily_result result = new modifyColumnFamily_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7819,32 +8867,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, modifyColumnFamily_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, modifyColumnFamily_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.modifyColumnFamily(args.tableName, args.column,resultHandler); } } - public static class modifyTable extends org.apache.thrift.AsyncProcessFunction { + public static class modifyTable extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public modifyTable() { super("modifyTable"); } + @Override + public modifyTable_result getEmptyResultInstance() { + return new modifyTable_result(); + } + + @Override public modifyTable_args getEmptyArgsInstance() { return new modifyTable_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { modifyTable_result result = new modifyTable_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7852,26 +8910,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; modifyTable_result result = new modifyTable_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7883,32 +8942,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, modifyTable_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, modifyTable_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.modifyTable(args.desc,resultHandler); } } - public static class createNamespace extends org.apache.thrift.AsyncProcessFunction { + public static class createNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public createNamespace() { super("createNamespace"); } + @Override + public createNamespace_result getEmptyResultInstance() { + return new createNamespace_result(); + } + + @Override public createNamespace_args getEmptyArgsInstance() { return new createNamespace_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { createNamespace_result result = new createNamespace_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7916,26 +8985,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; createNamespace_result result = new createNamespace_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -7947,32 +9017,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, createNamespace_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, createNamespace_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.createNamespace(args.namespaceDesc,resultHandler); } } - public static class modifyNamespace extends org.apache.thrift.AsyncProcessFunction { + public static class modifyNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public modifyNamespace() { super("modifyNamespace"); } + @Override + public modifyNamespace_result getEmptyResultInstance() { + return new modifyNamespace_result(); + } + + @Override public modifyNamespace_args getEmptyArgsInstance() { return new modifyNamespace_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { modifyNamespace_result result = new modifyNamespace_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -7980,26 +9060,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; modifyNamespace_result result = new modifyNamespace_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8011,32 +9092,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, modifyNamespace_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, modifyNamespace_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.modifyNamespace(args.namespaceDesc,resultHandler); } } - public static class deleteNamespace extends org.apache.thrift.AsyncProcessFunction { + public static class deleteNamespace extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public deleteNamespace() { super("deleteNamespace"); } + @Override + public deleteNamespace_result getEmptyResultInstance() { + return new deleteNamespace_result(); + } + + @Override public deleteNamespace_args getEmptyArgsInstance() { return new deleteNamespace_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(Void o) { deleteNamespace_result result = new deleteNamespace_result(); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8044,26 +9135,27 @@ public void onComplete(Void o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; deleteNamespace_result result = new deleteNamespace_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8075,33 +9167,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, deleteNamespace_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, deleteNamespace_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.deleteNamespace(args.name,resultHandler); } } - public static class getNamespaceDescriptor extends org.apache.thrift.AsyncProcessFunction { + public static class getNamespaceDescriptor extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getNamespaceDescriptor() { super("getNamespaceDescriptor"); } + @Override + public getNamespaceDescriptor_result getEmptyResultInstance() { + return new getNamespaceDescriptor_result(); + } + + @Override public getNamespaceDescriptor_args getEmptyArgsInstance() { return new getNamespaceDescriptor_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TNamespaceDescriptor o) { getNamespaceDescriptor_result result = new getNamespaceDescriptor_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8109,26 +9211,27 @@ public void onComplete(TNamespaceDescriptor o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getNamespaceDescriptor_result result = new getNamespaceDescriptor_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8140,33 +9243,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getNamespaceDescriptor_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getNamespaceDescriptor_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getNamespaceDescriptor(args.name,resultHandler); } } - public static class listNamespaceDescriptors extends org.apache.thrift.AsyncProcessFunction> { + public static class listNamespaceDescriptors extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, listNamespaceDescriptors_result> { public listNamespaceDescriptors() { super("listNamespaceDescriptors"); } + @Override + public listNamespaceDescriptors_result getEmptyResultInstance() { + return new listNamespaceDescriptors_result(); + } + + @Override public listNamespaceDescriptors_args getEmptyArgsInstance() { return new listNamespaceDescriptors_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { listNamespaceDescriptors_result result = new listNamespaceDescriptors_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8174,26 +9287,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; listNamespaceDescriptors_result result = new listNamespaceDescriptors_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8205,33 +9319,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, listNamespaceDescriptors_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, listNamespaceDescriptors_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.listNamespaceDescriptors(resultHandler); } } - public static class listNamespaces extends org.apache.thrift.AsyncProcessFunction> { + public static class listNamespaces extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, listNamespaces_result> { public listNamespaces() { super("listNamespaces"); } + @Override + public listNamespaces_result getEmptyResultInstance() { + return new listNamespaces_result(); + } + + @Override public listNamespaces_args getEmptyArgsInstance() { return new listNamespaces_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { listNamespaces_result result = new listNamespaces_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8239,26 +9363,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; listNamespaces_result result = new listNamespaces_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8270,33 +9395,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, listNamespaces_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, listNamespaces_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.listNamespaces(resultHandler); } } - public static class getThriftServerType extends org.apache.thrift.AsyncProcessFunction { + public static class getThriftServerType extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getThriftServerType() { super("getThriftServerType"); } + @Override + public getThriftServerType_result getEmptyResultInstance() { + return new getThriftServerType_result(); + } + + @Override public getThriftServerType_args getEmptyArgsInstance() { return new getThriftServerType_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(TThriftServerType o) { getThriftServerType_result result = new getThriftServerType_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8304,22 +9439,23 @@ public void onComplete(TThriftServerType o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getThriftServerType_result result = new getThriftServerType_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8331,33 +9467,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getThriftServerType_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getThriftServerType_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getThriftServerType(resultHandler); } } - public static class getClusterId extends org.apache.thrift.AsyncProcessFunction { + public static class getClusterId extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public getClusterId() { super("getClusterId"); } + @Override + public getClusterId_result getEmptyResultInstance() { + return new getClusterId_result(); + } + + @Override public getClusterId_args getEmptyArgsInstance() { return new getClusterId_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.String o) { getClusterId_result result = new getClusterId_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8365,22 +9511,23 @@ public void onComplete(java.lang.String o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getClusterId_result result = new getClusterId_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8392,33 +9539,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getClusterId_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getClusterId_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getClusterId(resultHandler); } } - public static class getSlowLogResponses extends org.apache.thrift.AsyncProcessFunction> { + public static class getSlowLogResponses extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, getSlowLogResponses_result> { public getSlowLogResponses() { super("getSlowLogResponses"); } + @Override + public getSlowLogResponses_result getEmptyResultInstance() { + return new getSlowLogResponses_result(); + } + + @Override public getSlowLogResponses_args getEmptyArgsInstance() { return new getSlowLogResponses_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { getSlowLogResponses_result result = new getSlowLogResponses_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8426,26 +9583,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; getSlowLogResponses_result result = new getSlowLogResponses_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8457,33 +9615,43 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, getSlowLogResponses_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, getSlowLogResponses_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.getSlowLogResponses(args.serverNames, args.logQueryFilter,resultHandler); } } - public static class clearSlowLogResponses extends org.apache.thrift.AsyncProcessFunction> { + public static class clearSlowLogResponses extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction, clearSlowLogResponses_result> { public clearSlowLogResponses() { super("clearSlowLogResponses"); } + @Override + public clearSlowLogResponses_result getEmptyResultInstance() { + return new clearSlowLogResponses_result(); + } + + @Override public clearSlowLogResponses_args getEmptyArgsInstance() { return new clearSlowLogResponses_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback>() { + @Override public void onComplete(java.util.List o) { clearSlowLogResponses_result result = new clearSlowLogResponses_result(); result.success = o; try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8491,26 +9659,27 @@ public void onComplete(java.util.List o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; clearSlowLogResponses_result result = new clearSlowLogResponses_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8522,34 +9691,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, clearSlowLogResponses_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, clearSlowLogResponses_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.clearSlowLogResponses(args.serverNames,resultHandler); } } - public static class grant extends org.apache.thrift.AsyncProcessFunction { + public static class grant extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public grant() { super("grant"); } + @Override + public grant_result getEmptyResultInstance() { + return new grant_result(); + } + + @Override public grant_args getEmptyArgsInstance() { return new grant_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { grant_result result = new grant_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8557,26 +9736,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; grant_result result = new grant_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8588,34 +9768,44 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, grant_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, grant_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.grant(args.info,resultHandler); } } - public static class revoke extends org.apache.thrift.AsyncProcessFunction { + public static class revoke extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public revoke() { super("revoke"); } + @Override + public revoke_result getEmptyResultInstance() { + return new revoke_result(); + } + + @Override public revoke_args getEmptyArgsInstance() { return new revoke_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { + @Override + public org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.hbase.thirdparty.org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback() { + @Override public void onComplete(java.lang.Boolean o) { revoke_result result = new revoke_result(); result.success = o; result.setSuccessIsSet(true); try { - fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - } catch (org.apache.thrift.transport.TTransportException e) { + fcall.sendResponse(fb, result, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException e) { _LOGGER.error("TTransportException writing to internal frame buffer", e); fb.close(); } catch (java.lang.Exception e) { @@ -8623,26 +9813,27 @@ public void onComplete(java.lang.Boolean o) { onError(e); } } + @Override public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; + byte msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.hbase.thirdparty.org.apache.thrift.TSerializable msg; revoke_result result = new revoke_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; - } else if (e instanceof org.apache.thrift.TApplicationException) { + } else if (e instanceof org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException) { _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException)e; } else { _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + msgType = org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); @@ -8654,37 +9845,40 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, revoke_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, revoke_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.revoke(args.info,resultHandler); } } } - public static class exists_args 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("exists_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class exists_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("exists_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TGET_FIELD_DESC = new org.apache.thrift.protocol.TField("tget", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TGET_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tget", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new exists_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new exists_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new exists_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new exists_argsTupleSchemeFactory(); /** * the table to check on */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TGet to check for */ - public @org.apache.thrift.annotation.Nullable TGet tget; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet tget; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to check on */ @@ -8705,7 +9899,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -8730,7 +9924,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -8743,25 +9937,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TGET, new org.apache.thrift.meta_data.FieldMetaData("tget", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TGet.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TGET, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tget", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TGet.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(exists_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(exists_args.class, metaDataMap); } public exists_args() { @@ -8772,7 +9968,7 @@ public exists_args( TGet tget) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tget = tget; } @@ -8781,13 +9977,14 @@ public exists_args( */ public exists_args(exists_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTget()) { this.tget = new TGet(other.tget); } } + @Override public exists_args deepCopy() { return new exists_args(this); } @@ -8802,12 +9999,12 @@ public void clear() { * the table to check on */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -8818,8 +10015,8 @@ public exists_args setTable(byte[] table) { return this; } - public exists_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public exists_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -8841,7 +10038,7 @@ public void setTableIsSet(boolean value) { /** * the TGet to check for */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TGet getTget() { return this.tget; } @@ -8849,7 +10046,7 @@ public TGet getTget() { /** * the TGet to check for */ - public exists_args setTget(@org.apache.thrift.annotation.Nullable TGet tget) { + public exists_args setTget(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet tget) { this.tget = tget; return this; } @@ -8869,7 +10066,8 @@ public void setTgetIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -8894,7 +10092,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -8908,6 +10107,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -8984,7 +10184,7 @@ public int compareTo(exists_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -8994,7 +10194,7 @@ public int compareTo(exists_args other) { return lastComparison; } if (isSetTget()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tget, other.tget); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tget, other.tget); if (lastComparison != 0) { return lastComparison; } @@ -9002,16 +10202,19 @@ public int compareTo(exists_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -9024,7 +10227,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -9039,13 +10242,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tget == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tget' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tget' was not present! Struct: " + toString()); } // check for sub-struct validity if (tget != null) { @@ -9055,67 +10258,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class exists_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class exists_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public exists_argsStandardScheme getScheme() { return new exists_argsStandardScheme(); } } - private static class exists_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class exists_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, exists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TGET - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tget = new TGet(); - struct.tget.read(iprot); - struct.setTgetIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, exists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TGET + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tget = new TGet(); + struct.tget.read(iprot); + struct.setTgetIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, exists_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, exists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -9135,51 +10346,58 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exists_args struct } - private static class exists_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class exists_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public exists_argsTupleScheme getScheme() { return new exists_argsTupleScheme(); } } - private static class exists_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class exists_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, exists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, exists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tget.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, exists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tget = new TGet(); - struct.tget.read(iprot); - struct.setTgetIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, exists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tget = new TGet(); + struct.tget.read(iprot); + struct.setTgetIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class exists_result 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("exists_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class exists_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("exists_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new exists_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new exists_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new exists_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new exists_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -9194,7 +10412,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -9219,7 +10437,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -9232,10 +10450,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -9244,15 +10464,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(exists_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(exists_result.class, metaDataMap); } public exists_result() { @@ -9279,6 +10499,7 @@ public exists_result(exists_result other) { } } + @Override public exists_result deepCopy() { return new exists_result(this); } @@ -9301,24 +10522,24 @@ public exists_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public exists_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public exists_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -9338,7 +10559,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -9359,7 +10581,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -9373,6 +10596,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -9447,7 +10671,7 @@ public int compareTo(exists_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -9457,7 +10681,7 @@ public int compareTo(exists_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -9465,16 +10689,18 @@ public int compareTo(exists_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -9498,15 +10724,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -9515,59 +10741,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class exists_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class exists_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public exists_resultStandardScheme getScheme() { return new exists_resultStandardScheme(); } } - private static class exists_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class exists_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, exists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, exists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, exists_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, exists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -9587,17 +10821,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exists_result stru } - private static class exists_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class exists_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public exists_resultTupleScheme getScheme() { return new exists_resultTupleScheme(); } } - private static class exists_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class exists_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -9615,46 +10850,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exists_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class existsAll_args 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("existsAll_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class existsAll_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("existsAll_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TGETS_FIELD_DESC = new org.apache.thrift.protocol.TField("tgets", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TGETS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tgets", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new existsAll_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new existsAll_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new existsAll_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new existsAll_argsTupleSchemeFactory(); /** * the table to check on */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * a list of TGets to check for */ - public @org.apache.thrift.annotation.Nullable java.util.List tgets; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tgets; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to check on */ @@ -9675,7 +10916,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -9700,7 +10941,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -9713,26 +10954,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TGETS, new org.apache.thrift.meta_data.FieldMetaData("tgets", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TGet.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TGETS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tgets", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TGet.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(existsAll_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(existsAll_args.class, metaDataMap); } public existsAll_args() { @@ -9743,7 +10986,7 @@ public existsAll_args( java.util.List tgets) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tgets = tgets; } @@ -9752,7 +10995,7 @@ public existsAll_args( */ public existsAll_args(existsAll_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTgets()) { java.util.List __this__tgets = new java.util.ArrayList(other.tgets.size()); @@ -9763,6 +11006,7 @@ public existsAll_args(existsAll_args other) { } } + @Override public existsAll_args deepCopy() { return new existsAll_args(this); } @@ -9777,12 +11021,12 @@ public void clear() { * the table to check on */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -9793,8 +11037,8 @@ public existsAll_args setTable(byte[] table) { return this; } - public existsAll_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public existsAll_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -9817,7 +11061,7 @@ public int getTgetsSize() { return (this.tgets == null) ? 0 : this.tgets.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getTgetsIterator() { return (this.tgets == null) ? null : this.tgets.iterator(); } @@ -9832,7 +11076,7 @@ public void addToTgets(TGet elem) { /** * a list of TGets to check for */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getTgets() { return this.tgets; } @@ -9840,7 +11084,7 @@ public java.util.List getTgets() { /** * a list of TGets to check for */ - public existsAll_args setTgets(@org.apache.thrift.annotation.Nullable java.util.List tgets) { + public existsAll_args setTgets(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tgets) { this.tgets = tgets; return this; } @@ -9860,7 +11104,8 @@ public void setTgetsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -9885,7 +11130,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -9899,6 +11145,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -9975,7 +11222,7 @@ public int compareTo(existsAll_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -9985,7 +11232,7 @@ public int compareTo(existsAll_args other) { return lastComparison; } if (isSetTgets()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tgets, other.tgets); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tgets, other.tgets); if (lastComparison != 0) { return lastComparison; } @@ -9993,16 +11240,19 @@ public int compareTo(existsAll_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -10015,7 +11265,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -10030,90 +11280,98 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tgets == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tgets' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tgets' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class existsAll_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class existsAll_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public existsAll_argsStandardScheme getScheme() { return new existsAll_argsStandardScheme(); } } - private static class existsAll_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class existsAll_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, existsAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, existsAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // TGETS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list190 = iprot.readListBegin(); - struct.tgets = new java.util.ArrayList(_list190.size); - @org.apache.thrift.annotation.Nullable TGet _elem191; - for (int _i192 = 0; _i192 < _list190.size; ++_i192) + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TGETS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem191 = new TGet(); - _elem191.read(iprot); - struct.tgets.add(_elem191); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list190 = iprot.readListBegin(); + struct.tgets = new java.util.ArrayList(_list190.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet _elem191; + for (int _i192 = 0; _i192 < _list190.size; ++_i192) + { + _elem191 = new TGet(); + _elem191.read(iprot); + struct.tgets.add(_elem191); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setTgetsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setTgetsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, existsAll_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, existsAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -10125,7 +11383,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, existsAll_args str if (struct.tgets != null) { oprot.writeFieldBegin(TGETS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tgets.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.tgets.size())); for (TGet _iter193 : struct.tgets) { _iter193.write(oprot); @@ -10140,17 +11398,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, existsAll_args str } - private static class existsAll_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class existsAll_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public existsAll_argsTupleScheme getScheme() { return new existsAll_argsTupleScheme(); } } - private static class existsAll_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class existsAll_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, existsAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, existsAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); { oprot.writeI32(struct.tgets.size()); @@ -10162,44 +11421,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, existsAll_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, existsAll_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, existsAll_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); { - _elem196 = new TGet(); - _elem196.read(iprot); - struct.tgets.add(_elem196); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list195 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.tgets = new java.util.ArrayList(_list195.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet _elem196; + for (int _i197 = 0; _i197 < _list195.size; ++_i197) + { + _elem196 = new TGet(); + _elem196.read(iprot); + struct.tgets.add(_elem196); + } } + struct.setTgetsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setTgetsIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class existsAll_result 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("existsAll_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class existsAll_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("existsAll_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new existsAll_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new existsAll_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new existsAll_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new existsAll_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -10214,7 +11479,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -10239,7 +11504,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -10252,26 +11517,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(existsAll_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(existsAll_result.class, metaDataMap); } public existsAll_result() { @@ -10299,6 +11566,7 @@ public existsAll_result(existsAll_result other) { } } + @Override public existsAll_result deepCopy() { return new existsAll_result(this); } @@ -10313,7 +11581,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -10325,12 +11593,12 @@ public void addToSuccess(boolean elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public existsAll_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public existsAll_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -10350,12 +11618,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public existsAll_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public existsAll_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -10375,7 +11643,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -10396,7 +11665,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -10410,6 +11680,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -10486,7 +11757,7 @@ public int compareTo(existsAll_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -10496,7 +11767,7 @@ public int compareTo(existsAll_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -10504,16 +11775,18 @@ public int compareTo(existsAll_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -10541,91 +11814,99 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class existsAll_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class existsAll_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public existsAll_resultStandardScheme getScheme() { return new existsAll_resultStandardScheme(); } } - private static class existsAll_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class existsAll_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, existsAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list198 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list198.size); - boolean _elem199; - for (int _i200 = 0; _i200 < _list198.size; ++_i200) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, existsAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem199 = iprot.readBool(); - struct.success.add(_elem199); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list198 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list198.size); + boolean _elem199; + for (int _i200 = 0; _i200 < _list198.size; ++_i200) + { + _elem199 = iprot.readBool(); + struct.success.add(_elem199); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, existsAll_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, existsAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, struct.success.size())); for (boolean _iter201 : struct.success) { oprot.writeBool(_iter201); @@ -10645,17 +11926,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, existsAll_result s } - private static class existsAll_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class existsAll_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public existsAll_resultTupleScheme getScheme() { return new existsAll_resultTupleScheme(); } } - private static class existsAll_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class existsAll_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, existsAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, existsAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -10679,55 +11961,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, existsAll_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, existsAll_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, existsAll_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem204 = iprot.readBool(); - struct.success.add(_elem204); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list203 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL); + struct.success = new java.util.ArrayList(_list203.size); + boolean _elem204; + for (int _i205 = 0; _i205 < _list203.size; ++_i205) + { + _elem204 = iprot.readBool(); + struct.success.add(_elem204); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class get_args 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("get_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class get_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("get_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TGET_FIELD_DESC = new org.apache.thrift.protocol.TField("tget", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TGET_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tget", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_argsTupleSchemeFactory(); /** * the table to get from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TGet to fetch */ - public @org.apache.thrift.annotation.Nullable TGet tget; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet tget; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to get from */ @@ -10748,7 +12036,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -10773,7 +12061,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -10786,25 +12074,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TGET, new org.apache.thrift.meta_data.FieldMetaData("tget", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TGet.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TGET, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tget", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TGet.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_args.class, metaDataMap); } public get_args() { @@ -10815,7 +12105,7 @@ public get_args( TGet tget) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tget = tget; } @@ -10824,13 +12114,14 @@ public get_args( */ public get_args(get_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTget()) { this.tget = new TGet(other.tget); } } + @Override public get_args deepCopy() { return new get_args(this); } @@ -10845,12 +12136,12 @@ public void clear() { * the table to get from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -10861,8 +12152,8 @@ public get_args setTable(byte[] table) { return this; } - public get_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public get_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -10884,7 +12175,7 @@ public void setTableIsSet(boolean value) { /** * the TGet to fetch */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TGet getTget() { return this.tget; } @@ -10892,7 +12183,7 @@ public TGet getTget() { /** * the TGet to fetch */ - public get_args setTget(@org.apache.thrift.annotation.Nullable TGet tget) { + public get_args setTget(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet tget) { this.tget = tget; return this; } @@ -10912,7 +12203,8 @@ public void setTgetIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -10937,7 +12229,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -10951,6 +12244,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -11027,7 +12321,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -11037,7 +12331,7 @@ public int compareTo(get_args other) { return lastComparison; } if (isSetTget()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tget, other.tget); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tget, other.tget); if (lastComparison != 0) { return lastComparison; } @@ -11045,16 +12339,19 @@ public int compareTo(get_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -11067,7 +12364,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -11082,13 +12379,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tget == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tget' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tget' was not present! Struct: " + toString()); } // check for sub-struct validity if (tget != null) { @@ -11098,67 +12395,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_argsStandardScheme getScheme() { return new get_argsStandardScheme(); } } - private static class get_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TGET - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tget = new TGet(); - struct.tget.read(iprot); - struct.setTgetIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TGET + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tget = new TGet(); + struct.tget.read(iprot); + struct.setTgetIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -11178,51 +12483,58 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_args struct) t } - private static class get_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_argsTupleScheme getScheme() { return new get_argsTupleScheme(); } } - private static class get_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tget.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tget = new TGet(); - struct.tget.read(iprot); - struct.setTgetIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tget = new TGet(); + struct.tget.read(iprot); + struct.setTgetIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class get_result 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("get_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class get_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("get_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TResult success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -11237,7 +12549,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -11262,7 +12574,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -11275,25 +12587,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_result.class, metaDataMap); } public get_result() { @@ -11320,6 +12634,7 @@ public get_result(get_result other) { } } + @Override public get_result deepCopy() { return new get_result(this); } @@ -11330,12 +12645,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TResult getSuccess() { return this.success; } - public get_result setSuccess(@org.apache.thrift.annotation.Nullable TResult success) { + public get_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success) { this.success = success; return this; } @@ -11355,12 +12670,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public get_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public get_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -11380,7 +12695,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -11401,7 +12717,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -11415,6 +12732,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -11491,7 +12809,7 @@ public int compareTo(get_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -11501,7 +12819,7 @@ public int compareTo(get_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -11509,16 +12827,18 @@ public int compareTo(get_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -11546,7 +12866,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -11556,68 +12876,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_resultStandardScheme getScheme() { return new get_resultStandardScheme(); } } - private static class get_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -11637,17 +12965,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_result struct) } - private static class get_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class get_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public get_resultTupleScheme getScheme() { return new get_resultTupleScheme(); } } - private static class get_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -11665,49 +12994,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_result struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, get_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getMultiple_args 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("getMultiple_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getMultiple_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getMultiple_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TGETS_FIELD_DESC = new org.apache.thrift.protocol.TField("tgets", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TGETS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tgets", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getMultiple_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getMultiple_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getMultiple_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getMultiple_argsTupleSchemeFactory(); /** * the table to get from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * a list of TGets to fetch, the Result list * will have the Results at corresponding positions * or null if there was an error */ - public @org.apache.thrift.annotation.Nullable java.util.List tgets; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tgets; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to get from */ @@ -11730,7 +13065,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -11755,7 +13090,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -11768,26 +13103,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TGETS, new org.apache.thrift.meta_data.FieldMetaData("tgets", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TGet.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TGETS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tgets", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TGet.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMultiple_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMultiple_args.class, metaDataMap); } public getMultiple_args() { @@ -11798,7 +13135,7 @@ public getMultiple_args( java.util.List tgets) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tgets = tgets; } @@ -11807,7 +13144,7 @@ public getMultiple_args( */ public getMultiple_args(getMultiple_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTgets()) { java.util.List __this__tgets = new java.util.ArrayList(other.tgets.size()); @@ -11818,6 +13155,7 @@ public getMultiple_args(getMultiple_args other) { } } + @Override public getMultiple_args deepCopy() { return new getMultiple_args(this); } @@ -11832,12 +13170,12 @@ public void clear() { * the table to get from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -11848,8 +13186,8 @@ public getMultiple_args setTable(byte[] table) { return this; } - public getMultiple_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public getMultiple_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -11872,7 +13210,7 @@ public int getTgetsSize() { return (this.tgets == null) ? 0 : this.tgets.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getTgetsIterator() { return (this.tgets == null) ? null : this.tgets.iterator(); } @@ -11889,7 +13227,7 @@ public void addToTgets(TGet elem) { * will have the Results at corresponding positions * or null if there was an error */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getTgets() { return this.tgets; } @@ -11899,7 +13237,7 @@ public java.util.List getTgets() { * will have the Results at corresponding positions * or null if there was an error */ - public getMultiple_args setTgets(@org.apache.thrift.annotation.Nullable java.util.List tgets) { + public getMultiple_args setTgets(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tgets) { this.tgets = tgets; return this; } @@ -11919,7 +13257,8 @@ public void setTgetsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -11944,7 +13283,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -11958,6 +13298,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -12034,7 +13375,7 @@ public int compareTo(getMultiple_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -12044,7 +13385,7 @@ public int compareTo(getMultiple_args other) { return lastComparison; } if (isSetTgets()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tgets, other.tgets); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tgets, other.tgets); if (lastComparison != 0) { return lastComparison; } @@ -12052,16 +13393,19 @@ public int compareTo(getMultiple_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -12074,7 +13418,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -12089,90 +13433,98 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tgets == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tgets' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tgets' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getMultiple_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getMultiple_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getMultiple_argsStandardScheme getScheme() { return new getMultiple_argsStandardScheme(); } } - private static class getMultiple_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getMultiple_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // TGETS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list206 = iprot.readListBegin(); - struct.tgets = new java.util.ArrayList(_list206.size); - @org.apache.thrift.annotation.Nullable TGet _elem207; - for (int _i208 = 0; _i208 < _list206.size; ++_i208) + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TGETS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem207 = new TGet(); - _elem207.read(iprot); - struct.tgets.add(_elem207); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list206 = iprot.readListBegin(); + struct.tgets = new java.util.ArrayList(_list206.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet _elem207; + for (int _i208 = 0; _i208 < _list206.size; ++_i208) + { + _elem207 = new TGet(); + _elem207.read(iprot); + struct.tgets.add(_elem207); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setTgetsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setTgetsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getMultiple_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -12184,7 +13536,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getMultiple_args s if (struct.tgets != null) { oprot.writeFieldBegin(TGETS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tgets.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.tgets.size())); for (TGet _iter209 : struct.tgets) { _iter209.write(oprot); @@ -12199,17 +13551,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getMultiple_args s } - private static class getMultiple_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getMultiple_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getMultiple_argsTupleScheme getScheme() { return new getMultiple_argsTupleScheme(); } } - private static class getMultiple_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getMultiple_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); { oprot.writeI32(struct.tgets.size()); @@ -12221,44 +13574,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getMultiple_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); { - _elem212 = new TGet(); - _elem212.read(iprot); - struct.tgets.add(_elem212); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list211 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.tgets = new java.util.ArrayList(_list211.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TGet _elem212; + for (int _i213 = 0; _i213 < _list211.size; ++_i213) + { + _elem212 = new TGet(); + _elem212.read(iprot); + struct.tgets.add(_elem212); + } } + struct.setTgetsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setTgetsIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getMultiple_result 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("getMultiple_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getMultiple_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getMultiple_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getMultiple_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getMultiple_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getMultiple_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getMultiple_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -12273,7 +13632,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -12298,7 +13657,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -12311,26 +13670,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMultiple_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMultiple_result.class, metaDataMap); } public getMultiple_result() { @@ -12361,6 +13722,7 @@ public getMultiple_result(getMultiple_result other) { } } + @Override public getMultiple_result deepCopy() { return new getMultiple_result(this); } @@ -12375,7 +13737,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -12387,12 +13749,12 @@ public void addToSuccess(TResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getMultiple_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getMultiple_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -12412,12 +13774,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getMultiple_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getMultiple_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -12437,7 +13799,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -12458,7 +13821,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -12472,6 +13836,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -12548,7 +13913,7 @@ public int compareTo(getMultiple_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -12558,7 +13923,7 @@ public int compareTo(getMultiple_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -12566,16 +13931,18 @@ public int compareTo(getMultiple_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -12603,92 +13970,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getMultiple_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getMultiple_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getMultiple_resultStandardScheme getScheme() { return new getMultiple_resultStandardScheme(); } } - private static class getMultiple_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getMultiple_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list214 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list214.size); - @org.apache.thrift.annotation.Nullable TResult _elem215; - for (int _i216 = 0; _i216 < _list214.size; ++_i216) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem215 = new TResult(); - _elem215.read(iprot); - struct.success.add(_elem215); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list214 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list214.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem215; + for (int _i216 = 0; _i216 < _list214.size; ++_i216) + { + _elem215 = new TResult(); + _elem215.read(iprot); + struct.success.add(_elem215); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getMultiple_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TResult _iter217 : struct.success) { _iter217.write(oprot); @@ -12708,17 +14083,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getMultiple_result } - private static class getMultiple_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getMultiple_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getMultiple_resultTupleScheme getScheme() { return new getMultiple_resultTupleScheme(); } } - private static class getMultiple_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getMultiple_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -12742,56 +14118,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getMultiple_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem220 = new TResult(); - _elem220.read(iprot); - struct.success.add(_elem220); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list219 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list219.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem220; + for (int _i221 = 0; _i221 < _list219.size; ++_i221) + { + _elem220 = new TResult(); + _elem220.read(iprot); + struct.success.add(_elem220); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class put_args 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("put_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class put_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("put_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TPUT_FIELD_DESC = new org.apache.thrift.protocol.TField("tput", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TPUT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tput", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new put_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new put_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new put_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new put_argsTupleSchemeFactory(); /** * the table to put data in */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TPut to put */ - public @org.apache.thrift.annotation.Nullable TPut tput; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut tput; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to put data in */ @@ -12812,7 +14194,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -12837,7 +14219,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -12850,25 +14232,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TPUT, new org.apache.thrift.meta_data.FieldMetaData("tput", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TPut.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TPUT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tput", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TPut.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_args.class, metaDataMap); } public put_args() { @@ -12879,7 +14263,7 @@ public put_args( TPut tput) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tput = tput; } @@ -12888,13 +14272,14 @@ public put_args( */ public put_args(put_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTput()) { this.tput = new TPut(other.tput); } } + @Override public put_args deepCopy() { return new put_args(this); } @@ -12909,12 +14294,12 @@ public void clear() { * the table to put data in */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -12925,8 +14310,8 @@ public put_args setTable(byte[] table) { return this; } - public put_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public put_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -12948,7 +14333,7 @@ public void setTableIsSet(boolean value) { /** * the TPut to put */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TPut getTput() { return this.tput; } @@ -12956,7 +14341,7 @@ public TPut getTput() { /** * the TPut to put */ - public put_args setTput(@org.apache.thrift.annotation.Nullable TPut tput) { + public put_args setTput(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut tput) { this.tput = tput; return this; } @@ -12976,7 +14361,8 @@ public void setTputIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -13001,7 +14387,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -13015,6 +14402,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -13091,7 +14479,7 @@ public int compareTo(put_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -13101,7 +14489,7 @@ public int compareTo(put_args other) { return lastComparison; } if (isSetTput()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tput, other.tput); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tput, other.tput); if (lastComparison != 0) { return lastComparison; } @@ -13109,16 +14497,19 @@ public int compareTo(put_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -13131,7 +14522,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -13146,13 +14537,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tput == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tput' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tput' was not present! Struct: " + toString()); } // check for sub-struct validity if (tput != null) { @@ -13162,67 +14553,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class put_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class put_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public put_argsStandardScheme getScheme() { return new put_argsStandardScheme(); } } - private static class put_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class put_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, put_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TPUT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tput = new TPut(); - struct.tput.read(iprot); - struct.setTputIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, put_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TPUT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tput = new TPut(); + struct.tput.read(iprot); + struct.setTputIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, put_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, put_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -13242,49 +14641,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, put_args struct) t } - private static class put_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class put_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public put_argsTupleScheme getScheme() { return new put_argsTupleScheme(); } } - private static class put_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class put_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tput.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tput = new TPut(); - struct.tput.read(iprot); - struct.setTputIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tput = new TPut(); + struct.tput.read(iprot); + struct.setTputIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class put_result 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("put_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class put_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("put_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new put_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new put_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new put_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new put_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -13298,7 +14704,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -13321,7 +14727,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -13334,23 +14740,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_result.class, metaDataMap); } public put_result() { @@ -13372,6 +14780,7 @@ public put_result(put_result other) { } } + @Override public put_result deepCopy() { return new put_result(this); } @@ -13381,12 +14790,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public put_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public put_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -13406,7 +14815,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -13419,7 +14829,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -13430,6 +14841,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -13491,7 +14903,7 @@ public int compareTo(put_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -13499,16 +14911,18 @@ public int compareTo(put_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -13528,66 +14942,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class put_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class put_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public put_resultStandardScheme getScheme() { return new put_resultStandardScheme(); } } - private static class put_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class put_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, put_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, put_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, put_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, put_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -13602,17 +15024,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, put_result struct) } - private static class put_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class put_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public put_resultTupleScheme getScheme() { return new put_resultTupleScheme(); } } - private static class put_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class put_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, put_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, put_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -13624,64 +15047,70 @@ public void write(org.apache.thrift.protocol.TProtocol prot, put_result struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, put_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, put_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndPut_args 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("checkAndPut_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndPut_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndPut_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField TPUT_FIELD_DESC = new org.apache.thrift.protocol.TField("tput", org.apache.thrift.protocol.TType.STRUCT, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TPUT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tput", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_argsTupleSchemeFactory(); /** * to check in and put to */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * row to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column family to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required /** * column qualifier to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required /** * the expected value, if not provided the * check is for the non-existence of the * column in question */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required /** * the TPut to put if the check succeeds */ - public @org.apache.thrift.annotation.Nullable TPut tput; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut tput; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * to check in and put to */ @@ -13720,7 +15149,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -13753,7 +15182,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -13766,33 +15195,35 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TPUT, new org.apache.thrift.meta_data.FieldMetaData("tput", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TPut.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TPUT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tput", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TPut.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_args.class, metaDataMap); } public checkAndPut_args() { @@ -13807,11 +15238,11 @@ public checkAndPut_args( TPut tput) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.tput = tput; } @@ -13820,25 +15251,26 @@ public checkAndPut_args( */ public checkAndPut_args(checkAndPut_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetTput()) { this.tput = new TPut(other.tput); } } + @Override public checkAndPut_args deepCopy() { return new checkAndPut_args(this); } @@ -13857,12 +15289,12 @@ public void clear() { * to check in and put to */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -13873,8 +15305,8 @@ public checkAndPut_args setTable(byte[] table) { return this; } - public checkAndPut_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public checkAndPut_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -13897,12 +15329,12 @@ public void setTableIsSet(boolean value) { * row to check */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -13913,8 +15345,8 @@ public checkAndPut_args setRow(byte[] row) { return this; } - public checkAndPut_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public checkAndPut_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -13937,12 +15369,12 @@ public void setRowIsSet(boolean value) { * column family to check */ public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } /** @@ -13953,8 +15385,8 @@ public checkAndPut_args setFamily(byte[] family) { return this; } - public checkAndPut_args setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public checkAndPut_args setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -13977,12 +15409,12 @@ public void setFamilyIsSet(boolean value) { * column qualifier to check */ public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -13993,8 +15425,8 @@ public checkAndPut_args setQualifier(byte[] qualifier) { return this; } - public checkAndPut_args setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public checkAndPut_args setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -14019,12 +15451,12 @@ public void setQualifierIsSet(boolean value) { * column in question */ public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } /** @@ -14037,8 +15469,8 @@ public checkAndPut_args setValue(byte[] value) { return this; } - public checkAndPut_args setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public checkAndPut_args setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -14060,7 +15492,7 @@ public void setValueIsSet(boolean value) { /** * the TPut to put if the check succeeds */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TPut getTput() { return this.tput; } @@ -14068,7 +15500,7 @@ public TPut getTput() { /** * the TPut to put if the check succeeds */ - public checkAndPut_args setTput(@org.apache.thrift.annotation.Nullable TPut tput) { + public checkAndPut_args setTput(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut tput) { this.tput = tput; return this; } @@ -14088,7 +15520,8 @@ public void setTputIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -14161,7 +15594,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -14187,6 +15621,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -14323,7 +15758,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -14333,7 +15768,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -14343,7 +15778,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -14353,7 +15788,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -14363,7 +15798,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -14373,7 +15808,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } if (isSetTput()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tput, other.tput); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tput, other.tput); if (lastComparison != 0) { return lastComparison; } @@ -14381,16 +15816,19 @@ public int compareTo(checkAndPut_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -14403,7 +15841,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -14411,7 +15849,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -14419,7 +15857,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (!first) sb.append(", "); @@ -14427,7 +15865,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; if (!first) sb.append(", "); @@ -14435,7 +15873,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -14450,22 +15888,22 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } if (tput == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tput' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tput' was not present! Struct: " + toString()); } // check for sub-struct validity if (tput != null) { @@ -14475,99 +15913,107 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndPut_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_argsStandardScheme getScheme() { return new checkAndPut_argsStandardScheme(); } } - private static class checkAndPut_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndPut_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // TPUT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tput = new TPut(); - struct.tput.read(iprot); - struct.setTputIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // TPUT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tput = new TPut(); + struct.tput.read(iprot); + struct.setTputIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -14607,17 +16053,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_args s } - private static class checkAndPut_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_argsTupleScheme getScheme() { return new checkAndPut_argsTupleScheme(); } } - private static class checkAndPut_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndPut_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); @@ -14634,46 +16081,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - struct.tput = new TPut(); - struct.tput.read(iprot); - struct.setTputIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + struct.tput = new TPut(); + struct.tput.read(iprot); + struct.setTputIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndPut_result 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("checkAndPut_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndPut_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndPut_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndPut_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndPut_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -14688,7 +16141,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -14713,7 +16166,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -14726,10 +16179,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -14738,15 +16193,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndPut_result.class, metaDataMap); } public checkAndPut_result() { @@ -14773,6 +16228,7 @@ public checkAndPut_result(checkAndPut_result other) { } } + @Override public checkAndPut_result deepCopy() { return new checkAndPut_result(this); } @@ -14795,24 +16251,24 @@ public checkAndPut_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public checkAndPut_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public checkAndPut_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -14832,7 +16288,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -14853,7 +16310,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -14867,6 +16325,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -14941,7 +16400,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -14951,7 +16410,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -14959,16 +16418,18 @@ public int compareTo(checkAndPut_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -14992,15 +16453,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -15009,59 +16470,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndPut_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_resultStandardScheme getScheme() { return new checkAndPut_resultStandardScheme(); } } - private static class checkAndPut_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndPut_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -15081,17 +16550,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndPut_result } - private static class checkAndPut_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndPut_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndPut_resultTupleScheme getScheme() { return new checkAndPut_resultTupleScheme(); } } - private static class checkAndPut_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndPut_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -15109,46 +16579,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndPut_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class putMultiple_args 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("putMultiple_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class putMultiple_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("putMultiple_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("tputs", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TPUTS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tputs", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new putMultiple_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new putMultiple_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new putMultiple_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new putMultiple_argsTupleSchemeFactory(); /** * the table to put data in */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * a list of TPuts to commit */ - public @org.apache.thrift.annotation.Nullable java.util.List tputs; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tputs; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to put data in */ @@ -15169,7 +16645,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -15194,7 +16670,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -15207,26 +16683,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TPUTS, new org.apache.thrift.meta_data.FieldMetaData("tputs", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TPut.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TPUTS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tputs", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TPut.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putMultiple_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putMultiple_args.class, metaDataMap); } public putMultiple_args() { @@ -15237,7 +16715,7 @@ public putMultiple_args( java.util.List tputs) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tputs = tputs; } @@ -15246,7 +16724,7 @@ public putMultiple_args( */ public putMultiple_args(putMultiple_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTputs()) { java.util.List __this__tputs = new java.util.ArrayList(other.tputs.size()); @@ -15257,6 +16735,7 @@ public putMultiple_args(putMultiple_args other) { } } + @Override public putMultiple_args deepCopy() { return new putMultiple_args(this); } @@ -15271,12 +16750,12 @@ public void clear() { * the table to put data in */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -15287,8 +16766,8 @@ public putMultiple_args setTable(byte[] table) { return this; } - public putMultiple_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public putMultiple_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -15311,7 +16790,7 @@ public int getTputsSize() { return (this.tputs == null) ? 0 : this.tputs.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getTputsIterator() { return (this.tputs == null) ? null : this.tputs.iterator(); } @@ -15326,7 +16805,7 @@ public void addToTputs(TPut elem) { /** * a list of TPuts to commit */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getTputs() { return this.tputs; } @@ -15334,7 +16813,7 @@ public java.util.List getTputs() { /** * a list of TPuts to commit */ - public putMultiple_args setTputs(@org.apache.thrift.annotation.Nullable java.util.List tputs) { + public putMultiple_args setTputs(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tputs) { this.tputs = tputs; return this; } @@ -15354,7 +16833,8 @@ public void setTputsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -15379,7 +16859,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -15393,6 +16874,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -15469,7 +16951,7 @@ public int compareTo(putMultiple_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -15479,7 +16961,7 @@ public int compareTo(putMultiple_args other) { return lastComparison; } if (isSetTputs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tputs, other.tputs); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tputs, other.tputs); if (lastComparison != 0) { return lastComparison; } @@ -15487,16 +16969,19 @@ public int compareTo(putMultiple_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -15509,7 +16994,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -15524,90 +17009,98 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tputs == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tputs' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tputs' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class putMultiple_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class putMultiple_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public putMultiple_argsStandardScheme getScheme() { return new putMultiple_argsStandardScheme(); } } - private static class putMultiple_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class putMultiple_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, putMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, putMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // TPUTS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list222 = iprot.readListBegin(); - struct.tputs = new java.util.ArrayList(_list222.size); - @org.apache.thrift.annotation.Nullable TPut _elem223; - for (int _i224 = 0; _i224 < _list222.size; ++_i224) + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TPUTS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem223 = new TPut(); - _elem223.read(iprot); - struct.tputs.add(_elem223); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list222 = iprot.readListBegin(); + struct.tputs = new java.util.ArrayList(_list222.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut _elem223; + for (int _i224 = 0; _i224 < _list222.size; ++_i224) + { + _elem223 = new TPut(); + _elem223.read(iprot); + struct.tputs.add(_elem223); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setTputsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setTputsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, putMultiple_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, putMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -15619,7 +17112,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, putMultiple_args s if (struct.tputs != null) { oprot.writeFieldBegin(TPUTS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tputs.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.tputs.size())); for (TPut _iter225 : struct.tputs) { _iter225.write(oprot); @@ -15634,17 +17127,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, putMultiple_args s } - private static class putMultiple_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class putMultiple_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public putMultiple_argsTupleScheme getScheme() { return new putMultiple_argsTupleScheme(); } } - private static class putMultiple_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class putMultiple_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); { oprot.writeI32(struct.tputs.size()); @@ -15656,42 +17150,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, putMultiple_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); { - _elem228 = new TPut(); - _elem228.read(iprot); - struct.tputs.add(_elem228); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list227 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.tputs = new java.util.ArrayList(_list227.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TPut _elem228; + for (int _i229 = 0; _i229 < _list227.size; ++_i229) + { + _elem228 = new TPut(); + _elem228.read(iprot); + struct.tputs.add(_elem228); + } } + struct.setTputsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setTputsIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class putMultiple_result 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("putMultiple_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class putMultiple_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("putMultiple_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new putMultiple_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new putMultiple_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new putMultiple_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new putMultiple_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -15705,7 +17205,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -15728,7 +17228,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -15741,23 +17241,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putMultiple_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putMultiple_result.class, metaDataMap); } public putMultiple_result() { @@ -15779,6 +17281,7 @@ public putMultiple_result(putMultiple_result other) { } } + @Override public putMultiple_result deepCopy() { return new putMultiple_result(this); } @@ -15788,12 +17291,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public putMultiple_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public putMultiple_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -15813,7 +17316,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -15826,7 +17330,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -15837,6 +17342,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -15898,7 +17404,7 @@ public int compareTo(putMultiple_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -15906,16 +17412,18 @@ public int compareTo(putMultiple_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -15935,66 +17443,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class putMultiple_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class putMultiple_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public putMultiple_resultStandardScheme getScheme() { return new putMultiple_resultStandardScheme(); } } - private static class putMultiple_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class putMultiple_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, putMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, putMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, putMultiple_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, putMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -16009,17 +17525,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, putMultiple_result } - private static class putMultiple_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class putMultiple_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public putMultiple_resultTupleScheme getScheme() { return new putMultiple_resultTupleScheme(); } } - private static class putMultiple_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class putMultiple_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, putMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, putMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -16031,42 +17548,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, putMultiple_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, putMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, putMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteSingle_args 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("deleteSingle_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteSingle_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteSingle_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TDELETE_FIELD_DESC = new org.apache.thrift.protocol.TField("tdelete", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TDELETE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tdelete", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteSingle_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteSingle_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteSingle_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteSingle_argsTupleSchemeFactory(); /** * the table to delete from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TDelete to delete */ - public @org.apache.thrift.annotation.Nullable TDelete tdelete; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete tdelete; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to delete from */ @@ -16087,7 +17610,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -16112,7 +17635,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -16125,25 +17648,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TDELETE, new org.apache.thrift.meta_data.FieldMetaData("tdelete", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TDELETE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tdelete", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteSingle_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteSingle_args.class, metaDataMap); } public deleteSingle_args() { @@ -16154,7 +17679,7 @@ public deleteSingle_args( TDelete tdelete) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tdelete = tdelete; } @@ -16163,13 +17688,14 @@ public deleteSingle_args( */ public deleteSingle_args(deleteSingle_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTdelete()) { this.tdelete = new TDelete(other.tdelete); } } + @Override public deleteSingle_args deepCopy() { return new deleteSingle_args(this); } @@ -16184,12 +17710,12 @@ public void clear() { * the table to delete from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -16200,8 +17726,8 @@ public deleteSingle_args setTable(byte[] table) { return this; } - public deleteSingle_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public deleteSingle_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -16223,7 +17749,7 @@ public void setTableIsSet(boolean value) { /** * the TDelete to delete */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDelete getTdelete() { return this.tdelete; } @@ -16231,7 +17757,7 @@ public TDelete getTdelete() { /** * the TDelete to delete */ - public deleteSingle_args setTdelete(@org.apache.thrift.annotation.Nullable TDelete tdelete) { + public deleteSingle_args setTdelete(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete tdelete) { this.tdelete = tdelete; return this; } @@ -16251,7 +17777,8 @@ public void setTdeleteIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -16276,7 +17803,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -16290,6 +17818,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -16366,7 +17895,7 @@ public int compareTo(deleteSingle_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -16376,7 +17905,7 @@ public int compareTo(deleteSingle_args other) { return lastComparison; } if (isSetTdelete()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tdelete, other.tdelete); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tdelete, other.tdelete); if (lastComparison != 0) { return lastComparison; } @@ -16384,16 +17913,19 @@ public int compareTo(deleteSingle_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -16406,7 +17938,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -16421,13 +17953,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tdelete == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tdelete' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tdelete' was not present! Struct: " + toString()); } // check for sub-struct validity if (tdelete != null) { @@ -16437,67 +17969,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteSingle_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteSingle_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteSingle_argsStandardScheme getScheme() { return new deleteSingle_argsStandardScheme(); } } - private static class deleteSingle_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteSingle_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteSingle_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TDELETE - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tdelete = new TDelete(); - struct.tdelete.read(iprot); - struct.setTdeleteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteSingle_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TDELETE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tdelete = new TDelete(); + struct.tdelete.read(iprot); + struct.setTdeleteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteSingle_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteSingle_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -16517,49 +18057,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteSingle_args } - private static class deleteSingle_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteSingle_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteSingle_argsTupleScheme getScheme() { return new deleteSingle_argsTupleScheme(); } } - private static class deleteSingle_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteSingle_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteSingle_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteSingle_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tdelete.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteSingle_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tdelete = new TDelete(); - struct.tdelete.read(iprot); - struct.setTdeleteIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteSingle_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tdelete = new TDelete(); + struct.tdelete.read(iprot); + struct.setTdeleteIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteSingle_result 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("deleteSingle_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteSingle_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteSingle_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteSingle_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteSingle_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteSingle_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteSingle_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -16573,7 +18120,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -16596,7 +18143,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -16609,23 +18156,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteSingle_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteSingle_result.class, metaDataMap); } public deleteSingle_result() { @@ -16647,6 +18196,7 @@ public deleteSingle_result(deleteSingle_result other) { } } + @Override public deleteSingle_result deepCopy() { return new deleteSingle_result(this); } @@ -16656,12 +18206,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public deleteSingle_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public deleteSingle_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -16681,7 +18231,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -16694,7 +18245,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -16705,6 +18257,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -16766,7 +18319,7 @@ public int compareTo(deleteSingle_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -16774,16 +18327,18 @@ public int compareTo(deleteSingle_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -16803,66 +18358,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteSingle_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteSingle_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteSingle_resultStandardScheme getScheme() { return new deleteSingle_resultStandardScheme(); } } - private static class deleteSingle_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteSingle_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteSingle_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteSingle_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteSingle_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteSingle_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -16877,17 +18440,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteSingle_resul } - private static class deleteSingle_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteSingle_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteSingle_resultTupleScheme getScheme() { return new deleteSingle_resultTupleScheme(); } } - private static class deleteSingle_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteSingle_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteSingle_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteSingle_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -16899,42 +18463,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteSingle_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteSingle_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteSingle_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteMultiple_args 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("deleteMultiple_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteMultiple_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteMultiple_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TDELETES_FIELD_DESC = new org.apache.thrift.protocol.TField("tdeletes", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TDELETES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tdeletes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteMultiple_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteMultiple_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteMultiple_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteMultiple_argsTupleSchemeFactory(); /** * the table to delete from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * list of TDeletes to delete */ - public @org.apache.thrift.annotation.Nullable java.util.List tdeletes; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tdeletes; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to delete from */ @@ -16955,7 +18525,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -16980,7 +18550,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -16993,26 +18563,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TDELETES, new org.apache.thrift.meta_data.FieldMetaData("tdeletes", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TDelete.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TDELETES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tdeletes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TDelete.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteMultiple_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteMultiple_args.class, metaDataMap); } public deleteMultiple_args() { @@ -17023,7 +18595,7 @@ public deleteMultiple_args( java.util.List tdeletes) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tdeletes = tdeletes; } @@ -17032,7 +18604,7 @@ public deleteMultiple_args( */ public deleteMultiple_args(deleteMultiple_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTdeletes()) { java.util.List __this__tdeletes = new java.util.ArrayList(other.tdeletes.size()); @@ -17043,6 +18615,7 @@ public deleteMultiple_args(deleteMultiple_args other) { } } + @Override public deleteMultiple_args deepCopy() { return new deleteMultiple_args(this); } @@ -17057,12 +18630,12 @@ public void clear() { * the table to delete from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -17073,8 +18646,8 @@ public deleteMultiple_args setTable(byte[] table) { return this; } - public deleteMultiple_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public deleteMultiple_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -17097,7 +18670,7 @@ public int getTdeletesSize() { return (this.tdeletes == null) ? 0 : this.tdeletes.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getTdeletesIterator() { return (this.tdeletes == null) ? null : this.tdeletes.iterator(); } @@ -17112,7 +18685,7 @@ public void addToTdeletes(TDelete elem) { /** * list of TDeletes to delete */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getTdeletes() { return this.tdeletes; } @@ -17120,7 +18693,7 @@ public java.util.List getTdeletes() { /** * list of TDeletes to delete */ - public deleteMultiple_args setTdeletes(@org.apache.thrift.annotation.Nullable java.util.List tdeletes) { + public deleteMultiple_args setTdeletes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tdeletes) { this.tdeletes = tdeletes; return this; } @@ -17140,7 +18713,8 @@ public void setTdeletesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -17165,7 +18739,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -17179,6 +18754,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -17255,7 +18831,7 @@ public int compareTo(deleteMultiple_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -17265,7 +18841,7 @@ public int compareTo(deleteMultiple_args other) { return lastComparison; } if (isSetTdeletes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tdeletes, other.tdeletes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tdeletes, other.tdeletes); if (lastComparison != 0) { return lastComparison; } @@ -17273,16 +18849,19 @@ public int compareTo(deleteMultiple_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -17295,7 +18874,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -17310,90 +18889,98 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tdeletes == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tdeletes' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tdeletes' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteMultiple_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteMultiple_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteMultiple_argsStandardScheme getScheme() { return new deleteMultiple_argsStandardScheme(); } } - private static class deleteMultiple_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteMultiple_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // TDELETES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list230 = iprot.readListBegin(); - struct.tdeletes = new java.util.ArrayList(_list230.size); - @org.apache.thrift.annotation.Nullable TDelete _elem231; - for (int _i232 = 0; _i232 < _list230.size; ++_i232) + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TDELETES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem231 = new TDelete(); - _elem231.read(iprot); - struct.tdeletes.add(_elem231); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list230 = iprot.readListBegin(); + struct.tdeletes = new java.util.ArrayList(_list230.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete _elem231; + for (int _i232 = 0; _i232 < _list230.size; ++_i232) + { + _elem231 = new TDelete(); + _elem231.read(iprot); + struct.tdeletes.add(_elem231); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setTdeletesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setTdeletesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -17405,7 +18992,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_arg if (struct.tdeletes != null) { oprot.writeFieldBegin(TDELETES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tdeletes.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.tdeletes.size())); for (TDelete _iter233 : struct.tdeletes) { _iter233.write(oprot); @@ -17420,17 +19007,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_arg } - private static class deleteMultiple_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteMultiple_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteMultiple_argsTupleScheme getScheme() { return new deleteMultiple_argsTupleScheme(); } } - private static class deleteMultiple_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteMultiple_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); { oprot.writeI32(struct.tdeletes.size()); @@ -17442,44 +19030,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); { - _elem236 = new TDelete(); - _elem236.read(iprot); - struct.tdeletes.add(_elem236); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list235 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.tdeletes = new java.util.ArrayList(_list235.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete _elem236; + for (int _i237 = 0; _i237 < _list235.size; ++_i237) + { + _elem236 = new TDelete(); + _elem236.read(iprot); + struct.tdeletes.add(_elem236); + } } + struct.setTdeletesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setTdeletesIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteMultiple_result 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("deleteMultiple_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteMultiple_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteMultiple_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteMultiple_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteMultiple_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteMultiple_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteMultiple_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -17494,7 +19088,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -17519,7 +19113,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -17532,26 +19126,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TDelete.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TDelete.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteMultiple_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteMultiple_result.class, metaDataMap); } public deleteMultiple_result() { @@ -17582,6 +19178,7 @@ public deleteMultiple_result(deleteMultiple_result other) { } } + @Override public deleteMultiple_result deepCopy() { return new deleteMultiple_result(this); } @@ -17596,7 +19193,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -17608,12 +19205,12 @@ public void addToSuccess(TDelete elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public deleteMultiple_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public deleteMultiple_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -17633,12 +19230,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public deleteMultiple_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public deleteMultiple_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -17658,7 +19255,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -17679,7 +19277,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -17693,6 +19292,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -17769,7 +19369,7 @@ public int compareTo(deleteMultiple_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -17779,7 +19379,7 @@ public int compareTo(deleteMultiple_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -17787,16 +19387,18 @@ public int compareTo(deleteMultiple_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -17824,92 +19426,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteMultiple_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteMultiple_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteMultiple_resultStandardScheme getScheme() { return new deleteMultiple_resultStandardScheme(); } } - private static class deleteMultiple_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteMultiple_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list238 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list238.size); - @org.apache.thrift.annotation.Nullable TDelete _elem239; - for (int _i240 = 0; _i240 < _list238.size; ++_i240) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem239 = new TDelete(); - _elem239.read(iprot); - struct.success.add(_elem239); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list238 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list238.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete _elem239; + for (int _i240 = 0; _i240 < _list238.size; ++_i240) + { + _elem239 = new TDelete(); + _elem239.read(iprot); + struct.success.add(_elem239); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TDelete _iter241 : struct.success) { _iter241.write(oprot); @@ -17929,17 +19539,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteMultiple_res } - private static class deleteMultiple_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteMultiple_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteMultiple_resultTupleScheme getScheme() { return new deleteMultiple_resultTupleScheme(); } } - private static class deleteMultiple_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteMultiple_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -17963,78 +19574,84 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteMultiple_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem244 = new TDelete(); - _elem244.read(iprot); - struct.success.add(_elem244); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list243 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list243.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete _elem244; + for (int _i245 = 0; _i245 < _list243.size; ++_i245) + { + _elem244 = new TDelete(); + _elem244.read(iprot); + struct.success.add(_elem244); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndDelete_args 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("checkAndDelete_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndDelete_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndDelete_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField TDELETE_FIELD_DESC = new org.apache.thrift.protocol.TField("tdelete", org.apache.thrift.protocol.TType.STRUCT, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TDELETE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tdelete", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)6); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndDelete_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndDelete_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndDelete_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndDelete_argsTupleSchemeFactory(); /** * to check in and delete from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * row to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column family to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required /** * column qualifier to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required /** * the expected value, if not provided the * check is for the non-existence of the * column in question */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required /** * the TDelete to execute if the check succeeds */ - public @org.apache.thrift.annotation.Nullable TDelete tdelete; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete tdelete; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * to check in and delete from */ @@ -18073,7 +19690,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -18106,7 +19723,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -18119,33 +19736,35 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TDELETE, new org.apache.thrift.meta_data.FieldMetaData("tdelete", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TDELETE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tdelete", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndDelete_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndDelete_args.class, metaDataMap); } public checkAndDelete_args() { @@ -18160,11 +19779,11 @@ public checkAndDelete_args( TDelete tdelete) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.tdelete = tdelete; } @@ -18173,25 +19792,26 @@ public checkAndDelete_args( */ public checkAndDelete_args(checkAndDelete_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetTdelete()) { this.tdelete = new TDelete(other.tdelete); } } + @Override public checkAndDelete_args deepCopy() { return new checkAndDelete_args(this); } @@ -18210,12 +19830,12 @@ public void clear() { * to check in and delete from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -18226,8 +19846,8 @@ public checkAndDelete_args setTable(byte[] table) { return this; } - public checkAndDelete_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public checkAndDelete_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -18250,12 +19870,12 @@ public void setTableIsSet(boolean value) { * row to check */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -18266,8 +19886,8 @@ public checkAndDelete_args setRow(byte[] row) { return this; } - public checkAndDelete_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public checkAndDelete_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -18290,12 +19910,12 @@ public void setRowIsSet(boolean value) { * column family to check */ public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } /** @@ -18306,8 +19926,8 @@ public checkAndDelete_args setFamily(byte[] family) { return this; } - public checkAndDelete_args setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public checkAndDelete_args setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -18330,12 +19950,12 @@ public void setFamilyIsSet(boolean value) { * column qualifier to check */ public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -18346,8 +19966,8 @@ public checkAndDelete_args setQualifier(byte[] qualifier) { return this; } - public checkAndDelete_args setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public checkAndDelete_args setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -18372,12 +19992,12 @@ public void setQualifierIsSet(boolean value) { * column in question */ public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } /** @@ -18390,8 +20010,8 @@ public checkAndDelete_args setValue(byte[] value) { return this; } - public checkAndDelete_args setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public checkAndDelete_args setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -18413,7 +20033,7 @@ public void setValueIsSet(boolean value) { /** * the TDelete to execute if the check succeeds */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDelete getTdelete() { return this.tdelete; } @@ -18421,7 +20041,7 @@ public TDelete getTdelete() { /** * the TDelete to execute if the check succeeds */ - public checkAndDelete_args setTdelete(@org.apache.thrift.annotation.Nullable TDelete tdelete) { + public checkAndDelete_args setTdelete(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDelete tdelete) { this.tdelete = tdelete; return this; } @@ -18441,7 +20061,8 @@ public void setTdeleteIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -18514,7 +20135,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -18540,6 +20162,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -18676,7 +20299,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -18686,7 +20309,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -18696,7 +20319,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -18706,7 +20329,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -18716,7 +20339,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -18726,7 +20349,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } if (isSetTdelete()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tdelete, other.tdelete); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tdelete, other.tdelete); if (lastComparison != 0) { return lastComparison; } @@ -18734,16 +20357,19 @@ public int compareTo(checkAndDelete_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -18756,7 +20382,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -18764,7 +20390,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -18772,7 +20398,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (!first) sb.append(", "); @@ -18780,7 +20406,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; if (!first) sb.append(", "); @@ -18788,7 +20414,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -18803,22 +20429,22 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } if (tdelete == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tdelete' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tdelete' was not present! Struct: " + toString()); } // check for sub-struct validity if (tdelete != null) { @@ -18828,99 +20454,107 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndDelete_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndDelete_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndDelete_argsStandardScheme getScheme() { return new checkAndDelete_argsStandardScheme(); } } - private static class checkAndDelete_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndDelete_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndDelete_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // TDELETE - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tdelete = new TDelete(); - struct.tdelete.read(iprot); - struct.setTdeleteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndDelete_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // TDELETE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tdelete = new TDelete(); + struct.tdelete.read(iprot); + struct.setTdeleteIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -18960,17 +20594,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_arg } - private static class checkAndDelete_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndDelete_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndDelete_argsTupleScheme getScheme() { return new checkAndDelete_argsTupleScheme(); } } - private static class checkAndDelete_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndDelete_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndDelete_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); @@ -18987,46 +20622,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - struct.tdelete = new TDelete(); - struct.tdelete.read(iprot); - struct.setTdeleteIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndDelete_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + struct.tdelete = new TDelete(); + struct.tdelete.read(iprot); + struct.setTdeleteIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndDelete_result 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("checkAndDelete_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndDelete_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndDelete_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndDelete_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndDelete_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndDelete_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndDelete_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -19041,7 +20682,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -19066,7 +20707,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -19079,10 +20720,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -19091,15 +20734,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndDelete_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndDelete_result.class, metaDataMap); } public checkAndDelete_result() { @@ -19126,6 +20769,7 @@ public checkAndDelete_result(checkAndDelete_result other) { } } + @Override public checkAndDelete_result deepCopy() { return new checkAndDelete_result(this); } @@ -19148,24 +20792,24 @@ public checkAndDelete_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public checkAndDelete_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public checkAndDelete_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -19185,7 +20829,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -19206,7 +20851,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -19220,6 +20866,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -19294,7 +20941,7 @@ public int compareTo(checkAndDelete_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -19304,7 +20951,7 @@ public int compareTo(checkAndDelete_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -19312,16 +20959,18 @@ public int compareTo(checkAndDelete_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -19345,15 +20994,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -19362,59 +21011,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndDelete_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndDelete_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndDelete_resultStandardScheme getScheme() { return new checkAndDelete_resultStandardScheme(); } } - private static class checkAndDelete_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndDelete_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndDelete_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndDelete_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -19434,17 +21091,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndDelete_res } - private static class checkAndDelete_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndDelete_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndDelete_resultTupleScheme getScheme() { return new checkAndDelete_resultTupleScheme(); } } - private static class checkAndDelete_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndDelete_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndDelete_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -19462,46 +21120,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndDelete_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class increment_args 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("increment_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class increment_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("increment_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TINCREMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("tincrement", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TINCREMENT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tincrement", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_argsTupleSchemeFactory(); /** * the table to increment the value on */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TIncrement to increment */ - public @org.apache.thrift.annotation.Nullable TIncrement tincrement; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement tincrement; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to increment the value on */ @@ -19522,7 +21186,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -19547,7 +21211,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -19560,25 +21224,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TINCREMENT, new org.apache.thrift.meta_data.FieldMetaData("tincrement", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIncrement.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TINCREMENT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tincrement", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIncrement.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_args.class, metaDataMap); } public increment_args() { @@ -19589,7 +21255,7 @@ public increment_args( TIncrement tincrement) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tincrement = tincrement; } @@ -19598,13 +21264,14 @@ public increment_args( */ public increment_args(increment_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTincrement()) { this.tincrement = new TIncrement(other.tincrement); } } + @Override public increment_args deepCopy() { return new increment_args(this); } @@ -19619,12 +21286,12 @@ public void clear() { * the table to increment the value on */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -19635,8 +21302,8 @@ public increment_args setTable(byte[] table) { return this; } - public increment_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public increment_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -19658,7 +21325,7 @@ public void setTableIsSet(boolean value) { /** * the TIncrement to increment */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIncrement getTincrement() { return this.tincrement; } @@ -19666,7 +21333,7 @@ public TIncrement getTincrement() { /** * the TIncrement to increment */ - public increment_args setTincrement(@org.apache.thrift.annotation.Nullable TIncrement tincrement) { + public increment_args setTincrement(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIncrement tincrement) { this.tincrement = tincrement; return this; } @@ -19686,7 +21353,8 @@ public void setTincrementIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -19711,7 +21379,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -19725,6 +21394,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -19801,7 +21471,7 @@ public int compareTo(increment_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -19811,7 +21481,7 @@ public int compareTo(increment_args other) { return lastComparison; } if (isSetTincrement()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tincrement, other.tincrement); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tincrement, other.tincrement); if (lastComparison != 0) { return lastComparison; } @@ -19819,16 +21489,19 @@ public int compareTo(increment_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -19841,7 +21514,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -19856,13 +21529,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tincrement == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tincrement' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tincrement' was not present! Struct: " + toString()); } // check for sub-struct validity if (tincrement != null) { @@ -19872,67 +21545,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class increment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_argsStandardScheme getScheme() { return new increment_argsStandardScheme(); } } - private static class increment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class increment_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TINCREMENT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tincrement = new TIncrement(); - struct.tincrement.read(iprot); - struct.setTincrementIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TINCREMENT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tincrement = new TIncrement(); + struct.tincrement.read(iprot); + struct.setTincrementIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, increment_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -19952,51 +21633,58 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, increment_args str } - private static class increment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_argsTupleScheme getScheme() { return new increment_argsTupleScheme(); } } - private static class increment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class increment_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tincrement.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tincrement = new TIncrement(); - struct.tincrement.read(iprot); - struct.setTincrementIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tincrement = new TIncrement(); + struct.tincrement.read(iprot); + struct.setTincrementIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class increment_result 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("increment_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class increment_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("increment_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new increment_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new increment_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TResult success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -20011,7 +21699,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -20036,7 +21724,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -20049,25 +21737,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(increment_result.class, metaDataMap); } public increment_result() { @@ -20094,6 +21784,7 @@ public increment_result(increment_result other) { } } + @Override public increment_result deepCopy() { return new increment_result(this); } @@ -20104,12 +21795,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TResult getSuccess() { return this.success; } - public increment_result setSuccess(@org.apache.thrift.annotation.Nullable TResult success) { + public increment_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success) { this.success = success; return this; } @@ -20129,12 +21820,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public increment_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public increment_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -20154,7 +21845,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -20175,7 +21867,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -20189,6 +21882,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -20265,7 +21959,7 @@ public int compareTo(increment_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -20275,7 +21969,7 @@ public int compareTo(increment_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -20283,16 +21977,18 @@ public int compareTo(increment_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -20320,7 +22016,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -20330,68 +22026,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class increment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_resultStandardScheme getScheme() { return new increment_resultStandardScheme(); } } - private static class increment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class increment_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, increment_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -20411,17 +22115,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, increment_result s } - private static class increment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class increment_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public increment_resultTupleScheme getScheme() { return new increment_resultTupleScheme(); } } - private static class increment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class increment_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -20439,47 +22144,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, increment_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, increment_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class append_args 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("append_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class append_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("append_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TAPPEND_FIELD_DESC = new org.apache.thrift.protocol.TField("tappend", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TAPPEND_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tappend", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_argsTupleSchemeFactory(); /** * the table to append the value on */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the TAppend to append */ - public @org.apache.thrift.annotation.Nullable TAppend tappend; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAppend tappend; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to append the value on */ @@ -20500,7 +22211,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -20525,7 +22236,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -20538,25 +22249,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TAPPEND, new org.apache.thrift.meta_data.FieldMetaData("tappend", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAppend.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TAPPEND, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tappend", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAppend.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_args.class, metaDataMap); } public append_args() { @@ -20567,7 +22280,7 @@ public append_args( TAppend tappend) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tappend = tappend; } @@ -20576,13 +22289,14 @@ public append_args( */ public append_args(append_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTappend()) { this.tappend = new TAppend(other.tappend); } } + @Override public append_args deepCopy() { return new append_args(this); } @@ -20597,12 +22311,12 @@ public void clear() { * the table to append the value on */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -20613,8 +22327,8 @@ public append_args setTable(byte[] table) { return this; } - public append_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public append_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -20636,7 +22350,7 @@ public void setTableIsSet(boolean value) { /** * the TAppend to append */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAppend getTappend() { return this.tappend; } @@ -20644,7 +22358,7 @@ public TAppend getTappend() { /** * the TAppend to append */ - public append_args setTappend(@org.apache.thrift.annotation.Nullable TAppend tappend) { + public append_args setTappend(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAppend tappend) { this.tappend = tappend; return this; } @@ -20664,7 +22378,8 @@ public void setTappendIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -20689,7 +22404,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -20703,6 +22419,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -20779,7 +22496,7 @@ public int compareTo(append_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -20789,7 +22506,7 @@ public int compareTo(append_args other) { return lastComparison; } if (isSetTappend()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tappend, other.tappend); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tappend, other.tappend); if (lastComparison != 0) { return lastComparison; } @@ -20797,16 +22514,19 @@ public int compareTo(append_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -20819,7 +22539,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -20834,13 +22554,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tappend == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tappend' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tappend' was not present! Struct: " + toString()); } // check for sub-struct validity if (tappend != null) { @@ -20850,67 +22570,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class append_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_argsStandardScheme getScheme() { return new append_argsStandardScheme(); } } - private static class append_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class append_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TAPPEND - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tappend = new TAppend(); - struct.tappend.read(iprot); - struct.setTappendIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TAPPEND + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tappend = new TAppend(); + struct.tappend.read(iprot); + struct.setTappendIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -20930,51 +22658,58 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct } - private static class append_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_argsTupleScheme getScheme() { return new append_argsTupleScheme(); } } - private static class append_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class append_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tappend.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tappend = new TAppend(); - struct.tappend.read(iprot); - struct.setTappendIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tappend = new TAppend(); + struct.tappend.read(iprot); + struct.setTappendIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class append_result 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("append_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class append_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("append_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new append_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new append_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TResult success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -20989,7 +22724,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -21014,7 +22749,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -21027,25 +22762,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(append_result.class, metaDataMap); } public append_result() { @@ -21072,6 +22809,7 @@ public append_result(append_result other) { } } + @Override public append_result deepCopy() { return new append_result(this); } @@ -21082,12 +22820,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TResult getSuccess() { return this.success; } - public append_result setSuccess(@org.apache.thrift.annotation.Nullable TResult success) { + public append_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult success) { this.success = success; return this; } @@ -21107,12 +22845,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public append_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public append_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -21132,7 +22870,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -21153,7 +22892,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -21167,6 +22907,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -21243,7 +22984,7 @@ public int compareTo(append_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -21253,7 +22994,7 @@ public int compareTo(append_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -21261,16 +23002,18 @@ public int compareTo(append_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -21298,7 +23041,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -21308,68 +23051,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class append_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_resultStandardScheme getScheme() { return new append_resultStandardScheme(); } } - private static class append_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class append_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, append_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -21389,17 +23140,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_result stru } - private static class append_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class append_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public append_resultTupleScheme getScheme() { return new append_resultTupleScheme(); } } - private static class append_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class append_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -21417,47 +23169,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, append_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TResult(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class openScanner_args 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("openScanner_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class openScanner_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("openScanner_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TSCAN_FIELD_DESC = new org.apache.thrift.protocol.TField("tscan", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TSCAN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tscan", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new openScanner_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new openScanner_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new openScanner_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new openScanner_argsTupleSchemeFactory(); /** * the table to get the Scanner for */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the scan object to get a Scanner for */ - public @org.apache.thrift.annotation.Nullable TScan tscan; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan tscan; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to get the Scanner for */ @@ -21478,7 +23236,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -21503,7 +23261,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -21516,25 +23274,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TSCAN, new org.apache.thrift.meta_data.FieldMetaData("tscan", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TScan.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TSCAN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tscan", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TScan.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(openScanner_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(openScanner_args.class, metaDataMap); } public openScanner_args() { @@ -21545,7 +23305,7 @@ public openScanner_args( TScan tscan) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tscan = tscan; } @@ -21554,13 +23314,14 @@ public openScanner_args( */ public openScanner_args(openScanner_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTscan()) { this.tscan = new TScan(other.tscan); } } + @Override public openScanner_args deepCopy() { return new openScanner_args(this); } @@ -21575,12 +23336,12 @@ public void clear() { * the table to get the Scanner for */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -21591,8 +23352,8 @@ public openScanner_args setTable(byte[] table) { return this; } - public openScanner_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public openScanner_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -21614,7 +23375,7 @@ public void setTableIsSet(boolean value) { /** * the scan object to get a Scanner for */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TScan getTscan() { return this.tscan; } @@ -21622,7 +23383,7 @@ public TScan getTscan() { /** * the scan object to get a Scanner for */ - public openScanner_args setTscan(@org.apache.thrift.annotation.Nullable TScan tscan) { + public openScanner_args setTscan(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan tscan) { this.tscan = tscan; return this; } @@ -21642,7 +23403,8 @@ public void setTscanIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -21667,7 +23429,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -21681,6 +23444,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -21757,7 +23521,7 @@ public int compareTo(openScanner_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -21767,7 +23531,7 @@ public int compareTo(openScanner_args other) { return lastComparison; } if (isSetTscan()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); if (lastComparison != 0) { return lastComparison; } @@ -21775,16 +23539,19 @@ public int compareTo(openScanner_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -21797,7 +23564,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -21812,13 +23579,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tscan == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tscan' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tscan' was not present! Struct: " + toString()); } // check for sub-struct validity if (tscan != null) { @@ -21828,67 +23595,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class openScanner_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class openScanner_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public openScanner_argsStandardScheme getScheme() { return new openScanner_argsStandardScheme(); } } - private static class openScanner_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class openScanner_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, openScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TSCAN - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tscan = new TScan(); - struct.tscan.read(iprot); - struct.setTscanIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, openScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TSCAN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tscan = new TScan(); + struct.tscan.read(iprot); + struct.setTscanIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, openScanner_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, openScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -21908,51 +23683,58 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, openScanner_args s } - private static class openScanner_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class openScanner_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public openScanner_argsTupleScheme getScheme() { return new openScanner_argsTupleScheme(); } } - private static class openScanner_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class openScanner_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, openScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, openScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tscan.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, openScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tscan = new TScan(); - struct.tscan.read(iprot); - struct.setTscanIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, openScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tscan = new TScan(); + struct.tscan.read(iprot); + struct.setTscanIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class openScanner_result 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("openScanner_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class openScanner_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("openScanner_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new openScanner_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new openScanner_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new openScanner_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new openScanner_resultTupleSchemeFactory(); public int success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -21967,7 +23749,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -21992,7 +23774,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -22005,10 +23787,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -22017,15 +23801,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(openScanner_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(openScanner_result.class, metaDataMap); } public openScanner_result() { @@ -22052,6 +23836,7 @@ public openScanner_result(openScanner_result other) { } } + @Override public openScanner_result deepCopy() { return new openScanner_result(this); } @@ -22074,24 +23859,24 @@ public openScanner_result setSuccess(int success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public openScanner_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public openScanner_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -22111,7 +23896,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -22132,7 +23918,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -22146,6 +23933,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -22220,7 +24008,7 @@ public int compareTo(openScanner_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -22230,7 +24018,7 @@ public int compareTo(openScanner_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -22238,16 +24026,18 @@ public int compareTo(openScanner_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -22271,15 +24061,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -22288,59 +24078,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class openScanner_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class openScanner_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public openScanner_resultStandardScheme getScheme() { return new openScanner_resultStandardScheme(); } } - private static class openScanner_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class openScanner_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, openScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, openScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, openScanner_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, openScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -22360,17 +24158,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, openScanner_result } - private static class openScanner_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class openScanner_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public openScanner_resultTupleScheme getScheme() { return new openScanner_resultTupleScheme(); } } - private static class openScanner_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class openScanner_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, openScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, openScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -22388,34 +24187,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, openScanner_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, openScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readI32(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, openScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readI32(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getScannerRows_args 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("getScannerRows_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getScannerRows_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getScannerRows_args"); - private static final org.apache.thrift.protocol.TField SCANNER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scannerId", org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.protocol.TField NUM_ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("numRows", org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCANNER_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scannerId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NUM_ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("numRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerRows_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerRows_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerRows_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerRows_argsTupleSchemeFactory(); /** * the Id of the Scanner to return rows from. This is an Id returned from the openScanner function. @@ -22427,7 +24232,7 @@ public static class getScannerRows_args implements org.apache.thrift.TBase metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SCANNER_ID, new org.apache.thrift.meta_data.FieldMetaData("scannerId", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.NUM_ROWS, new org.apache.thrift.meta_data.FieldMetaData("numRows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SCANNER_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scannerId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.NUM_ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("numRows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerRows_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerRows_args.class, metaDataMap); } public getScannerRows_args() { @@ -22535,6 +24342,7 @@ public getScannerRows_args(getScannerRows_args other) { this.numRows = other.numRows; } + @Override public getScannerRows_args deepCopy() { return new getScannerRows_args(this); } @@ -22564,16 +24372,16 @@ public getScannerRows_args setScannerId(int scannerId) { } public void unsetScannerId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCANNERID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCANNERID_ISSET_ID); } /** Returns true if field scannerId is set (has been assigned a value) and false otherwise */ public boolean isSetScannerId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCANNERID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCANNERID_ISSET_ID); } public void setScannerIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCANNERID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCANNERID_ISSET_ID, value); } /** @@ -22593,19 +24401,20 @@ public getScannerRows_args setNumRows(int numRows) { } public void unsetNumRows() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMROWS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMROWS_ISSET_ID); } /** Returns true if field numRows is set (has been assigned a value) and false otherwise */ public boolean isSetNumRows() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMROWS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMROWS_ISSET_ID); } public void setNumRowsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMROWS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMROWS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SCANNER_ID: if (value == null) { @@ -22626,7 +24435,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SCANNER_ID: @@ -22640,6 +24450,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -22712,7 +24523,7 @@ public int compareTo(getScannerRows_args other) { return lastComparison; } if (isSetScannerId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scannerId, other.scannerId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scannerId, other.scannerId); if (lastComparison != 0) { return lastComparison; } @@ -22722,7 +24533,7 @@ public int compareTo(getScannerRows_args other) { return lastComparison; } if (isSetNumRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numRows, other.numRows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.numRows, other.numRows); if (lastComparison != 0) { return lastComparison; } @@ -22730,16 +24541,19 @@ public int compareTo(getScannerRows_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -22759,7 +24573,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'scannerId' because it's a primitive and you chose the non-beans generator. // check for sub-struct validity @@ -22767,8 +24581,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -22777,61 +24591,69 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getScannerRows_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerRows_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerRows_argsStandardScheme getScheme() { return new getScannerRows_argsStandardScheme(); } } - private static class getScannerRows_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getScannerRows_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getScannerRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // SCANNER_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scannerId = iprot.readI32(); - struct.setScannerIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // NUM_ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.numRows = iprot.readI32(); - struct.setNumRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getScannerRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // SCANNER_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.scannerId = iprot.readI32(); + struct.setScannerIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // NUM_ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.numRows = iprot.readI32(); + struct.setNumRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetScannerId()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'scannerId' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetScannerId()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'scannerId' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerRows_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getScannerRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -22847,17 +24669,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerRows_arg } - private static class getScannerRows_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerRows_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerRows_argsTupleScheme getScheme() { return new getScannerRows_argsTupleScheme(); } } - private static class getScannerRows_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getScannerRows_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getScannerRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.scannerId); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetNumRows()) { @@ -22870,42 +24693,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getScannerRows_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getScannerRows_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.scannerId = iprot.readI32(); - struct.setScannerIdIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.numRows = iprot.readI32(); - struct.setNumRowsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerRows_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.scannerId = iprot.readI32(); + struct.setScannerIdIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.numRows = iprot.readI32(); + struct.setNumRowsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getScannerRows_result 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("getScannerRows_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getScannerRows_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getScannerRows_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerRows_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerRows_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerRows_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerRows_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** * if the scannerId is invalid */ - public @org.apache.thrift.annotation.Nullable TIllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"), /** @@ -22924,7 +24753,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -22951,7 +24780,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -22964,28 +24793,30 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerRows_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerRows_result.class, metaDataMap); } public getScannerRows_result() { @@ -23021,6 +24852,7 @@ public getScannerRows_result(getScannerRows_result other) { } } + @Override public getScannerRows_result deepCopy() { return new getScannerRows_result(this); } @@ -23036,7 +24868,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -23048,12 +24880,12 @@ public void addToSuccess(TResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getScannerRows_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getScannerRows_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -23073,12 +24905,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getScannerRows_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getScannerRows_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -23101,7 +24933,7 @@ public void setIoIsSet(boolean value) { /** * if the scannerId is invalid */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIllegalArgument getIa() { return this.ia; } @@ -23109,7 +24941,7 @@ public TIllegalArgument getIa() { /** * if the scannerId is invalid */ - public getScannerRows_result setIa(@org.apache.thrift.annotation.Nullable TIllegalArgument ia) { + public getScannerRows_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIllegalArgument ia) { this.ia = ia; return this; } @@ -23129,7 +24961,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -23158,7 +24991,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -23175,6 +25009,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -23266,7 +25101,7 @@ public int compareTo(getScannerRows_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -23276,7 +25111,7 @@ public int compareTo(getScannerRows_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -23286,7 +25121,7 @@ public int compareTo(getScannerRows_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -23294,16 +25129,18 @@ public int compareTo(getScannerRows_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -23339,101 +25176,109 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getScannerRows_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerRows_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerRows_resultStandardScheme getScheme() { return new getScannerRows_resultStandardScheme(); } } - private static class getScannerRows_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getScannerRows_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getScannerRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list246 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list246.size); - @org.apache.thrift.annotation.Nullable TResult _elem247; - for (int _i248 = 0; _i248 < _list246.size; ++_i248) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getScannerRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem247 = new TResult(); - _elem247.read(iprot); - struct.success.add(_elem247); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list246 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list246.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem247; + for (int _i248 = 0; _i248 < _list246.size; ++_i248) + { + _elem247 = new TResult(); + _elem247.read(iprot); + struct.success.add(_elem247); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new TIllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new TIllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerRows_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getScannerRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TResult _iter249 : struct.success) { _iter249.write(oprot); @@ -23458,17 +25303,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerRows_res } - private static class getScannerRows_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerRows_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerRows_resultTupleScheme getScheme() { return new getScannerRows_resultTupleScheme(); } } - private static class getScannerRows_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getScannerRows_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getScannerRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -23498,48 +25344,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getScannerRows_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getScannerRows_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerRows_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { { - _elem252 = new TResult(); - _elem252.read(iprot); - struct.success.add(_elem252); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list251 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list251.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem252; + for (int _i253 = 0; _i253 < _list251.size; ++_i253) + { + _elem252 = new TResult(); + _elem252.read(iprot); + struct.success.add(_elem252); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(2)) { - struct.ia = new TIllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(2)) { + struct.ia = new TIllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class closeScanner_args 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("closeScanner_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class closeScanner_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("closeScanner_args"); - private static final org.apache.thrift.protocol.TField SCANNER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scannerId", org.apache.thrift.protocol.TType.I32, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SCANNER_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("scannerId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new closeScanner_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new closeScanner_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new closeScanner_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new closeScanner_argsTupleSchemeFactory(); /** * the Id of the Scanner to close * @@ -23547,7 +25399,7 @@ public static class closeScanner_args implements org.apache.thrift.TBase metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SCANNER_ID, new org.apache.thrift.meta_data.FieldMetaData("scannerId", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SCANNER_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("scannerId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeScanner_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeScanner_args.class, metaDataMap); } public closeScanner_args() { @@ -23640,6 +25494,7 @@ public closeScanner_args(closeScanner_args other) { this.scannerId = other.scannerId; } + @Override public closeScanner_args deepCopy() { return new closeScanner_args(this); } @@ -23667,19 +25522,20 @@ public closeScanner_args setScannerId(int scannerId) { } public void unsetScannerId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCANNERID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SCANNERID_ISSET_ID); } /** Returns true if field scannerId is set (has been assigned a value) and false otherwise */ public boolean isSetScannerId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCANNERID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SCANNERID_ISSET_ID); } public void setScannerIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCANNERID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SCANNERID_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SCANNER_ID: if (value == null) { @@ -23692,7 +25548,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SCANNER_ID: @@ -23703,6 +25560,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -23762,7 +25620,7 @@ public int compareTo(closeScanner_args other) { return lastComparison; } if (isSetScannerId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scannerId, other.scannerId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.scannerId, other.scannerId); if (lastComparison != 0) { return lastComparison; } @@ -23770,16 +25628,19 @@ public int compareTo(closeScanner_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -23795,7 +25656,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'scannerId' because it's a primitive and you chose the non-beans generator. // check for sub-struct validity @@ -23803,8 +25664,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -23813,53 +25674,61 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class closeScanner_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class closeScanner_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public closeScanner_argsStandardScheme getScheme() { return new closeScanner_argsStandardScheme(); } } - private static class closeScanner_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class closeScanner_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, closeScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // SCANNER_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scannerId = iprot.readI32(); - struct.setScannerIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, closeScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // SCANNER_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.scannerId = iprot.readI32(); + struct.setScannerIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetScannerId()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'scannerId' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetScannerId()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'scannerId' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, closeScanner_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, closeScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -23872,50 +25741,57 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, closeScanner_args } - private static class closeScanner_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class closeScanner_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public closeScanner_argsTupleScheme getScheme() { return new closeScanner_argsTupleScheme(); } } - private static class closeScanner_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class closeScanner_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, closeScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, closeScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.scannerId); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, closeScanner_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.scannerId = iprot.readI32(); - struct.setScannerIdIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, closeScanner_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.scannerId = iprot.readI32(); + struct.setScannerIdIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class closeScanner_result 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("closeScanner_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class closeScanner_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("closeScanner_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.thrift.protocol.TField("ia", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IA_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ia", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new closeScanner_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new closeScanner_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new closeScanner_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new closeScanner_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** * if the scannerId is invalid */ - public @org.apache.thrift.annotation.Nullable TIllegalArgument ia; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIllegalArgument ia; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"), /** * if the scannerId is invalid @@ -23933,7 +25809,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -23958,7 +25834,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -23971,25 +25847,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); - tmpMap.put(_Fields.IA, new org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIllegalArgument.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + tmpMap.put(_Fields.IA, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ia", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIllegalArgument.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeScanner_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeScanner_result.class, metaDataMap); } public closeScanner_result() { @@ -24016,6 +25894,7 @@ public closeScanner_result(closeScanner_result other) { } } + @Override public closeScanner_result deepCopy() { return new closeScanner_result(this); } @@ -24026,12 +25905,12 @@ public void clear() { this.ia = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public closeScanner_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public closeScanner_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -24054,7 +25933,7 @@ public void setIoIsSet(boolean value) { /** * if the scannerId is invalid */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIllegalArgument getIa() { return this.ia; } @@ -24062,7 +25941,7 @@ public TIllegalArgument getIa() { /** * if the scannerId is invalid */ - public closeScanner_result setIa(@org.apache.thrift.annotation.Nullable TIllegalArgument ia) { + public closeScanner_result setIa(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIllegalArgument ia) { this.ia = ia; return this; } @@ -24082,7 +25961,8 @@ public void setIaIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -24103,7 +25983,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -24117,6 +25998,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -24193,7 +26075,7 @@ public int compareTo(closeScanner_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -24203,7 +26085,7 @@ public int compareTo(closeScanner_result other) { return lastComparison; } if (isSetIa()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ia, other.ia); if (lastComparison != 0) { return lastComparison; } @@ -24211,16 +26093,18 @@ public int compareTo(closeScanner_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -24248,75 +26132,83 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class closeScanner_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class closeScanner_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public closeScanner_resultStandardScheme getScheme() { return new closeScanner_resultStandardScheme(); } } - private static class closeScanner_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class closeScanner_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, closeScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // IA - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ia = new TIllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, closeScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // IA + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.ia = new TIllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, closeScanner_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, closeScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -24336,17 +26228,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, closeScanner_resul } - private static class closeScanner_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class closeScanner_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public closeScanner_resultTupleScheme getScheme() { return new closeScanner_resultTupleScheme(); } } - private static class closeScanner_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class closeScanner_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, closeScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, closeScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -24364,47 +26257,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, closeScanner_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, closeScanner_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } - if (incoming.get(1)) { - struct.ia = new TIllegalArgument(); - struct.ia.read(iprot); - struct.setIaIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, closeScanner_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + if (incoming.get(1)) { + struct.ia = new TIllegalArgument(); + struct.ia.read(iprot); + struct.setIaIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRow_args 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("mutateRow_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRow_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRow_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TROW_MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("trowMutations", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TROW_MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("trowMutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_argsTupleSchemeFactory(); /** * table to apply the mutations */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * mutations to apply */ - public @org.apache.thrift.annotation.Nullable TRowMutations trowMutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowMutations trowMutations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * table to apply the mutations */ @@ -24425,7 +26324,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -24450,7 +26349,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -24463,25 +26362,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TROW_MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("trowMutations", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowMutations.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TROW_MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("trowMutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowMutations.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_args.class, metaDataMap); } public mutateRow_args() { @@ -24492,7 +26393,7 @@ public mutateRow_args( TRowMutations trowMutations) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.trowMutations = trowMutations; } @@ -24501,13 +26402,14 @@ public mutateRow_args( */ public mutateRow_args(mutateRow_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTrowMutations()) { this.trowMutations = new TRowMutations(other.trowMutations); } } + @Override public mutateRow_args deepCopy() { return new mutateRow_args(this); } @@ -24522,12 +26424,12 @@ public void clear() { * table to apply the mutations */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -24538,8 +26440,8 @@ public mutateRow_args setTable(byte[] table) { return this; } - public mutateRow_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public mutateRow_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -24561,7 +26463,7 @@ public void setTableIsSet(boolean value) { /** * mutations to apply */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TRowMutations getTrowMutations() { return this.trowMutations; } @@ -24569,7 +26471,7 @@ public TRowMutations getTrowMutations() { /** * mutations to apply */ - public mutateRow_args setTrowMutations(@org.apache.thrift.annotation.Nullable TRowMutations trowMutations) { + public mutateRow_args setTrowMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowMutations trowMutations) { this.trowMutations = trowMutations; return this; } @@ -24589,7 +26491,8 @@ public void setTrowMutationsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -24614,7 +26517,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -24628,6 +26532,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -24704,7 +26609,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -24714,7 +26619,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } if (isSetTrowMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.trowMutations, other.trowMutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.trowMutations, other.trowMutations); if (lastComparison != 0) { return lastComparison; } @@ -24722,16 +26627,19 @@ public int compareTo(mutateRow_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -24744,7 +26652,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -24759,13 +26667,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (trowMutations == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'trowMutations' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'trowMutations' was not present! Struct: " + toString()); } // check for sub-struct validity if (trowMutations != null) { @@ -24775,67 +26683,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRow_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_argsStandardScheme getScheme() { return new mutateRow_argsStandardScheme(); } } - private static class mutateRow_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRow_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TROW_MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.trowMutations = new TRowMutations(); - struct.trowMutations.read(iprot); - struct.setTrowMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TROW_MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.trowMutations = new TRowMutations(); + struct.trowMutations.read(iprot); + struct.setTrowMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -24855,49 +26771,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_args str } - private static class mutateRow_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_argsTupleScheme getScheme() { return new mutateRow_argsTupleScheme(); } } - private static class mutateRow_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRow_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.trowMutations.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.trowMutations = new TRowMutations(); - struct.trowMutations.read(iprot); - struct.setTrowMutationsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.trowMutations = new TRowMutations(); + struct.trowMutations.read(iprot); + struct.setTrowMutationsIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class mutateRow_result 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("mutateRow_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class mutateRow_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("mutateRow_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new mutateRow_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new mutateRow_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -24911,7 +26834,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -24934,7 +26857,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -24947,23 +26870,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(mutateRow_result.class, metaDataMap); } public mutateRow_result() { @@ -24985,6 +26910,7 @@ public mutateRow_result(mutateRow_result other) { } } + @Override public mutateRow_result deepCopy() { return new mutateRow_result(this); } @@ -24994,12 +26920,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public mutateRow_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public mutateRow_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -25019,7 +26945,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -25032,7 +26959,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -25043,6 +26971,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -25104,7 +27033,7 @@ public int compareTo(mutateRow_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -25112,16 +27041,18 @@ public int compareTo(mutateRow_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -25141,66 +27072,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class mutateRow_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_resultStandardScheme getScheme() { return new mutateRow_resultStandardScheme(); } } - private static class mutateRow_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class mutateRow_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -25215,17 +27154,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, mutateRow_result s } - private static class mutateRow_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class mutateRow_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public mutateRow_resultTupleScheme getScheme() { return new mutateRow_resultTupleScheme(); } } - private static class mutateRow_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class mutateRow_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -25237,47 +27177,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, mutateRow_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, mutateRow_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getScannerResults_args 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("getScannerResults_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getScannerResults_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getScannerResults_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TSCAN_FIELD_DESC = new org.apache.thrift.protocol.TField("tscan", org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.protocol.TField NUM_ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("numRows", org.apache.thrift.protocol.TType.I32, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TSCAN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tscan", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NUM_ROWS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("numRows", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerResults_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerResults_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerResults_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerResults_argsTupleSchemeFactory(); /** * the table to get the Scanner for */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * the scan object to get a Scanner for */ - public @org.apache.thrift.annotation.Nullable TScan tscan; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan tscan; // required /** * number of rows to return */ public int numRows; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the table to get the Scanner for */ @@ -25302,7 +27248,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -25329,7 +27275,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -25342,10 +27288,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -25354,17 +27302,17 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __NUMROWS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.TSCAN, new org.apache.thrift.meta_data.FieldMetaData("tscan", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TScan.class))); - tmpMap.put(_Fields.NUM_ROWS, new org.apache.thrift.meta_data.FieldMetaData("numRows", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.TSCAN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tscan", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TScan.class))); + tmpMap.put(_Fields.NUM_ROWS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("numRows", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerResults_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerResults_args.class, metaDataMap); } public getScannerResults_args() { @@ -25378,7 +27326,7 @@ public getScannerResults_args( int numRows) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); this.tscan = tscan; this.numRows = numRows; setNumRowsIsSet(true); @@ -25390,7 +27338,7 @@ public getScannerResults_args( public getScannerResults_args(getScannerResults_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTscan()) { this.tscan = new TScan(other.tscan); @@ -25398,6 +27346,7 @@ public getScannerResults_args(getScannerResults_args other) { this.numRows = other.numRows; } + @Override public getScannerResults_args deepCopy() { return new getScannerResults_args(this); } @@ -25414,12 +27363,12 @@ public void clear() { * the table to get the Scanner for */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -25430,8 +27379,8 @@ public getScannerResults_args setTable(byte[] table) { return this; } - public getScannerResults_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public getScannerResults_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -25453,7 +27402,7 @@ public void setTableIsSet(boolean value) { /** * the scan object to get a Scanner for */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TScan getTscan() { return this.tscan; } @@ -25461,7 +27410,7 @@ public TScan getTscan() { /** * the scan object to get a Scanner for */ - public getScannerResults_args setTscan(@org.apache.thrift.annotation.Nullable TScan tscan) { + public getScannerResults_args setTscan(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TScan tscan) { this.tscan = tscan; return this; } @@ -25498,19 +27447,20 @@ public getScannerResults_args setNumRows(int numRows) { } public void unsetNumRows() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMROWS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __NUMROWS_ISSET_ID); } /** Returns true if field numRows is set (has been assigned a value) and false otherwise */ public boolean isSetNumRows() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMROWS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUMROWS_ISSET_ID); } public void setNumRowsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMROWS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __NUMROWS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -25543,7 +27493,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -25560,6 +27511,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -25649,7 +27601,7 @@ public int compareTo(getScannerResults_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -25659,7 +27611,7 @@ public int compareTo(getScannerResults_args other) { return lastComparison; } if (isSetTscan()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); if (lastComparison != 0) { return lastComparison; } @@ -25669,7 +27621,7 @@ public int compareTo(getScannerResults_args other) { return lastComparison; } if (isSetNumRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numRows, other.numRows); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.numRows, other.numRows); if (lastComparison != 0) { return lastComparison; } @@ -25677,16 +27629,19 @@ public int compareTo(getScannerResults_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -25699,7 +27654,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -25718,13 +27673,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (tscan == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tscan' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tscan' was not present! Struct: " + toString()); } // check for sub-struct validity if (tscan != null) { @@ -25734,8 +27689,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -25744,67 +27699,75 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getScannerResults_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerResults_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerResults_argsStandardScheme getScheme() { return new getScannerResults_argsStandardScheme(); } } - private static class getScannerResults_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getScannerResults_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getScannerResults_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TSCAN - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tscan = new TScan(); - struct.tscan.read(iprot); - struct.setTscanIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // NUM_ROWS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.numRows = iprot.readI32(); - struct.setNumRowsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getScannerResults_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TSCAN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tscan = new TScan(); + struct.tscan.read(iprot); + struct.setTscanIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // NUM_ROWS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.numRows = iprot.readI32(); + struct.setNumRowsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -25827,17 +27790,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_ } - private static class getScannerResults_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerResults_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerResults_argsTupleScheme getScheme() { return new getScannerResults_argsTupleScheme(); } } - private static class getScannerResults_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getScannerResults_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getScannerResults_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerResults_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); struct.tscan.write(oprot); java.util.BitSet optionals = new java.util.BitSet(); @@ -25851,40 +27815,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getScannerResults_a } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getScannerResults_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.tscan = new TScan(); - struct.tscan.read(iprot); - struct.setTscanIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.numRows = iprot.readI32(); - struct.setNumRowsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerResults_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.tscan = new TScan(); + struct.tscan.read(iprot); + struct.setTscanIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.numRows = iprot.readI32(); + struct.setNumRowsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getScannerResults_result 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("getScannerResults_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getScannerResults_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getScannerResults_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerResults_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerResults_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getScannerResults_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getScannerResults_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -25899,7 +27869,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -25924,7 +27894,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -25937,26 +27907,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TResult.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerResults_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getScannerResults_result.class, metaDataMap); } public getScannerResults_result() { @@ -25987,6 +27959,7 @@ public getScannerResults_result(getScannerResults_result other) { } } + @Override public getScannerResults_result deepCopy() { return new getScannerResults_result(this); } @@ -26001,7 +27974,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -26013,12 +27986,12 @@ public void addToSuccess(TResult elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getScannerResults_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getScannerResults_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -26038,12 +28011,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getScannerResults_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getScannerResults_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -26063,7 +28036,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -26084,7 +28058,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -26098,6 +28073,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -26174,7 +28150,7 @@ public int compareTo(getScannerResults_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -26184,7 +28160,7 @@ public int compareTo(getScannerResults_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -26192,16 +28168,18 @@ public int compareTo(getScannerResults_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -26229,92 +28207,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getScannerResults_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerResults_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerResults_resultStandardScheme getScheme() { return new getScannerResults_resultStandardScheme(); } } - private static class getScannerResults_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getScannerResults_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getScannerResults_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list254 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list254.size); - @org.apache.thrift.annotation.Nullable TResult _elem255; - for (int _i256 = 0; _i256 < _list254.size; ++_i256) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getScannerResults_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem255 = new TResult(); - _elem255.read(iprot); - struct.success.add(_elem255); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list254 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list254.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem255; + for (int _i256 = 0; _i256 < _list254.size; ++_i256) + { + _elem255 = new TResult(); + _elem255.read(iprot); + struct.success.add(_elem255); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getScannerResults_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TResult _iter257 : struct.success) { _iter257.write(oprot); @@ -26334,17 +28320,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_ } - private static class getScannerResults_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getScannerResults_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getScannerResults_resultTupleScheme getScheme() { return new getScannerResults_resultTupleScheme(); } } - private static class getScannerResults_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getScannerResults_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getScannerResults_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerResults_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -26368,52 +28355,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getScannerResults_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getScannerResults_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getScannerResults_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem260 = new TResult(); - _elem260.read(iprot); - struct.success.add(_elem260); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list259 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list259.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TResult _elem260; + for (int _i261 = 0; _i261 < _list259.size; ++_i261) + { + _elem260 = new TResult(); + _elem260.read(iprot); + struct.success.add(_elem260); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRegionLocation_args 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("getRegionLocation_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRegionLocation_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRegionLocation_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField RELOAD_FIELD_DESC = new org.apache.thrift.protocol.TField("reload", org.apache.thrift.protocol.TType.BOOL, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField RELOAD_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("reload", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionLocation_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionLocation_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionLocation_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionLocation_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required public boolean reload; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE((short)1, "table"), ROW((short)2, "row"), RELOAD((short)3, "reload"); @@ -26429,7 +28422,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -26456,7 +28449,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -26469,10 +28462,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -26481,17 +28476,17 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __RELOAD_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.RELOAD, new org.apache.thrift.meta_data.FieldMetaData("reload", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.RELOAD, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("reload", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionLocation_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionLocation_args.class, metaDataMap); } public getRegionLocation_args() { @@ -26503,8 +28498,8 @@ public getRegionLocation_args( boolean reload) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.reload = reload; setReloadIsSet(true); } @@ -26515,14 +28510,15 @@ public getRegionLocation_args( public getRegionLocation_args(getRegionLocation_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } this.reload = other.reload; } + @Override public getRegionLocation_args deepCopy() { return new getRegionLocation_args(this); } @@ -26536,12 +28532,12 @@ public void clear() { } public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } public getRegionLocation_args setTable(byte[] table) { @@ -26549,8 +28545,8 @@ public getRegionLocation_args setTable(byte[] table) { return this; } - public getRegionLocation_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public getRegionLocation_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -26570,12 +28566,12 @@ public void setTableIsSet(boolean value) { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public getRegionLocation_args setRow(byte[] row) { @@ -26583,8 +28579,8 @@ public getRegionLocation_args setRow(byte[] row) { return this; } - public getRegionLocation_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public getRegionLocation_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -26614,19 +28610,20 @@ public getRegionLocation_args setReload(boolean reload) { } public void unsetReload() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RELOAD_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RELOAD_ISSET_ID); } /** Returns true if field reload is set (has been assigned a value) and false otherwise */ public boolean isSetReload() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RELOAD_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RELOAD_ISSET_ID); } public void setReloadIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RELOAD_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RELOAD_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -26663,7 +28660,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -26680,6 +28678,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -26769,7 +28768,7 @@ public int compareTo(getRegionLocation_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -26779,7 +28778,7 @@ public int compareTo(getRegionLocation_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -26789,7 +28788,7 @@ public int compareTo(getRegionLocation_args other) { return lastComparison; } if (isSetReload()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reload, other.reload); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.reload, other.reload); if (lastComparison != 0) { return lastComparison; } @@ -26797,16 +28796,19 @@ public int compareTo(getRegionLocation_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -26819,7 +28821,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -26827,7 +28829,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -26838,21 +28840,21 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -26861,66 +28863,74 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRegionLocation_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionLocation_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionLocation_argsStandardScheme getScheme() { return new getRegionLocation_argsStandardScheme(); } } - private static class getRegionLocation_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRegionLocation_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRegionLocation_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // RELOAD - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.reload = iprot.readBool(); - struct.setReloadIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRegionLocation_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // RELOAD + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.reload = iprot.readBool(); + struct.setReloadIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -26943,17 +28953,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_ } - private static class getRegionLocation_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionLocation_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionLocation_argsTupleScheme getScheme() { return new getRegionLocation_argsTupleScheme(); } } - private static class getRegionLocation_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRegionLocation_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionLocation_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); java.util.BitSet optionals = new java.util.BitSet(); @@ -26967,39 +28978,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_a } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.reload = iprot.readBool(); - struct.setReloadIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionLocation_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.reload = iprot.readBool(); + struct.setReloadIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getRegionLocation_result 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("getRegionLocation_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getRegionLocation_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getRegionLocation_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionLocation_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionLocation_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getRegionLocation_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getRegionLocation_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable THRegionLocation success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionLocation success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -27014,7 +29031,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -27039,7 +29056,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -27052,25 +29069,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, THRegionLocation.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, THRegionLocation.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionLocation_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRegionLocation_result.class, metaDataMap); } public getRegionLocation_result() { @@ -27097,6 +29116,7 @@ public getRegionLocation_result(getRegionLocation_result other) { } } + @Override public getRegionLocation_result deepCopy() { return new getRegionLocation_result(this); } @@ -27107,12 +29127,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public THRegionLocation getSuccess() { return this.success; } - public getRegionLocation_result setSuccess(@org.apache.thrift.annotation.Nullable THRegionLocation success) { + public getRegionLocation_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionLocation success) { this.success = success; return this; } @@ -27132,12 +29152,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getRegionLocation_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getRegionLocation_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -27157,7 +29177,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -27178,7 +29199,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -27192,6 +29214,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -27268,7 +29291,7 @@ public int compareTo(getRegionLocation_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -27278,7 +29301,7 @@ public int compareTo(getRegionLocation_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -27286,16 +29309,18 @@ public int compareTo(getRegionLocation_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -27323,7 +29348,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -27333,68 +29358,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getRegionLocation_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionLocation_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionLocation_resultStandardScheme getScheme() { return new getRegionLocation_resultStandardScheme(); } } - private static class getRegionLocation_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getRegionLocation_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getRegionLocation_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new THRegionLocation(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getRegionLocation_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new THRegionLocation(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -27414,17 +29447,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getRegionLocation_ } - private static class getRegionLocation_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getRegionLocation_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getRegionLocation_resultTupleScheme getScheme() { return new getRegionLocation_resultTupleScheme(); } } - private static class getRegionLocation_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getRegionLocation_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionLocation_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -27442,39 +29476,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getRegionLocation_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new THRegionLocation(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getRegionLocation_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new THRegionLocation(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getAllRegionLocations_args 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("getAllRegionLocations_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getAllRegionLocations_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getAllRegionLocations_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAllRegionLocations_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAllRegionLocations_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAllRegionLocations_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAllRegionLocations_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE((short)1, "table"); private static final java.util.Map byName = new java.util.HashMap(); @@ -27488,7 +29528,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -27511,7 +29551,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -27524,23 +29564,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllRegionLocations_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllRegionLocations_args.class, metaDataMap); } public getAllRegionLocations_args() { @@ -27550,7 +29592,7 @@ public getAllRegionLocations_args( java.nio.ByteBuffer table) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -27558,10 +29600,11 @@ public getAllRegionLocations_args( */ public getAllRegionLocations_args(getAllRegionLocations_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } } + @Override public getAllRegionLocations_args deepCopy() { return new getAllRegionLocations_args(this); } @@ -27572,12 +29615,12 @@ public void clear() { } public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } public getAllRegionLocations_args setTable(byte[] table) { @@ -27585,8 +29628,8 @@ public getAllRegionLocations_args setTable(byte[] table) { return this; } - public getAllRegionLocations_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public getAllRegionLocations_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -27605,7 +29648,8 @@ public void setTableIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -27622,7 +29666,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -27633,6 +29678,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -27694,7 +29740,7 @@ public int compareTo(getAllRegionLocations_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -27702,16 +29748,19 @@ public int compareTo(getAllRegionLocations_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -27724,75 +29773,83 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getAllRegionLocations_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getAllRegionLocations_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getAllRegionLocations_argsStandardScheme getScheme() { return new getAllRegionLocations_argsStandardScheme(); } } - private static class getAllRegionLocations_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getAllRegionLocations_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getAllRegionLocations_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getAllRegionLocations_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocations_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocations_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -27807,47 +29864,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocati } - private static class getAllRegionLocations_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getAllRegionLocations_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getAllRegionLocations_argsTupleScheme getScheme() { return new getAllRegionLocations_argsTupleScheme(); } } - private static class getAllRegionLocations_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getAllRegionLocations_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getAllRegionLocations_result 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("getAllRegionLocations_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getAllRegionLocations_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getAllRegionLocations_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAllRegionLocations_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAllRegionLocations_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAllRegionLocations_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAllRegionLocations_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -27862,7 +29926,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -27887,7 +29951,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -27900,26 +29964,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, THRegionLocation.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, THRegionLocation.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllRegionLocations_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllRegionLocations_result.class, metaDataMap); } public getAllRegionLocations_result() { @@ -27950,6 +30016,7 @@ public getAllRegionLocations_result(getAllRegionLocations_result other) { } } + @Override public getAllRegionLocations_result deepCopy() { return new getAllRegionLocations_result(this); } @@ -27964,7 +30031,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -27976,12 +30043,12 @@ public void addToSuccess(THRegionLocation elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getAllRegionLocations_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getAllRegionLocations_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -28001,12 +30068,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getAllRegionLocations_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getAllRegionLocations_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -28026,7 +30093,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -28047,7 +30115,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -28061,6 +30130,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -28137,7 +30207,7 @@ public int compareTo(getAllRegionLocations_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -28147,7 +30217,7 @@ public int compareTo(getAllRegionLocations_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -28155,16 +30225,18 @@ public int compareTo(getAllRegionLocations_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -28192,92 +30264,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getAllRegionLocations_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getAllRegionLocations_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getAllRegionLocations_resultStandardScheme getScheme() { return new getAllRegionLocations_resultStandardScheme(); } } - private static class getAllRegionLocations_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getAllRegionLocations_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getAllRegionLocations_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list262.size); - @org.apache.thrift.annotation.Nullable THRegionLocation _elem263; - for (int _i264 = 0; _i264 < _list262.size; ++_i264) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getAllRegionLocations_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem263 = new THRegionLocation(); - _elem263.read(iprot); - struct.success.add(_elem263); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list262.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionLocation _elem263; + for (int _i264 = 0; _i264 < _list262.size; ++_i264) + { + _elem263 = new THRegionLocation(); + _elem263.read(iprot); + struct.success.add(_elem263); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocations_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocations_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (THRegionLocation _iter265 : struct.success) { _iter265.write(oprot); @@ -28297,17 +30377,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllRegionLocati } - private static class getAllRegionLocations_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getAllRegionLocations_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getAllRegionLocations_resultTupleScheme getScheme() { return new getAllRegionLocations_resultTupleScheme(); } } - private static class getAllRegionLocations_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getAllRegionLocations_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -28331,84 +30412,90 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocatio } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getAllRegionLocations_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem268 = new THRegionLocation(); - _elem268.read(iprot); - struct.success.add(_elem268); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list267 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list267.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionLocation _elem268; + for (int _i269 = 0; _i269 < _list267.size; ++_i269) + { + _elem268 = new THRegionLocation(); + _elem268.read(iprot); + struct.success.add(_elem268); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndMutate_args 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("checkAndMutate_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndMutate_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndMutate_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField COMPARE_OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField("compareOperator", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField ROW_MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("rowMutations", org.apache.thrift.protocol.TType.STRUCT, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("family", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COMPARE_OPERATOR_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("compareOperator", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("value", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("rowMutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)7); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndMutate_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndMutate_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndMutate_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndMutate_argsTupleSchemeFactory(); /** * to check in and delete from */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table; // required /** * row to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required /** * column family to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family; // required /** * column qualifier to check */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required /** * comparison to make on the value * * @see TCompareOperator */ - public @org.apache.thrift.annotation.Nullable TCompareOperator compareOperator; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompareOperator compareOperator; // required /** * the expected value to be compared against, if not provided the * check is for the non-existence of the column in question */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value; // required /** * row mutations to execute if the value matches */ - public @org.apache.thrift.annotation.Nullable TRowMutations rowMutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowMutations rowMutations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * to check in and delete from */ @@ -28452,7 +30539,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -28487,7 +30574,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -28500,35 +30587,37 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COMPARE_OPERATOR, new org.apache.thrift.meta_data.FieldMetaData("compareOperator", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TCompareOperator.class))); - tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.ROW_MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("rowMutations", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TRowMutations.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.FAMILY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("family", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COMPARE_OPERATOR, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("compareOperator", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TCompareOperator.class))); + tmpMap.put(_Fields.VALUE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("value", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.ROW_MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("rowMutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TRowMutations.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndMutate_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndMutate_args.class, metaDataMap); } public checkAndMutate_args() { @@ -28544,12 +30633,12 @@ public checkAndMutate_args( TRowMutations rowMutations) { this(); - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); this.compareOperator = compareOperator; - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.rowMutations = rowMutations; } @@ -28558,28 +30647,29 @@ public checkAndMutate_args( */ public checkAndMutate_args(checkAndMutate_args other) { if (other.isSetTable()) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetFamily()) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetCompareOperator()) { this.compareOperator = other.compareOperator; } if (other.isSetValue()) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetRowMutations()) { this.rowMutations = new TRowMutations(other.rowMutations); } } + @Override public checkAndMutate_args deepCopy() { return new checkAndMutate_args(this); } @@ -28599,12 +30689,12 @@ public void clear() { * to check in and delete from */ public byte[] getTable() { - setTable(org.apache.thrift.TBaseHelper.rightSize(table)); + setTable(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(table)); return table == null ? null : table.array(); } public java.nio.ByteBuffer bufferForTable() { - return org.apache.thrift.TBaseHelper.copyBinary(table); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); } /** @@ -28615,8 +30705,8 @@ public checkAndMutate_args setTable(byte[] table) { return this; } - public checkAndMutate_args setTable(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { - this.table = org.apache.thrift.TBaseHelper.copyBinary(table); + public checkAndMutate_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer table) { + this.table = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(table); return this; } @@ -28639,12 +30729,12 @@ public void setTableIsSet(boolean value) { * row to check */ public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } /** @@ -28655,8 +30745,8 @@ public checkAndMutate_args setRow(byte[] row) { return this; } - public checkAndMutate_args setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public checkAndMutate_args setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -28679,12 +30769,12 @@ public void setRowIsSet(boolean value) { * column family to check */ public byte[] getFamily() { - setFamily(org.apache.thrift.TBaseHelper.rightSize(family)); + setFamily(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(family)); return family == null ? null : family.array(); } public java.nio.ByteBuffer bufferForFamily() { - return org.apache.thrift.TBaseHelper.copyBinary(family); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); } /** @@ -28695,8 +30785,8 @@ public checkAndMutate_args setFamily(byte[] family) { return this; } - public checkAndMutate_args setFamily(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { - this.family = org.apache.thrift.TBaseHelper.copyBinary(family); + public checkAndMutate_args setFamily(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer family) { + this.family = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(family); return this; } @@ -28719,12 +30809,12 @@ public void setFamilyIsSet(boolean value) { * column qualifier to check */ public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -28735,8 +30825,8 @@ public checkAndMutate_args setQualifier(byte[] qualifier) { return this; } - public checkAndMutate_args setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public checkAndMutate_args setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -28760,7 +30850,7 @@ public void setQualifierIsSet(boolean value) { * * @see TCompareOperator */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCompareOperator getCompareOperator() { return this.compareOperator; } @@ -28770,7 +30860,7 @@ public TCompareOperator getCompareOperator() { * * @see TCompareOperator */ - public checkAndMutate_args setCompareOperator(@org.apache.thrift.annotation.Nullable TCompareOperator compareOperator) { + public checkAndMutate_args setCompareOperator(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompareOperator compareOperator) { this.compareOperator = compareOperator; return this; } @@ -28795,12 +30885,12 @@ public void setCompareOperatorIsSet(boolean value) { * check is for the non-existence of the column in question */ public byte[] getValue() { - setValue(org.apache.thrift.TBaseHelper.rightSize(value)); + setValue(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(value)); return value == null ? null : value.array(); } public java.nio.ByteBuffer bufferForValue() { - return org.apache.thrift.TBaseHelper.copyBinary(value); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); } /** @@ -28812,8 +30902,8 @@ public checkAndMutate_args setValue(byte[] value) { return this; } - public checkAndMutate_args setValue(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + public checkAndMutate_args setValue(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer value) { + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); return this; } @@ -28835,7 +30925,7 @@ public void setValueIsSet(boolean value) { /** * row mutations to execute if the value matches */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TRowMutations getRowMutations() { return this.rowMutations; } @@ -28843,7 +30933,7 @@ public TRowMutations getRowMutations() { /** * row mutations to execute if the value matches */ - public checkAndMutate_args setRowMutations(@org.apache.thrift.annotation.Nullable TRowMutations rowMutations) { + public checkAndMutate_args setRowMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TRowMutations rowMutations) { this.rowMutations = rowMutations; return this; } @@ -28863,7 +30953,8 @@ public void setRowMutationsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -28944,7 +31035,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -28973,6 +31065,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -29124,7 +31217,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -29134,7 +31227,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -29144,7 +31237,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetFamily()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) { return lastComparison; } @@ -29154,7 +31247,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -29164,7 +31257,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetCompareOperator()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compareOperator, other.compareOperator); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.compareOperator, other.compareOperator); if (lastComparison != 0) { return lastComparison; } @@ -29174,7 +31267,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -29184,7 +31277,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetRowMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowMutations, other.rowMutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.rowMutations, other.rowMutations); if (lastComparison != 0) { return lastComparison; } @@ -29192,16 +31285,19 @@ public int compareTo(checkAndMutate_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -29214,7 +31310,7 @@ public java.lang.String toString() { if (this.table == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.table, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.table, sb); } first = false; if (!first) sb.append(", "); @@ -29222,7 +31318,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -29230,7 +31326,7 @@ public java.lang.String toString() { if (this.family == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.family, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.family, sb); } first = false; if (!first) sb.append(", "); @@ -29238,7 +31334,7 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; if (!first) sb.append(", "); @@ -29254,7 +31350,7 @@ public java.lang.String toString() { if (this.value == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.value, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.value, sb); } first = false; if (!first) sb.append(", "); @@ -29269,25 +31365,25 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (family == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'family' was not present! Struct: " + toString()); } if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } if (compareOperator == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'compareOperator' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'compareOperator' was not present! Struct: " + toString()); } if (rowMutations == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'rowMutations' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'rowMutations' was not present! Struct: " + toString()); } // check for sub-struct validity if (rowMutations != null) { @@ -29297,107 +31393,115 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndMutate_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndMutate_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndMutate_argsStandardScheme getScheme() { return new checkAndMutate_argsStandardScheme(); } } - private static class checkAndMutate_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndMutate_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndMutate_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // FAMILY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // COMPARE_OPERATOR - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.compareOperator = org.apache.hadoop.hbase.thrift2.generated.TCompareOperator.findByValue(iprot.readI32()); - struct.setCompareOperatorIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // ROW_MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rowMutations = new TRowMutations(); - struct.rowMutations.read(iprot); - struct.setRowMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndMutate_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // FAMILY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // COMPARE_OPERATOR + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.compareOperator = org.apache.hadoop.hbase.thrift2.generated.TCompareOperator.findByValue(iprot.readI32()); + struct.setCompareOperatorIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // VALUE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // ROW_MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.rowMutations = new TRowMutations(); + struct.rowMutations.read(iprot); + struct.setRowMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -29442,17 +31546,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_arg } - private static class checkAndMutate_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndMutate_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndMutate_argsTupleScheme getScheme() { return new checkAndMutate_argsTupleScheme(); } } - private static class checkAndMutate_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndMutate_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndMutate_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); @@ -29470,48 +31575,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_args } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = iprot.readBinary(); - struct.setTableIsSet(true); - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - struct.family = iprot.readBinary(); - struct.setFamilyIsSet(true); - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - struct.compareOperator = org.apache.hadoop.hbase.thrift2.generated.TCompareOperator.findByValue(iprot.readI32()); - struct.setCompareOperatorIsSet(true); - struct.rowMutations = new TRowMutations(); - struct.rowMutations.read(iprot); - struct.setRowMutationsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.value = iprot.readBinary(); - struct.setValueIsSet(true); - } - } - } - - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndMutate_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = iprot.readBinary(); + struct.setTableIsSet(true); + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + struct.family = iprot.readBinary(); + struct.setFamilyIsSet(true); + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + struct.compareOperator = org.apache.hadoop.hbase.thrift2.generated.TCompareOperator.findByValue(iprot.readI32()); + struct.setCompareOperatorIsSet(true); + struct.rowMutations = new TRowMutations(); + struct.rowMutations.read(iprot); + struct.setRowMutationsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.value = iprot.readBinary(); + struct.setValueIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); + } + } + } + + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class checkAndMutate_result 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("checkAndMutate_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class checkAndMutate_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("checkAndMutate_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndMutate_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndMutate_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new checkAndMutate_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new checkAndMutate_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -29526,7 +31637,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -29551,7 +31662,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -29564,10 +31675,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -29576,15 +31689,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndMutate_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkAndMutate_result.class, metaDataMap); } public checkAndMutate_result() { @@ -29611,6 +31724,7 @@ public checkAndMutate_result(checkAndMutate_result other) { } } + @Override public checkAndMutate_result deepCopy() { return new checkAndMutate_result(this); } @@ -29633,24 +31747,24 @@ public checkAndMutate_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public checkAndMutate_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public checkAndMutate_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -29670,7 +31784,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -29691,7 +31806,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -29705,6 +31821,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -29779,7 +31896,7 @@ public int compareTo(checkAndMutate_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -29789,7 +31906,7 @@ public int compareTo(checkAndMutate_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -29797,16 +31914,18 @@ public int compareTo(checkAndMutate_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -29830,15 +31949,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -29847,59 +31966,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class checkAndMutate_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndMutate_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndMutate_resultStandardScheme getScheme() { return new checkAndMutate_resultStandardScheme(); } } - private static class checkAndMutate_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class checkAndMutate_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, checkAndMutate_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, checkAndMutate_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -29919,17 +32046,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, checkAndMutate_res } - private static class checkAndMutate_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class checkAndMutate_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public checkAndMutate_resultTupleScheme getScheme() { return new checkAndMutate_resultTupleScheme(); } } - private static class checkAndMutate_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class checkAndMutate_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndMutate_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -29947,41 +32075,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, checkAndMutate_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, checkAndMutate_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptor_args 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("getTableDescriptor_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptor_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptor_args"); - private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("table", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptor_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptor_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptor_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptor_argsTupleSchemeFactory(); /** * the tablename of the table to get tableDescriptor */ - public @org.apache.thrift.annotation.Nullable TTableName table; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName table; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename of the table to get tableDescriptor */ @@ -29998,7 +32132,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE @@ -30021,7 +32155,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -30034,23 +32168,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("table", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptor_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptor_args.class, metaDataMap); } public getTableDescriptor_args() { @@ -30072,6 +32208,7 @@ public getTableDescriptor_args(getTableDescriptor_args other) { } } + @Override public getTableDescriptor_args deepCopy() { return new getTableDescriptor_args(this); } @@ -30084,7 +32221,7 @@ public void clear() { /** * the tablename of the table to get tableDescriptor */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTable() { return this.table; } @@ -30092,7 +32229,7 @@ public TTableName getTable() { /** * the tablename of the table to get tableDescriptor */ - public getTableDescriptor_args setTable(@org.apache.thrift.annotation.Nullable TTableName table) { + public getTableDescriptor_args setTable(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName table) { this.table = table; return this; } @@ -30112,7 +32249,8 @@ public void setTableIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE: if (value == null) { @@ -30125,7 +32263,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE: @@ -30136,6 +32275,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -30197,7 +32337,7 @@ public int compareTo(getTableDescriptor_args other) { return lastComparison; } if (isSetTable()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } @@ -30205,16 +32345,19 @@ public int compareTo(getTableDescriptor_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -30234,10 +32377,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (table == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'table' was not present! Struct: " + toString()); } // check for sub-struct validity if (table != null) { @@ -30247,59 +32390,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptor_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptor_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptor_argsStandardScheme getScheme() { return new getTableDescriptor_argsStandardScheme(); } } - private static class getTableDescriptor_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptor_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.table = new TTableName(); - struct.table.read(iprot); - struct.setTableIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.table = new TTableName(); + struct.table.read(iprot); + struct.setTableIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -30314,48 +32465,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptor_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptor_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptor_argsTupleScheme getScheme() { return new getTableDescriptor_argsTupleScheme(); } } - private static class getTableDescriptor_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptor_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.table.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.table = new TTableName(); - struct.table.read(iprot); - struct.setTableIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.table = new TTableName(); + struct.table.read(iprot); + struct.setTableIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptor_result 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("getTableDescriptor_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptor_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptor_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptor_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptor_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptor_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptor_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TTableDescriptor success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -30370,7 +32528,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -30395,7 +32553,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -30408,25 +32566,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptor_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptor_result.class, metaDataMap); } public getTableDescriptor_result() { @@ -30453,6 +32613,7 @@ public getTableDescriptor_result(getTableDescriptor_result other) { } } + @Override public getTableDescriptor_result deepCopy() { return new getTableDescriptor_result(this); } @@ -30463,12 +32624,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableDescriptor getSuccess() { return this.success; } - public getTableDescriptor_result setSuccess(@org.apache.thrift.annotation.Nullable TTableDescriptor success) { + public getTableDescriptor_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor success) { this.success = success; return this; } @@ -30488,12 +32649,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableDescriptor_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableDescriptor_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -30513,7 +32674,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -30534,7 +32696,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -30548,6 +32711,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -30624,7 +32788,7 @@ public int compareTo(getTableDescriptor_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -30634,7 +32798,7 @@ public int compareTo(getTableDescriptor_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -30642,16 +32806,18 @@ public int compareTo(getTableDescriptor_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -30679,7 +32845,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -30689,68 +32855,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptor_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptor_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptor_resultStandardScheme getScheme() { return new getTableDescriptor_resultStandardScheme(); } } - private static class getTableDescriptor_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptor_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TTableDescriptor(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TTableDescriptor(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -30770,17 +32944,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptor_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptor_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptor_resultTupleScheme getScheme() { return new getTableDescriptor_resultTupleScheme(); } } - private static class getTableDescriptor_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptor_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -30798,42 +32973,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TTableDescriptor(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TTableDescriptor(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptors_args 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("getTableDescriptors_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptors_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptors_args"); - private static final org.apache.thrift.protocol.TField TABLES_FIELD_DESC = new org.apache.thrift.protocol.TField("tables", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tables", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptors_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptors_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptors_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptors_argsTupleSchemeFactory(); /** * the tablename list of the tables to get tableDescriptor */ - public @org.apache.thrift.annotation.Nullable java.util.List tables; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tables; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename list of the tables to get tableDescriptor */ @@ -30850,7 +33031,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLES @@ -30873,7 +33054,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -30886,24 +33067,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLES, new org.apache.thrift.meta_data.FieldMetaData("tables", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tables", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptors_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptors_args.class, metaDataMap); } public getTableDescriptors_args() { @@ -30929,6 +33112,7 @@ public getTableDescriptors_args(getTableDescriptors_args other) { } } + @Override public getTableDescriptors_args deepCopy() { return new getTableDescriptors_args(this); } @@ -30942,7 +33126,7 @@ public int getTablesSize() { return (this.tables == null) ? 0 : this.tables.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getTablesIterator() { return (this.tables == null) ? null : this.tables.iterator(); } @@ -30957,7 +33141,7 @@ public void addToTables(TTableName elem) { /** * the tablename list of the tables to get tableDescriptor */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getTables() { return this.tables; } @@ -30965,7 +33149,7 @@ public java.util.List getTables() { /** * the tablename list of the tables to get tableDescriptor */ - public getTableDescriptors_args setTables(@org.apache.thrift.annotation.Nullable java.util.List tables) { + public getTableDescriptors_args setTables(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List tables) { this.tables = tables; return this; } @@ -30985,7 +33169,8 @@ public void setTablesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLES: if (value == null) { @@ -30998,7 +33183,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLES: @@ -31009,6 +33195,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -31070,7 +33257,7 @@ public int compareTo(getTableDescriptors_args other) { return lastComparison; } if (isSetTables()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tables, other.tables); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tables, other.tables); if (lastComparison != 0) { return lastComparison; } @@ -31078,16 +33265,19 @@ public int compareTo(getTableDescriptors_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -31107,86 +33297,94 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tables == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tables' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tables' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptors_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptors_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptors_argsStandardScheme getScheme() { return new getTableDescriptors_argsStandardScheme(); } } - private static class getTableDescriptors_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptors_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list270 = iprot.readListBegin(); - struct.tables = new java.util.ArrayList(_list270.size); - @org.apache.thrift.annotation.Nullable TTableName _elem271; - for (int _i272 = 0; _i272 < _list270.size; ++_i272) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TABLES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem271 = new TTableName(); - _elem271.read(iprot); - struct.tables.add(_elem271); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list270 = iprot.readListBegin(); + struct.tables = new java.util.ArrayList(_list270.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem271; + for (int _i272 = 0; _i272 < _list270.size; ++_i272) + { + _elem271 = new TTableName(); + _elem271.read(iprot); + struct.tables.add(_elem271); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setTablesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setTablesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptors_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.tables != null) { oprot.writeFieldBegin(TABLES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); for (TTableName _iter273 : struct.tables) { _iter273.write(oprot); @@ -31201,17 +33399,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptors_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptors_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptors_argsTupleScheme getScheme() { return new getTableDescriptors_argsTupleScheme(); } } - private static class getTableDescriptors_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptors_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); for (TTableName _iter274 : struct.tables) @@ -31222,42 +33421,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors } @Override - 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 = 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; { - _elem276 = new TTableName(); - _elem276.read(iprot); - struct.tables.add(_elem276); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list275 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.tables = new java.util.ArrayList(_list275.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem276; + for (int _i277 = 0; _i277 < _list275.size; ++_i277) + { + _elem276 = new TTableName(); + _elem276.read(iprot); + struct.tables.add(_elem276); + } } + struct.setTablesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setTablesIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptors_result 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("getTableDescriptors_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptors_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptors_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptors_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptors_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptors_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptors_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -31272,7 +33477,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -31297,7 +33502,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -31310,26 +33515,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptors_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptors_result.class, metaDataMap); } public getTableDescriptors_result() { @@ -31360,6 +33567,7 @@ public getTableDescriptors_result(getTableDescriptors_result other) { } } + @Override public getTableDescriptors_result deepCopy() { return new getTableDescriptors_result(this); } @@ -31374,7 +33582,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -31386,12 +33594,12 @@ public void addToSuccess(TTableDescriptor elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableDescriptors_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableDescriptors_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -31411,12 +33619,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableDescriptors_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableDescriptors_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -31436,7 +33644,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -31457,7 +33666,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -31471,6 +33681,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -31547,7 +33758,7 @@ public int compareTo(getTableDescriptors_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -31557,7 +33768,7 @@ public int compareTo(getTableDescriptors_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -31565,16 +33776,18 @@ public int compareTo(getTableDescriptors_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -31602,92 +33815,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptors_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptors_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptors_resultStandardScheme getScheme() { return new getTableDescriptors_resultStandardScheme(); } } - private static class getTableDescriptors_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptors_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list278.size); - @org.apache.thrift.annotation.Nullable TTableDescriptor _elem279; - for (int _i280 = 0; _i280 < _list278.size; ++_i280) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem279 = new TTableDescriptor(); - _elem279.read(iprot); - struct.success.add(_elem279); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list278.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem279; + for (int _i280 = 0; _i280 < _list278.size; ++_i280) + { + _elem279 = new TTableDescriptor(); + _elem279.read(iprot); + struct.success.add(_elem279); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptors_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TTableDescriptor _iter281 : struct.success) { _iter281.write(oprot); @@ -31707,17 +33928,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptors_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptors_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptors_resultTupleScheme getScheme() { return new getTableDescriptors_resultTupleScheme(); } } - private static class getTableDescriptors_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptors_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -31741,51 +33963,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem284 = new TTableDescriptor(); - _elem284.read(iprot); - struct.success.add(_elem284); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list283 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list283.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem284; + for (int _i285 = 0; _i285 < _list283.size; ++_i285) + { + _elem284 = new TTableDescriptor(); + _elem284.read(iprot); + struct.success.add(_elem284); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class tableExists_args 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("tableExists_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class tableExists_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("tableExists_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new tableExists_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new tableExists_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new tableExists_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new tableExists_argsTupleSchemeFactory(); /** * the tablename of the tables to check */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename of the tables to check */ @@ -31802,7 +34030,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -31825,7 +34053,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -31838,23 +34066,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(tableExists_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(tableExists_args.class, metaDataMap); } public tableExists_args() { @@ -31876,6 +34106,7 @@ public tableExists_args(tableExists_args other) { } } + @Override public tableExists_args deepCopy() { return new tableExists_args(this); } @@ -31888,7 +34119,7 @@ public void clear() { /** * the tablename of the tables to check */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -31896,7 +34127,7 @@ public TTableName getTableName() { /** * the tablename of the tables to check */ - public tableExists_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public tableExists_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -31916,7 +34147,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -31929,7 +34161,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -31940,6 +34173,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -32001,7 +34235,7 @@ public int compareTo(tableExists_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -32009,16 +34243,19 @@ public int compareTo(tableExists_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -32038,7 +34275,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tableName != null) { @@ -32048,59 +34285,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class tableExists_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class tableExists_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public tableExists_argsStandardScheme getScheme() { return new tableExists_argsStandardScheme(); } } - private static class tableExists_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class tableExists_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, tableExists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, tableExists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, tableExists_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, tableExists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -32115,17 +34360,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, tableExists_args s } - private static class tableExists_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class tableExists_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public tableExists_argsTupleScheme getScheme() { return new tableExists_argsTupleScheme(); } } - private static class tableExists_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class tableExists_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, tableExists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, tableExists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTableName()) { optionals.set(0); @@ -32137,36 +34383,42 @@ public void write(org.apache.thrift.protocol.TProtocol prot, tableExists_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, tableExists_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, tableExists_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class tableExists_result 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("tableExists_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class tableExists_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("tableExists_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new tableExists_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new tableExists_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new tableExists_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new tableExists_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -32181,7 +34433,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -32206,7 +34458,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -32219,10 +34471,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -32231,15 +34485,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(tableExists_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(tableExists_result.class, metaDataMap); } public tableExists_result() { @@ -32266,6 +34520,7 @@ public tableExists_result(tableExists_result other) { } } + @Override public tableExists_result deepCopy() { return new tableExists_result(this); } @@ -32288,24 +34543,24 @@ public tableExists_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public tableExists_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public tableExists_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -32325,7 +34580,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -32346,7 +34602,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -32360,6 +34617,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -32434,7 +34692,7 @@ public int compareTo(tableExists_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -32444,7 +34702,7 @@ public int compareTo(tableExists_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -32452,16 +34710,18 @@ public int compareTo(tableExists_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -32485,15 +34745,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -32502,59 +34762,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class tableExists_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class tableExists_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public tableExists_resultStandardScheme getScheme() { return new tableExists_resultStandardScheme(); } } - private static class tableExists_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class tableExists_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, tableExists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, tableExists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, tableExists_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, tableExists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -32574,17 +34842,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, tableExists_result } - private static class tableExists_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class tableExists_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public tableExists_resultTupleScheme getScheme() { return new tableExists_resultTupleScheme(); } } - private static class tableExists_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class tableExists_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, tableExists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, tableExists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -32602,46 +34871,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, tableExists_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, tableExists_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, tableExists_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptorsByPattern_args 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("getTableDescriptorsByPattern_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptorsByPattern_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptorsByPattern_args"); - private static final org.apache.thrift.protocol.TField REGEX_FIELD_DESC = new org.apache.thrift.protocol.TField("regex", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField INCLUDE_SYS_TABLES_FIELD_DESC = new org.apache.thrift.protocol.TField("includeSysTables", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGEX_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regex", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INCLUDE_SYS_TABLES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("includeSysTables", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByPattern_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByPattern_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByPattern_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByPattern_argsTupleSchemeFactory(); /** * The regular expression to match against */ - public @org.apache.thrift.annotation.Nullable java.lang.String regex; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regex; // required /** * set to false if match only against userspace tables */ public boolean includeSysTables; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The regular expression to match against */ @@ -32662,7 +34937,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // REGEX @@ -32687,7 +34962,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -32700,10 +34975,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -32712,15 +34989,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __INCLUDESYSTABLES_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.REGEX, new org.apache.thrift.meta_data.FieldMetaData("regex", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.INCLUDE_SYS_TABLES, new org.apache.thrift.meta_data.FieldMetaData("includeSysTables", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.REGEX, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regex", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.INCLUDE_SYS_TABLES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("includeSysTables", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByPattern_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByPattern_args.class, metaDataMap); } public getTableDescriptorsByPattern_args() { @@ -32747,6 +35024,7 @@ public getTableDescriptorsByPattern_args(getTableDescriptorsByPattern_args other this.includeSysTables = other.includeSysTables; } + @Override public getTableDescriptorsByPattern_args deepCopy() { return new getTableDescriptorsByPattern_args(this); } @@ -32761,7 +35039,7 @@ public void clear() { /** * The regular expression to match against */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getRegex() { return this.regex; } @@ -32769,7 +35047,7 @@ public java.lang.String getRegex() { /** * The regular expression to match against */ - public getTableDescriptorsByPattern_args setRegex(@org.apache.thrift.annotation.Nullable java.lang.String regex) { + public getTableDescriptorsByPattern_args setRegex(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regex) { this.regex = regex; return this; } @@ -32806,19 +35084,20 @@ public getTableDescriptorsByPattern_args setIncludeSysTables(boolean includeSysT } public void unsetIncludeSysTables() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); } /** Returns true if field includeSysTables is set (has been assigned a value) and false otherwise */ public boolean isSetIncludeSysTables() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); } public void setIncludeSysTablesIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case REGEX: if (value == null) { @@ -32839,7 +35118,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case REGEX: @@ -32853,6 +35133,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -32927,7 +35208,7 @@ public int compareTo(getTableDescriptorsByPattern_args other) { return lastComparison; } if (isSetRegex()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regex, other.regex); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regex, other.regex); if (lastComparison != 0) { return lastComparison; } @@ -32937,7 +35218,7 @@ public int compareTo(getTableDescriptorsByPattern_args other) { return lastComparison; } if (isSetIncludeSysTables()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.includeSysTables, other.includeSysTables); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.includeSysTables, other.includeSysTables); if (lastComparison != 0) { return lastComparison; } @@ -32945,16 +35226,19 @@ public int compareTo(getTableDescriptorsByPattern_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -32978,7 +35262,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'includeSysTables' because it's a primitive and you chose the non-beans generator. // check for sub-struct validity @@ -32986,8 +35270,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -32996,61 +35280,69 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptorsByPattern_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByPattern_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByPattern_argsStandardScheme getScheme() { return new getTableDescriptorsByPattern_argsStandardScheme(); } } - private static class getTableDescriptorsByPattern_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptorsByPattern_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // REGEX - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.regex = iprot.readString(); - struct.setRegexIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // INCLUDE_SYS_TABLES - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.includeSysTables = iprot.readBool(); - struct.setIncludeSysTablesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // REGEX + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.regex = iprot.readString(); + struct.setRegexIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // INCLUDE_SYS_TABLES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.includeSysTables = iprot.readBool(); + struct.setIncludeSysTablesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetIncludeSysTables()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'includeSysTables' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetIncludeSysTables()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'includeSysTables' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByPattern_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -33068,17 +35360,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptorsByPattern_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByPattern_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByPattern_argsTupleScheme getScheme() { return new getTableDescriptorsByPattern_argsTupleScheme(); } } - private static class getTableDescriptorsByPattern_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptorsByPattern_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBool(struct.includeSysTables); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRegex()) { @@ -33091,37 +35384,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.includeSysTables = iprot.readBool(); - struct.setIncludeSysTablesIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.regex = iprot.readString(); - struct.setRegexIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.includeSysTables = iprot.readBool(); + struct.setIncludeSysTablesIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.regex = iprot.readString(); + struct.setRegexIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptorsByPattern_result 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("getTableDescriptorsByPattern_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptorsByPattern_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptorsByPattern_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByPattern_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByPattern_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByPattern_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByPattern_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -33136,7 +35435,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -33161,7 +35460,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -33174,26 +35473,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByPattern_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByPattern_result.class, metaDataMap); } public getTableDescriptorsByPattern_result() { @@ -33224,6 +35525,7 @@ public getTableDescriptorsByPattern_result(getTableDescriptorsByPattern_result o } } + @Override public getTableDescriptorsByPattern_result deepCopy() { return new getTableDescriptorsByPattern_result(this); } @@ -33238,7 +35540,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -33250,12 +35552,12 @@ public void addToSuccess(TTableDescriptor elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableDescriptorsByPattern_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableDescriptorsByPattern_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -33275,12 +35577,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableDescriptorsByPattern_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableDescriptorsByPattern_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -33300,7 +35602,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -33321,7 +35624,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -33335,6 +35639,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -33411,7 +35716,7 @@ public int compareTo(getTableDescriptorsByPattern_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -33421,7 +35726,7 @@ public int compareTo(getTableDescriptorsByPattern_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -33429,16 +35734,18 @@ public int compareTo(getTableDescriptorsByPattern_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -33466,92 +35773,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptorsByPattern_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByPattern_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByPattern_resultStandardScheme getScheme() { return new getTableDescriptorsByPattern_resultStandardScheme(); } } - private static class getTableDescriptorsByPattern_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptorsByPattern_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list286 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list286.size); - @org.apache.thrift.annotation.Nullable TTableDescriptor _elem287; - for (int _i288 = 0; _i288 < _list286.size; ++_i288) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem287 = new TTableDescriptor(); - _elem287.read(iprot); - struct.success.add(_elem287); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list286 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list286.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem287; + for (int _i288 = 0; _i288 < _list286.size; ++_i288) + { + _elem287 = new TTableDescriptor(); + _elem287.read(iprot); + struct.success.add(_elem287); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByPattern_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TTableDescriptor _iter289 : struct.success) { _iter289.write(oprot); @@ -33571,17 +35886,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptorsByPattern_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByPattern_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByPattern_resultTupleScheme getScheme() { return new getTableDescriptorsByPattern_resultTupleScheme(); } } - private static class getTableDescriptorsByPattern_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptorsByPattern_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -33605,51 +35921,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem292 = new TTableDescriptor(); - _elem292.read(iprot); - struct.success.add(_elem292); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list291 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list291.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem292; + for (int _i293 = 0; _i293 < _list291.size; ++_i293) + { + _elem292 = new TTableDescriptor(); + _elem292.read(iprot); + struct.success.add(_elem292); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptorsByNamespace_args 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("getTableDescriptorsByNamespace_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptorsByNamespace_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptorsByNamespace_args"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByNamespace_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByNamespace_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByNamespace_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByNamespace_argsTupleSchemeFactory(); /** * The namesapce's name */ - public @org.apache.thrift.annotation.Nullable java.lang.String name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The namesapce's name */ @@ -33666,7 +35988,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -33689,7 +36011,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -33702,23 +36024,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByNamespace_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByNamespace_args.class, metaDataMap); } public getTableDescriptorsByNamespace_args() { @@ -33740,6 +36064,7 @@ public getTableDescriptorsByNamespace_args(getTableDescriptorsByNamespace_args o } } + @Override public getTableDescriptorsByNamespace_args deepCopy() { return new getTableDescriptorsByNamespace_args(this); } @@ -33752,7 +36077,7 @@ public void clear() { /** * The namesapce's name */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getName() { return this.name; } @@ -33760,7 +36085,7 @@ public java.lang.String getName() { /** * The namesapce's name */ - public getTableDescriptorsByNamespace_args setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { + public getTableDescriptorsByNamespace_args setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name) { this.name = name; return this; } @@ -33780,7 +36105,8 @@ public void setNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -33793,7 +36119,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -33804,6 +36131,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -33865,7 +36193,7 @@ public int compareTo(getTableDescriptorsByNamespace_args other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -33873,16 +36201,19 @@ public int compareTo(getTableDescriptorsByNamespace_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -33902,68 +36233,76 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptorsByNamespace_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByNamespace_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByNamespace_argsStandardScheme getScheme() { return new getTableDescriptorsByNamespace_argsStandardScheme(); } } - private static class getTableDescriptorsByNamespace_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptorsByNamespace_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByNamespace_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -33978,47 +36317,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptorsByNamespace_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByNamespace_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByNamespace_argsTupleScheme getScheme() { return new getTableDescriptorsByNamespace_argsTupleScheme(); } } - private static class getTableDescriptorsByNamespace_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptorsByNamespace_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableDescriptorsByNamespace_result 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("getTableDescriptorsByNamespace_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableDescriptorsByNamespace_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableDescriptorsByNamespace_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByNamespace_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByNamespace_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableDescriptorsByNamespace_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableDescriptorsByNamespace_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -34033,7 +36379,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -34058,7 +36404,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -34071,26 +36417,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByNamespace_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableDescriptorsByNamespace_result.class, metaDataMap); } public getTableDescriptorsByNamespace_result() { @@ -34121,6 +36469,7 @@ public getTableDescriptorsByNamespace_result(getTableDescriptorsByNamespace_resu } } + @Override public getTableDescriptorsByNamespace_result deepCopy() { return new getTableDescriptorsByNamespace_result(this); } @@ -34135,7 +36484,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -34147,12 +36496,12 @@ public void addToSuccess(TTableDescriptor elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableDescriptorsByNamespace_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableDescriptorsByNamespace_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -34172,12 +36521,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableDescriptorsByNamespace_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableDescriptorsByNamespace_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -34197,7 +36546,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -34218,7 +36568,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -34232,6 +36583,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -34308,7 +36660,7 @@ public int compareTo(getTableDescriptorsByNamespace_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -34318,7 +36670,7 @@ public int compareTo(getTableDescriptorsByNamespace_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -34326,16 +36678,18 @@ public int compareTo(getTableDescriptorsByNamespace_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -34363,92 +36717,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableDescriptorsByNamespace_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByNamespace_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByNamespace_resultStandardScheme getScheme() { return new getTableDescriptorsByNamespace_resultStandardScheme(); } } - private static class getTableDescriptorsByNamespace_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableDescriptorsByNamespace_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list294 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list294.size); - @org.apache.thrift.annotation.Nullable TTableDescriptor _elem295; - for (int _i296 = 0; _i296 < _list294.size; ++_i296) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableDescriptorsByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem295 = new TTableDescriptor(); - _elem295.read(iprot); - struct.success.add(_elem295); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list294 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list294.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem295; + for (int _i296 = 0; _i296 < _list294.size; ++_i296) + { + _elem295 = new TTableDescriptor(); + _elem295.read(iprot); + struct.success.add(_elem295); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByNamespace_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableDescriptorsByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TTableDescriptor _iter297 : struct.success) { _iter297.write(oprot); @@ -34468,17 +36830,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableDescriptor } - private static class getTableDescriptorsByNamespace_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableDescriptorsByNamespace_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableDescriptorsByNamespace_resultTupleScheme getScheme() { return new getTableDescriptorsByNamespace_resultTupleScheme(); } } - private static class getTableDescriptorsByNamespace_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableDescriptorsByNamespace_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -34502,56 +36865,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem300 = new TTableDescriptor(); - _elem300.read(iprot); - struct.success.add(_elem300); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list299 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list299.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor _elem300; + for (int _i301 = 0; _i301 < _list299.size; ++_i301) + { + _elem300 = new TTableDescriptor(); + _elem300.read(iprot); + struct.success.add(_elem300); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesByPattern_args 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("getTableNamesByPattern_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesByPattern_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesByPattern_args"); - private static final org.apache.thrift.protocol.TField REGEX_FIELD_DESC = new org.apache.thrift.protocol.TField("regex", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField INCLUDE_SYS_TABLES_FIELD_DESC = new org.apache.thrift.protocol.TField("includeSysTables", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGEX_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regex", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INCLUDE_SYS_TABLES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("includeSysTables", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByPattern_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByPattern_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByPattern_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByPattern_argsTupleSchemeFactory(); /** * The regular expression to match against */ - public @org.apache.thrift.annotation.Nullable java.lang.String regex; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regex; // required /** * set to false if match only against userspace tables */ public boolean includeSysTables; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The regular expression to match against */ @@ -34572,7 +36941,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // REGEX @@ -34597,7 +36966,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -34610,10 +36979,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -34622,15 +36993,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __INCLUDESYSTABLES_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.REGEX, new org.apache.thrift.meta_data.FieldMetaData("regex", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.INCLUDE_SYS_TABLES, new org.apache.thrift.meta_data.FieldMetaData("includeSysTables", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.REGEX, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regex", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.INCLUDE_SYS_TABLES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("includeSysTables", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByPattern_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByPattern_args.class, metaDataMap); } public getTableNamesByPattern_args() { @@ -34657,6 +37028,7 @@ public getTableNamesByPattern_args(getTableNamesByPattern_args other) { this.includeSysTables = other.includeSysTables; } + @Override public getTableNamesByPattern_args deepCopy() { return new getTableNamesByPattern_args(this); } @@ -34671,7 +37043,7 @@ public void clear() { /** * The regular expression to match against */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getRegex() { return this.regex; } @@ -34679,7 +37051,7 @@ public java.lang.String getRegex() { /** * The regular expression to match against */ - public getTableNamesByPattern_args setRegex(@org.apache.thrift.annotation.Nullable java.lang.String regex) { + public getTableNamesByPattern_args setRegex(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regex) { this.regex = regex; return this; } @@ -34716,19 +37088,20 @@ public getTableNamesByPattern_args setIncludeSysTables(boolean includeSysTables) } public void unsetIncludeSysTables() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); } /** Returns true if field includeSysTables is set (has been assigned a value) and false otherwise */ public boolean isSetIncludeSysTables() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID); } public void setIncludeSysTablesIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __INCLUDESYSTABLES_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case REGEX: if (value == null) { @@ -34749,7 +37122,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case REGEX: @@ -34763,6 +37137,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -34837,7 +37212,7 @@ public int compareTo(getTableNamesByPattern_args other) { return lastComparison; } if (isSetRegex()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regex, other.regex); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regex, other.regex); if (lastComparison != 0) { return lastComparison; } @@ -34847,7 +37222,7 @@ public int compareTo(getTableNamesByPattern_args other) { return lastComparison; } if (isSetIncludeSysTables()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.includeSysTables, other.includeSysTables); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.includeSysTables, other.includeSysTables); if (lastComparison != 0) { return lastComparison; } @@ -34855,16 +37230,19 @@ public int compareTo(getTableNamesByPattern_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -34888,7 +37266,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'includeSysTables' because it's a primitive and you chose the non-beans generator. // check for sub-struct validity @@ -34896,8 +37274,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -34906,61 +37284,69 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesByPattern_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByPattern_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByPattern_argsStandardScheme getScheme() { return new getTableNamesByPattern_argsStandardScheme(); } } - private static class getTableNamesByPattern_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesByPattern_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // REGEX - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.regex = iprot.readString(); - struct.setRegexIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // INCLUDE_SYS_TABLES - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.includeSysTables = iprot.readBool(); - struct.setIncludeSysTablesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // REGEX + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.regex = iprot.readString(); + struct.setRegexIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // INCLUDE_SYS_TABLES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.includeSysTables = iprot.readBool(); + struct.setIncludeSysTablesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetIncludeSysTables()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'includeSysTables' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetIncludeSysTables()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'includeSysTables' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPattern_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -34978,17 +37364,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPat } - private static class getTableNamesByPattern_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByPattern_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByPattern_argsTupleScheme getScheme() { return new getTableNamesByPattern_argsTupleScheme(); } } - private static class getTableNamesByPattern_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesByPattern_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBool(struct.includeSysTables); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRegex()) { @@ -35001,37 +37388,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPatt } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.includeSysTables = iprot.readBool(); - struct.setIncludeSysTablesIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.regex = iprot.readString(); - struct.setRegexIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.includeSysTables = iprot.readBool(); + struct.setIncludeSysTablesIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.regex = iprot.readString(); + struct.setRegexIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesByPattern_result 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("getTableNamesByPattern_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesByPattern_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesByPattern_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByPattern_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByPattern_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByPattern_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByPattern_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -35046,7 +37439,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -35071,7 +37464,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -35084,26 +37477,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByPattern_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByPattern_result.class, metaDataMap); } public getTableNamesByPattern_result() { @@ -35134,6 +37529,7 @@ public getTableNamesByPattern_result(getTableNamesByPattern_result other) { } } + @Override public getTableNamesByPattern_result deepCopy() { return new getTableNamesByPattern_result(this); } @@ -35148,7 +37544,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -35160,12 +37556,12 @@ public void addToSuccess(TTableName elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableNamesByPattern_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableNamesByPattern_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -35185,12 +37581,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableNamesByPattern_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableNamesByPattern_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -35210,7 +37606,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -35231,7 +37628,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -35245,6 +37643,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -35321,7 +37720,7 @@ public int compareTo(getTableNamesByPattern_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -35331,7 +37730,7 @@ public int compareTo(getTableNamesByPattern_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -35339,16 +37738,18 @@ public int compareTo(getTableNamesByPattern_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -35376,92 +37777,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesByPattern_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByPattern_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByPattern_resultStandardScheme getScheme() { return new getTableNamesByPattern_resultStandardScheme(); } } - private static class getTableNamesByPattern_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesByPattern_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list302 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list302.size); - @org.apache.thrift.annotation.Nullable TTableName _elem303; - for (int _i304 = 0; _i304 < _list302.size; ++_i304) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem303 = new TTableName(); - _elem303.read(iprot); - struct.success.add(_elem303); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list302 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list302.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem303; + for (int _i304 = 0; _i304 < _list302.size; ++_i304) + { + _elem303 = new TTableName(); + _elem303.read(iprot); + struct.success.add(_elem303); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPattern_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TTableName _iter305 : struct.success) { _iter305.write(oprot); @@ -35481,17 +37890,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByPat } - private static class getTableNamesByPattern_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByPattern_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByPattern_resultTupleScheme getScheme() { return new getTableNamesByPattern_resultTupleScheme(); } } - private static class getTableNamesByPattern_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesByPattern_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -35515,51 +37925,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPatt } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByPattern_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem308 = new TTableName(); - _elem308.read(iprot); - struct.success.add(_elem308); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list307 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list307.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem308; + for (int _i309 = 0; _i309 < _list307.size; ++_i309) + { + _elem308 = new TTableName(); + _elem308.read(iprot); + struct.success.add(_elem308); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesByNamespace_args 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("getTableNamesByNamespace_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesByNamespace_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesByNamespace_args"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByNamespace_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByNamespace_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByNamespace_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByNamespace_argsTupleSchemeFactory(); /** * The namesapce's name */ - public @org.apache.thrift.annotation.Nullable java.lang.String name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * The namesapce's name */ @@ -35576,7 +37992,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -35599,7 +38015,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -35612,23 +38028,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByNamespace_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByNamespace_args.class, metaDataMap); } public getTableNamesByNamespace_args() { @@ -35650,6 +38068,7 @@ public getTableNamesByNamespace_args(getTableNamesByNamespace_args other) { } } + @Override public getTableNamesByNamespace_args deepCopy() { return new getTableNamesByNamespace_args(this); } @@ -35662,7 +38081,7 @@ public void clear() { /** * The namesapce's name */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getName() { return this.name; } @@ -35670,7 +38089,7 @@ public java.lang.String getName() { /** * The namesapce's name */ - public getTableNamesByNamespace_args setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { + public getTableNamesByNamespace_args setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name) { this.name = name; return this; } @@ -35690,7 +38109,8 @@ public void setNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -35703,7 +38123,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -35714,6 +38135,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -35775,7 +38197,7 @@ public int compareTo(getTableNamesByNamespace_args other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -35783,16 +38205,19 @@ public int compareTo(getTableNamesByNamespace_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -35812,68 +38237,76 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesByNamespace_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByNamespace_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByNamespace_argsStandardScheme getScheme() { return new getTableNamesByNamespace_argsStandardScheme(); } } - private static class getTableNamesByNamespace_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesByNamespace_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNamespace_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -35888,47 +38321,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNam } - private static class getTableNamesByNamespace_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByNamespace_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByNamespace_argsTupleScheme getScheme() { return new getTableNamesByNamespace_argsTupleScheme(); } } - private static class getTableNamesByNamespace_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesByNamespace_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getTableNamesByNamespace_result 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("getTableNamesByNamespace_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getTableNamesByNamespace_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getTableNamesByNamespace_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByNamespace_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByNamespace_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getTableNamesByNamespace_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getTableNamesByNamespace_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -35943,7 +38383,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -35968,7 +38408,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -35981,26 +38421,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByNamespace_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNamesByNamespace_result.class, metaDataMap); } public getTableNamesByNamespace_result() { @@ -36031,6 +38473,7 @@ public getTableNamesByNamespace_result(getTableNamesByNamespace_result other) { } } + @Override public getTableNamesByNamespace_result deepCopy() { return new getTableNamesByNamespace_result(this); } @@ -36045,7 +38488,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -36057,12 +38500,12 @@ public void addToSuccess(TTableName elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getTableNamesByNamespace_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getTableNamesByNamespace_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -36082,12 +38525,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getTableNamesByNamespace_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getTableNamesByNamespace_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -36107,7 +38550,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -36128,7 +38572,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -36142,6 +38587,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -36218,7 +38664,7 @@ public int compareTo(getTableNamesByNamespace_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -36228,7 +38674,7 @@ public int compareTo(getTableNamesByNamespace_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -36236,16 +38682,18 @@ public int compareTo(getTableNamesByNamespace_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -36273,92 +38721,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getTableNamesByNamespace_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByNamespace_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByNamespace_resultStandardScheme getScheme() { return new getTableNamesByNamespace_resultStandardScheme(); } } - private static class getTableNamesByNamespace_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getTableNamesByNamespace_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNamesByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list310 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list310.size); - @org.apache.thrift.annotation.Nullable TTableName _elem311; - for (int _i312 = 0; _i312 < _list310.size; ++_i312) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getTableNamesByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem311 = new TTableName(); - _elem311.read(iprot); - struct.success.add(_elem311); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list310 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list310.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem311; + for (int _i312 = 0; _i312 < _list310.size; ++_i312) + { + _elem311 = new TTableName(); + _elem311.read(iprot); + struct.success.add(_elem311); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNamespace_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TTableName _iter313 : struct.success) { _iter313.write(oprot); @@ -36378,17 +38834,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNamesByNam } - private static class getTableNamesByNamespace_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getTableNamesByNamespace_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getTableNamesByNamespace_resultTupleScheme getScheme() { return new getTableNamesByNamespace_resultTupleScheme(); } } - private static class getTableNamesByNamespace_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getTableNamesByNamespace_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -36412,56 +38869,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableNamesByName } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getTableNamesByNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem316 = new TTableName(); - _elem316.read(iprot); - struct.success.add(_elem316); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list315 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list315.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName _elem316; + for (int _i317 = 0; _i317 < _list315.size; ++_i317) + { + _elem316 = new TTableName(); + _elem316.read(iprot); + struct.success.add(_elem316); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createTable_args 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("createTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createTable_args"); - private static final org.apache.thrift.protocol.TField DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("desc", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField SPLIT_KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField("splitKeys", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DESC_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("desc", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SPLIT_KEYS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("splitKeys", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_argsTupleSchemeFactory(); /** * table descriptor for table */ - public @org.apache.thrift.annotation.Nullable TTableDescriptor desc; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor desc; // required /** * rray of split keys for the initial regions of the table */ - public @org.apache.thrift.annotation.Nullable java.util.List splitKeys; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List splitKeys; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * table descriptor for table */ @@ -36482,7 +38945,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // DESC @@ -36507,7 +38970,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -36520,26 +38983,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DESC, new org.apache.thrift.meta_data.FieldMetaData("desc", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); - tmpMap.put(_Fields.SPLIT_KEYS, new org.apache.thrift.meta_data.FieldMetaData("splitKeys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DESC, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("desc", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); + tmpMap.put(_Fields.SPLIT_KEYS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("splitKeys", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap); } public createTable_args() { @@ -36567,6 +39032,7 @@ public createTable_args(createTable_args other) { } } + @Override public createTable_args deepCopy() { return new createTable_args(this); } @@ -36580,7 +39046,7 @@ public void clear() { /** * table descriptor for table */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableDescriptor getDesc() { return this.desc; } @@ -36588,7 +39054,7 @@ public TTableDescriptor getDesc() { /** * table descriptor for table */ - public createTable_args setDesc(@org.apache.thrift.annotation.Nullable TTableDescriptor desc) { + public createTable_args setDesc(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor desc) { this.desc = desc; return this; } @@ -36612,7 +39078,7 @@ public int getSplitKeysSize() { return (this.splitKeys == null) ? 0 : this.splitKeys.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSplitKeysIterator() { return (this.splitKeys == null) ? null : this.splitKeys.iterator(); } @@ -36627,7 +39093,7 @@ public void addToSplitKeys(java.nio.ByteBuffer elem) { /** * rray of split keys for the initial regions of the table */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSplitKeys() { return this.splitKeys; } @@ -36635,7 +39101,7 @@ public java.util.List getSplitKeys() { /** * rray of split keys for the initial regions of the table */ - public createTable_args setSplitKeys(@org.apache.thrift.annotation.Nullable java.util.List splitKeys) { + public createTable_args setSplitKeys(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List splitKeys) { this.splitKeys = splitKeys; return this; } @@ -36655,7 +39121,8 @@ public void setSplitKeysIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case DESC: if (value == null) { @@ -36676,7 +39143,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case DESC: @@ -36690,6 +39158,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -36766,7 +39235,7 @@ public int compareTo(createTable_args other) { return lastComparison; } if (isSetDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.desc, other.desc); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.desc, other.desc); if (lastComparison != 0) { return lastComparison; } @@ -36776,7 +39245,7 @@ public int compareTo(createTable_args other) { return lastComparison; } if (isSetSplitKeys()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splitKeys, other.splitKeys); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.splitKeys, other.splitKeys); if (lastComparison != 0) { return lastComparison; } @@ -36784,16 +39253,19 @@ public int compareTo(createTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -36814,17 +39286,17 @@ public java.lang.String toString() { if (this.splitKeys == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.splitKeys, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.splitKeys, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (desc == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'desc' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'desc' was not present! Struct: " + toString()); } // check for sub-struct validity if (desc != null) { @@ -36834,77 +39306,85 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_argsStandardScheme getScheme() { return new createTable_argsStandardScheme(); } } - private static class createTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // DESC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.desc = new TTableDescriptor(); - struct.desc.read(iprot); - struct.setDescIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // SPLIT_KEYS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list318 = iprot.readListBegin(); - struct.splitKeys = new java.util.ArrayList(_list318.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem319; - for (int _i320 = 0; _i320 < _list318.size; ++_i320) + } + switch (schemeField.id) { + case 1: // DESC + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.desc = new TTableDescriptor(); + struct.desc.read(iprot); + struct.setDescIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // SPLIT_KEYS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem319 = iprot.readBinary(); - struct.splitKeys.add(_elem319); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list318 = iprot.readListBegin(); + struct.splitKeys = new java.util.ArrayList(_list318.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem319; + for (int _i320 = 0; _i320 < _list318.size; ++_i320) + { + _elem319 = iprot.readBinary(); + struct.splitKeys.add(_elem319); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSplitKeysIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSplitKeysIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -36916,7 +39396,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args s if (struct.splitKeys != null) { oprot.writeFieldBegin(SPLIT_KEYS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.splitKeys.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.splitKeys.size())); for (java.nio.ByteBuffer _iter321 : struct.splitKeys) { oprot.writeBinary(_iter321); @@ -36931,17 +39411,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_args s } - private static class createTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_argsTupleScheme getScheme() { return new createTable_argsTupleScheme(); } } - private static class createTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.desc.write(oprot); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSplitKeys()) { @@ -36960,45 +39441,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, createTable_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.desc = new TTableDescriptor(); - struct.desc.read(iprot); - struct.setDescIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.desc = new TTableDescriptor(); + struct.desc.read(iprot); + struct.setDescIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _elem324 = iprot.readBinary(); - struct.splitKeys.add(_elem324); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list323 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.splitKeys = new java.util.ArrayList(_list323.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem324; + for (int _i325 = 0; _i325 < _list323.size; ++_i325) + { + _elem324 = iprot.readBinary(); + struct.splitKeys.add(_elem324); + } } + struct.setSplitKeysIsSet(true); } - struct.setSplitKeysIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createTable_result 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("createTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -37012,7 +39499,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -37035,7 +39522,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -37048,23 +39535,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap); } public createTable_result() { @@ -37086,6 +39575,7 @@ public createTable_result(createTable_result other) { } } + @Override public createTable_result deepCopy() { return new createTable_result(this); } @@ -37095,12 +39585,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public createTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public createTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -37120,7 +39610,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -37133,7 +39624,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -37144,6 +39636,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -37205,7 +39698,7 @@ public int compareTo(createTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -37213,16 +39706,18 @@ public int compareTo(createTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -37242,66 +39737,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_resultStandardScheme getScheme() { return new createTable_resultStandardScheme(); } } - private static class createTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -37316,17 +39819,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createTable_result } - private static class createTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createTable_resultTupleScheme getScheme() { return new createTable_resultTupleScheme(); } } - private static class createTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -37338,37 +39842,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, createTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteTable_args 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("deleteTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_argsTupleSchemeFactory(); /** * the tablename to delete */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to delete */ @@ -37385,7 +39895,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -37408,7 +39918,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -37421,23 +39931,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_args.class, metaDataMap); } public deleteTable_args() { @@ -37459,6 +39971,7 @@ public deleteTable_args(deleteTable_args other) { } } + @Override public deleteTable_args deepCopy() { return new deleteTable_args(this); } @@ -37471,7 +39984,7 @@ public void clear() { /** * the tablename to delete */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -37479,7 +39992,7 @@ public TTableName getTableName() { /** * the tablename to delete */ - public deleteTable_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public deleteTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -37499,7 +40012,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -37512,7 +40026,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -37523,6 +40038,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -37584,7 +40100,7 @@ public int compareTo(deleteTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -37592,16 +40108,19 @@ public int compareTo(deleteTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -37621,10 +40140,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -37634,59 +40153,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_argsStandardScheme getScheme() { return new deleteTable_argsStandardScheme(); } } - private static class deleteTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -37701,46 +40228,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_args s } - private static class deleteTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_argsTupleScheme getScheme() { return new deleteTable_argsTupleScheme(); } } - private static class deleteTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteTable_result 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("deleteTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -37754,7 +40288,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -37777,7 +40311,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -37790,23 +40324,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTable_result.class, metaDataMap); } public deleteTable_result() { @@ -37828,6 +40364,7 @@ public deleteTable_result(deleteTable_result other) { } } + @Override public deleteTable_result deepCopy() { return new deleteTable_result(this); } @@ -37837,12 +40374,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public deleteTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public deleteTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -37862,7 +40399,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -37875,7 +40413,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -37886,6 +40425,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -37947,7 +40487,7 @@ public int compareTo(deleteTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -37955,16 +40495,18 @@ public int compareTo(deleteTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -37984,66 +40526,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_resultStandardScheme getScheme() { return new deleteTable_resultStandardScheme(); } } - private static class deleteTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -38058,17 +40608,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteTable_result } - private static class deleteTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteTable_resultTupleScheme getScheme() { return new deleteTable_resultTupleScheme(); } } - private static class deleteTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -38080,42 +40631,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class truncateTable_args 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("truncateTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class truncateTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("truncateTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField PRESERVE_SPLITS_FIELD_DESC = new org.apache.thrift.protocol.TField("preserveSplits", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PRESERVE_SPLITS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("preserveSplits", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new truncateTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new truncateTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new truncateTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new truncateTable_argsTupleSchemeFactory(); /** * the tablename to truncate */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** * whether to preserve previous splits */ public boolean preserveSplits; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to truncate */ @@ -38136,7 +40693,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -38161,7 +40718,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -38174,10 +40731,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -38186,15 +40745,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __PRESERVESPLITS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); - tmpMap.put(_Fields.PRESERVE_SPLITS, new org.apache.thrift.meta_data.FieldMetaData("preserveSplits", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + tmpMap.put(_Fields.PRESERVE_SPLITS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("preserveSplits", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(truncateTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(truncateTable_args.class, metaDataMap); } public truncateTable_args() { @@ -38221,6 +40780,7 @@ public truncateTable_args(truncateTable_args other) { this.preserveSplits = other.preserveSplits; } + @Override public truncateTable_args deepCopy() { return new truncateTable_args(this); } @@ -38235,7 +40795,7 @@ public void clear() { /** * the tablename to truncate */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -38243,7 +40803,7 @@ public TTableName getTableName() { /** * the tablename to truncate */ - public truncateTable_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public truncateTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -38280,19 +40840,20 @@ public truncateTable_args setPreserveSplits(boolean preserveSplits) { } public void unsetPreserveSplits() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID); } /** Returns true if field preserveSplits is set (has been assigned a value) and false otherwise */ public boolean isSetPreserveSplits() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID); } public void setPreserveSplitsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PRESERVESPLITS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -38313,7 +40874,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -38327,6 +40889,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -38401,7 +40964,7 @@ public int compareTo(truncateTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -38411,7 +40974,7 @@ public int compareTo(truncateTable_args other) { return lastComparison; } if (isSetPreserveSplits()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preserveSplits, other.preserveSplits); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.preserveSplits, other.preserveSplits); if (lastComparison != 0) { return lastComparison; } @@ -38419,16 +40982,19 @@ public int compareTo(truncateTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -38452,10 +41018,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // alas, we cannot check 'preserveSplits' because it's a primitive and you chose the non-beans generator. // check for sub-struct validity @@ -38466,8 +41032,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -38476,62 +41042,70 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class truncateTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class truncateTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public truncateTable_argsStandardScheme getScheme() { return new truncateTable_argsStandardScheme(); } } - private static class truncateTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class truncateTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, truncateTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // PRESERVE_SPLITS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.preserveSplits = iprot.readBool(); - struct.setPreserveSplitsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, truncateTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // PRESERVE_SPLITS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.preserveSplits = iprot.readBool(); + struct.setPreserveSplitsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetPreserveSplits()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'preserveSplits' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetPreserveSplits()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'preserveSplits' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, truncateTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, truncateTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -38549,49 +41123,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncateTable_args } - private static class truncateTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class truncateTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public truncateTable_argsTupleScheme getScheme() { return new truncateTable_argsTupleScheme(); } } - private static class truncateTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class truncateTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, truncateTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, truncateTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); oprot.writeBool(struct.preserveSplits); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, truncateTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - struct.preserveSplits = iprot.readBool(); - struct.setPreserveSplitsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, truncateTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + struct.preserveSplits = iprot.readBool(); + struct.setPreserveSplitsIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class truncateTable_result 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("truncateTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class truncateTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("truncateTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new truncateTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new truncateTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new truncateTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new truncateTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -38605,7 +41186,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -38628,7 +41209,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -38641,23 +41222,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(truncateTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(truncateTable_result.class, metaDataMap); } public truncateTable_result() { @@ -38679,6 +41262,7 @@ public truncateTable_result(truncateTable_result other) { } } + @Override public truncateTable_result deepCopy() { return new truncateTable_result(this); } @@ -38688,12 +41272,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public truncateTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public truncateTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -38713,7 +41297,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -38726,7 +41311,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -38737,6 +41323,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -38798,7 +41385,7 @@ public int compareTo(truncateTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -38806,16 +41393,18 @@ public int compareTo(truncateTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -38835,66 +41424,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class truncateTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class truncateTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public truncateTable_resultStandardScheme getScheme() { return new truncateTable_resultStandardScheme(); } } - private static class truncateTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class truncateTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, truncateTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, truncateTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, truncateTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, truncateTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -38909,17 +41506,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncateTable_resu } - private static class truncateTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class truncateTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public truncateTable_resultTupleScheme getScheme() { return new truncateTable_resultTupleScheme(); } } - private static class truncateTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class truncateTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, truncateTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, truncateTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -38931,37 +41529,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncateTable_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, truncateTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, truncateTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class enableTable_args 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("enableTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class enableTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("enableTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_argsTupleSchemeFactory(); /** * the tablename to enable */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to enable */ @@ -38978,7 +41582,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -39001,7 +41605,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -39014,23 +41618,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap); } public enableTable_args() { @@ -39052,6 +41658,7 @@ public enableTable_args(enableTable_args other) { } } + @Override public enableTable_args deepCopy() { return new enableTable_args(this); } @@ -39064,7 +41671,7 @@ public void clear() { /** * the tablename to enable */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -39072,7 +41679,7 @@ public TTableName getTableName() { /** * the tablename to enable */ - public enableTable_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public enableTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -39092,7 +41699,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -39105,7 +41713,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -39116,6 +41725,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -39177,7 +41787,7 @@ public int compareTo(enableTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -39185,16 +41795,19 @@ public int compareTo(enableTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -39214,10 +41827,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -39227,59 +41840,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class enableTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_argsStandardScheme getScheme() { return new enableTable_argsStandardScheme(); } } - private static class enableTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class enableTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -39294,46 +41915,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_args s } - private static class enableTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_argsTupleScheme getScheme() { return new enableTable_argsTupleScheme(); } } - private static class enableTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class enableTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class enableTable_result 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("enableTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class enableTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("enableTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new enableTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new enableTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -39347,7 +41975,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -39370,7 +41998,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -39383,23 +42011,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap); } public enableTable_result() { @@ -39421,6 +42051,7 @@ public enableTable_result(enableTable_result other) { } } + @Override public enableTable_result deepCopy() { return new enableTable_result(this); } @@ -39430,12 +42061,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public enableTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public enableTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -39455,7 +42086,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -39468,7 +42100,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -39479,6 +42112,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -39540,7 +42174,7 @@ public int compareTo(enableTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -39548,16 +42182,18 @@ public int compareTo(enableTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -39577,66 +42213,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class enableTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_resultStandardScheme getScheme() { return new enableTable_resultStandardScheme(); } } - private static class enableTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class enableTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -39651,17 +42295,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_result } - private static class enableTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class enableTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public enableTable_resultTupleScheme getScheme() { return new enableTable_resultTupleScheme(); } } - private static class enableTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class enableTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -39673,37 +42318,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class disableTable_args 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("disableTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class disableTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("disableTable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_argsTupleSchemeFactory(); /** * the tablename to disable */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to disable */ @@ -39720,7 +42371,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -39743,7 +42394,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -39756,23 +42407,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap); } public disableTable_args() { @@ -39794,6 +42447,7 @@ public disableTable_args(disableTable_args other) { } } + @Override public disableTable_args deepCopy() { return new disableTable_args(this); } @@ -39806,7 +42460,7 @@ public void clear() { /** * the tablename to disable */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -39814,7 +42468,7 @@ public TTableName getTableName() { /** * the tablename to disable */ - public disableTable_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public disableTable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -39834,7 +42488,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -39847,7 +42502,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -39858,6 +42514,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -39919,7 +42576,7 @@ public int compareTo(disableTable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -39927,16 +42584,19 @@ public int compareTo(disableTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -39956,10 +42616,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -39969,59 +42629,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class disableTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_argsStandardScheme getScheme() { return new disableTable_argsStandardScheme(); } } - private static class disableTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class disableTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -40036,46 +42704,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_args } - private static class disableTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_argsTupleScheme getScheme() { return new disableTable_argsTupleScheme(); } } - private static class disableTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class disableTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class disableTable_result 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("disableTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class disableTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("disableTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new disableTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new disableTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -40089,7 +42764,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -40112,7 +42787,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -40125,23 +42800,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_result.class, metaDataMap); } public disableTable_result() { @@ -40163,6 +42840,7 @@ public disableTable_result(disableTable_result other) { } } + @Override public disableTable_result deepCopy() { return new disableTable_result(this); } @@ -40172,12 +42850,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public disableTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public disableTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -40197,7 +42875,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -40210,7 +42889,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -40221,6 +42901,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -40282,7 +42963,7 @@ public int compareTo(disableTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -40290,16 +42971,18 @@ public int compareTo(disableTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -40319,66 +43002,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class disableTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_resultStandardScheme getScheme() { return new disableTable_resultStandardScheme(); } } - private static class disableTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class disableTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -40393,17 +43084,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_resul } - private static class disableTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class disableTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public disableTable_resultTupleScheme getScheme() { return new disableTable_resultTupleScheme(); } } - private static class disableTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class disableTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -40415,37 +43107,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableEnabled_args 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("isTableEnabled_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableEnabled_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableEnabled_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_argsTupleSchemeFactory(); /** * the tablename to check */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to check */ @@ -40462,7 +43160,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -40485,7 +43183,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -40498,23 +43196,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_args.class, metaDataMap); } public isTableEnabled_args() { @@ -40536,6 +43236,7 @@ public isTableEnabled_args(isTableEnabled_args other) { } } + @Override public isTableEnabled_args deepCopy() { return new isTableEnabled_args(this); } @@ -40548,7 +43249,7 @@ public void clear() { /** * the tablename to check */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -40556,7 +43257,7 @@ public TTableName getTableName() { /** * the tablename to check */ - public isTableEnabled_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public isTableEnabled_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -40576,7 +43277,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -40589,7 +43291,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -40600,6 +43303,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -40661,7 +43365,7 @@ public int compareTo(isTableEnabled_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -40669,16 +43373,19 @@ public int compareTo(isTableEnabled_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -40698,10 +43405,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -40711,59 +43418,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableEnabled_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_argsStandardScheme getScheme() { return new isTableEnabled_argsStandardScheme(); } } - private static class isTableEnabled_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableEnabled_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -40778,48 +43493,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_arg } - private static class isTableEnabled_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_argsTupleScheme getScheme() { return new isTableEnabled_argsTupleScheme(); } } - private static class isTableEnabled_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableEnabled_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableEnabled_result 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("isTableEnabled_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableEnabled_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableEnabled_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableEnabled_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableEnabled_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -40834,7 +43556,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -40859,7 +43581,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -40872,10 +43594,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -40884,15 +43608,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_result.class, metaDataMap); } public isTableEnabled_result() { @@ -40919,6 +43643,7 @@ public isTableEnabled_result(isTableEnabled_result other) { } } + @Override public isTableEnabled_result deepCopy() { return new isTableEnabled_result(this); } @@ -40941,24 +43666,24 @@ public isTableEnabled_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public isTableEnabled_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public isTableEnabled_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -40978,7 +43703,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -40999,7 +43725,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -41013,6 +43740,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -41087,7 +43815,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -41097,7 +43825,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -41105,16 +43833,18 @@ public int compareTo(isTableEnabled_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -41138,15 +43868,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -41155,59 +43885,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableEnabled_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_resultStandardScheme getScheme() { return new isTableEnabled_resultStandardScheme(); } } - private static class isTableEnabled_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableEnabled_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -41227,17 +43965,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_res } - private static class isTableEnabled_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableEnabled_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableEnabled_resultTupleScheme getScheme() { return new isTableEnabled_resultTupleScheme(); } } - private static class isTableEnabled_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableEnabled_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -41255,41 +43994,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableDisabled_args 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("isTableDisabled_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableDisabled_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableDisabled_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableDisabled_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableDisabled_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableDisabled_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableDisabled_argsTupleSchemeFactory(); /** * the tablename to check */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to check */ @@ -41306,7 +44051,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -41329,7 +44074,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -41342,23 +44087,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableDisabled_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableDisabled_args.class, metaDataMap); } public isTableDisabled_args() { @@ -41380,6 +44127,7 @@ public isTableDisabled_args(isTableDisabled_args other) { } } + @Override public isTableDisabled_args deepCopy() { return new isTableDisabled_args(this); } @@ -41392,7 +44140,7 @@ public void clear() { /** * the tablename to check */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -41400,7 +44148,7 @@ public TTableName getTableName() { /** * the tablename to check */ - public isTableDisabled_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public isTableDisabled_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -41420,7 +44168,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -41433,7 +44182,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -41444,6 +44194,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -41505,7 +44256,7 @@ public int compareTo(isTableDisabled_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -41513,16 +44264,19 @@ public int compareTo(isTableDisabled_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -41542,10 +44296,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -41555,59 +44309,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableDisabled_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableDisabled_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableDisabled_argsStandardScheme getScheme() { return new isTableDisabled_argsStandardScheme(); } } - private static class isTableDisabled_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableDisabled_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableDisabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableDisabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -41622,48 +44384,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_ar } - private static class isTableDisabled_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableDisabled_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableDisabled_argsTupleScheme getScheme() { return new isTableDisabled_argsTupleScheme(); } } - private static class isTableDisabled_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableDisabled_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableDisabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableDisabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableDisabled_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableDisabled_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableDisabled_result 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("isTableDisabled_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableDisabled_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableDisabled_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableDisabled_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableDisabled_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableDisabled_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableDisabled_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -41678,7 +44447,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -41703,7 +44472,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -41716,10 +44485,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -41728,15 +44499,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableDisabled_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableDisabled_result.class, metaDataMap); } public isTableDisabled_result() { @@ -41763,6 +44534,7 @@ public isTableDisabled_result(isTableDisabled_result other) { } } + @Override public isTableDisabled_result deepCopy() { return new isTableDisabled_result(this); } @@ -41785,24 +44557,24 @@ public isTableDisabled_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public isTableDisabled_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public isTableDisabled_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -41822,7 +44594,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -41843,7 +44616,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -41857,6 +44631,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -41931,7 +44706,7 @@ public int compareTo(isTableDisabled_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -41941,7 +44716,7 @@ public int compareTo(isTableDisabled_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -41949,16 +44724,18 @@ public int compareTo(isTableDisabled_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -41982,15 +44759,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -41999,59 +44776,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableDisabled_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableDisabled_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableDisabled_resultStandardScheme getScheme() { return new isTableDisabled_resultStandardScheme(); } } - private static class isTableDisabled_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableDisabled_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableDisabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableDisabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -42071,17 +44856,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableDisabled_re } - private static class isTableDisabled_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableDisabled_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableDisabled_resultTupleScheme getScheme() { return new isTableDisabled_resultTupleScheme(); } } - private static class isTableDisabled_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableDisabled_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableDisabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableDisabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -42099,41 +44885,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableDisabled_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableDisabled_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableDisabled_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableAvailable_args 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("isTableAvailable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableAvailable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableAvailable_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailable_argsTupleSchemeFactory(); /** * the tablename to check */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to check */ @@ -42150,7 +44942,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -42173,7 +44965,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -42186,23 +44978,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailable_args.class, metaDataMap); } public isTableAvailable_args() { @@ -42224,6 +45018,7 @@ public isTableAvailable_args(isTableAvailable_args other) { } } + @Override public isTableAvailable_args deepCopy() { return new isTableAvailable_args(this); } @@ -42236,7 +45031,7 @@ public void clear() { /** * the tablename to check */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -42244,7 +45039,7 @@ public TTableName getTableName() { /** * the tablename to check */ - public isTableAvailable_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public isTableAvailable_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -42264,7 +45059,8 @@ public void setTableNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -42277,7 +45073,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -42288,6 +45085,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -42349,7 +45147,7 @@ public int compareTo(isTableAvailable_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -42357,16 +45155,19 @@ public int compareTo(isTableAvailable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -42386,10 +45187,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -42399,59 +45200,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableAvailable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailable_argsStandardScheme getScheme() { return new isTableAvailable_argsStandardScheme(); } } - private static class isTableAvailable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableAvailable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableAvailable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableAvailable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -42466,48 +45275,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_a } - private static class isTableAvailable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailable_argsTupleScheme getScheme() { return new isTableAvailable_argsTupleScheme(); } } - private static class isTableAvailable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableAvailable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableAvailable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableAvailable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableAvailable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class isTableAvailable_result 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("isTableAvailable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableAvailable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("isTableAvailable_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailable_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -42522,7 +45338,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -42547,7 +45363,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -42560,10 +45376,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -42572,15 +45390,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailable_result.class, metaDataMap); } public isTableAvailable_result() { @@ -42607,6 +45425,7 @@ public isTableAvailable_result(isTableAvailable_result other) { } } + @Override public isTableAvailable_result deepCopy() { return new isTableAvailable_result(this); } @@ -42629,24 +45448,24 @@ public isTableAvailable_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public isTableAvailable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public isTableAvailable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -42666,7 +45485,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -42687,7 +45507,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -42701,6 +45522,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -42775,7 +45597,7 @@ public int compareTo(isTableAvailable_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -42785,7 +45607,7 @@ public int compareTo(isTableAvailable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -42793,16 +45615,18 @@ public int compareTo(isTableAvailable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -42826,15 +45650,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -42843,59 +45667,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isTableAvailable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailable_resultStandardScheme getScheme() { return new isTableAvailable_resultStandardScheme(); } } - private static class isTableAvailable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableAvailable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableAvailable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, isTableAvailable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -42915,17 +45747,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailable_r } - private static class isTableAvailable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailable_resultTupleScheme getScheme() { return new isTableAvailable_resultTupleScheme(); } } - private static class isTableAvailable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableAvailable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableAvailable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -42943,46 +45776,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailable_re } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableAvailable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableAvailable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class addColumnFamily_args 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("addColumnFamily_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class addColumnFamily_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("addColumnFamily_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addColumnFamily_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addColumnFamily_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addColumnFamily_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addColumnFamily_argsTupleSchemeFactory(); /** * the tablename to add column family to */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** * column family descriptor of column family to be added */ - public @org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to add column family to */ @@ -43003,7 +45842,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -43028,7 +45867,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -43041,25 +45880,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addColumnFamily_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addColumnFamily_args.class, metaDataMap); } public addColumnFamily_args() { @@ -43086,6 +45927,7 @@ public addColumnFamily_args(addColumnFamily_args other) { } } + @Override public addColumnFamily_args deepCopy() { return new addColumnFamily_args(this); } @@ -43099,7 +45941,7 @@ public void clear() { /** * the tablename to add column family to */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -43107,7 +45949,7 @@ public TTableName getTableName() { /** * the tablename to add column family to */ - public addColumnFamily_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public addColumnFamily_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -43130,7 +45972,7 @@ public void setTableNameIsSet(boolean value) { /** * column family descriptor of column family to be added */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TColumnFamilyDescriptor getColumn() { return this.column; } @@ -43138,7 +45980,7 @@ public TColumnFamilyDescriptor getColumn() { /** * column family descriptor of column family to be added */ - public addColumnFamily_args setColumn(@org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column) { + public addColumnFamily_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column) { this.column = column; return this; } @@ -43158,7 +46000,8 @@ public void setColumnIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -43179,7 +46022,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -43193,6 +46037,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -43269,7 +46114,7 @@ public int compareTo(addColumnFamily_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -43279,7 +46124,7 @@ public int compareTo(addColumnFamily_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -43287,16 +46132,19 @@ public int compareTo(addColumnFamily_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -43324,13 +46172,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } if (column == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -43343,68 +46191,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class addColumnFamily_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class addColumnFamily_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public addColumnFamily_argsStandardScheme getScheme() { return new addColumnFamily_argsStandardScheme(); } } - private static class addColumnFamily_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class addColumnFamily_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, addColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.column = new TColumnFamilyDescriptor(); - struct.column.read(iprot); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, addColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.column = new TColumnFamilyDescriptor(); + struct.column.read(iprot); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43424,50 +46280,57 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_ar } - private static class addColumnFamily_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class addColumnFamily_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public addColumnFamily_argsTupleScheme getScheme() { return new addColumnFamily_argsTupleScheme(); } } - private static class addColumnFamily_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class addColumnFamily_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, addColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, addColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); struct.column.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, addColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - struct.column = new TColumnFamilyDescriptor(); - struct.column.read(iprot); - struct.setColumnIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, addColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + struct.column = new TColumnFamilyDescriptor(); + struct.column.read(iprot); + struct.setColumnIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class addColumnFamily_result 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("addColumnFamily_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class addColumnFamily_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("addColumnFamily_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addColumnFamily_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addColumnFamily_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addColumnFamily_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addColumnFamily_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -43481,7 +46344,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -43504,7 +46367,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -43517,23 +46380,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addColumnFamily_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addColumnFamily_result.class, metaDataMap); } public addColumnFamily_result() { @@ -43555,6 +46420,7 @@ public addColumnFamily_result(addColumnFamily_result other) { } } + @Override public addColumnFamily_result deepCopy() { return new addColumnFamily_result(this); } @@ -43564,12 +46430,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public addColumnFamily_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public addColumnFamily_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -43589,7 +46455,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -43602,7 +46469,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -43613,6 +46481,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -43674,7 +46543,7 @@ public int compareTo(addColumnFamily_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -43682,16 +46551,18 @@ public int compareTo(addColumnFamily_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -43711,66 +46582,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class addColumnFamily_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class addColumnFamily_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public addColumnFamily_resultStandardScheme getScheme() { return new addColumnFamily_resultStandardScheme(); } } - private static class addColumnFamily_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class addColumnFamily_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, addColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, addColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43785,17 +46664,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, addColumnFamily_re } - private static class addColumnFamily_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class addColumnFamily_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public addColumnFamily_resultTupleScheme getScheme() { return new addColumnFamily_resultTupleScheme(); } } - private static class addColumnFamily_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class addColumnFamily_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, addColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, addColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -43807,42 +46687,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, addColumnFamily_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, addColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, addColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteColumnFamily_args 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("deleteColumnFamily_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteColumnFamily_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteColumnFamily_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteColumnFamily_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteColumnFamily_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteColumnFamily_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteColumnFamily_argsTupleSchemeFactory(); /** * the tablename to delete column family from */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** * name of column family to be deleted */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to delete column family from */ @@ -43863,7 +46749,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -43888,7 +46774,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -43901,25 +46787,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteColumnFamily_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteColumnFamily_args.class, metaDataMap); } public deleteColumnFamily_args() { @@ -43931,7 +46819,7 @@ public deleteColumnFamily_args( { this(); this.tableName = tableName; - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -43942,10 +46830,11 @@ public deleteColumnFamily_args(deleteColumnFamily_args other) { this.tableName = new TTableName(other.tableName); } if (other.isSetColumn()) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.column); } } + @Override public deleteColumnFamily_args deepCopy() { return new deleteColumnFamily_args(this); } @@ -43959,7 +46848,7 @@ public void clear() { /** * the tablename to delete column family from */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -43967,7 +46856,7 @@ public TTableName getTableName() { /** * the tablename to delete column family from */ - public deleteColumnFamily_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public deleteColumnFamily_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -43991,12 +46880,12 @@ public void setTableNameIsSet(boolean value) { * name of column family to be deleted */ public byte[] getColumn() { - setColumn(org.apache.thrift.TBaseHelper.rightSize(column)); + setColumn(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(column)); return column == null ? null : column.array(); } public java.nio.ByteBuffer bufferForColumn() { - return org.apache.thrift.TBaseHelper.copyBinary(column); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); } /** @@ -44007,8 +46896,8 @@ public deleteColumnFamily_args setColumn(byte[] column) { return this; } - public deleteColumnFamily_args setColumn(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { - this.column = org.apache.thrift.TBaseHelper.copyBinary(column); + public deleteColumnFamily_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer column) { + this.column = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(column); return this; } @@ -44027,7 +46916,8 @@ public void setColumnIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -44052,7 +46942,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -44066,6 +46957,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -44142,7 +47034,7 @@ public int compareTo(deleteColumnFamily_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -44152,7 +47044,7 @@ public int compareTo(deleteColumnFamily_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -44160,16 +47052,19 @@ public int compareTo(deleteColumnFamily_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -44190,20 +47085,20 @@ public java.lang.String toString() { if (this.column == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.column, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.column, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } if (column == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -44213,67 +47108,75 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteColumnFamily_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteColumnFamily_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteColumnFamily_argsStandardScheme getScheme() { return new deleteColumnFamily_argsStandardScheme(); } } - private static class deleteColumnFamily_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteColumnFamily_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -44293,49 +47196,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily } - private static class deleteColumnFamily_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteColumnFamily_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteColumnFamily_argsTupleScheme getScheme() { return new deleteColumnFamily_argsTupleScheme(); } } - private static class deleteColumnFamily_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteColumnFamily_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); oprot.writeBinary(struct.column); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - struct.column = iprot.readBinary(); - struct.setColumnIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + struct.column = iprot.readBinary(); + struct.setColumnIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteColumnFamily_result 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("deleteColumnFamily_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteColumnFamily_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteColumnFamily_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteColumnFamily_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteColumnFamily_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteColumnFamily_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteColumnFamily_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -44349,7 +47259,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -44372,7 +47282,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -44385,23 +47295,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteColumnFamily_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteColumnFamily_result.class, metaDataMap); } public deleteColumnFamily_result() { @@ -44423,6 +47335,7 @@ public deleteColumnFamily_result(deleteColumnFamily_result other) { } } + @Override public deleteColumnFamily_result deepCopy() { return new deleteColumnFamily_result(this); } @@ -44432,12 +47345,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public deleteColumnFamily_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public deleteColumnFamily_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -44457,7 +47370,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -44470,7 +47384,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -44481,6 +47396,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -44542,7 +47458,7 @@ public int compareTo(deleteColumnFamily_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -44550,16 +47466,18 @@ public int compareTo(deleteColumnFamily_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -44579,66 +47497,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteColumnFamily_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteColumnFamily_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteColumnFamily_resultStandardScheme getScheme() { return new deleteColumnFamily_resultStandardScheme(); } } - private static class deleteColumnFamily_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteColumnFamily_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -44653,17 +47579,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteColumnFamily } - private static class deleteColumnFamily_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteColumnFamily_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteColumnFamily_resultTupleScheme getScheme() { return new deleteColumnFamily_resultTupleScheme(); } } - private static class deleteColumnFamily_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteColumnFamily_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -44675,42 +47602,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyColumnFamily_args 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("modifyColumnFamily_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyColumnFamily_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyColumnFamily_args"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.thrift.protocol.TField("column", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("column", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyColumnFamily_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyColumnFamily_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyColumnFamily_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyColumnFamily_argsTupleSchemeFactory(); /** * the tablename to modify column family */ - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required /** * column family descriptor of column family to be modified */ - public @org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the tablename to modify column family */ @@ -44731,7 +47664,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -44756,7 +47689,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -44769,25 +47702,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); - tmpMap.put(_Fields.COLUMN, new org.apache.thrift.meta_data.FieldMetaData("column", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + tmpMap.put(_Fields.COLUMN, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("column", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyColumnFamily_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyColumnFamily_args.class, metaDataMap); } public modifyColumnFamily_args() { @@ -44814,6 +47749,7 @@ public modifyColumnFamily_args(modifyColumnFamily_args other) { } } + @Override public modifyColumnFamily_args deepCopy() { return new modifyColumnFamily_args(this); } @@ -44827,7 +47763,7 @@ public void clear() { /** * the tablename to modify column family */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } @@ -44835,7 +47771,7 @@ public TTableName getTableName() { /** * the tablename to modify column family */ - public modifyColumnFamily_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public modifyColumnFamily_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -44858,7 +47794,7 @@ public void setTableNameIsSet(boolean value) { /** * column family descriptor of column family to be modified */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TColumnFamilyDescriptor getColumn() { return this.column; } @@ -44866,7 +47802,7 @@ public TColumnFamilyDescriptor getColumn() { /** * column family descriptor of column family to be modified */ - public modifyColumnFamily_args setColumn(@org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column) { + public modifyColumnFamily_args setColumn(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor column) { this.column = column; return this; } @@ -44886,7 +47822,8 @@ public void setColumnIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -44907,7 +47844,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -44921,6 +47859,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -44997,7 +47936,7 @@ public int compareTo(modifyColumnFamily_args other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -45007,7 +47946,7 @@ public int compareTo(modifyColumnFamily_args other) { return lastComparison; } if (isSetColumn()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.column, other.column); if (lastComparison != 0) { return lastComparison; } @@ -45015,16 +47954,19 @@ public int compareTo(modifyColumnFamily_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -45052,13 +47994,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } if (column == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'column' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -45071,68 +48013,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyColumnFamily_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyColumnFamily_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyColumnFamily_argsStandardScheme getScheme() { return new modifyColumnFamily_argsStandardScheme(); } } - private static class modifyColumnFamily_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyColumnFamily_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // COLUMN - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.column = new TColumnFamilyDescriptor(); - struct.column.read(iprot); - struct.setColumnIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.column = new TColumnFamilyDescriptor(); + struct.column.read(iprot); + struct.setColumnIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -45152,50 +48102,57 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily } - private static class modifyColumnFamily_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyColumnFamily_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyColumnFamily_argsTupleScheme getScheme() { return new modifyColumnFamily_argsTupleScheme(); } } - private static class modifyColumnFamily_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyColumnFamily_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); struct.column.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - struct.column = new TColumnFamilyDescriptor(); - struct.column.read(iprot); - struct.setColumnIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + struct.column = new TColumnFamilyDescriptor(); + struct.column.read(iprot); + struct.setColumnIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyColumnFamily_result 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("modifyColumnFamily_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyColumnFamily_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyColumnFamily_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyColumnFamily_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyColumnFamily_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyColumnFamily_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyColumnFamily_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -45209,7 +48166,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -45232,7 +48189,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -45245,23 +48202,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyColumnFamily_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyColumnFamily_result.class, metaDataMap); } public modifyColumnFamily_result() { @@ -45283,6 +48242,7 @@ public modifyColumnFamily_result(modifyColumnFamily_result other) { } } + @Override public modifyColumnFamily_result deepCopy() { return new modifyColumnFamily_result(this); } @@ -45292,12 +48252,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public modifyColumnFamily_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public modifyColumnFamily_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -45317,7 +48277,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -45330,7 +48291,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -45341,6 +48303,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -45402,7 +48365,7 @@ public int compareTo(modifyColumnFamily_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -45410,16 +48373,18 @@ public int compareTo(modifyColumnFamily_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -45439,66 +48404,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyColumnFamily_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyColumnFamily_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyColumnFamily_resultStandardScheme getScheme() { return new modifyColumnFamily_resultStandardScheme(); } } - private static class modifyColumnFamily_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyColumnFamily_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -45513,17 +48486,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyColumnFamily } - private static class modifyColumnFamily_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyColumnFamily_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyColumnFamily_resultTupleScheme getScheme() { return new modifyColumnFamily_resultTupleScheme(); } } - private static class modifyColumnFamily_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyColumnFamily_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -45535,37 +48509,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyColumnFamily_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyTable_args 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("modifyTable_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyTable_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyTable_args"); - private static final org.apache.thrift.protocol.TField DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("desc", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DESC_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("desc", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyTable_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyTable_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyTable_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyTable_argsTupleSchemeFactory(); /** * the descriptor of the table to modify */ - public @org.apache.thrift.annotation.Nullable TTableDescriptor desc; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor desc; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * the descriptor of the table to modify */ @@ -45582,7 +48562,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // DESC @@ -45605,7 +48585,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -45618,23 +48598,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DESC, new org.apache.thrift.meta_data.FieldMetaData("desc", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DESC, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("desc", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableDescriptor.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyTable_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyTable_args.class, metaDataMap); } public modifyTable_args() { @@ -45656,6 +48638,7 @@ public modifyTable_args(modifyTable_args other) { } } + @Override public modifyTable_args deepCopy() { return new modifyTable_args(this); } @@ -45668,7 +48651,7 @@ public void clear() { /** * the descriptor of the table to modify */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableDescriptor getDesc() { return this.desc; } @@ -45676,7 +48659,7 @@ public TTableDescriptor getDesc() { /** * the descriptor of the table to modify */ - public modifyTable_args setDesc(@org.apache.thrift.annotation.Nullable TTableDescriptor desc) { + public modifyTable_args setDesc(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableDescriptor desc) { this.desc = desc; return this; } @@ -45696,7 +48679,8 @@ public void setDescIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case DESC: if (value == null) { @@ -45709,7 +48693,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case DESC: @@ -45720,6 +48705,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -45781,7 +48767,7 @@ public int compareTo(modifyTable_args other) { return lastComparison; } if (isSetDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.desc, other.desc); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.desc, other.desc); if (lastComparison != 0) { return lastComparison; } @@ -45789,16 +48775,19 @@ public int compareTo(modifyTable_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -45818,10 +48807,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (desc == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'desc' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'desc' was not present! Struct: " + toString()); } // check for sub-struct validity if (desc != null) { @@ -45831,59 +48820,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyTable_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyTable_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyTable_argsStandardScheme getScheme() { return new modifyTable_argsStandardScheme(); } } - private static class modifyTable_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyTable_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // DESC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.desc = new TTableDescriptor(); - struct.desc.read(iprot); - struct.setDescIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // DESC + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.desc = new TTableDescriptor(); + struct.desc.read(iprot); + struct.setDescIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyTable_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -45898,46 +48895,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyTable_args s } - private static class modifyTable_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyTable_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyTable_argsTupleScheme getScheme() { return new modifyTable_argsTupleScheme(); } } - private static class modifyTable_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyTable_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.desc.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyTable_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.desc = new TTableDescriptor(); - struct.desc.read(iprot); - struct.setDescIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyTable_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.desc = new TTableDescriptor(); + struct.desc.read(iprot); + struct.setDescIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyTable_result 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("modifyTable_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyTable_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyTable_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyTable_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyTable_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyTable_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyTable_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -45951,7 +48955,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -45974,7 +48978,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -45987,23 +48991,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyTable_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyTable_result.class, metaDataMap); } public modifyTable_result() { @@ -46025,6 +49031,7 @@ public modifyTable_result(modifyTable_result other) { } } + @Override public modifyTable_result deepCopy() { return new modifyTable_result(this); } @@ -46034,12 +49041,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public modifyTable_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public modifyTable_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -46059,7 +49066,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -46072,7 +49080,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -46083,6 +49092,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -46144,7 +49154,7 @@ public int compareTo(modifyTable_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -46152,16 +49162,18 @@ public int compareTo(modifyTable_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -46181,66 +49193,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyTable_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyTable_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyTable_resultStandardScheme getScheme() { return new modifyTable_resultStandardScheme(); } } - private static class modifyTable_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyTable_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyTable_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -46255,17 +49275,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyTable_result } - private static class modifyTable_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyTable_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyTable_resultTupleScheme getScheme() { return new modifyTable_resultTupleScheme(); } } - private static class modifyTable_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyTable_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -46277,37 +49298,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, modifyTable_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyTable_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyTable_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createNamespace_args 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("createNamespace_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createNamespace_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createNamespace_args"); - private static final org.apache.thrift.protocol.TField NAMESPACE_DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("namespaceDesc", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAMESPACE_DESC_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("namespaceDesc", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createNamespace_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createNamespace_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createNamespace_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createNamespace_argsTupleSchemeFactory(); /** * descriptor which describes the new namespace */ - public @org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * descriptor which describes the new namespace */ @@ -46324,7 +49351,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAMESPACE_DESC @@ -46347,7 +49374,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -46360,23 +49387,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAMESPACE_DESC, new org.apache.thrift.meta_data.FieldMetaData("namespaceDesc", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAMESPACE_DESC, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("namespaceDesc", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createNamespace_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createNamespace_args.class, metaDataMap); } public createNamespace_args() { @@ -46398,6 +49427,7 @@ public createNamespace_args(createNamespace_args other) { } } + @Override public createNamespace_args deepCopy() { return new createNamespace_args(this); } @@ -46410,7 +49440,7 @@ public void clear() { /** * descriptor which describes the new namespace */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TNamespaceDescriptor getNamespaceDesc() { return this.namespaceDesc; } @@ -46418,7 +49448,7 @@ public TNamespaceDescriptor getNamespaceDesc() { /** * descriptor which describes the new namespace */ - public createNamespace_args setNamespaceDesc(@org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc) { + public createNamespace_args setNamespaceDesc(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc) { this.namespaceDesc = namespaceDesc; return this; } @@ -46438,7 +49468,8 @@ public void setNamespaceDescIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAMESPACE_DESC: if (value == null) { @@ -46451,7 +49482,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAMESPACE_DESC: @@ -46462,6 +49494,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -46523,7 +49556,7 @@ public int compareTo(createNamespace_args other) { return lastComparison; } if (isSetNamespaceDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.namespaceDesc, other.namespaceDesc); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.namespaceDesc, other.namespaceDesc); if (lastComparison != 0) { return lastComparison; } @@ -46531,16 +49564,19 @@ public int compareTo(createNamespace_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -46560,10 +49596,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (namespaceDesc == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'namespaceDesc' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'namespaceDesc' was not present! Struct: " + toString()); } // check for sub-struct validity if (namespaceDesc != null) { @@ -46573,59 +49609,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createNamespace_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createNamespace_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createNamespace_argsStandardScheme getScheme() { return new createNamespace_argsStandardScheme(); } } - private static class createNamespace_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createNamespace_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAMESPACE_DESC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.namespaceDesc = new TNamespaceDescriptor(); - struct.namespaceDesc.read(iprot); - struct.setNamespaceDescIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAMESPACE_DESC + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.namespaceDesc = new TNamespaceDescriptor(); + struct.namespaceDesc.read(iprot); + struct.setNamespaceDescIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createNamespace_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -46640,46 +49684,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createNamespace_ar } - private static class createNamespace_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createNamespace_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createNamespace_argsTupleScheme getScheme() { return new createNamespace_argsTupleScheme(); } } - private static class createNamespace_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createNamespace_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.namespaceDesc.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.namespaceDesc = new TNamespaceDescriptor(); - struct.namespaceDesc.read(iprot); - struct.setNamespaceDescIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.namespaceDesc = new TNamespaceDescriptor(); + struct.namespaceDesc.read(iprot); + struct.setNamespaceDescIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class createNamespace_result 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("createNamespace_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class createNamespace_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("createNamespace_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createNamespace_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createNamespace_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new createNamespace_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new createNamespace_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -46693,7 +49744,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -46716,7 +49767,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -46729,23 +49780,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createNamespace_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createNamespace_result.class, metaDataMap); } public createNamespace_result() { @@ -46767,6 +49820,7 @@ public createNamespace_result(createNamespace_result other) { } } + @Override public createNamespace_result deepCopy() { return new createNamespace_result(this); } @@ -46776,12 +49830,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public createNamespace_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public createNamespace_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -46801,7 +49855,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -46814,7 +49869,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -46825,6 +49881,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -46886,7 +49943,7 @@ public int compareTo(createNamespace_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -46894,16 +49951,18 @@ public int compareTo(createNamespace_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -46923,66 +49982,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class createNamespace_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createNamespace_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createNamespace_resultStandardScheme getScheme() { return new createNamespace_resultStandardScheme(); } } - private static class createNamespace_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class createNamespace_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, createNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, createNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, createNamespace_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, createNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -46997,17 +50064,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, createNamespace_re } - private static class createNamespace_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class createNamespace_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public createNamespace_resultTupleScheme getScheme() { return new createNamespace_resultTupleScheme(); } } - private static class createNamespace_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class createNamespace_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, createNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -47019,37 +50087,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, createNamespace_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, createNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, createNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyNamespace_args 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("modifyNamespace_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyNamespace_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyNamespace_args"); - private static final org.apache.thrift.protocol.TField NAMESPACE_DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("namespaceDesc", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAMESPACE_DESC_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("namespaceDesc", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyNamespace_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyNamespace_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyNamespace_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyNamespace_argsTupleSchemeFactory(); /** * descriptor which describes the new namespace */ - public @org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * descriptor which describes the new namespace */ @@ -47066,7 +50140,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAMESPACE_DESC @@ -47089,7 +50163,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -47102,23 +50176,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAMESPACE_DESC, new org.apache.thrift.meta_data.FieldMetaData("namespaceDesc", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAMESPACE_DESC, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("namespaceDesc", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyNamespace_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyNamespace_args.class, metaDataMap); } public modifyNamespace_args() { @@ -47140,6 +50216,7 @@ public modifyNamespace_args(modifyNamespace_args other) { } } + @Override public modifyNamespace_args deepCopy() { return new modifyNamespace_args(this); } @@ -47152,7 +50229,7 @@ public void clear() { /** * descriptor which describes the new namespace */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TNamespaceDescriptor getNamespaceDesc() { return this.namespaceDesc; } @@ -47160,7 +50237,7 @@ public TNamespaceDescriptor getNamespaceDesc() { /** * descriptor which describes the new namespace */ - public modifyNamespace_args setNamespaceDesc(@org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc) { + public modifyNamespace_args setNamespaceDesc(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor namespaceDesc) { this.namespaceDesc = namespaceDesc; return this; } @@ -47180,7 +50257,8 @@ public void setNamespaceDescIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAMESPACE_DESC: if (value == null) { @@ -47193,7 +50271,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAMESPACE_DESC: @@ -47204,6 +50283,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -47265,7 +50345,7 @@ public int compareTo(modifyNamespace_args other) { return lastComparison; } if (isSetNamespaceDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.namespaceDesc, other.namespaceDesc); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.namespaceDesc, other.namespaceDesc); if (lastComparison != 0) { return lastComparison; } @@ -47273,16 +50353,19 @@ public int compareTo(modifyNamespace_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -47302,10 +50385,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (namespaceDesc == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'namespaceDesc' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'namespaceDesc' was not present! Struct: " + toString()); } // check for sub-struct validity if (namespaceDesc != null) { @@ -47315,59 +50398,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyNamespace_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyNamespace_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyNamespace_argsStandardScheme getScheme() { return new modifyNamespace_argsStandardScheme(); } } - private static class modifyNamespace_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyNamespace_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAMESPACE_DESC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.namespaceDesc = new TNamespaceDescriptor(); - struct.namespaceDesc.read(iprot); - struct.setNamespaceDescIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAMESPACE_DESC + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.namespaceDesc = new TNamespaceDescriptor(); + struct.namespaceDesc.read(iprot); + struct.setNamespaceDescIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -47382,46 +50473,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_ar } - private static class modifyNamespace_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyNamespace_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyNamespace_argsTupleScheme getScheme() { return new modifyNamespace_argsTupleScheme(); } } - private static class modifyNamespace_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyNamespace_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.namespaceDesc.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.namespaceDesc = new TNamespaceDescriptor(); - struct.namespaceDesc.read(iprot); - struct.setNamespaceDescIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.namespaceDesc = new TNamespaceDescriptor(); + struct.namespaceDesc.read(iprot); + struct.setNamespaceDescIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class modifyNamespace_result 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("modifyNamespace_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class modifyNamespace_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("modifyNamespace_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyNamespace_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyNamespace_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new modifyNamespace_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new modifyNamespace_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -47435,7 +50533,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -47458,7 +50556,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -47471,23 +50569,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyNamespace_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(modifyNamespace_result.class, metaDataMap); } public modifyNamespace_result() { @@ -47509,6 +50609,7 @@ public modifyNamespace_result(modifyNamespace_result other) { } } + @Override public modifyNamespace_result deepCopy() { return new modifyNamespace_result(this); } @@ -47518,12 +50619,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public modifyNamespace_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public modifyNamespace_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -47543,7 +50644,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -47556,7 +50658,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -47567,6 +50670,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -47628,7 +50732,7 @@ public int compareTo(modifyNamespace_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -47636,16 +50740,18 @@ public int compareTo(modifyNamespace_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -47665,66 +50771,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class modifyNamespace_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyNamespace_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyNamespace_resultStandardScheme getScheme() { return new modifyNamespace_resultStandardScheme(); } } - private static class modifyNamespace_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class modifyNamespace_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, modifyNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, modifyNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -47739,17 +50853,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, modifyNamespace_re } - private static class modifyNamespace_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class modifyNamespace_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public modifyNamespace_resultTupleScheme getScheme() { return new modifyNamespace_resultTupleScheme(); } } - private static class modifyNamespace_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class modifyNamespace_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, modifyNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -47761,37 +50876,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, modifyNamespace_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, modifyNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, modifyNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteNamespace_args 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("deleteNamespace_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteNamespace_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteNamespace_args"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteNamespace_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteNamespace_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteNamespace_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteNamespace_argsTupleSchemeFactory(); /** * namespace name */ - public @org.apache.thrift.annotation.Nullable java.lang.String name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * namespace name */ @@ -47808,7 +50929,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -47831,7 +50952,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -47844,23 +50965,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteNamespace_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteNamespace_args.class, metaDataMap); } public deleteNamespace_args() { @@ -47882,6 +51005,7 @@ public deleteNamespace_args(deleteNamespace_args other) { } } + @Override public deleteNamespace_args deepCopy() { return new deleteNamespace_args(this); } @@ -47894,7 +51018,7 @@ public void clear() { /** * namespace name */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getName() { return this.name; } @@ -47902,7 +51026,7 @@ public java.lang.String getName() { /** * namespace name */ - public deleteNamespace_args setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { + public deleteNamespace_args setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name) { this.name = name; return this; } @@ -47922,7 +51046,8 @@ public void setNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -47935,7 +51060,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -47946,6 +51072,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -48007,7 +51134,7 @@ public int compareTo(deleteNamespace_args other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -48015,16 +51142,19 @@ public int compareTo(deleteNamespace_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -48044,68 +51174,76 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteNamespace_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteNamespace_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteNamespace_argsStandardScheme getScheme() { return new deleteNamespace_argsStandardScheme(); } } - private static class deleteNamespace_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteNamespace_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48120,45 +51258,52 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_ar } - private static class deleteNamespace_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteNamespace_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteNamespace_argsTupleScheme getScheme() { return new deleteNamespace_argsTupleScheme(); } } - private static class deleteNamespace_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteNamespace_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteNamespace_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteNamespace_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class deleteNamespace_result 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("deleteNamespace_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class deleteNamespace_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("deleteNamespace_result"); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteNamespace_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteNamespace_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deleteNamespace_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deleteNamespace_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { IO((short)1, "io"); private static final java.util.Map byName = new java.util.HashMap(); @@ -48172,7 +51317,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // IO @@ -48195,7 +51340,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -48208,23 +51353,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteNamespace_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteNamespace_result.class, metaDataMap); } public deleteNamespace_result() { @@ -48246,6 +51393,7 @@ public deleteNamespace_result(deleteNamespace_result other) { } } + @Override public deleteNamespace_result deepCopy() { return new deleteNamespace_result(this); } @@ -48255,12 +51403,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public deleteNamespace_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public deleteNamespace_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -48280,7 +51428,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case IO: if (value == null) { @@ -48293,7 +51442,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case IO: @@ -48304,6 +51454,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -48365,7 +51516,7 @@ public int compareTo(deleteNamespace_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -48373,16 +51524,18 @@ public int compareTo(deleteNamespace_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -48402,66 +51555,74 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class deleteNamespace_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteNamespace_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteNamespace_resultStandardScheme getScheme() { return new deleteNamespace_resultStandardScheme(); } } - private static class deleteNamespace_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class deleteNamespace_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, deleteNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, deleteNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48476,17 +51637,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteNamespace_re } - private static class deleteNamespace_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class deleteNamespace_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public deleteNamespace_resultTupleScheme getScheme() { return new deleteNamespace_resultTupleScheme(); } } - private static class deleteNamespace_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class deleteNamespace_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, deleteNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetIo()) { optionals.set(0); @@ -48498,37 +51660,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, deleteNamespace_res } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, deleteNamespace_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, deleteNamespace_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getNamespaceDescriptor_args 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("getNamespaceDescriptor_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getNamespaceDescriptor_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getNamespaceDescriptor_args"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getNamespaceDescriptor_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getNamespaceDescriptor_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getNamespaceDescriptor_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getNamespaceDescriptor_argsTupleSchemeFactory(); /** * name of namespace descriptor */ - public @org.apache.thrift.annotation.Nullable java.lang.String name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * name of namespace descriptor */ @@ -48545,7 +51713,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -48568,7 +51736,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -48581,23 +51749,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getNamespaceDescriptor_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getNamespaceDescriptor_args.class, metaDataMap); } public getNamespaceDescriptor_args() { @@ -48619,6 +51789,7 @@ public getNamespaceDescriptor_args(getNamespaceDescriptor_args other) { } } + @Override public getNamespaceDescriptor_args deepCopy() { return new getNamespaceDescriptor_args(this); } @@ -48631,7 +51802,7 @@ public void clear() { /** * name of namespace descriptor */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getName() { return this.name; } @@ -48639,7 +51810,7 @@ public java.lang.String getName() { /** * name of namespace descriptor */ - public getNamespaceDescriptor_args setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { + public getNamespaceDescriptor_args setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name) { this.name = name; return this; } @@ -48659,7 +51830,8 @@ public void setNameIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -48672,7 +51844,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -48683,6 +51856,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -48744,7 +51918,7 @@ public int compareTo(getNamespaceDescriptor_args other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -48752,16 +51926,19 @@ public int compareTo(getNamespaceDescriptor_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -48781,68 +51958,76 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getNamespaceDescriptor_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getNamespaceDescriptor_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getNamespaceDescriptor_argsStandardScheme getScheme() { return new getNamespaceDescriptor_argsStandardScheme(); } } - private static class getNamespaceDescriptor_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getNamespaceDescriptor_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getNamespaceDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getNamespaceDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescriptor_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48857,47 +52042,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescri } - private static class getNamespaceDescriptor_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getNamespaceDescriptor_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getNamespaceDescriptor_argsTupleScheme getScheme() { return new getNamespaceDescriptor_argsTupleScheme(); } } - private static class getNamespaceDescriptor_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getNamespaceDescriptor_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getNamespaceDescriptor_result 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("getNamespaceDescriptor_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getNamespaceDescriptor_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getNamespaceDescriptor_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getNamespaceDescriptor_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getNamespaceDescriptor_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getNamespaceDescriptor_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getNamespaceDescriptor_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TNamespaceDescriptor success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -48912,7 +52104,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -48937,7 +52129,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -48950,25 +52142,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getNamespaceDescriptor_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getNamespaceDescriptor_result.class, metaDataMap); } public getNamespaceDescriptor_result() { @@ -48995,6 +52189,7 @@ public getNamespaceDescriptor_result(getNamespaceDescriptor_result other) { } } + @Override public getNamespaceDescriptor_result deepCopy() { return new getNamespaceDescriptor_result(this); } @@ -49005,12 +52200,12 @@ public void clear() { this.io = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TNamespaceDescriptor getSuccess() { return this.success; } - public getNamespaceDescriptor_result setSuccess(@org.apache.thrift.annotation.Nullable TNamespaceDescriptor success) { + public getNamespaceDescriptor_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor success) { this.success = success; return this; } @@ -49030,12 +52225,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getNamespaceDescriptor_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getNamespaceDescriptor_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -49055,7 +52250,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -49076,7 +52272,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -49090,6 +52287,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -49166,7 +52364,7 @@ public int compareTo(getNamespaceDescriptor_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -49176,7 +52374,7 @@ public int compareTo(getNamespaceDescriptor_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -49184,16 +52382,18 @@ public int compareTo(getNamespaceDescriptor_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -49221,7 +52421,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { @@ -49231,68 +52431,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getNamespaceDescriptor_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getNamespaceDescriptor_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getNamespaceDescriptor_resultStandardScheme getScheme() { return new getNamespaceDescriptor_resultStandardScheme(); } } - private static class getNamespaceDescriptor_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getNamespaceDescriptor_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getNamespaceDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TNamespaceDescriptor(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getNamespaceDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new TNamespaceDescriptor(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescriptor_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -49312,17 +52520,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getNamespaceDescri } - private static class getNamespaceDescriptor_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getNamespaceDescriptor_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getNamespaceDescriptor_resultTupleScheme getScheme() { return new getNamespaceDescriptor_resultTupleScheme(); } } - private static class getNamespaceDescriptor_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getNamespaceDescriptor_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -49340,37 +52549,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getNamespaceDescrip } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = new TNamespaceDescriptor(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getNamespaceDescriptor_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = new TNamespaceDescriptor(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class listNamespaceDescriptors_args 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("listNamespaceDescriptors_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class listNamespaceDescriptors_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("listNamespaceDescriptors_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaceDescriptors_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaceDescriptors_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaceDescriptors_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaceDescriptors_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -49384,7 +52599,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -49405,7 +52620,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -49418,19 +52633,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaceDescriptors_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaceDescriptors_args.class, metaDataMap); } public listNamespaceDescriptors_args() { @@ -49442,6 +52659,7 @@ public listNamespaceDescriptors_args() { public listNamespaceDescriptors_args(listNamespaceDescriptors_args other) { } + @Override public listNamespaceDescriptors_args deepCopy() { return new listNamespaceDescriptors_args(this); } @@ -49450,12 +52668,14 @@ public listNamespaceDescriptors_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -49463,6 +52683,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -49507,16 +52728,19 @@ public int compareTo(listNamespaceDescriptors_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -49529,57 +52753,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class listNamespaceDescriptors_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaceDescriptors_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaceDescriptors_argsStandardScheme getScheme() { return new listNamespaceDescriptors_argsStandardScheme(); } } - private static class listNamespaceDescriptors_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class listNamespaceDescriptors_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, listNamespaceDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, listNamespaceDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescriptors_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -49589,44 +52821,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescr } - private static class listNamespaceDescriptors_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaceDescriptors_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaceDescriptors_argsTupleScheme getScheme() { return new listNamespaceDescriptors_argsTupleScheme(); } } - private static class listNamespaceDescriptors_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class listNamespaceDescriptors_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class listNamespaceDescriptors_result 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("listNamespaceDescriptors_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class listNamespaceDescriptors_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("listNamespaceDescriptors_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaceDescriptors_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaceDescriptors_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaceDescriptors_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaceDescriptors_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -49641,7 +52880,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -49666,7 +52905,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -49679,26 +52918,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TNamespaceDescriptor.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaceDescriptors_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaceDescriptors_result.class, metaDataMap); } public listNamespaceDescriptors_result() { @@ -49729,6 +52970,7 @@ public listNamespaceDescriptors_result(listNamespaceDescriptors_result other) { } } + @Override public listNamespaceDescriptors_result deepCopy() { return new listNamespaceDescriptors_result(this); } @@ -49743,7 +52985,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -49755,12 +52997,12 @@ public void addToSuccess(TNamespaceDescriptor elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public listNamespaceDescriptors_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public listNamespaceDescriptors_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -49780,12 +53022,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public listNamespaceDescriptors_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public listNamespaceDescriptors_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -49805,7 +53047,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -49826,7 +53069,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -49840,6 +53084,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -49916,7 +53161,7 @@ public int compareTo(listNamespaceDescriptors_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -49926,7 +53171,7 @@ public int compareTo(listNamespaceDescriptors_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -49934,16 +53179,18 @@ public int compareTo(listNamespaceDescriptors_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -49971,92 +53218,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class listNamespaceDescriptors_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaceDescriptors_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaceDescriptors_resultStandardScheme getScheme() { return new listNamespaceDescriptors_resultStandardScheme(); } } - private static class listNamespaceDescriptors_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class listNamespaceDescriptors_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, listNamespaceDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list326 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list326.size); - @org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem327; - for (int _i328 = 0; _i328 < _list326.size; ++_i328) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, listNamespaceDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem327 = new TNamespaceDescriptor(); - _elem327.read(iprot); - struct.success.add(_elem327); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list326 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list326.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem327; + for (int _i328 = 0; _i328 < _list326.size; ++_i328) + { + _elem327 = new TNamespaceDescriptor(); + _elem327.read(iprot); + struct.success.add(_elem327); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescriptors_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TNamespaceDescriptor _iter329 : struct.success) { _iter329.write(oprot); @@ -50076,17 +53331,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaceDescr } - private static class listNamespaceDescriptors_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaceDescriptors_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaceDescriptors_resultTupleScheme getScheme() { return new listNamespaceDescriptors_resultTupleScheme(); } } - private static class listNamespaceDescriptors_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class listNamespaceDescriptors_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -50110,46 +53366,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescri } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list331.size); - @org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem332; - for (int _i333 = 0; _i333 < _list331.size; ++_i333) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaceDescriptors_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem332 = new TNamespaceDescriptor(); - _elem332.read(iprot); - struct.success.add(_elem332); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list331.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem332; + for (int _i333 = 0; _i333 < _list331.size; ++_i333) + { + _elem332 = new TNamespaceDescriptor(); + _elem332.read(iprot); + struct.success.add(_elem332); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class listNamespaces_args 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("listNamespaces_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class listNamespaces_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("listNamespaces_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaces_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaces_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaces_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaces_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -50163,7 +53425,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -50184,7 +53446,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -50197,19 +53459,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaces_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaces_args.class, metaDataMap); } public listNamespaces_args() { @@ -50221,6 +53485,7 @@ public listNamespaces_args() { public listNamespaces_args(listNamespaces_args other) { } + @Override public listNamespaces_args deepCopy() { return new listNamespaces_args(this); } @@ -50229,12 +53494,14 @@ public listNamespaces_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -50242,6 +53509,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -50286,16 +53554,19 @@ public int compareTo(listNamespaces_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -50308,57 +53579,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class listNamespaces_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaces_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaces_argsStandardScheme getScheme() { return new listNamespaces_argsStandardScheme(); } } - private static class listNamespaces_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class listNamespaces_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, listNamespaces_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, listNamespaces_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaces_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, listNamespaces_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -50368,44 +53647,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaces_arg } - private static class listNamespaces_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaces_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaces_argsTupleScheme getScheme() { return new listNamespaces_argsTupleScheme(); } } - private static class listNamespaces_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class listNamespaces_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaces_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaces_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaces_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaces_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class listNamespaces_result 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("listNamespaces_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class listNamespaces_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("listNamespaces_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaces_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaces_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new listNamespaces_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new listNamespaces_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -50420,7 +53706,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -50445,7 +53731,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -50458,26 +53744,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaces_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listNamespaces_result.class, metaDataMap); } public listNamespaces_result() { @@ -50505,6 +53793,7 @@ public listNamespaces_result(listNamespaces_result other) { } } + @Override public listNamespaces_result deepCopy() { return new listNamespaces_result(this); } @@ -50519,7 +53808,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -50531,12 +53820,12 @@ public void addToSuccess(java.lang.String elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public listNamespaces_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public listNamespaces_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -50556,12 +53845,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public listNamespaces_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public listNamespaces_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -50581,7 +53870,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -50602,7 +53892,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -50616,6 +53907,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -50692,7 +53984,7 @@ public int compareTo(listNamespaces_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -50702,7 +53994,7 @@ public int compareTo(listNamespaces_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -50710,16 +54002,18 @@ public int compareTo(listNamespaces_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -50747,91 +54041,99 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class listNamespaces_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaces_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaces_resultStandardScheme getScheme() { return new listNamespaces_resultStandardScheme(); } } - private static class listNamespaces_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class listNamespaces_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, listNamespaces_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list334 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list334.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem335; - for (int _i336 = 0; _i336 < _list334.size; ++_i336) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, listNamespaces_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem335 = iprot.readString(); - struct.success.add(_elem335); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list334 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list334.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem335; + for (int _i336 = 0; _i336 < _list334.size; ++_i336) + { + _elem335 = iprot.readString(); + struct.success.add(_elem335); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaces_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, listNamespaces_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.success.size())); for (java.lang.String _iter337 : struct.success) { oprot.writeString(_iter337); @@ -50851,17 +54153,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, listNamespaces_res } - private static class listNamespaces_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class listNamespaces_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public listNamespaces_resultTupleScheme getScheme() { return new listNamespaces_resultTupleScheme(); } } - private static class listNamespaces_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class listNamespaces_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaces_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaces_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -50885,45 +54188,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, listNamespaces_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaces_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list339 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list339.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem340; - for (int _i341 = 0; _i341 < _list339.size; ++_i341) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, listNamespaces_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem340 = iprot.readString(); - struct.success.add(_elem340); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list339 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list339.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem340; + for (int _i341 = 0; _i341 < _list339.size; ++_i341) + { + _elem340 = iprot.readString(); + struct.success.add(_elem340); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getThriftServerType_args 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("getThriftServerType_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getThriftServerType_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getThriftServerType_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -50937,7 +54246,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -50958,7 +54267,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -50971,19 +54280,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_args.class, metaDataMap); } public getThriftServerType_args() { @@ -50995,6 +54306,7 @@ public getThriftServerType_args() { public getThriftServerType_args(getThriftServerType_args other) { } + @Override public getThriftServerType_args deepCopy() { return new getThriftServerType_args(this); } @@ -51003,12 +54315,14 @@ public getThriftServerType_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -51016,6 +54330,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -51060,16 +54375,19 @@ public int compareTo(getThriftServerType_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -51082,57 +54400,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getThriftServerType_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_argsStandardScheme getScheme() { return new getThriftServerType_argsStandardScheme(); } } - private static class getThriftServerType_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getThriftServerType_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -51142,46 +54468,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerTyp } - private static class getThriftServerType_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_argsTupleScheme getScheme() { return new getThriftServerType_argsTupleScheme(); } } - private static class getThriftServerType_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getThriftServerType_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getThriftServerType_result 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("getThriftServerType_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getThriftServerType_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getThriftServerType_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)0); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getThriftServerType_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getThriftServerType_resultTupleSchemeFactory(); /** * * @see TThriftServerType */ - public @org.apache.thrift.annotation.Nullable TThriftServerType success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TThriftServerType success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * * @see TThriftServerType @@ -51199,7 +54532,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -51222,7 +54555,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -51235,23 +54568,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TThriftServerType.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TThriftServerType.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getThriftServerType_result.class, metaDataMap); } public getThriftServerType_result() { @@ -51273,6 +54608,7 @@ public getThriftServerType_result(getThriftServerType_result other) { } } + @Override public getThriftServerType_result deepCopy() { return new getThriftServerType_result(this); } @@ -51286,7 +54622,7 @@ public void clear() { * * @see TThriftServerType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TThriftServerType getSuccess() { return this.success; } @@ -51295,7 +54631,7 @@ public TThriftServerType getSuccess() { * * @see TThriftServerType */ - public getThriftServerType_result setSuccess(@org.apache.thrift.annotation.Nullable TThriftServerType success) { + public getThriftServerType_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TThriftServerType success) { this.success = success; return this; } @@ -51315,7 +54651,8 @@ public void setSuccessIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -51328,7 +54665,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -51339,6 +54677,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -51400,7 +54739,7 @@ public int compareTo(getThriftServerType_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -51408,16 +54747,18 @@ public int compareTo(getThriftServerType_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -51437,65 +54778,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getThriftServerType_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_resultStandardScheme getScheme() { return new getThriftServerType_resultStandardScheme(); } } - private static class getThriftServerType_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getThriftServerType_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.success = org.apache.hadoop.hbase.thrift2.generated.TThriftServerType.findByValue(iprot.readI32()); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.success = org.apache.hadoop.hbase.thrift2.generated.TThriftServerType.findByValue(iprot.readI32()); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -51510,17 +54859,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getThriftServerTyp } - private static class getThriftServerType_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getThriftServerType_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getThriftServerType_resultTupleScheme getScheme() { return new getThriftServerType_resultTupleScheme(); } } - private static class getThriftServerType_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getThriftServerType_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -51532,31 +54882,37 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getThriftServerType } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.success = org.apache.hadoop.hbase.thrift2.generated.TThriftServerType.findByValue(iprot.readI32()); - struct.setSuccessIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getThriftServerType_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = org.apache.hadoop.hbase.thrift2.generated.TThriftServerType.findByValue(iprot.readI32()); + struct.setSuccessIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getClusterId_args 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("getClusterId_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getClusterId_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getClusterId_args"); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_argsTupleSchemeFactory(); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ; private static final java.util.Map byName = new java.util.HashMap(); @@ -51570,7 +54926,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: @@ -51591,7 +54947,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -51604,19 +54960,21 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_args.class, metaDataMap); } public getClusterId_args() { @@ -51628,6 +54986,7 @@ public getClusterId_args() { public getClusterId_args(getClusterId_args other) { } + @Override public getClusterId_args deepCopy() { return new getClusterId_args(this); } @@ -51636,12 +54995,14 @@ public getClusterId_args deepCopy() { public void clear() { } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { } @@ -51649,6 +55010,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -51693,16 +55055,19 @@ public int compareTo(getClusterId_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -51715,57 +55080,65 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getClusterId_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_argsStandardScheme getScheme() { return new getClusterId_argsStandardScheme(); } } - private static class getClusterId_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getClusterId_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -51775,42 +55148,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_args } - private static class getClusterId_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_argsTupleScheme getScheme() { return new getClusterId_argsTupleScheme(); } } - private static class getClusterId_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getClusterId_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getClusterId_result 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("getClusterId_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getClusterId_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getClusterId_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)0); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getClusterId_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getClusterId_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final java.util.Map byName = new java.util.HashMap(); @@ -51824,7 +55204,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -51847,7 +55227,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -51860,23 +55240,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getClusterId_result.class, metaDataMap); } public getClusterId_result() { @@ -51898,6 +55280,7 @@ public getClusterId_result(getClusterId_result other) { } } + @Override public getClusterId_result deepCopy() { return new getClusterId_result(this); } @@ -51907,12 +55290,12 @@ public void clear() { this.success = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getSuccess() { return this.success; } - public getClusterId_result setSuccess(@org.apache.thrift.annotation.Nullable java.lang.String success) { + public getClusterId_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String success) { this.success = success; return this; } @@ -51932,7 +55315,8 @@ public void setSuccessIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -51945,7 +55329,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -51956,6 +55341,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -52017,7 +55403,7 @@ public int compareTo(getClusterId_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -52025,16 +55411,18 @@ public int compareTo(getClusterId_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -52054,65 +55442,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getClusterId_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_resultStandardScheme getScheme() { return new getClusterId_resultStandardScheme(); } } - private static class getClusterId_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getClusterId_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -52127,17 +55523,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getClusterId_resul } - private static class getClusterId_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getClusterId_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getClusterId_resultTupleScheme getScheme() { return new getClusterId_resultTupleScheme(); } } - private static class getClusterId_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getClusterId_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -52149,41 +55546,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getClusterId_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.success = iprot.readString(); - struct.setSuccessIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getClusterId_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readString(); + struct.setSuccessIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getSlowLogResponses_args 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("getSlowLogResponses_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getSlowLogResponses_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getSlowLogResponses_args"); - private static final org.apache.thrift.protocol.TField SERVER_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("serverNames", org.apache.thrift.protocol.TType.SET, (short)1); - private static final org.apache.thrift.protocol.TField LOG_QUERY_FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("logQueryFilter", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SERVER_NAMES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("serverNames", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField LOG_QUERY_FILTER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("logQueryFilter", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getSlowLogResponses_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getSlowLogResponses_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getSlowLogResponses_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getSlowLogResponses_argsTupleSchemeFactory(); /** * @param serverNames Server names to get slowlog responses from */ - public @org.apache.thrift.annotation.Nullable java.util.Set serverNames; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Set serverNames; // required /** * @param logQueryFilter filter to be used if provided */ - public @org.apache.thrift.annotation.Nullable TLogQueryFilter logQueryFilter; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TLogQueryFilter logQueryFilter; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * @param serverNames Server names to get slowlog responses from */ @@ -52204,7 +55607,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SERVER_NAMES @@ -52229,7 +55632,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -52242,26 +55645,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SERVER_NAMES, new org.apache.thrift.meta_data.FieldMetaData("serverNames", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TServerName.class)))); - tmpMap.put(_Fields.LOG_QUERY_FILTER, new org.apache.thrift.meta_data.FieldMetaData("logQueryFilter", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TLogQueryFilter.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SERVER_NAMES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("serverNames", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.SetMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TServerName.class)))); + tmpMap.put(_Fields.LOG_QUERY_FILTER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("logQueryFilter", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TLogQueryFilter.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlowLogResponses_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlowLogResponses_args.class, metaDataMap); } public getSlowLogResponses_args() { @@ -52292,6 +55697,7 @@ public getSlowLogResponses_args(getSlowLogResponses_args other) { } } + @Override public getSlowLogResponses_args deepCopy() { return new getSlowLogResponses_args(this); } @@ -52306,7 +55712,7 @@ public int getServerNamesSize() { return (this.serverNames == null) ? 0 : this.serverNames.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getServerNamesIterator() { return (this.serverNames == null) ? null : this.serverNames.iterator(); } @@ -52321,7 +55727,7 @@ public void addToServerNames(TServerName elem) { /** * @param serverNames Server names to get slowlog responses from */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Set getServerNames() { return this.serverNames; } @@ -52329,7 +55735,7 @@ public java.util.Set getServerNames() { /** * @param serverNames Server names to get slowlog responses from */ - public getSlowLogResponses_args setServerNames(@org.apache.thrift.annotation.Nullable java.util.Set serverNames) { + public getSlowLogResponses_args setServerNames(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Set serverNames) { this.serverNames = serverNames; return this; } @@ -52352,7 +55758,7 @@ public void setServerNamesIsSet(boolean value) { /** * @param logQueryFilter filter to be used if provided */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TLogQueryFilter getLogQueryFilter() { return this.logQueryFilter; } @@ -52360,7 +55766,7 @@ public TLogQueryFilter getLogQueryFilter() { /** * @param logQueryFilter filter to be used if provided */ - public getSlowLogResponses_args setLogQueryFilter(@org.apache.thrift.annotation.Nullable TLogQueryFilter logQueryFilter) { + public getSlowLogResponses_args setLogQueryFilter(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TLogQueryFilter logQueryFilter) { this.logQueryFilter = logQueryFilter; return this; } @@ -52380,7 +55786,8 @@ public void setLogQueryFilterIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SERVER_NAMES: if (value == null) { @@ -52401,7 +55808,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SERVER_NAMES: @@ -52415,6 +55823,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -52491,7 +55900,7 @@ public int compareTo(getSlowLogResponses_args other) { return lastComparison; } if (isSetServerNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverNames, other.serverNames); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.serverNames, other.serverNames); if (lastComparison != 0) { return lastComparison; } @@ -52501,7 +55910,7 @@ public int compareTo(getSlowLogResponses_args other) { return lastComparison; } if (isSetLogQueryFilter()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logQueryFilter, other.logQueryFilter); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.logQueryFilter, other.logQueryFilter); if (lastComparison != 0) { return lastComparison; } @@ -52509,16 +55918,19 @@ public int compareTo(getSlowLogResponses_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -52546,7 +55958,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (logQueryFilter != null) { @@ -52556,85 +55968,93 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getSlowLogResponses_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getSlowLogResponses_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getSlowLogResponses_argsStandardScheme getScheme() { return new getSlowLogResponses_argsStandardScheme(); } } - private static class getSlowLogResponses_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getSlowLogResponses_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // SERVER_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set342 = iprot.readSetBegin(); - struct.serverNames = new java.util.HashSet(2*_set342.size); - @org.apache.thrift.annotation.Nullable TServerName _elem343; - for (int _i344 = 0; _i344 < _set342.size; ++_i344) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // SERVER_NAMES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET) { { - _elem343 = new TServerName(); - _elem343.read(iprot); - struct.serverNames.add(_elem343); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set342 = iprot.readSetBegin(); + struct.serverNames = new java.util.HashSet(2*_set342.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem343; + for (int _i344 = 0; _i344 < _set342.size; ++_i344) + { + _elem343 = new TServerName(); + _elem343.read(iprot); + struct.serverNames.add(_elem343); + } + iprot.readSetEnd(); } - iprot.readSetEnd(); + struct.setServerNamesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setServerNamesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // LOG_QUERY_FILTER - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.logQueryFilter = new TLogQueryFilter(); - struct.logQueryFilter.read(iprot); - struct.setLogQueryFilterIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 2: // LOG_QUERY_FILTER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.logQueryFilter = new TLogQueryFilter(); + struct.logQueryFilter.read(iprot); + struct.setLogQueryFilterIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponses_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.serverNames != null) { oprot.writeFieldBegin(SERVER_NAMES_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, struct.serverNames.size())); + oprot.writeSetBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.serverNames.size())); for (TServerName _iter345 : struct.serverNames) { _iter345.write(oprot); @@ -52654,17 +56074,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponse } - private static class getSlowLogResponses_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getSlowLogResponses_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getSlowLogResponses_argsTupleScheme getScheme() { return new getSlowLogResponses_argsTupleScheme(); } } - private static class getSlowLogResponses_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getSlowLogResponses_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetServerNames()) { optionals.set(0); @@ -52688,50 +56109,56 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TSet _set347 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.serverNames = new java.util.HashSet(2*_set347.size); - @org.apache.thrift.annotation.Nullable TServerName _elem348; - for (int _i349 = 0; _i349 < _set347.size; ++_i349) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem348 = new TServerName(); - _elem348.read(iprot); - struct.serverNames.add(_elem348); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set347 = iprot.readSetBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.serverNames = new java.util.HashSet(2*_set347.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem348; + for (int _i349 = 0; _i349 < _set347.size; ++_i349) + { + _elem348 = new TServerName(); + _elem348.read(iprot); + struct.serverNames.add(_elem348); + } } + struct.setServerNamesIsSet(true); } - struct.setServerNamesIsSet(true); - } - if (incoming.get(1)) { - struct.logQueryFilter = new TLogQueryFilter(); - struct.logQueryFilter.read(iprot); - struct.setLogQueryFilterIsSet(true); + if (incoming.get(1)) { + struct.logQueryFilter = new TLogQueryFilter(); + struct.logQueryFilter.read(iprot); + struct.setLogQueryFilterIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class getSlowLogResponses_result 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("getSlowLogResponses_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class getSlowLogResponses_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("getSlowLogResponses_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getSlowLogResponses_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getSlowLogResponses_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getSlowLogResponses_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getSlowLogResponses_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -52746,7 +56173,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -52771,7 +56198,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -52784,26 +56211,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TOnlineLogRecord.class)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TOnlineLogRecord.class)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlowLogResponses_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlowLogResponses_result.class, metaDataMap); } public getSlowLogResponses_result() { @@ -52834,6 +56263,7 @@ public getSlowLogResponses_result(getSlowLogResponses_result other) { } } + @Override public getSlowLogResponses_result deepCopy() { return new getSlowLogResponses_result(this); } @@ -52848,7 +56278,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -52860,12 +56290,12 @@ public void addToSuccess(TOnlineLogRecord elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public getSlowLogResponses_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public getSlowLogResponses_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -52885,12 +56315,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public getSlowLogResponses_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public getSlowLogResponses_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -52910,7 +56340,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -52931,7 +56362,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -52945,6 +56377,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -53021,7 +56454,7 @@ public int compareTo(getSlowLogResponses_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -53031,7 +56464,7 @@ public int compareTo(getSlowLogResponses_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -53039,16 +56472,18 @@ public int compareTo(getSlowLogResponses_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -53076,92 +56511,100 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class getSlowLogResponses_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getSlowLogResponses_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getSlowLogResponses_resultStandardScheme getScheme() { return new getSlowLogResponses_resultStandardScheme(); } } - private static class getSlowLogResponses_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class getSlowLogResponses_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list350 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list350.size); - @org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem351; - for (int _i352 = 0; _i352 < _list350.size; ++_i352) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, getSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem351 = new TOnlineLogRecord(); - _elem351.read(iprot); - struct.success.add(_elem351); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list350 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list350.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem351; + for (int _i352 = 0; _i352 < _list350.size; ++_i352) + { + _elem351 = new TOnlineLogRecord(); + _elem351.read(iprot); + struct.success.add(_elem351); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponses_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); for (TOnlineLogRecord _iter353 : struct.success) { _iter353.write(oprot); @@ -53181,17 +56624,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, getSlowLogResponse } - private static class getSlowLogResponses_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class getSlowLogResponses_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public getSlowLogResponses_resultTupleScheme getScheme() { return new getSlowLogResponses_resultTupleScheme(); } } - private static class getSlowLogResponses_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class getSlowLogResponses_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -53215,51 +56659,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list355 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list355.size); - @org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem356; - for (int _i357 = 0; _i357 < _list355.size; ++_i357) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem356 = new TOnlineLogRecord(); - _elem356.read(iprot); - struct.success.add(_elem356); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list355 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list355.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem356; + for (int _i357 = 0; _i357 < _list355.size; ++_i357) + { + _elem356 = new TOnlineLogRecord(); + _elem356.read(iprot); + struct.success.add(_elem356); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class clearSlowLogResponses_args 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("clearSlowLogResponses_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class clearSlowLogResponses_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("clearSlowLogResponses_args"); - private static final org.apache.thrift.protocol.TField SERVER_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("serverNames", org.apache.thrift.protocol.TType.SET, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SERVER_NAMES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("serverNames", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new clearSlowLogResponses_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new clearSlowLogResponses_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new clearSlowLogResponses_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new clearSlowLogResponses_argsTupleSchemeFactory(); /** * @param serverNames Set of Server names to clean slowlog responses from */ - public @org.apache.thrift.annotation.Nullable java.util.Set serverNames; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Set serverNames; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * @param serverNames Set of Server names to clean slowlog responses from */ @@ -53276,7 +56726,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SERVER_NAMES @@ -53299,7 +56749,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -53312,24 +56762,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SERVER_NAMES, new org.apache.thrift.meta_data.FieldMetaData("serverNames", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TServerName.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SERVER_NAMES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("serverNames", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.SetMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TServerName.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clearSlowLogResponses_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clearSlowLogResponses_args.class, metaDataMap); } public clearSlowLogResponses_args() { @@ -53355,6 +56807,7 @@ public clearSlowLogResponses_args(clearSlowLogResponses_args other) { } } + @Override public clearSlowLogResponses_args deepCopy() { return new clearSlowLogResponses_args(this); } @@ -53368,7 +56821,7 @@ public int getServerNamesSize() { return (this.serverNames == null) ? 0 : this.serverNames.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getServerNamesIterator() { return (this.serverNames == null) ? null : this.serverNames.iterator(); } @@ -53383,7 +56836,7 @@ public void addToServerNames(TServerName elem) { /** * @param serverNames Set of Server names to clean slowlog responses from */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Set getServerNames() { return this.serverNames; } @@ -53391,7 +56844,7 @@ public java.util.Set getServerNames() { /** * @param serverNames Set of Server names to clean slowlog responses from */ - public clearSlowLogResponses_args setServerNames(@org.apache.thrift.annotation.Nullable java.util.Set serverNames) { + public clearSlowLogResponses_args setServerNames(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Set serverNames) { this.serverNames = serverNames; return this; } @@ -53411,7 +56864,8 @@ public void setServerNamesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SERVER_NAMES: if (value == null) { @@ -53424,7 +56878,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SERVER_NAMES: @@ -53435,6 +56890,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -53496,7 +56952,7 @@ public int compareTo(clearSlowLogResponses_args other) { return lastComparison; } if (isSetServerNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverNames, other.serverNames); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.serverNames, other.serverNames); if (lastComparison != 0) { return lastComparison; } @@ -53504,16 +56960,19 @@ public int compareTo(clearSlowLogResponses_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -53533,83 +56992,91 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class clearSlowLogResponses_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class clearSlowLogResponses_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public clearSlowLogResponses_argsStandardScheme getScheme() { return new clearSlowLogResponses_argsStandardScheme(); } } - private static class clearSlowLogResponses_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class clearSlowLogResponses_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, clearSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // SERVER_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set358 = iprot.readSetBegin(); - struct.serverNames = new java.util.HashSet(2*_set358.size); - @org.apache.thrift.annotation.Nullable TServerName _elem359; - for (int _i360 = 0; _i360 < _set358.size; ++_i360) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, clearSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // SERVER_NAMES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.SET) { { - _elem359 = new TServerName(); - _elem359.read(iprot); - struct.serverNames.add(_elem359); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set358 = iprot.readSetBegin(); + struct.serverNames = new java.util.HashSet(2*_set358.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem359; + for (int _i360 = 0; _i360 < _set358.size; ++_i360) + { + _elem359 = new TServerName(); + _elem359.read(iprot); + struct.serverNames.add(_elem359); + } + iprot.readSetEnd(); } - iprot.readSetEnd(); + struct.setServerNamesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setServerNamesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, clearSlowLogResponses_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, clearSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.serverNames != null) { oprot.writeFieldBegin(SERVER_NAMES_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, struct.serverNames.size())); + oprot.writeSetBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.serverNames.size())); for (TServerName _iter361 : struct.serverNames) { _iter361.write(oprot); @@ -53624,17 +57091,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, clearSlowLogRespon } - private static class clearSlowLogResponses_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class clearSlowLogResponses_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public clearSlowLogResponses_argsTupleScheme getScheme() { return new clearSlowLogResponses_argsTupleScheme(); } } - private static class clearSlowLogResponses_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class clearSlowLogResponses_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetServerNames()) { optionals.set(0); @@ -53652,45 +57120,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, clearSlowLogRespons } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TSet _set363 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.serverNames = new java.util.HashSet(2*_set363.size); - @org.apache.thrift.annotation.Nullable TServerName _elem364; - for (int _i365 = 0; _i365 < _set363.size; ++_i365) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _elem364 = new TServerName(); - _elem364.read(iprot); - struct.serverNames.add(_elem364); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set363 = iprot.readSetBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.serverNames = new java.util.HashSet(2*_set363.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem364; + for (int _i365 = 0; _i365 < _set363.size; ++_i365) + { + _elem364 = new TServerName(); + _elem364.read(iprot); + struct.serverNames.add(_elem364); + } } + struct.setServerNamesIsSet(true); } - struct.setServerNamesIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class clearSlowLogResponses_result 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("clearSlowLogResponses_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class clearSlowLogResponses_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("clearSlowLogResponses_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new clearSlowLogResponses_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new clearSlowLogResponses_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new clearSlowLogResponses_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new clearSlowLogResponses_resultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.util.List success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -53705,7 +57179,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -53730,7 +57204,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -53743,26 +57217,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL)))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clearSlowLogResponses_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clearSlowLogResponses_result.class, metaDataMap); } public clearSlowLogResponses_result() { @@ -53790,6 +57266,7 @@ public clearSlowLogResponses_result(clearSlowLogResponses_result other) { } } + @Override public clearSlowLogResponses_result deepCopy() { return new clearSlowLogResponses_result(this); } @@ -53804,7 +57281,7 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } @@ -53816,12 +57293,12 @@ public void addToSuccess(boolean elem) { this.success.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSuccess() { return this.success; } - public clearSlowLogResponses_result setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public clearSlowLogResponses_result setSuccess(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; return this; } @@ -53841,12 +57318,12 @@ public void setSuccessIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public clearSlowLogResponses_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public clearSlowLogResponses_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -53866,7 +57343,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -53887,7 +57365,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -53901,6 +57380,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -53977,7 +57457,7 @@ public int compareTo(clearSlowLogResponses_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -53987,7 +57467,7 @@ public int compareTo(clearSlowLogResponses_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -53995,16 +57475,18 @@ public int compareTo(clearSlowLogResponses_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -54032,91 +57514,99 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class clearSlowLogResponses_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class clearSlowLogResponses_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public clearSlowLogResponses_resultStandardScheme getScheme() { return new clearSlowLogResponses_resultStandardScheme(); } } - private static class clearSlowLogResponses_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class clearSlowLogResponses_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, clearSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list366 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list366.size); - boolean _elem367; - for (int _i368 = 0; _i368 < _list366.size; ++_i368) + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, clearSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem367 = iprot.readBool(); - struct.success.add(_elem367); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list366 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list366.size); + boolean _elem367; + for (int _i368 = 0; _i368 < _list366.size; ++_i368) + { + _elem367 = iprot.readBool(); + struct.success.add(_elem367); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, clearSlowLogResponses_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, clearSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, struct.success.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, struct.success.size())); for (boolean _iter369 : struct.success) { oprot.writeBool(_iter369); @@ -54136,17 +57626,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, clearSlowLogRespon } - private static class clearSlowLogResponses_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class clearSlowLogResponses_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public clearSlowLogResponses_resultTupleScheme getScheme() { return new clearSlowLogResponses_resultTupleScheme(); } } - private static class clearSlowLogResponses_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class clearSlowLogResponses_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -54170,47 +57661,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, clearSlowLogRespons } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list371 = iprot.readListBegin(org.apache.thrift.protocol.TType.BOOL); - struct.success = new java.util.ArrayList(_list371.size); - boolean _elem372; - for (int _i373 = 0; _i373 < _list371.size; ++_i373) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponses_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { { - _elem372 = iprot.readBool(); - struct.success.add(_elem372); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list371 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL); + struct.success = new java.util.ArrayList(_list371.size); + boolean _elem372; + for (int _i373 = 0; _i373 < _list371.size; ++_i373) + { + _elem372 = iprot.readBool(); + struct.success.add(_elem372); + } } + struct.setSuccessIsSet(true); } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class grant_args 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("grant_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class grant_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("grant_args"); - private static final org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("info", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("info", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { INFO((short)1, "info"); private static final java.util.Map byName = new java.util.HashMap(); @@ -54224,7 +57721,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INFO @@ -54247,7 +57744,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -54260,23 +57757,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INFO, new org.apache.thrift.meta_data.FieldMetaData("info", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INFO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("info", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_args.class, metaDataMap); } public grant_args() { @@ -54298,6 +57797,7 @@ public grant_args(grant_args other) { } } + @Override public grant_args deepCopy() { return new grant_args(this); } @@ -54307,12 +57807,12 @@ public void clear() { this.info = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAccessControlEntity getInfo() { return this.info; } - public grant_args setInfo(@org.apache.thrift.annotation.Nullable TAccessControlEntity info) { + public grant_args setInfo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info) { this.info = info; return this; } @@ -54332,7 +57832,8 @@ public void setInfoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INFO: if (value == null) { @@ -54345,7 +57846,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INFO: @@ -54356,6 +57858,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -54417,7 +57920,7 @@ public int compareTo(grant_args other) { return lastComparison; } if (isSetInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); if (lastComparison != 0) { return lastComparison; } @@ -54425,16 +57928,19 @@ public int compareTo(grant_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -54454,10 +57960,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (info == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); } // check for sub-struct validity if (info != null) { @@ -54467,59 +57973,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class grant_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_argsStandardScheme getScheme() { return new grant_argsStandardScheme(); } } - private static class grant_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class grant_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INFO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // INFO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, grant_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -54534,48 +58048,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, grant_args struct) } - private static class grant_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_argsTupleScheme getScheme() { return new grant_argsTupleScheme(); } } - private static class grant_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class grant_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.info.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class grant_result 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("grant_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class grant_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("grant_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new grant_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new grant_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -54590,7 +58111,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -54615,7 +58136,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -54628,10 +58149,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -54640,15 +58163,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grant_result.class, metaDataMap); } public grant_result() { @@ -54675,6 +58198,7 @@ public grant_result(grant_result other) { } } + @Override public grant_result deepCopy() { return new grant_result(this); } @@ -54697,24 +58221,24 @@ public grant_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public grant_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public grant_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -54734,7 +58258,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -54755,7 +58280,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -54769,6 +58295,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -54843,7 +58370,7 @@ public int compareTo(grant_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -54853,7 +58380,7 @@ public int compareTo(grant_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -54861,16 +58388,18 @@ public int compareTo(grant_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -54894,15 +58423,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -54911,59 +58440,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class grant_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_resultStandardScheme getScheme() { return new grant_resultStandardScheme(); } } - private static class grant_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class grant_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, grant_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -54983,17 +58520,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, grant_result struc } - private static class grant_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class grant_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public grant_resultTupleScheme getScheme() { return new grant_resultTupleScheme(); } } - private static class grant_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class grant_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -55011,38 +58549,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, grant_result struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, grant_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class revoke_args 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("revoke_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class revoke_args implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("revoke_args"); - private static final org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("info", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField INFO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("info", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_argsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { INFO((short)1, "info"); private static final java.util.Map byName = new java.util.HashMap(); @@ -55056,7 +58600,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // INFO @@ -55079,7 +58623,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -55092,23 +58636,25 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.INFO, new org.apache.thrift.meta_data.FieldMetaData("info", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INFO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("info", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAccessControlEntity.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_args.class, metaDataMap); } public revoke_args() { @@ -55130,6 +58676,7 @@ public revoke_args(revoke_args other) { } } + @Override public revoke_args deepCopy() { return new revoke_args(this); } @@ -55139,12 +58686,12 @@ public void clear() { this.info = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAccessControlEntity getInfo() { return this.info; } - public revoke_args setInfo(@org.apache.thrift.annotation.Nullable TAccessControlEntity info) { + public revoke_args setInfo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAccessControlEntity info) { this.info = info; return this; } @@ -55164,7 +58711,8 @@ public void setInfoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case INFO: if (value == null) { @@ -55177,7 +58725,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case INFO: @@ -55188,6 +58737,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -55249,7 +58799,7 @@ public int compareTo(revoke_args other) { return lastComparison; } if (isSetInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.info, other.info); if (lastComparison != 0) { return lastComparison; } @@ -55257,16 +58807,19 @@ public int compareTo(revoke_args other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -55286,10 +58839,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (info == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'info' was not present! Struct: " + toString()); } // check for sub-struct validity if (info != null) { @@ -55299,59 +58852,67 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class revoke_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_argsStandardScheme getScheme() { return new revoke_argsStandardScheme(); } } - private static class revoke_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class revoke_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // INFO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // INFO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -55366,48 +58927,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_args struct } - private static class revoke_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_argsTupleScheme getScheme() { return new revoke_argsTupleScheme(); } } - private static class revoke_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class revoke_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.info.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.info = new TAccessControlEntity(); - struct.info.read(iprot); - struct.setInfoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.info = new TAccessControlEntity(); + struct.info.read(iprot); + struct.setInfoIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } - public static class revoke_result 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("revoke_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class revoke_result implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("revoke_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); - private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("success", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("io", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new revoke_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new revoke_resultTupleSchemeFactory(); public boolean success; // required - public @org.apache.thrift.annotation.Nullable TIOError io; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), IO((short)1, "io"); @@ -55422,7 +58990,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS @@ -55447,7 +59015,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -55460,10 +59028,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -55472,15 +59042,15 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("success", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.IO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("io", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TIOError.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revoke_result.class, metaDataMap); } public revoke_result() { @@ -55507,6 +59077,7 @@ public revoke_result(revoke_result other) { } } + @Override public revoke_result deepCopy() { return new revoke_result(this); } @@ -55529,24 +59100,24 @@ public revoke_result setSuccess(boolean success) { } public void unsetSuccess() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TIOError getIo() { return this.io; } - public revoke_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public revoke_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -55566,7 +59137,8 @@ public void setIoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SUCCESS: if (value == null) { @@ -55587,7 +59159,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: @@ -55601,6 +59174,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -55675,7 +59249,7 @@ public int compareTo(revoke_result other) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -55685,7 +59259,7 @@ public int compareTo(revoke_result other) { return lastComparison; } if (isSetIo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.io, other.io); if (lastComparison != 0) { return lastComparison; } @@ -55693,16 +59267,18 @@ public int compareTo(revoke_result other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -55726,15 +59302,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -55743,59 +59319,67 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class revoke_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_resultStandardScheme getScheme() { return new revoke_resultStandardScheme(); } } - private static class revoke_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class revoke_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // IO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // IO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -55815,17 +59399,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, revoke_result stru } - private static class revoke_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class revoke_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public revoke_resultTupleScheme getScheme() { return new revoke_resultTupleScheme(); } } - private static class revoke_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class revoke_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { optionals.set(0); @@ -55843,23 +59428,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, revoke_result struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.io = new TIOError(); - struct.io.read(iprot); - struct.setIoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, revoke_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.io = new TIOError(); + struct.io.read(iprot); + struct.setIoIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 3597eb68425d..3a7fb10b4efa 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,31 +7,31 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class THRegionInfo implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("THRegionInfo"); - private static final org.apache.thrift.protocol.TField REGION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("regionId", org.apache.thrift.protocol.TType.I64, (short)1); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField START_KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("startKey", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField END_KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("endKey", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField OFFLINE_FIELD_DESC = new org.apache.thrift.protocol.TField("offline", org.apache.thrift.protocol.TType.BOOL, (short)5); - private static final org.apache.thrift.protocol.TField SPLIT_FIELD_DESC = new org.apache.thrift.protocol.TField("split", org.apache.thrift.protocol.TType.BOOL, (short)6); - private static final org.apache.thrift.protocol.TField REPLICA_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("replicaId", org.apache.thrift.protocol.TType.I32, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGION_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regionId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_KEY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startKey", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField END_KEY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("endKey", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField OFFLINE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("offline", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SPLIT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("split", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REPLICA_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("replicaId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new THRegionInfoStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new THRegionInfoTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new THRegionInfoStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new THRegionInfoTupleSchemeFactory(); public long regionId; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey; // optional public boolean offline; // optional public boolean split; // optional public int replicaId; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { REGION_ID((short)1, "regionId"), TABLE_NAME((short)2, "tableName"), START_KEY((short)3, "startKey"), @@ -51,7 +51,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // REGION_ID @@ -86,7 +86,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -99,10 +99,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -114,26 +116,26 @@ public java.lang.String getFieldName() { private static final int __SPLIT_ISSET_ID = 2; private static final int __REPLICAID_ISSET_ID = 3; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.START_KEY,_Fields.END_KEY,_Fields.OFFLINE,_Fields.SPLIT,_Fields.REPLICA_ID}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.START_KEY,_Fields.END_KEY,_Fields.OFFLINE,_Fields.SPLIT,_Fields.REPLICA_ID}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.REGION_ID, new org.apache.thrift.meta_data.FieldMetaData("regionId", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.START_KEY, new org.apache.thrift.meta_data.FieldMetaData("startKey", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.END_KEY, new org.apache.thrift.meta_data.FieldMetaData("endKey", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.OFFLINE, new org.apache.thrift.meta_data.FieldMetaData("offline", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.SPLIT, new org.apache.thrift.meta_data.FieldMetaData("split", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.REPLICA_ID, new org.apache.thrift.meta_data.FieldMetaData("replicaId", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.REGION_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regionId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.START_KEY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startKey", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.END_KEY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("endKey", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.OFFLINE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("offline", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.SPLIT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("split", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.REPLICA_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("replicaId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(THRegionInfo.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(THRegionInfo.class, metaDataMap); } public THRegionInfo() { @@ -146,7 +148,7 @@ public THRegionInfo( this(); this.regionId = regionId; setRegionIdIsSet(true); - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } /** @@ -156,19 +158,20 @@ public THRegionInfo(THRegionInfo other) { __isset_bitfield = other.__isset_bitfield; this.regionId = other.regionId; if (other.isSetTableName()) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartKey()) { - this.startKey = org.apache.thrift.TBaseHelper.copyBinary(other.startKey); + this.startKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startKey); } if (other.isSetEndKey()) { - this.endKey = org.apache.thrift.TBaseHelper.copyBinary(other.endKey); + this.endKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.endKey); } this.offline = other.offline; this.split = other.split; this.replicaId = other.replicaId; } + @Override public THRegionInfo deepCopy() { return new THRegionInfo(this); } @@ -199,25 +202,25 @@ public THRegionInfo setRegionId(long regionId) { } public void unsetRegionId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REGIONID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REGIONID_ISSET_ID); } /** Returns true if field regionId is set (has been assigned a value) and false otherwise */ public boolean isSetRegionId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REGIONID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REGIONID_ISSET_ID); } public void setRegionIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REGIONID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REGIONID_ISSET_ID, value); } public byte[] getTableName() { - setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName)); + setTableName(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(tableName)); return tableName == null ? null : tableName.array(); } public java.nio.ByteBuffer bufferForTableName() { - return org.apache.thrift.TBaseHelper.copyBinary(tableName); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); } public THRegionInfo setTableName(byte[] tableName) { @@ -225,8 +228,8 @@ public THRegionInfo setTableName(byte[] tableName) { return this; } - public THRegionInfo setTableName(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { - this.tableName = org.apache.thrift.TBaseHelper.copyBinary(tableName); + public THRegionInfo setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer tableName) { + this.tableName = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(tableName); return this; } @@ -246,12 +249,12 @@ public void setTableNameIsSet(boolean value) { } public byte[] getStartKey() { - setStartKey(org.apache.thrift.TBaseHelper.rightSize(startKey)); + setStartKey(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startKey)); return startKey == null ? null : startKey.array(); } public java.nio.ByteBuffer bufferForStartKey() { - return org.apache.thrift.TBaseHelper.copyBinary(startKey); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startKey); } public THRegionInfo setStartKey(byte[] startKey) { @@ -259,8 +262,8 @@ public THRegionInfo setStartKey(byte[] startKey) { return this; } - public THRegionInfo setStartKey(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey) { - this.startKey = org.apache.thrift.TBaseHelper.copyBinary(startKey); + public THRegionInfo setStartKey(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startKey) { + this.startKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startKey); return this; } @@ -280,12 +283,12 @@ public void setStartKeyIsSet(boolean value) { } public byte[] getEndKey() { - setEndKey(org.apache.thrift.TBaseHelper.rightSize(endKey)); + setEndKey(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(endKey)); return endKey == null ? null : endKey.array(); } public java.nio.ByteBuffer bufferForEndKey() { - return org.apache.thrift.TBaseHelper.copyBinary(endKey); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(endKey); } public THRegionInfo setEndKey(byte[] endKey) { @@ -293,8 +296,8 @@ public THRegionInfo setEndKey(byte[] endKey) { return this; } - public THRegionInfo setEndKey(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey) { - this.endKey = org.apache.thrift.TBaseHelper.copyBinary(endKey); + public THRegionInfo setEndKey(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer endKey) { + this.endKey = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(endKey); return this; } @@ -324,16 +327,16 @@ public THRegionInfo setOffline(boolean offline) { } public void unsetOffline() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __OFFLINE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __OFFLINE_ISSET_ID); } /** Returns true if field offline is set (has been assigned a value) and false otherwise */ public boolean isSetOffline() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __OFFLINE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __OFFLINE_ISSET_ID); } public void setOfflineIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __OFFLINE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __OFFLINE_ISSET_ID, value); } public boolean isSplit() { @@ -347,16 +350,16 @@ public THRegionInfo setSplit(boolean split) { } public void unsetSplit() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SPLIT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SPLIT_ISSET_ID); } /** Returns true if field split is set (has been assigned a value) and false otherwise */ public boolean isSetSplit() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SPLIT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SPLIT_ISSET_ID); } public void setSplitIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SPLIT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SPLIT_ISSET_ID, value); } public int getReplicaId() { @@ -370,19 +373,20 @@ public THRegionInfo setReplicaId(int replicaId) { } public void unsetReplicaId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REPLICAID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REPLICAID_ISSET_ID); } /** Returns true if field replicaId is set (has been assigned a value) and false otherwise */ public boolean isSetReplicaId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REPLICAID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REPLICAID_ISSET_ID); } public void setReplicaIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REPLICAID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REPLICAID_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case REGION_ID: if (value == null) { @@ -455,7 +459,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case REGION_ID: @@ -484,6 +489,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -591,7 +597,7 @@ public boolean equals(THRegionInfo that) { public int hashCode() { int hashCode = 1; - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(regionId); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(regionId); hashCode = hashCode * 8191 + ((isSetTableName()) ? 131071 : 524287); if (isSetTableName()) @@ -633,7 +639,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetRegionId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regionId, other.regionId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regionId, other.regionId); if (lastComparison != 0) { return lastComparison; } @@ -643,7 +649,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -653,7 +659,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetStartKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startKey, other.startKey); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startKey, other.startKey); if (lastComparison != 0) { return lastComparison; } @@ -663,7 +669,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetEndKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endKey, other.endKey); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.endKey, other.endKey); if (lastComparison != 0) { return lastComparison; } @@ -673,7 +679,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetOffline()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offline, other.offline); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.offline, other.offline); if (lastComparison != 0) { return lastComparison; } @@ -683,7 +689,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetSplit()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.split, other.split); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.split, other.split); if (lastComparison != 0) { return lastComparison; } @@ -693,7 +699,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } if (isSetReplicaId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replicaId, other.replicaId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.replicaId, other.replicaId); if (lastComparison != 0) { return lastComparison; } @@ -701,16 +707,19 @@ public int compareTo(THRegionInfo other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -727,7 +736,7 @@ public java.lang.String toString() { if (this.tableName == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.tableName, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.tableName, sb); } first = false; if (isSetStartKey()) { @@ -736,7 +745,7 @@ public java.lang.String toString() { if (this.startKey == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startKey, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startKey, sb); } first = false; } @@ -746,7 +755,7 @@ public java.lang.String toString() { if (this.endKey == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.endKey, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.endKey, sb); } first = false; } @@ -772,19 +781,19 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'regionId' because it's a primitive and you chose the non-beans generator. if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -793,101 +802,109 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class THRegionInfoStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class THRegionInfoStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public THRegionInfoStandardScheme getScheme() { return new THRegionInfoStandardScheme(); } } - private static class THRegionInfoStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class THRegionInfoStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, THRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // REGION_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.regionId = iprot.readI64(); - struct.setRegionIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // START_KEY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startKey = iprot.readBinary(); - struct.setStartKeyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // END_KEY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.endKey = iprot.readBinary(); - struct.setEndKeyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // OFFLINE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.offline = iprot.readBool(); - struct.setOfflineIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // SPLIT - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.split = iprot.readBool(); - struct.setSplitIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // REPLICA_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.replicaId = iprot.readI32(); - struct.setReplicaIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, THRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // REGION_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.regionId = iprot.readI64(); + struct.setRegionIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // START_KEY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startKey = iprot.readBinary(); + struct.setStartKeyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // END_KEY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.endKey = iprot.readBinary(); + struct.setEndKeyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // OFFLINE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.offline = iprot.readBool(); + struct.setOfflineIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // SPLIT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.split = iprot.readBool(); + struct.setSplitIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // REPLICA_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.replicaId = iprot.readI32(); + struct.setReplicaIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetRegionId()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'regionId' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetRegionId()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'regionId' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, THRegionInfo struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, THRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -934,17 +951,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, THRegionInfo struc } - private static class THRegionInfoTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class THRegionInfoTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public THRegionInfoTupleScheme getScheme() { return new THRegionInfoTupleScheme(); } } - private static class THRegionInfoTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class THRegionInfoTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, THRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, THRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeI64(struct.regionId); oprot.writeBinary(struct.tableName); java.util.BitSet optionals = new java.util.BitSet(); @@ -982,38 +1000,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, THRegionInfo struct } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, THRegionInfo struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.regionId = iprot.readI64(); - struct.setRegionIdIsSet(true); - struct.tableName = iprot.readBinary(); - struct.setTableNameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(5); - if (incoming.get(0)) { - struct.startKey = iprot.readBinary(); - struct.setStartKeyIsSet(true); - } - if (incoming.get(1)) { - struct.endKey = iprot.readBinary(); - struct.setEndKeyIsSet(true); - } - if (incoming.get(2)) { - struct.offline = iprot.readBool(); - struct.setOfflineIsSet(true); - } - if (incoming.get(3)) { - struct.split = iprot.readBool(); - struct.setSplitIsSet(true); - } - if (incoming.get(4)) { - struct.replicaId = iprot.readI32(); - struct.setReplicaIdIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, THRegionInfo struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.regionId = iprot.readI64(); + struct.setRegionIdIsSet(true); + struct.tableName = iprot.readBinary(); + struct.setTableNameIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.startKey = iprot.readBinary(); + struct.setStartKeyIsSet(true); + } + if (incoming.get(1)) { + struct.endKey = iprot.readBinary(); + struct.setEndKeyIsSet(true); + } + if (incoming.get(2)) { + struct.offline = iprot.readBool(); + struct.setOfflineIsSet(true); + } + if (incoming.get(3)) { + struct.split = iprot.readBool(); + struct.setSplitIsSet(true); + } + if (incoming.get(4)) { + struct.replicaId = iprot.readI32(); + struct.setReplicaIdIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 1f9d74177a2c..0ab07888015b 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,21 +7,21 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class THRegionLocation implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("THRegionLocation"); - private static final org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("serverName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField REGION_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("regionInfo", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("serverName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGION_INFO_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regionInfo", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new THRegionLocationStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new THRegionLocationTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new THRegionLocationStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new THRegionLocationTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TServerName serverName; // required - public @org.apache.thrift.annotation.Nullable THRegionInfo regionInfo; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName serverName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionInfo regionInfo; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { SERVER_NAME((short)1, "serverName"), REGION_INFO((short)2, "regionInfo"); @@ -36,7 +36,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SERVER_NAME @@ -61,7 +61,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -74,25 +74,27 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SERVER_NAME, new org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TServerName.class))); - tmpMap.put(_Fields.REGION_INFO, new org.apache.thrift.meta_data.FieldMetaData("regionInfo", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, THRegionInfo.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SERVER_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TServerName.class))); + tmpMap.put(_Fields.REGION_INFO, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regionInfo", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, THRegionInfo.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(THRegionLocation.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(THRegionLocation.class, metaDataMap); } public THRegionLocation() { @@ -119,6 +121,7 @@ public THRegionLocation(THRegionLocation other) { } } + @Override public THRegionLocation deepCopy() { return new THRegionLocation(this); } @@ -129,12 +132,12 @@ public void clear() { this.regionInfo = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TServerName getServerName() { return this.serverName; } - public THRegionLocation setServerName(@org.apache.thrift.annotation.Nullable TServerName serverName) { + public THRegionLocation setServerName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName serverName) { this.serverName = serverName; return this; } @@ -154,12 +157,12 @@ public void setServerNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public THRegionInfo getRegionInfo() { return this.regionInfo; } - public THRegionLocation setRegionInfo(@org.apache.thrift.annotation.Nullable THRegionInfo regionInfo) { + public THRegionLocation setRegionInfo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable THRegionInfo regionInfo) { this.regionInfo = regionInfo; return this; } @@ -179,7 +182,8 @@ public void setRegionInfoIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case SERVER_NAME: if (value == null) { @@ -200,7 +204,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case SERVER_NAME: @@ -214,6 +219,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -290,7 +296,7 @@ public int compareTo(THRegionLocation other) { return lastComparison; } if (isSetServerName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); if (lastComparison != 0) { return lastComparison; } @@ -300,7 +306,7 @@ public int compareTo(THRegionLocation other) { return lastComparison; } if (isSetRegionInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regionInfo, other.regionInfo); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regionInfo, other.regionInfo); if (lastComparison != 0) { return lastComparison; } @@ -308,16 +314,19 @@ public int compareTo(THRegionLocation other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -345,13 +354,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (serverName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'serverName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'serverName' was not present! Struct: " + toString()); } if (regionInfo == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'regionInfo' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'regionInfo' was not present! Struct: " + toString()); } // check for sub-struct validity if (serverName != null) { @@ -364,68 +373,76 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class THRegionLocationStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class THRegionLocationStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public THRegionLocationStandardScheme getScheme() { return new THRegionLocationStandardScheme(); } } - private static class THRegionLocationStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class THRegionLocationStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, THRegionLocation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // SERVER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.serverName = new TServerName(); - struct.serverName.read(iprot); - struct.setServerNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // REGION_INFO - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.regionInfo = new THRegionInfo(); - struct.regionInfo.read(iprot); - struct.setRegionInfoIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, THRegionLocation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // SERVER_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.serverName = new TServerName(); + struct.serverName.read(iprot); + struct.setServerNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // REGION_INFO + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.regionInfo = new THRegionInfo(); + struct.regionInfo.read(iprot); + struct.setRegionInfoIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, THRegionLocation struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, THRegionLocation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -445,35 +462,41 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, THRegionLocation s } - private static class THRegionLocationTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class THRegionLocationTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public THRegionLocationTupleScheme getScheme() { return new THRegionLocationTupleScheme(); } } - private static class THRegionLocationTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class THRegionLocationTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, THRegionLocation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, THRegionLocation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.serverName.write(oprot); struct.regionInfo.write(oprot); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, THRegionLocation struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.serverName = new TServerName(); - struct.serverName.read(iprot); - struct.setServerNameIsSet(true); - struct.regionInfo = new THRegionInfo(); - struct.regionInfo.read(iprot); - struct.setRegionInfoIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, THRegionLocation struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.serverName = new TServerName(); + struct.serverName.read(iprot); + struct.setServerNameIsSet(true); + struct.regionInfo = new THRegionInfo(); + struct.regionInfo.read(iprot); + struct.setRegionInfoIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 9e4b3a5ab76f..23aecca5749a 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,32 +1,32 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A TIOError exception signals that an error occurred communicating * 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.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TIOError extends org.apache.hbase.thirdparty.org.apache.thrift.TException implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TIOError"); - private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CAN_RETRY_FIELD_DESC = new org.apache.thrift.protocol.TField("canRetry", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("message", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CAN_RETRY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("canRetry", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIOErrorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIOErrorTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIOErrorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIOErrorTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String message; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message; // optional public boolean canRetry; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MESSAGE((short)1, "message"), CAN_RETRY((short)2, "canRetry"); @@ -41,7 +41,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MESSAGE @@ -66,7 +66,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -79,10 +79,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -91,16 +93,16 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __CANRETRY_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.MESSAGE,_Fields.CAN_RETRY}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.MESSAGE,_Fields.CAN_RETRY}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CAN_RETRY, new org.apache.thrift.meta_data.FieldMetaData("canRetry", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MESSAGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("message", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CAN_RETRY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("canRetry", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIOError.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIOError.class, metaDataMap); } public TIOError() { @@ -117,6 +119,7 @@ public TIOError(TIOError other) { this.canRetry = other.canRetry; } + @Override public TIOError deepCopy() { return new TIOError(this); } @@ -128,12 +131,12 @@ public void clear() { this.canRetry = false; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMessage() { return this.message; } - public TIOError setMessage(@org.apache.thrift.annotation.Nullable java.lang.String message) { + public TIOError setMessage(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message) { this.message = message; return this; } @@ -164,19 +167,20 @@ public TIOError setCanRetry(boolean canRetry) { } public void unsetCanRetry() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CANRETRY_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CANRETRY_ISSET_ID); } /** Returns true if field canRetry is set (has been assigned a value) and false otherwise */ public boolean isSetCanRetry() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CANRETRY_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CANRETRY_ISSET_ID); } public void setCanRetryIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CANRETRY_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CANRETRY_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MESSAGE: if (value == null) { @@ -197,7 +201,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MESSAGE: @@ -211,6 +216,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -287,7 +293,7 @@ public int compareTo(TIOError other) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } @@ -297,7 +303,7 @@ public int compareTo(TIOError other) { return lastComparison; } if (isSetCanRetry()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.canRetry, other.canRetry); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.canRetry, other.canRetry); if (lastComparison != 0) { return lastComparison; } @@ -305,16 +311,19 @@ public int compareTo(TIOError other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -342,15 +351,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -359,58 +368,66 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TIOErrorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIOErrorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIOErrorStandardScheme getScheme() { return new TIOErrorStandardScheme(); } } - private static class TIOErrorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TIOErrorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TIOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MESSAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // CAN_RETRY - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.canRetry = iprot.readBool(); - struct.setCanRetryIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TIOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MESSAGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // CAN_RETRY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.canRetry = iprot.readBool(); + struct.setCanRetryIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TIOError struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TIOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -432,17 +449,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIOError struct) t } - private static class TIOErrorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIOErrorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIOErrorTupleScheme getScheme() { return new TIOErrorTupleScheme(); } } - private static class TIOErrorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TIOErrorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TIOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetMessage()) { optionals.set(0); @@ -460,22 +478,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TIOError struct) th } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TIOError struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } - if (incoming.get(1)) { - struct.canRetry = iprot.readBool(); - struct.setCanRetryIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIOError struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } + if (incoming.get(1)) { + struct.canRetry = iprot.readBool(); + struct.setCanRetryIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 cd59e237830d..f8319f4e5ac8 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,29 +1,29 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A TIllegalArgument exception indicates an illegal or invalid * argument was passed into a procedure. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TIllegalArgument extends org.apache.hbase.thirdparty.org.apache.thrift.TException implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TIllegalArgument"); - private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("message", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIllegalArgumentStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIllegalArgumentTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIllegalArgumentStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIllegalArgumentTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String message; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MESSAGE((short)1, "message"); private static final java.util.Map byName = new java.util.HashMap(); @@ -37,7 +37,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MESSAGE @@ -60,7 +60,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -73,24 +73,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.MESSAGE}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.MESSAGE}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MESSAGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("message", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIllegalArgument.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIllegalArgument.class, metaDataMap); } public TIllegalArgument() { @@ -105,6 +107,7 @@ public TIllegalArgument(TIllegalArgument other) { } } + @Override public TIllegalArgument deepCopy() { return new TIllegalArgument(this); } @@ -114,12 +117,12 @@ public void clear() { this.message = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMessage() { return this.message; } - public TIllegalArgument setMessage(@org.apache.thrift.annotation.Nullable java.lang.String message) { + public TIllegalArgument setMessage(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String message) { this.message = message; return this; } @@ -139,7 +142,8 @@ public void setMessageIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MESSAGE: if (value == null) { @@ -152,7 +156,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MESSAGE: @@ -163,6 +168,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -224,7 +230,7 @@ public int compareTo(TIllegalArgument other) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } @@ -232,16 +238,19 @@ public int compareTo(TIllegalArgument other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -263,65 +272,73 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TIllegalArgumentStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIllegalArgumentStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIllegalArgumentStandardScheme getScheme() { return new TIllegalArgumentStandardScheme(); } } - private static class TIllegalArgumentStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TIllegalArgumentStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TIllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MESSAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TIllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MESSAGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TIllegalArgument struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TIllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -338,17 +355,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIllegalArgument s } - private static class TIllegalArgumentTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIllegalArgumentTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIllegalArgumentTupleScheme getScheme() { return new TIllegalArgumentTupleScheme(); } } - private static class TIllegalArgumentTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TIllegalArgumentTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TIllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetMessage()) { optionals.set(0); @@ -360,18 +378,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TIllegalArgument st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TIllegalArgument struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.message = iprot.readString(); - struct.setMessageIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIllegalArgument struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.message = iprot.readString(); + struct.setMessageIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 5761123379ad..7a9660fe9237 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,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Used to perform Increment operations for a single row. * @@ -14,33 +13,34 @@ * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)4); - private static final org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("durability", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("cellVisibility", org.apache.thrift.protocol.TType.STRUCT, (short)6); - private static final org.apache.thrift.protocol.TField RETURN_RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("returnResults", org.apache.thrift.protocol.TType.BOOL, (short)7); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIncrementStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIncrementTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // required - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TIncrement implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TIncrement"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("durability", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField RETURN_RESULTS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("returnResults", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)7); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TIncrementStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TIncrementTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional /** * * @see TDurability */ - public @org.apache.thrift.annotation.Nullable TDurability durability; // optional - public @org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional public boolean returnResults; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMNS((short)2, "columns"), ATTRIBUTES((short)4, "attributes"), @@ -63,7 +63,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -96,7 +96,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -109,10 +109,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -121,27 +123,27 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __RETURNRESULTS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY,_Fields.RETURN_RESULTS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY,_Fields.RETURN_RESULTS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnIncrement.class)))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.DURABILITY, new org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDurability.class))); - tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); - tmpMap.put(_Fields.RETURN_RESULTS, new org.apache.thrift.meta_data.FieldMetaData("returnResults", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnIncrement.class)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.DURABILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDurability.class))); + tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); + tmpMap.put(_Fields.RETURN_RESULTS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("returnResults", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIncrement.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TIncrement.class, metaDataMap); } public TIncrement() { @@ -152,7 +154,7 @@ public TIncrement( java.util.List columns) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columns = columns; } @@ -162,7 +164,7 @@ public TIncrement( public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); @@ -184,6 +186,7 @@ public TIncrement(TIncrement other) { this.returnResults = other.returnResults; } + @Override public TIncrement deepCopy() { return new TIncrement(this); } @@ -200,12 +203,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TIncrement setRow(byte[] row) { @@ -213,8 +216,8 @@ public TIncrement setRow(byte[] row) { return this; } - public TIncrement setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TIncrement setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -237,7 +240,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -249,12 +252,12 @@ public void addToColumns(TColumnIncrement elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TIncrement setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TIncrement setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -285,12 +288,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TIncrement setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TIncrement setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -314,7 +317,7 @@ public void setAttributesIsSet(boolean value) { * * @see TDurability */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDurability getDurability() { return this.durability; } @@ -323,7 +326,7 @@ public TDurability getDurability() { * * @see TDurability */ - public TIncrement setDurability(@org.apache.thrift.annotation.Nullable TDurability durability) { + public TIncrement setDurability(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability) { this.durability = durability; return this; } @@ -343,12 +346,12 @@ public void setDurabilityIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCellVisibility getCellVisibility() { return this.cellVisibility; } - public TIncrement setCellVisibility(@org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { + public TIncrement setCellVisibility(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { this.cellVisibility = cellVisibility; return this; } @@ -379,19 +382,20 @@ public TIncrement setReturnResults(boolean returnResults) { } public void unsetReturnResults() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); } /** Returns true if field returnResults is set (has been assigned a value) and false otherwise */ public boolean isSetReturnResults() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID); } public void setReturnResultsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RETURNRESULTS_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -448,7 +452,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -474,6 +479,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -610,7 +616,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -620,7 +626,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -630,7 +636,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -640,7 +646,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetDurability()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); if (lastComparison != 0) { return lastComparison; } @@ -650,7 +656,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetCellVisibility()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); if (lastComparison != 0) { return lastComparison; } @@ -660,7 +666,7 @@ public int compareTo(TIncrement other) { return lastComparison; } if (isSetReturnResults()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnResults, other.returnResults); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.returnResults, other.returnResults); if (lastComparison != 0) { return lastComparison; } @@ -668,16 +674,19 @@ public int compareTo(TIncrement other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -690,7 +699,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -741,13 +750,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (columns == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'columns' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'columns' was not present! Struct: " + toString()); } // check for sub-struct validity if (cellVisibility != null) { @@ -757,8 +766,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -767,114 +776,122 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TIncrementStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIncrementStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIncrementStandardScheme getScheme() { return new TIncrementStandardScheme(); } } - private static class TIncrementStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TIncrementStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list70 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list70.size); - @org.apache.thrift.annotation.Nullable TColumnIncrement _elem71; - for (int _i72 = 0; _i72 < _list70.size; ++_i72) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem71 = new TColumnIncrement(); - _elem71.read(iprot); - struct.columns.add(_elem71); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list70 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list70.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnIncrement _elem71; + for (int _i72 = 0; _i72 < _list70.size; ++_i72) + { + _elem71 = new TColumnIncrement(); + _elem71.read(iprot); + struct.columns.add(_elem71); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map73 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map73.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key74; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val75; - for (int _i76 = 0; _i76 < _map73.size; ++_i76) + break; + case 4: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key74 = iprot.readBinary(); - _val75 = iprot.readBinary(); - struct.attributes.put(_key74, _val75); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map73 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map73.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key74; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val75; + for (int _i76 = 0; _i76 < _map73.size; ++_i76) + { + _key74 = iprot.readBinary(); + _val75 = iprot.readBinary(); + struct.attributes.put(_key74, _val75); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // DURABILITY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // CELL_VISIBILITY - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // RETURN_RESULTS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.returnResults = iprot.readBool(); - struct.setReturnResultsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 5: // DURABILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // CELL_VISIBILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // RETURN_RESULTS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.returnResults = iprot.readBool(); + struct.setReturnResultsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -886,7 +903,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumnIncrement _iter77 : struct.columns) { _iter77.write(oprot); @@ -899,7 +916,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter78 : struct.attributes.entrySet()) { oprot.writeBinary(_iter78.getKey()); @@ -935,17 +952,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) } - private static class TIncrementTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TIncrementTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TIncrementTupleScheme getScheme() { return new TIncrementTupleScheme(); } } - private static class TIncrementTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TIncrementTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); { oprot.writeI32(struct.columns.size()); @@ -990,56 +1008,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); { - _elem82 = new TColumnIncrement(); - _elem82.read(iprot); - struct.columns.add(_elem82); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list81 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list81.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnIncrement _elem82; + for (int _i83 = 0; _i83 < _list81.size; ++_i83) + { + _elem82 = new TColumnIncrement(); + _elem82.read(iprot); + struct.columns.add(_elem82); + } } - } - struct.setColumnsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - { - 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; - for (int _i87 = 0; _i87 < _map84.size; ++_i87) + struct.setColumnsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { { - _key85 = iprot.readBinary(); - _val86 = iprot.readBinary(); - struct.attributes.put(_key85, _val86); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map84 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map84.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key85; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val86; + for (int _i87 = 0; _i87 < _map84.size; ++_i87) + { + _key85 = iprot.readBinary(); + _val86 = iprot.readBinary(); + struct.attributes.put(_key85, _val86); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(1)) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } - if (incoming.get(2)) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } - if (incoming.get(3)) { - struct.returnResults = iprot.readBool(); - struct.setReturnResultsIsSet(true); + if (incoming.get(1)) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } + if (incoming.get(2)) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } + if (incoming.get(3)) { + struct.returnResults = iprot.readBool(); + struct.setReturnResultsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 9a8d316f160a..b31f23d1c47b 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,8 +11,8 @@ * Thrift wrapper around * org.apache.hadoop.hbase.KeepDeletedCells */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TKeepDeletedCells implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TKeepDeletedCells implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { /** * Deleted Cells are not retained. */ @@ -41,6 +41,7 @@ private TKeepDeletedCells(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -49,7 +50,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TKeepDeletedCells findByValue(int value) { switch (value) { case 0: 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 589bf1df3a7b..0390d957c9e1 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,49 +1,49 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.client.LogQueryFilter */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("regionName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CLIENT_ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("clientAddress", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField LOG_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("logType", org.apache.thrift.protocol.TType.I32, (short)6); - private static final org.apache.thrift.protocol.TField FILTER_BY_OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField("filterByOperator", org.apache.thrift.protocol.TType.I32, (short)7); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TLogQueryFilterStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TLogQueryFilterTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String regionName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String clientAddress; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String tableName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String userName; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TLogQueryFilter implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TLogQueryFilter"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGION_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regionName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CLIENT_ADDRESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("clientAddress", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("userName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("limit", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField LOG_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("logType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_BY_OPERATOR_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterByOperator", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)7); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TLogQueryFilterStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TLogQueryFilterTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regionName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String clientAddress; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String tableName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String userName; // optional public int limit; // optional /** * * @see TLogType */ - public @org.apache.thrift.annotation.Nullable TLogType logType; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TLogType logType; // optional /** * * @see TFilterByOperator */ - public @org.apache.thrift.annotation.Nullable TFilterByOperator filterByOperator; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TFilterByOperator filterByOperator; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { REGION_NAME((short)1, "regionName"), CLIENT_ADDRESS((short)2, "clientAddress"), TABLE_NAME((short)3, "tableName"), @@ -71,7 +71,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // REGION_NAME @@ -106,7 +106,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -119,10 +119,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -131,26 +133,26 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __LIMIT_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.REGION_NAME,_Fields.CLIENT_ADDRESS,_Fields.TABLE_NAME,_Fields.USER_NAME,_Fields.LIMIT,_Fields.LOG_TYPE,_Fields.FILTER_BY_OPERATOR}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.REGION_NAME,_Fields.CLIENT_ADDRESS,_Fields.TABLE_NAME,_Fields.USER_NAME,_Fields.LIMIT,_Fields.LOG_TYPE,_Fields.FILTER_BY_OPERATOR}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("regionName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CLIENT_ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("clientAddress", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.LOG_TYPE, new org.apache.thrift.meta_data.FieldMetaData("logType", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TLogType.class))); - tmpMap.put(_Fields.FILTER_BY_OPERATOR, new org.apache.thrift.meta_data.FieldMetaData("filterByOperator", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TFilterByOperator.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.REGION_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regionName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CLIENT_ADDRESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("clientAddress", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.USER_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.LIMIT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.LOG_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("logType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TLogType.class))); + tmpMap.put(_Fields.FILTER_BY_OPERATOR, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterByOperator", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TFilterByOperator.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TLogQueryFilter.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TLogQueryFilter.class, metaDataMap); } public TLogQueryFilter() { @@ -188,6 +190,7 @@ public TLogQueryFilter(TLogQueryFilter other) { } } + @Override public TLogQueryFilter deepCopy() { return new TLogQueryFilter(this); } @@ -206,12 +209,12 @@ public void clear() { } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getRegionName() { return this.regionName; } - public TLogQueryFilter setRegionName(@org.apache.thrift.annotation.Nullable java.lang.String regionName) { + public TLogQueryFilter setRegionName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regionName) { this.regionName = regionName; return this; } @@ -231,12 +234,12 @@ public void setRegionNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getClientAddress() { return this.clientAddress; } - public TLogQueryFilter setClientAddress(@org.apache.thrift.annotation.Nullable java.lang.String clientAddress) { + public TLogQueryFilter setClientAddress(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String clientAddress) { this.clientAddress = clientAddress; return this; } @@ -256,12 +259,12 @@ public void setClientAddressIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getTableName() { return this.tableName; } - public TLogQueryFilter setTableName(@org.apache.thrift.annotation.Nullable java.lang.String tableName) { + public TLogQueryFilter setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String tableName) { this.tableName = tableName; return this; } @@ -281,12 +284,12 @@ public void setTableNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getUserName() { return this.userName; } - public TLogQueryFilter setUserName(@org.apache.thrift.annotation.Nullable java.lang.String userName) { + public TLogQueryFilter setUserName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String userName) { this.userName = userName; return this; } @@ -317,23 +320,23 @@ public TLogQueryFilter setLimit(int limit) { } public void unsetLimit() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __LIMIT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __LIMIT_ISSET_ID); } /** Returns true if field limit is set (has been assigned a value) and false otherwise */ public boolean isSetLimit() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __LIMIT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __LIMIT_ISSET_ID); } public void setLimitIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __LIMIT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __LIMIT_ISSET_ID, value); } /** * * @see TLogType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TLogType getLogType() { return this.logType; } @@ -342,7 +345,7 @@ public TLogType getLogType() { * * @see TLogType */ - public TLogQueryFilter setLogType(@org.apache.thrift.annotation.Nullable TLogType logType) { + public TLogQueryFilter setLogType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TLogType logType) { this.logType = logType; return this; } @@ -366,7 +369,7 @@ public void setLogTypeIsSet(boolean value) { * * @see TFilterByOperator */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TFilterByOperator getFilterByOperator() { return this.filterByOperator; } @@ -375,7 +378,7 @@ public TFilterByOperator getFilterByOperator() { * * @see TFilterByOperator */ - public TLogQueryFilter setFilterByOperator(@org.apache.thrift.annotation.Nullable TFilterByOperator filterByOperator) { + public TLogQueryFilter setFilterByOperator(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TFilterByOperator filterByOperator) { this.filterByOperator = filterByOperator; return this; } @@ -395,7 +398,8 @@ public void setFilterByOperatorIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case REGION_NAME: if (value == null) { @@ -456,7 +460,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case REGION_NAME: @@ -485,6 +490,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -636,7 +642,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetRegionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regionName, other.regionName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regionName, other.regionName); if (lastComparison != 0) { return lastComparison; } @@ -646,7 +652,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetClientAddress()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.clientAddress, other.clientAddress); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.clientAddress, other.clientAddress); if (lastComparison != 0) { return lastComparison; } @@ -656,7 +662,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -666,7 +672,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetUserName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName); if (lastComparison != 0) { return lastComparison; } @@ -676,7 +682,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetLimit()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, other.limit); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.limit, other.limit); if (lastComparison != 0) { return lastComparison; } @@ -686,7 +692,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetLogType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logType, other.logType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.logType, other.logType); if (lastComparison != 0) { return lastComparison; } @@ -696,7 +702,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } if (isSetFilterByOperator()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterByOperator, other.filterByOperator); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterByOperator, other.filterByOperator); if (lastComparison != 0) { return lastComparison; } @@ -704,16 +710,19 @@ public int compareTo(TLogQueryFilter other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -791,15 +800,15 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -808,98 +817,106 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TLogQueryFilterStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TLogQueryFilterStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TLogQueryFilterStandardScheme getScheme() { return new TLogQueryFilterStandardScheme(); } } - private static class TLogQueryFilterStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TLogQueryFilterStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TLogQueryFilter struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // REGION_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.regionName = iprot.readString(); - struct.setRegionNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // CLIENT_ADDRESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.clientAddress = iprot.readString(); - struct.setClientAddressIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tableName = iprot.readString(); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // USER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.userName = iprot.readString(); - struct.setUserNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // LIMIT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.limit = iprot.readI32(); - struct.setLimitIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // LOG_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.logType = org.apache.hadoop.hbase.thrift2.generated.TLogType.findByValue(iprot.readI32()); - struct.setLogTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // FILTER_BY_OPERATOR - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.filterByOperator = org.apache.hadoop.hbase.thrift2.generated.TFilterByOperator.findByValue(iprot.readI32()); - struct.setFilterByOperatorIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TLogQueryFilter struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // REGION_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.regionName = iprot.readString(); + struct.setRegionNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // CLIENT_ADDRESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.clientAddress = iprot.readString(); + struct.setClientAddressIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // USER_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.userName = iprot.readString(); + struct.setUserNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // LIMIT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.limit = iprot.readI32(); + struct.setLimitIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // LOG_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.logType = org.apache.hadoop.hbase.thrift2.generated.TLogType.findByValue(iprot.readI32()); + struct.setLogTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // FILTER_BY_OPERATOR + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.filterByOperator = org.apache.hadoop.hbase.thrift2.generated.TFilterByOperator.findByValue(iprot.readI32()); + struct.setFilterByOperatorIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TLogQueryFilter struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TLogQueryFilter struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -956,17 +973,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TLogQueryFilter st } - private static class TLogQueryFilterTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TLogQueryFilterTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TLogQueryFilterTupleScheme getScheme() { return new TLogQueryFilterTupleScheme(); } } - private static class TLogQueryFilterTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TLogQueryFilterTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TLogQueryFilter struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TLogQueryFilter struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetRegionName()) { optionals.set(0); @@ -1014,42 +1032,47 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TLogQueryFilter str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TLogQueryFilter struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(7); - if (incoming.get(0)) { - struct.regionName = iprot.readString(); - struct.setRegionNameIsSet(true); - } - if (incoming.get(1)) { - struct.clientAddress = iprot.readString(); - struct.setClientAddressIsSet(true); - } - if (incoming.get(2)) { - struct.tableName = iprot.readString(); - struct.setTableNameIsSet(true); - } - if (incoming.get(3)) { - struct.userName = iprot.readString(); - struct.setUserNameIsSet(true); - } - if (incoming.get(4)) { - struct.limit = iprot.readI32(); - struct.setLimitIsSet(true); - } - if (incoming.get(5)) { - struct.logType = org.apache.hadoop.hbase.thrift2.generated.TLogType.findByValue(iprot.readI32()); - struct.setLogTypeIsSet(true); - } - if (incoming.get(6)) { - struct.filterByOperator = org.apache.hadoop.hbase.thrift2.generated.TFilterByOperator.findByValue(iprot.readI32()); - struct.setFilterByOperatorIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TLogQueryFilter struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(7); + if (incoming.get(0)) { + struct.regionName = iprot.readString(); + struct.setRegionNameIsSet(true); + } + if (incoming.get(1)) { + struct.clientAddress = iprot.readString(); + struct.setClientAddressIsSet(true); + } + if (incoming.get(2)) { + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + } + if (incoming.get(3)) { + struct.userName = iprot.readString(); + struct.setUserNameIsSet(true); + } + if (incoming.get(4)) { + struct.limit = iprot.readI32(); + struct.setLimitIsSet(true); + } + if (incoming.get(5)) { + struct.logType = org.apache.hadoop.hbase.thrift2.generated.TLogType.findByValue(iprot.readI32()); + struct.setLogTypeIsSet(true); + } + if (incoming.get(6)) { + struct.filterByOperator = org.apache.hadoop.hbase.thrift2.generated.TFilterByOperator.findByValue(iprot.readI32()); + struct.setFilterByOperatorIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 faecab0b363f..020d1be8e2b4 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,8 +7,8 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TLogType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TLogType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { SLOW_LOG(1), LARGE_LOG(2); @@ -21,6 +21,7 @@ private TLogType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -29,7 +30,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TLogType findByValue(int value) { switch (value) { case 1: 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 1a59c11470c7..7eb6986452ed 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,23 +1,23 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Atomic mutation for the specified row. It can be either Put or Delete. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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); - private static final org.apache.thrift.protocol.TField DELETE_SINGLE_FIELD_DESC = new org.apache.thrift.protocol.TField("deleteSingle", org.apache.thrift.protocol.TType.STRUCT, (short)2); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TMutation extends org.apache.hbase.thirdparty.org.apache.thrift.TUnion { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TMutation"); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PUT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("put", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DELETE_SINGLE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("deleteSingle", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)2); /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { PUT((short)1, "put"), DELETE_SINGLE((short)2, "deleteSingle"); @@ -32,7 +32,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // PUT @@ -57,7 +57,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -70,24 +70,26 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.PUT, new org.apache.thrift.meta_data.FieldMetaData("put", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TPut.class))); - tmpMap.put(_Fields.DELETE_SINGLE, new org.apache.thrift.meta_data.FieldMetaData("deleteSingle", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.PUT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("put", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TPut.class))); + tmpMap.put(_Fields.DELETE_SINGLE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("deleteSingle", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TDelete.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TMutation.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TMutation.class, metaDataMap); } public TMutation() { @@ -101,6 +103,7 @@ public TMutation(_Fields setField, java.lang.Object value) { public TMutation(TMutation other) { super(other); } + @Override public TMutation deepCopy() { return new TMutation(this); } @@ -137,7 +140,7 @@ protected void checkType(_Fields setField, java.lang.Object value) throws java.l } @Override - protected java.lang.Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException { + protected java.lang.Object standardSchemeReadValue(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField field) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(field.id); if (setField != null) { switch (setField) { @@ -148,7 +151,7 @@ protected java.lang.Object standardSchemeReadValue(org.apache.thrift.protocol.TP put.read(iprot); return put; } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } case DELETE_SINGLE: @@ -158,20 +161,20 @@ protected java.lang.Object standardSchemeReadValue(org.apache.thrift.protocol.TP deleteSingle.read(iprot); return deleteSingle; } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } default: throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @Override - protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + protected void standardSchemeWriteValue(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { switch (setField_) { case PUT: TPut put = (TPut)value_; @@ -187,7 +190,7 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr } @Override - protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { + protected java.lang.Object tupleSchemeReadValue(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { @@ -205,12 +208,12 @@ protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProt throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { - throw new org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID); } } @Override - protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + protected void tupleSchemeWriteValue(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { switch (setField_) { case PUT: TPut put = (TPut)value_; @@ -226,7 +229,7 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) } @Override - protected org.apache.thrift.protocol.TField getFieldDesc(_Fields setField) { + protected org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField getFieldDesc(_Fields setField) { switch (setField) { case PUT: return PUT_FIELD_DESC; @@ -238,7 +241,7 @@ protected org.apache.thrift.protocol.TField getFieldDesc(_Fields setField) { } @Override - protected org.apache.thrift.protocol.TStruct getStructDesc() { + protected org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct getStructDesc() { return STRUCT_DESC; } @@ -247,7 +250,8 @@ protected _Fields enumForId(short id) { return _Fields.findByThriftIdOrThrow(id); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } @@ -303,9 +307,9 @@ public boolean equals(TMutation other) { @Override public int compareTo(TMutation other) { - int lastComparison = org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField()); + int lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField()); if (lastComparison == 0) { - return org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue()); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue()); } return lastComparison; } @@ -315,12 +319,12 @@ public int compareTo(TMutation other) { public int hashCode() { java.util.List list = new java.util.ArrayList(); list.add(this.getClass().getName()); - org.apache.thrift.TFieldIdEnum setField = getSetField(); + org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { list.add(setField.getThriftFieldId()); java.lang.Object value = getFieldValue(); - if (value instanceof org.apache.thrift.TEnum) { - list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + if (value instanceof org.apache.hbase.thirdparty.org.apache.thrift.TEnum) { + list.add(((org.apache.hbase.thirdparty.org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { list.add(value); } @@ -329,8 +333,8 @@ public int hashCode() { } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -338,8 +342,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } 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 cb7051836ef5..19fb4350c1ba 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,31 +1,31 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.NamespaceDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TNamespaceDescriptor implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TNamespaceDescriptor"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField CONFIGURATION_FIELD_DESC = new org.apache.thrift.protocol.TField("configuration", org.apache.thrift.protocol.TType.MAP, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("name", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CONFIGURATION_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("configuration", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TNamespaceDescriptorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TNamespaceDescriptorTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TNamespaceDescriptorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TNamespaceDescriptorTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String name; // required - public @org.apache.thrift.annotation.Nullable java.util.Map configuration; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map configuration; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { NAME((short)1, "name"), CONFIGURATION((short)2, "configuration"); @@ -40,7 +40,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME @@ -65,7 +65,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -78,28 +78,30 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.CONFIGURATION}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.CONFIGURATION}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CONFIGURATION, new org.apache.thrift.meta_data.FieldMetaData("configuration", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("name", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CONFIGURATION, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("configuration", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TNamespaceDescriptor.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TNamespaceDescriptor.class, metaDataMap); } public TNamespaceDescriptor() { @@ -125,6 +127,7 @@ public TNamespaceDescriptor(TNamespaceDescriptor other) { } } + @Override public TNamespaceDescriptor deepCopy() { return new TNamespaceDescriptor(this); } @@ -135,12 +138,12 @@ public void clear() { this.configuration = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getName() { return this.name; } - public TNamespaceDescriptor setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { + public TNamespaceDescriptor setName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String name) { this.name = name; return this; } @@ -171,12 +174,12 @@ public void putToConfiguration(java.lang.String key, java.lang.String val) { this.configuration.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getConfiguration() { return this.configuration; } - public TNamespaceDescriptor setConfiguration(@org.apache.thrift.annotation.Nullable java.util.Map configuration) { + public TNamespaceDescriptor setConfiguration(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map configuration) { this.configuration = configuration; return this; } @@ -196,7 +199,8 @@ public void setConfigurationIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NAME: if (value == null) { @@ -217,7 +221,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NAME: @@ -231,6 +236,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -307,7 +313,7 @@ public int compareTo(TNamespaceDescriptor other) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -317,7 +323,7 @@ public int compareTo(TNamespaceDescriptor other) { return lastComparison; } if (isSetConfiguration()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); if (lastComparison != 0) { return lastComparison; } @@ -325,16 +331,19 @@ public int compareTo(TNamespaceDescriptor other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -364,88 +373,96 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (name == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TNamespaceDescriptorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TNamespaceDescriptorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TNamespaceDescriptorStandardScheme getScheme() { return new TNamespaceDescriptorStandardScheme(); } } - private static class TNamespaceDescriptorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TNamespaceDescriptorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TNamespaceDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TNamespaceDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // CONFIGURATION - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); - struct.configuration = new java.util.HashMap(2*_map180.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key181; - @org.apache.thrift.annotation.Nullable java.lang.String _val182; - for (int _i183 = 0; _i183 < _map180.size; ++_i183) + } + switch (schemeField.id) { + case 1: // NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // CONFIGURATION + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key181 = iprot.readString(); - _val182 = iprot.readString(); - struct.configuration.put(_key181, _val182); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); + struct.configuration = new java.util.HashMap(2*_map180.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _key181; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _val182; + for (int _i183 = 0; _i183 < _map180.size; ++_i183) + { + _key181 = iprot.readString(); + _val182 = iprot.readString(); + struct.configuration.put(_key181, _val182); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setConfigurationIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setConfigurationIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TNamespaceDescriptor struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TNamespaceDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -458,7 +475,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TNamespaceDescript if (struct.isSetConfiguration()) { oprot.writeFieldBegin(CONFIGURATION_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); for (java.util.Map.Entry _iter184 : struct.configuration.entrySet()) { oprot.writeString(_iter184.getKey()); @@ -475,17 +492,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TNamespaceDescript } - private static class TNamespaceDescriptorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TNamespaceDescriptorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TNamespaceDescriptorTupleScheme getScheme() { return new TNamespaceDescriptorTupleScheme(); } } - private static class TNamespaceDescriptorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TNamespaceDescriptorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TNamespaceDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TNamespaceDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetConfiguration()) { @@ -505,31 +523,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TNamespaceDescripto } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TNamespaceDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.name = iprot.readString(); - struct.setNameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - 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; - for (int _i189 = 0; _i189 < _map186.size; ++_i189) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TNamespaceDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.name = iprot.readString(); + struct.setNameIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _key187 = iprot.readString(); - _val188 = iprot.readString(); - struct.configuration.put(_key187, _val188); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.configuration = new java.util.HashMap(2*_map186.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _key187; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _val188; + for (int _i189 = 0; _i189 < _map186.size; ++_i189) + { + _key187 = iprot.readString(); + _val188 = iprot.readString(); + struct.configuration.put(_key187, _val188); + } } + struct.setConfigurationIsSet(true); } - struct.setConfigurationIsSet(true); + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 b619b3c638a6..32f0badb2c51 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,59 +1,59 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.client.OnlineLogRecord */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("startTime", org.apache.thrift.protocol.TType.I64, (short)1); - private static final org.apache.thrift.protocol.TField PROCESSING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("processingTime", org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.protocol.TField QUEUE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("queueTime", org.apache.thrift.protocol.TType.I32, (short)3); - private static final org.apache.thrift.protocol.TField RESPONSE_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("responseSize", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField CLIENT_ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("clientAddress", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField SERVER_CLASS_FIELD_DESC = new org.apache.thrift.protocol.TField("serverClass", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField METHOD_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("methodName", org.apache.thrift.protocol.TType.STRING, (short)7); - private static final org.apache.thrift.protocol.TField CALL_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("callDetails", org.apache.thrift.protocol.TType.STRING, (short)8); - private static final org.apache.thrift.protocol.TField PARAM_FIELD_DESC = new org.apache.thrift.protocol.TField("param", org.apache.thrift.protocol.TType.STRING, (short)9); - private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)10); - private static final org.apache.thrift.protocol.TField MULTI_GETS_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("multiGetsCount", org.apache.thrift.protocol.TType.I32, (short)11); - private static final org.apache.thrift.protocol.TField MULTI_MUTATIONS_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("multiMutationsCount", org.apache.thrift.protocol.TType.I32, (short)12); - private static final org.apache.thrift.protocol.TField MULTI_SERVICE_CALLS_FIELD_DESC = new org.apache.thrift.protocol.TField("multiServiceCalls", org.apache.thrift.protocol.TType.I32, (short)13); - private static final org.apache.thrift.protocol.TField REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("regionName", org.apache.thrift.protocol.TType.STRING, (short)14); - private static final org.apache.thrift.protocol.TField BLOCK_BYTES_SCANNED_FIELD_DESC = new org.apache.thrift.protocol.TField("blockBytesScanned", org.apache.thrift.protocol.TType.I64, (short)15); - private static final org.apache.thrift.protocol.TField FS_READ_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("fsReadTime", org.apache.thrift.protocol.TType.I64, (short)16); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TOnlineLogRecordStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TOnlineLogRecordTupleSchemeFactory(); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TOnlineLogRecord implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TOnlineLogRecord"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_TIME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startTime", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PROCESSING_TIME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("processingTime", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUEUE_TIME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("queueTime", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField RESPONSE_SIZE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("responseSize", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CLIENT_ADDRESS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("clientAddress", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField SERVER_CLASS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("serverClass", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField METHOD_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("methodName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CALL_DETAILS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("callDetails", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PARAM_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("param", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)9); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("userName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)10); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MULTI_GETS_COUNT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("multiGetsCount", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)11); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MULTI_MUTATIONS_COUNT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("multiMutationsCount", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)12); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MULTI_SERVICE_CALLS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("multiServiceCalls", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)13); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REGION_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("regionName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)14); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BLOCK_BYTES_SCANNED_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("blockBytesScanned", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)15); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FS_READ_TIME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("fsReadTime", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)16); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TOnlineLogRecordStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TOnlineLogRecordTupleSchemeFactory(); public long startTime; // required public int processingTime; // required public int queueTime; // required public long responseSize; // required - public @org.apache.thrift.annotation.Nullable java.lang.String clientAddress; // required - public @org.apache.thrift.annotation.Nullable java.lang.String serverClass; // required - public @org.apache.thrift.annotation.Nullable java.lang.String methodName; // required - public @org.apache.thrift.annotation.Nullable java.lang.String callDetails; // required - public @org.apache.thrift.annotation.Nullable java.lang.String param; // required - public @org.apache.thrift.annotation.Nullable java.lang.String userName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String clientAddress; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String serverClass; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String methodName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String callDetails; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String param; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String userName; // required public int multiGetsCount; // required public int multiMutationsCount; // required public int multiServiceCalls; // required - public @org.apache.thrift.annotation.Nullable java.lang.String regionName; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regionName; // optional public long blockBytesScanned; // optional public long fsReadTime; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { START_TIME((short)1, "startTime"), PROCESSING_TIME((short)2, "processingTime"), QUEUE_TIME((short)3, "queueTime"), @@ -82,7 +82,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // START_TIME @@ -135,7 +135,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -148,10 +148,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -168,44 +170,44 @@ public java.lang.String getFieldName() { private static final int __BLOCKBYTESSCANNED_ISSET_ID = 7; private static final int __FSREADTIME_ISSET_ID = 8; private short __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.REGION_NAME,_Fields.BLOCK_BYTES_SCANNED,_Fields.FS_READ_TIME}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.REGION_NAME,_Fields.BLOCK_BYTES_SCANNED,_Fields.FS_READ_TIME}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.START_TIME, new org.apache.thrift.meta_data.FieldMetaData("startTime", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.PROCESSING_TIME, new org.apache.thrift.meta_data.FieldMetaData("processingTime", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.QUEUE_TIME, new org.apache.thrift.meta_data.FieldMetaData("queueTime", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.RESPONSE_SIZE, new org.apache.thrift.meta_data.FieldMetaData("responseSize", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.CLIENT_ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("clientAddress", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.SERVER_CLASS, new org.apache.thrift.meta_data.FieldMetaData("serverClass", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.METHOD_NAME, new org.apache.thrift.meta_data.FieldMetaData("methodName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CALL_DETAILS, new org.apache.thrift.meta_data.FieldMetaData("callDetails", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PARAM, new org.apache.thrift.meta_data.FieldMetaData("param", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.MULTI_GETS_COUNT, new org.apache.thrift.meta_data.FieldMetaData("multiGetsCount", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.MULTI_MUTATIONS_COUNT, new org.apache.thrift.meta_data.FieldMetaData("multiMutationsCount", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.MULTI_SERVICE_CALLS, new org.apache.thrift.meta_data.FieldMetaData("multiServiceCalls", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("regionName", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.BLOCK_BYTES_SCANNED, new org.apache.thrift.meta_data.FieldMetaData("blockBytesScanned", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.FS_READ_TIME, new org.apache.thrift.meta_data.FieldMetaData("fsReadTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.START_TIME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startTime", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.PROCESSING_TIME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("processingTime", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.QUEUE_TIME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("queueTime", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.RESPONSE_SIZE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("responseSize", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CLIENT_ADDRESS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("clientAddress", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.SERVER_CLASS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("serverClass", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.METHOD_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("methodName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CALL_DETAILS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("callDetails", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARAM, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("param", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.USER_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.MULTI_GETS_COUNT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("multiGetsCount", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.MULTI_MUTATIONS_COUNT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("multiMutationsCount", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.MULTI_SERVICE_CALLS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("multiServiceCalls", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.REGION_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("regionName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.BLOCK_BYTES_SCANNED, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("blockBytesScanned", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.FS_READ_TIME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("fsReadTime", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TOnlineLogRecord.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TOnlineLogRecord.class, metaDataMap); } public TOnlineLogRecord() { @@ -286,6 +288,7 @@ public TOnlineLogRecord(TOnlineLogRecord other) { this.fsReadTime = other.fsReadTime; } + @Override public TOnlineLogRecord deepCopy() { return new TOnlineLogRecord(this); } @@ -330,16 +333,16 @@ public TOnlineLogRecord setStartTime(long startTime) { } public void unsetStartTime() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STARTTIME_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STARTTIME_ISSET_ID); } /** Returns true if field startTime is set (has been assigned a value) and false otherwise */ public boolean isSetStartTime() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STARTTIME_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STARTTIME_ISSET_ID); } public void setStartTimeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STARTTIME_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STARTTIME_ISSET_ID, value); } public int getProcessingTime() { @@ -353,16 +356,16 @@ public TOnlineLogRecord setProcessingTime(int processingTime) { } public void unsetProcessingTime() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID); } /** Returns true if field processingTime is set (has been assigned a value) and false otherwise */ public boolean isSetProcessingTime() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID); } public void setProcessingTimeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PROCESSINGTIME_ISSET_ID, value); } public int getQueueTime() { @@ -376,16 +379,16 @@ public TOnlineLogRecord setQueueTime(int queueTime) { } public void unsetQueueTime() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __QUEUETIME_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __QUEUETIME_ISSET_ID); } /** Returns true if field queueTime is set (has been assigned a value) and false otherwise */ public boolean isSetQueueTime() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __QUEUETIME_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __QUEUETIME_ISSET_ID); } public void setQueueTimeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __QUEUETIME_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __QUEUETIME_ISSET_ID, value); } public long getResponseSize() { @@ -399,24 +402,24 @@ public TOnlineLogRecord setResponseSize(long responseSize) { } public void unsetResponseSize() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID); } /** Returns true if field responseSize is set (has been assigned a value) and false otherwise */ public boolean isSetResponseSize() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID); } public void setResponseSizeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __RESPONSESIZE_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getClientAddress() { return this.clientAddress; } - public TOnlineLogRecord setClientAddress(@org.apache.thrift.annotation.Nullable java.lang.String clientAddress) { + public TOnlineLogRecord setClientAddress(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String clientAddress) { this.clientAddress = clientAddress; return this; } @@ -436,12 +439,12 @@ public void setClientAddressIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getServerClass() { return this.serverClass; } - public TOnlineLogRecord setServerClass(@org.apache.thrift.annotation.Nullable java.lang.String serverClass) { + public TOnlineLogRecord setServerClass(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String serverClass) { this.serverClass = serverClass; return this; } @@ -461,12 +464,12 @@ public void setServerClassIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getMethodName() { return this.methodName; } - public TOnlineLogRecord setMethodName(@org.apache.thrift.annotation.Nullable java.lang.String methodName) { + public TOnlineLogRecord setMethodName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String methodName) { this.methodName = methodName; return this; } @@ -486,12 +489,12 @@ public void setMethodNameIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getCallDetails() { return this.callDetails; } - public TOnlineLogRecord setCallDetails(@org.apache.thrift.annotation.Nullable java.lang.String callDetails) { + public TOnlineLogRecord setCallDetails(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String callDetails) { this.callDetails = callDetails; return this; } @@ -511,12 +514,12 @@ public void setCallDetailsIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getParam() { return this.param; } - public TOnlineLogRecord setParam(@org.apache.thrift.annotation.Nullable java.lang.String param) { + public TOnlineLogRecord setParam(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String param) { this.param = param; return this; } @@ -536,12 +539,12 @@ public void setParamIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getUserName() { return this.userName; } - public TOnlineLogRecord setUserName(@org.apache.thrift.annotation.Nullable java.lang.String userName) { + public TOnlineLogRecord setUserName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String userName) { this.userName = userName; return this; } @@ -572,16 +575,16 @@ public TOnlineLogRecord setMultiGetsCount(int multiGetsCount) { } public void unsetMultiGetsCount() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID); } /** Returns true if field multiGetsCount is set (has been assigned a value) and false otherwise */ public boolean isSetMultiGetsCount() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID); } public void setMultiGetsCountIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTIGETSCOUNT_ISSET_ID, value); } public int getMultiMutationsCount() { @@ -595,16 +598,16 @@ public TOnlineLogRecord setMultiMutationsCount(int multiMutationsCount) { } public void unsetMultiMutationsCount() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID); } /** Returns true if field multiMutationsCount is set (has been assigned a value) and false otherwise */ public boolean isSetMultiMutationsCount() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID); } public void setMultiMutationsCountIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTIMUTATIONSCOUNT_ISSET_ID, value); } public int getMultiServiceCalls() { @@ -618,24 +621,24 @@ public TOnlineLogRecord setMultiServiceCalls(int multiServiceCalls) { } public void unsetMultiServiceCalls() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID); } /** Returns true if field multiServiceCalls is set (has been assigned a value) and false otherwise */ public boolean isSetMultiServiceCalls() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID); } public void setMultiServiceCallsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MULTISERVICECALLS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getRegionName() { return this.regionName; } - public TOnlineLogRecord setRegionName(@org.apache.thrift.annotation.Nullable java.lang.String regionName) { + public TOnlineLogRecord setRegionName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String regionName) { this.regionName = regionName; return this; } @@ -666,16 +669,16 @@ public TOnlineLogRecord setBlockBytesScanned(long blockBytesScanned) { } public void unsetBlockBytesScanned() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID); } /** Returns true if field blockBytesScanned is set (has been assigned a value) and false otherwise */ public boolean isSetBlockBytesScanned() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID); } public void setBlockBytesScannedIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BLOCKBYTESSCANNED_ISSET_ID, value); } public long getFsReadTime() { @@ -689,19 +692,20 @@ public TOnlineLogRecord setFsReadTime(long fsReadTime) { } public void unsetFsReadTime() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __FSREADTIME_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __FSREADTIME_ISSET_ID); } /** Returns true if field fsReadTime is set (has been assigned a value) and false otherwise */ public boolean isSetFsReadTime() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __FSREADTIME_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __FSREADTIME_ISSET_ID); } public void setFsReadTimeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __FSREADTIME_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __FSREADTIME_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case START_TIME: if (value == null) { @@ -834,7 +838,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case START_TIME: @@ -890,6 +895,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -1096,13 +1102,13 @@ public boolean equals(TOnlineLogRecord that) { public int hashCode() { int hashCode = 1; - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(startTime); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(startTime); hashCode = hashCode * 8191 + processingTime; hashCode = hashCode * 8191 + queueTime; - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(responseSize); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(responseSize); hashCode = hashCode * 8191 + ((isSetClientAddress()) ? 131071 : 524287); if (isSetClientAddress()) @@ -1140,11 +1146,11 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetBlockBytesScanned()) ? 131071 : 524287); if (isSetBlockBytesScanned()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(blockBytesScanned); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(blockBytesScanned); hashCode = hashCode * 8191 + ((isSetFsReadTime()) ? 131071 : 524287); if (isSetFsReadTime()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(fsReadTime); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(fsReadTime); return hashCode; } @@ -1162,7 +1168,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetStartTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startTime, other.startTime); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startTime, other.startTime); if (lastComparison != 0) { return lastComparison; } @@ -1172,7 +1178,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetProcessingTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processingTime, other.processingTime); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.processingTime, other.processingTime); if (lastComparison != 0) { return lastComparison; } @@ -1182,7 +1188,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetQueueTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queueTime, other.queueTime); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.queueTime, other.queueTime); if (lastComparison != 0) { return lastComparison; } @@ -1192,7 +1198,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetResponseSize()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.responseSize, other.responseSize); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.responseSize, other.responseSize); if (lastComparison != 0) { return lastComparison; } @@ -1202,7 +1208,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetClientAddress()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.clientAddress, other.clientAddress); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.clientAddress, other.clientAddress); if (lastComparison != 0) { return lastComparison; } @@ -1212,7 +1218,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetServerClass()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverClass, other.serverClass); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.serverClass, other.serverClass); if (lastComparison != 0) { return lastComparison; } @@ -1222,7 +1228,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetMethodName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.methodName, other.methodName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.methodName, other.methodName); if (lastComparison != 0) { return lastComparison; } @@ -1232,7 +1238,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetCallDetails()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.callDetails, other.callDetails); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.callDetails, other.callDetails); if (lastComparison != 0) { return lastComparison; } @@ -1242,7 +1248,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetParam()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.param, other.param); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.param, other.param); if (lastComparison != 0) { return lastComparison; } @@ -1252,7 +1258,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetUserName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName); if (lastComparison != 0) { return lastComparison; } @@ -1262,7 +1268,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetMultiGetsCount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.multiGetsCount, other.multiGetsCount); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.multiGetsCount, other.multiGetsCount); if (lastComparison != 0) { return lastComparison; } @@ -1272,7 +1278,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetMultiMutationsCount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.multiMutationsCount, other.multiMutationsCount); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.multiMutationsCount, other.multiMutationsCount); if (lastComparison != 0) { return lastComparison; } @@ -1282,7 +1288,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetMultiServiceCalls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.multiServiceCalls, other.multiServiceCalls); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.multiServiceCalls, other.multiServiceCalls); if (lastComparison != 0) { return lastComparison; } @@ -1292,7 +1298,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetRegionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.regionName, other.regionName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.regionName, other.regionName); if (lastComparison != 0) { return lastComparison; } @@ -1302,7 +1308,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetBlockBytesScanned()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockBytesScanned, other.blockBytesScanned); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.blockBytesScanned, other.blockBytesScanned); if (lastComparison != 0) { return lastComparison; } @@ -1312,7 +1318,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } if (isSetFsReadTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fsReadTime, other.fsReadTime); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.fsReadTime, other.fsReadTime); if (lastComparison != 0) { return lastComparison; } @@ -1320,16 +1326,19 @@ public int compareTo(TOnlineLogRecord other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -1439,29 +1448,29 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'startTime' because it's a primitive and you chose the non-beans generator. // alas, we cannot check 'processingTime' because it's a primitive and you chose the non-beans generator. // alas, we cannot check 'queueTime' because it's a primitive and you chose the non-beans generator. // alas, we cannot check 'responseSize' because it's a primitive and you chose the non-beans generator. if (clientAddress == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'clientAddress' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'clientAddress' was not present! Struct: " + toString()); } if (serverClass == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'serverClass' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'serverClass' was not present! Struct: " + toString()); } if (methodName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'methodName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'methodName' was not present! Struct: " + toString()); } if (callDetails == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'callDetails' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'callDetails' was not present! Struct: " + toString()); } if (param == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'param' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'param' was not present! Struct: " + toString()); } if (userName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'userName' was not present! Struct: " + toString()); } // alas, we cannot check 'multiGetsCount' because it's a primitive and you chose the non-beans generator. // alas, we cannot check 'multiMutationsCount' because it's a primitive and you chose the non-beans generator. @@ -1471,8 +1480,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -1481,191 +1490,199 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TOnlineLogRecordStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TOnlineLogRecordStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TOnlineLogRecordStandardScheme getScheme() { return new TOnlineLogRecordStandardScheme(); } } - private static class TOnlineLogRecordStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TOnlineLogRecordStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TOnlineLogRecord struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // START_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.startTime = iprot.readI64(); - struct.setStartTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // PROCESSING_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.processingTime = iprot.readI32(); - struct.setProcessingTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // QUEUE_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.queueTime = iprot.readI32(); - struct.setQueueTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // RESPONSE_SIZE - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.responseSize = iprot.readI64(); - struct.setResponseSizeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // CLIENT_ADDRESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.clientAddress = iprot.readString(); - struct.setClientAddressIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // SERVER_CLASS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.serverClass = iprot.readString(); - struct.setServerClassIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // METHOD_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.methodName = iprot.readString(); - struct.setMethodNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // CALL_DETAILS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.callDetails = iprot.readString(); - struct.setCallDetailsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // PARAM - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.param = iprot.readString(); - struct.setParamIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // USER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.userName = iprot.readString(); - struct.setUserNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 11: // MULTI_GETS_COUNT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.multiGetsCount = iprot.readI32(); - struct.setMultiGetsCountIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 12: // MULTI_MUTATIONS_COUNT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.multiMutationsCount = iprot.readI32(); - struct.setMultiMutationsCountIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 13: // MULTI_SERVICE_CALLS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.multiServiceCalls = iprot.readI32(); - struct.setMultiServiceCallsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 14: // REGION_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.regionName = iprot.readString(); - struct.setRegionNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 15: // BLOCK_BYTES_SCANNED - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.blockBytesScanned = iprot.readI64(); - struct.setBlockBytesScannedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 16: // FS_READ_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.fsReadTime = iprot.readI64(); - struct.setFsReadTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TOnlineLogRecord struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // START_TIME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.startTime = iprot.readI64(); + struct.setStartTimeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // PROCESSING_TIME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.processingTime = iprot.readI32(); + struct.setProcessingTimeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // QUEUE_TIME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.queueTime = iprot.readI32(); + struct.setQueueTimeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // RESPONSE_SIZE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.responseSize = iprot.readI64(); + struct.setResponseSizeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // CLIENT_ADDRESS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.clientAddress = iprot.readString(); + struct.setClientAddressIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // SERVER_CLASS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.serverClass = iprot.readString(); + struct.setServerClassIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // METHOD_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.methodName = iprot.readString(); + struct.setMethodNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // CALL_DETAILS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.callDetails = iprot.readString(); + struct.setCallDetailsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // PARAM + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.param = iprot.readString(); + struct.setParamIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 10: // USER_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.userName = iprot.readString(); + struct.setUserNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // MULTI_GETS_COUNT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.multiGetsCount = iprot.readI32(); + struct.setMultiGetsCountIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // MULTI_MUTATIONS_COUNT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.multiMutationsCount = iprot.readI32(); + struct.setMultiMutationsCountIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 13: // MULTI_SERVICE_CALLS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.multiServiceCalls = iprot.readI32(); + struct.setMultiServiceCallsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 14: // REGION_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.regionName = iprot.readString(); + struct.setRegionNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 15: // BLOCK_BYTES_SCANNED + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.blockBytesScanned = iprot.readI64(); + struct.setBlockBytesScannedIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 16: // FS_READ_TIME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.fsReadTime = iprot.readI64(); + struct.setFsReadTimeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetStartTime()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'startTime' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetProcessingTime()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'processingTime' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetQueueTime()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'queueTime' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetResponseSize()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'responseSize' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetMultiGetsCount()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'multiGetsCount' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetMultiMutationsCount()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'multiMutationsCount' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetMultiServiceCalls()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'multiServiceCalls' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetStartTime()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'startTime' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetProcessingTime()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'processingTime' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetQueueTime()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'queueTime' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetResponseSize()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'responseSize' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetMultiGetsCount()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'multiGetsCount' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetMultiMutationsCount()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'multiMutationsCount' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetMultiServiceCalls()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'multiServiceCalls' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, TOnlineLogRecord struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TOnlineLogRecord struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -1743,17 +1760,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOnlineLogRecord s } - private static class TOnlineLogRecordTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TOnlineLogRecordTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TOnlineLogRecordTupleScheme getScheme() { return new TOnlineLogRecordTupleScheme(); } } - private static class TOnlineLogRecordTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TOnlineLogRecordTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TOnlineLogRecord struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TOnlineLogRecord struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeI64(struct.startTime); oprot.writeI32(struct.processingTime); oprot.writeI32(struct.queueTime); @@ -1790,52 +1808,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOnlineLogRecord st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TOnlineLogRecord struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.startTime = iprot.readI64(); - struct.setStartTimeIsSet(true); - struct.processingTime = iprot.readI32(); - struct.setProcessingTimeIsSet(true); - struct.queueTime = iprot.readI32(); - struct.setQueueTimeIsSet(true); - struct.responseSize = iprot.readI64(); - struct.setResponseSizeIsSet(true); - struct.clientAddress = iprot.readString(); - struct.setClientAddressIsSet(true); - struct.serverClass = iprot.readString(); - struct.setServerClassIsSet(true); - struct.methodName = iprot.readString(); - struct.setMethodNameIsSet(true); - struct.callDetails = iprot.readString(); - struct.setCallDetailsIsSet(true); - struct.param = iprot.readString(); - struct.setParamIsSet(true); - struct.userName = iprot.readString(); - struct.setUserNameIsSet(true); - struct.multiGetsCount = iprot.readI32(); - struct.setMultiGetsCountIsSet(true); - struct.multiMutationsCount = iprot.readI32(); - struct.setMultiMutationsCountIsSet(true); - struct.multiServiceCalls = iprot.readI32(); - struct.setMultiServiceCallsIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.regionName = iprot.readString(); - struct.setRegionNameIsSet(true); - } - if (incoming.get(1)) { - struct.blockBytesScanned = iprot.readI64(); - struct.setBlockBytesScannedIsSet(true); - } - if (incoming.get(2)) { - struct.fsReadTime = iprot.readI64(); - struct.setFsReadTimeIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TOnlineLogRecord struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.startTime = iprot.readI64(); + struct.setStartTimeIsSet(true); + struct.processingTime = iprot.readI32(); + struct.setProcessingTimeIsSet(true); + struct.queueTime = iprot.readI32(); + struct.setQueueTimeIsSet(true); + struct.responseSize = iprot.readI64(); + struct.setResponseSizeIsSet(true); + struct.clientAddress = iprot.readString(); + struct.setClientAddressIsSet(true); + struct.serverClass = iprot.readString(); + struct.setServerClassIsSet(true); + struct.methodName = iprot.readString(); + struct.setMethodNameIsSet(true); + struct.callDetails = iprot.readString(); + struct.setCallDetailsIsSet(true); + struct.param = iprot.readString(); + struct.setParamIsSet(true); + struct.userName = iprot.readString(); + struct.setUserNameIsSet(true); + struct.multiGetsCount = iprot.readI32(); + struct.setMultiGetsCountIsSet(true); + struct.multiMutationsCount = iprot.readI32(); + struct.setMultiMutationsCountIsSet(true); + struct.multiServiceCalls = iprot.readI32(); + struct.setMultiServiceCallsIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.regionName = iprot.readString(); + struct.setRegionNameIsSet(true); + } + if (incoming.get(1)) { + struct.blockBytesScanned = iprot.readI64(); + struct.setBlockBytesScannedIsSet(true); + } + if (incoming.get(2)) { + struct.fsReadTime = iprot.readI64(); + struct.setFsReadTimeIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPermissionScope.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPermissionScope.java index 57945210bb5d..3fedffba8d71 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPermissionScope.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPermissionScope.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,8 +7,8 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TPermissionScope implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TPermissionScope implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { TABLE(0), NAMESPACE(1); @@ -21,6 +21,7 @@ private TPermissionScope(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -29,7 +30,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TPermissionScope findByValue(int value) { switch (value) { case 0: 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 d2619be1bde0..e12852498a97 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,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Used to perform Put operations for a single row. * @@ -19,33 +18,34 @@ * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("columnValues", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)5); - private static final org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("durability", org.apache.thrift.protocol.TType.I32, (short)6); - private static final org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("cellVisibility", org.apache.thrift.protocol.TType.STRUCT, (short)7); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TPutStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TPutTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List columnValues; // required +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TPut implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TPut"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_VALUES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columnValues", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("durability", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CELL_VISIBILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)7); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TPutStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TPutTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnValues; // required public long timestamp; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional /** * * @see TDurability */ - public @org.apache.thrift.annotation.Nullable TDurability durability; // optional - public @org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMN_VALUES((short)2, "columnValues"), TIMESTAMP((short)3, "timestamp"), @@ -68,7 +68,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -101,7 +101,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -114,10 +114,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -126,27 +128,27 @@ public java.lang.String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.TIMESTAMP,_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.TIMESTAMP,_Fields.ATTRIBUTES,_Fields.DURABILITY,_Fields.CELL_VISIBILITY}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMN_VALUES, new org.apache.thrift.meta_data.FieldMetaData("columnValues", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); - tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.DURABILITY, new org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDurability.class))); - tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN_VALUES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columnValues", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); + tmpMap.put(_Fields.TIMESTAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.DURABILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDurability.class))); + tmpMap.put(_Fields.CELL_VISIBILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cellVisibility", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TCellVisibility.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TPut.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TPut.class, metaDataMap); } public TPut() { @@ -157,7 +159,7 @@ public TPut( java.util.List columnValues) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.columnValues = columnValues; } @@ -167,7 +169,7 @@ public TPut( public TPut(TPut other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumnValues()) { java.util.List __this__columnValues = new java.util.ArrayList(other.columnValues.size()); @@ -189,6 +191,7 @@ public TPut(TPut other) { } } + @Override public TPut deepCopy() { return new TPut(this); } @@ -205,12 +208,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TPut setRow(byte[] row) { @@ -218,8 +221,8 @@ public TPut setRow(byte[] row) { return this; } - public TPut setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TPut setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -242,7 +245,7 @@ public int getColumnValuesSize() { return (this.columnValues == null) ? 0 : this.columnValues.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnValuesIterator() { return (this.columnValues == null) ? null : this.columnValues.iterator(); } @@ -254,12 +257,12 @@ public void addToColumnValues(TColumnValue elem) { this.columnValues.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumnValues() { return this.columnValues; } - public TPut setColumnValues(@org.apache.thrift.annotation.Nullable java.util.List columnValues) { + public TPut setColumnValues(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnValues) { this.columnValues = columnValues; return this; } @@ -290,16 +293,16 @@ public TPut setTimestamp(long timestamp) { } public void unsetTimestamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */ public boolean isSetTimestamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value); } public int getAttributesSize() { @@ -313,12 +316,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TPut setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TPut setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -342,7 +345,7 @@ public void setAttributesIsSet(boolean value) { * * @see TDurability */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDurability getDurability() { return this.durability; } @@ -351,7 +354,7 @@ public TDurability getDurability() { * * @see TDurability */ - public TPut setDurability(@org.apache.thrift.annotation.Nullable TDurability durability) { + public TPut setDurability(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability) { this.durability = durability; return this; } @@ -371,12 +374,12 @@ public void setDurabilityIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCellVisibility getCellVisibility() { return this.cellVisibility; } - public TPut setCellVisibility(@org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { + public TPut setCellVisibility(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCellVisibility cellVisibility) { this.cellVisibility = cellVisibility; return this; } @@ -396,7 +399,8 @@ public void setCellVisibilityIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -453,7 +457,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -479,6 +484,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -585,7 +591,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(timestamp); hashCode = hashCode * 8191 + ((isSetAttributes()) ? 131071 : 524287); if (isSetAttributes()) @@ -615,7 +621,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -625,7 +631,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetColumnValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnValues, other.columnValues); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columnValues, other.columnValues); if (lastComparison != 0) { return lastComparison; } @@ -635,7 +641,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } @@ -645,7 +651,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -655,7 +661,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetDurability()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); if (lastComparison != 0) { return lastComparison; } @@ -665,7 +671,7 @@ public int compareTo(TPut other) { return lastComparison; } if (isSetCellVisibility()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cellVisibility, other.cellVisibility); if (lastComparison != 0) { return lastComparison; } @@ -673,16 +679,19 @@ public int compareTo(TPut other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -695,7 +704,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -746,13 +755,13 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (columnValues == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnValues' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'columnValues' was not present! Struct: " + toString()); } // check for sub-struct validity if (cellVisibility != null) { @@ -762,8 +771,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -772,114 +781,122 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TPutStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TPutStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TPutStandardScheme getScheme() { return new TPutStandardScheme(); } } - private static class TPutStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TPutStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TPut struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TPut struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMN_VALUES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list34 = iprot.readListBegin(); - struct.columnValues = new java.util.ArrayList(_list34.size); - @org.apache.thrift.annotation.Nullable TColumnValue _elem35; - for (int _i36 = 0; _i36 < _list34.size; ++_i36) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN_VALUES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem35 = new TColumnValue(); - _elem35.read(iprot); - struct.columnValues.add(_elem35); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list34 = iprot.readListBegin(); + struct.columnValues = new java.util.ArrayList(_list34.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem35; + for (int _i36 = 0; _i36 < _list34.size; ++_i36) + { + _elem35 = new TColumnValue(); + _elem35.read(iprot); + struct.columnValues.add(_elem35); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnValuesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnValuesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIMESTAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map37 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map37.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key38; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val39; - for (int _i40 = 0; _i40 < _map37.size; ++_i40) + break; + case 3: // TIMESTAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key38 = iprot.readBinary(); - _val39 = iprot.readBinary(); - struct.attributes.put(_key38, _val39); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map37 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map37.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key38; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val39; + for (int _i40 = 0; _i40 < _map37.size; ++_i40) + { + _key38 = iprot.readBinary(); + _val39 = iprot.readBinary(); + struct.attributes.put(_key38, _val39); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // DURABILITY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // CELL_VISIBILITY - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 6: // DURABILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // CELL_VISIBILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TPut struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TPut struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -891,7 +908,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TPut struct) throw if (struct.columnValues != null) { oprot.writeFieldBegin(COLUMN_VALUES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columnValues.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columnValues.size())); for (TColumnValue _iter41 : struct.columnValues) { _iter41.write(oprot); @@ -909,7 +926,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TPut struct) throw if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter42 : struct.attributes.entrySet()) { oprot.writeBinary(_iter42.getKey()); @@ -940,17 +957,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TPut struct) throw } - private static class TPutTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TPutTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TPutTupleScheme getScheme() { return new TPutTupleScheme(); } } - private static class TPutTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TPutTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TPut struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TPut struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); { oprot.writeI32(struct.columnValues.size()); @@ -995,56 +1013,61 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TPut struct) throws } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TPut struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TPut struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); { - _elem46 = new TColumnValue(); - _elem46.read(iprot); - struct.columnValues.add(_elem46); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list45 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columnValues = new java.util.ArrayList(_list45.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem46; + for (int _i47 = 0; _i47 < _list45.size; ++_i47) + { + _elem46 = new TColumnValue(); + _elem46.read(iprot); + struct.columnValues.add(_elem46); + } } - } - struct.setColumnValuesIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if (incoming.get(1)) { - { - 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; - for (int _i51 = 0; _i51 < _map48.size; ++_i51) + struct.setColumnValuesIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if (incoming.get(1)) { { - _key49 = iprot.readBinary(); - _val50 = iprot.readBinary(); - struct.attributes.put(_key49, _val50); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map48 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map48.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key49; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val50; + for (int _i51 = 0; _i51 < _map48.size; ++_i51) + { + _key49 = iprot.readBinary(); + _val50 = iprot.readBinary(); + struct.attributes.put(_key49, _val50); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(2)) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } - if (incoming.get(3)) { - struct.cellVisibility = new TCellVisibility(); - struct.cellVisibility.read(iprot); - struct.setCellVisibilityIsSet(true); + if (incoming.get(2)) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } + if (incoming.get(3)) { + struct.cellVisibility = new TCellVisibility(); + struct.cellVisibility.read(iprot); + struct.setCellVisibilityIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 8b5b64a3ebc1..51fd371144ab 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,8 +7,8 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TReadType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TReadType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { DEFAULT(1), STREAM(2), PREAD(3); @@ -22,6 +22,7 @@ private TReadType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -30,7 +31,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TReadType findByValue(int value) { switch (value) { case 1: 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 9955599295ef..e566fd6763bb 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,34 +1,34 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * if no Result is found, row and columnValues will not be set. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TResult implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TResult"); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField COLUMN_VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("columnValues", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField STALE_FIELD_DESC = new org.apache.thrift.protocol.TField("stale", org.apache.thrift.protocol.TType.BOOL, (short)3); - private static final org.apache.thrift.protocol.TField PARTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("partial", org.apache.thrift.protocol.TType.BOOL, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMN_VALUES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columnValues", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STALE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("stale", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PARTIAL_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("partial", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TResultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TResultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TResultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TResultTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // optional - public @org.apache.thrift.annotation.Nullable java.util.List columnValues; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnValues; // required public boolean stale; // optional public boolean partial; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COLUMN_VALUES((short)2, "columnValues"), STALE((short)3, "stale"), @@ -45,7 +45,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -74,7 +74,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -87,10 +87,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -100,21 +102,21 @@ public java.lang.String getFieldName() { private static final int __STALE_ISSET_ID = 0; private static final int __PARTIAL_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.ROW,_Fields.STALE,_Fields.PARTIAL}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.ROW,_Fields.STALE,_Fields.PARTIAL}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMN_VALUES, new org.apache.thrift.meta_data.FieldMetaData("columnValues", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); - tmpMap.put(_Fields.STALE, new org.apache.thrift.meta_data.FieldMetaData("stale", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.PARTIAL, new org.apache.thrift.meta_data.FieldMetaData("partial", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMN_VALUES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columnValues", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnValue.class)))); + tmpMap.put(_Fields.STALE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("stale", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.PARTIAL, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("partial", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TResult.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TResult.class, metaDataMap); } public TResult() { @@ -137,7 +139,7 @@ public TResult( public TResult(TResult other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumnValues()) { java.util.List __this__columnValues = new java.util.ArrayList(other.columnValues.size()); @@ -150,6 +152,7 @@ public TResult(TResult other) { this.partial = other.partial; } + @Override public TResult deepCopy() { return new TResult(this); } @@ -165,12 +168,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TResult setRow(byte[] row) { @@ -178,8 +181,8 @@ public TResult setRow(byte[] row) { return this; } - public TResult setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TResult setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -202,7 +205,7 @@ public int getColumnValuesSize() { return (this.columnValues == null) ? 0 : this.columnValues.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnValuesIterator() { return (this.columnValues == null) ? null : this.columnValues.iterator(); } @@ -214,12 +217,12 @@ public void addToColumnValues(TColumnValue elem) { this.columnValues.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumnValues() { return this.columnValues; } - public TResult setColumnValues(@org.apache.thrift.annotation.Nullable java.util.List columnValues) { + public TResult setColumnValues(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columnValues) { this.columnValues = columnValues; return this; } @@ -250,16 +253,16 @@ public TResult setStale(boolean stale) { } public void unsetStale() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STALE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STALE_ISSET_ID); } /** Returns true if field stale is set (has been assigned a value) and false otherwise */ public boolean isSetStale() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STALE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STALE_ISSET_ID); } public void setStaleIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STALE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STALE_ISSET_ID, value); } public boolean isPartial() { @@ -273,19 +276,20 @@ public TResult setPartial(boolean partial) { } public void unsetPartial() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PARTIAL_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PARTIAL_ISSET_ID); } /** Returns true if field partial is set (has been assigned a value) and false otherwise */ public boolean isSetPartial() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PARTIAL_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PARTIAL_ISSET_ID); } public void setPartialIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PARTIAL_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PARTIAL_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -326,7 +330,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -346,6 +351,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -452,7 +458,7 @@ public int compareTo(TResult other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -462,7 +468,7 @@ public int compareTo(TResult other) { return lastComparison; } if (isSetColumnValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnValues, other.columnValues); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columnValues, other.columnValues); if (lastComparison != 0) { return lastComparison; } @@ -472,7 +478,7 @@ public int compareTo(TResult other) { return lastComparison; } if (isSetStale()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stale, other.stale); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.stale, other.stale); if (lastComparison != 0) { return lastComparison; } @@ -482,7 +488,7 @@ public int compareTo(TResult other) { return lastComparison; } if (isSetPartial()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partial, other.partial); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.partial, other.partial); if (lastComparison != 0) { return lastComparison; } @@ -490,16 +496,19 @@ public int compareTo(TResult other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -513,7 +522,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; } @@ -541,18 +550,18 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (columnValues == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnValues' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'columnValues' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -561,85 +570,93 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TResultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TResultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TResultStandardScheme getScheme() { return new TResultStandardScheme(); } } - private static class TResultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TResultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TResult struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMN_VALUES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); - struct.columnValues = new java.util.ArrayList(_list0.size); - @org.apache.thrift.annotation.Nullable TColumnValue _elem1; - for (int _i2 = 0; _i2 < _list0.size; ++_i2) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMN_VALUES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem1 = new TColumnValue(); - _elem1.read(iprot); - struct.columnValues.add(_elem1); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); + struct.columnValues = new java.util.ArrayList(_list0.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) + { + _elem1 = new TColumnValue(); + _elem1.read(iprot); + struct.columnValues.add(_elem1); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnValuesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnValuesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // STALE - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.stale = iprot.readBool(); - struct.setStaleIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // PARTIAL - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.partial = iprot.readBool(); - struct.setPartialIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 3: // STALE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.stale = iprot.readBool(); + struct.setStaleIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // PARTIAL + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.partial = iprot.readBool(); + struct.setPartialIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TResult struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -653,7 +670,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TResult struct) th if (struct.columnValues != null) { oprot.writeFieldBegin(COLUMN_VALUES_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columnValues.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columnValues.size())); for (TColumnValue _iter3 : struct.columnValues) { _iter3.write(oprot); @@ -678,17 +695,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TResult struct) th } - private static class TResultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TResultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TResultTupleScheme getScheme() { return new TResultTupleScheme(); } } - private static class TResultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TResultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TResult struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.columnValues.size()); for (TColumnValue _iter4 : struct.columnValues) @@ -719,38 +737,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TResult struct) thr } @Override - 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 = 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TResult struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; { - _elem6 = new TColumnValue(); - _elem6.read(iprot); - struct.columnValues.add(_elem6); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columnValues = new java.util.ArrayList(_list5.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnValue _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) + { + _elem6 = new TColumnValue(); + _elem6.read(iprot); + struct.columnValues.add(_elem6); + } } - } - struct.setColumnValuesIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } - if (incoming.get(1)) { - struct.stale = iprot.readBool(); - struct.setStaleIsSet(true); - } - if (incoming.get(2)) { - struct.partial = iprot.readBool(); - struct.setPartialIsSet(true); + struct.setColumnValuesIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } + if (incoming.get(1)) { + struct.stale = iprot.readBool(); + struct.setStaleIsSet(true); + } + if (incoming.get(2)) { + struct.partial = iprot.readBool(); + struct.setPartialIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 20c54503ab5b..77ee36e6eb83 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,30 +1,30 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * A TRowMutations object is used to apply a number of Mutations to a single row. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TRowMutations implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TRowMutations"); - private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("mutations", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("row", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("mutations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRowMutationsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRowMutationsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TRowMutationsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TRowMutationsTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required - public @org.apache.thrift.annotation.Nullable java.util.List mutations; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), MUTATIONS((short)2, "mutations"); @@ -39,7 +39,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ROW @@ -64,7 +64,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -77,26 +77,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TMutation.class)))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("row", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.MUTATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TMutation.class)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRowMutations.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TRowMutations.class, metaDataMap); } public TRowMutations() { @@ -107,7 +109,7 @@ public TRowMutations( java.util.List mutations) { this(); - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); this.mutations = mutations; } @@ -116,7 +118,7 @@ public TRowMutations( */ public TRowMutations(TRowMutations other) { if (other.isSetRow()) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetMutations()) { java.util.List __this__mutations = new java.util.ArrayList(other.mutations.size()); @@ -127,6 +129,7 @@ public TRowMutations(TRowMutations other) { } } + @Override public TRowMutations deepCopy() { return new TRowMutations(this); } @@ -138,12 +141,12 @@ public void clear() { } public byte[] getRow() { - setRow(org.apache.thrift.TBaseHelper.rightSize(row)); + setRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); } public java.nio.ByteBuffer bufferForRow() { - return org.apache.thrift.TBaseHelper.copyBinary(row); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); } public TRowMutations setRow(byte[] row) { @@ -151,8 +154,8 @@ public TRowMutations setRow(byte[] row) { return this; } - public TRowMutations setRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { - this.row = org.apache.thrift.TBaseHelper.copyBinary(row); + public TRowMutations setRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer row) { + this.row = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(row); return this; } @@ -175,7 +178,7 @@ public int getMutationsSize() { return (this.mutations == null) ? 0 : this.mutations.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getMutationsIterator() { return (this.mutations == null) ? null : this.mutations.iterator(); } @@ -187,12 +190,12 @@ public void addToMutations(TMutation elem) { this.mutations.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getMutations() { return this.mutations; } - public TRowMutations setMutations(@org.apache.thrift.annotation.Nullable java.util.List mutations) { + public TRowMutations setMutations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List mutations) { this.mutations = mutations; return this; } @@ -212,7 +215,8 @@ public void setMutationsIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case ROW: if (value == null) { @@ -237,7 +241,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case ROW: @@ -251,6 +256,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -327,7 +333,7 @@ public int compareTo(TRowMutations other) { return lastComparison; } if (isSetRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); if (lastComparison != 0) { return lastComparison; } @@ -337,7 +343,7 @@ public int compareTo(TRowMutations other) { return lastComparison; } if (isSetMutations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.mutations, other.mutations); if (lastComparison != 0) { return lastComparison; } @@ -345,16 +351,19 @@ public int compareTo(TRowMutations other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -367,7 +376,7 @@ public java.lang.String toString() { if (this.row == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.row, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.row, sb); } first = false; if (!first) sb.append(", "); @@ -382,90 +391,98 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (row == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } if (mutations == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'mutations' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'mutations' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TRowMutationsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRowMutationsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRowMutationsStandardScheme getScheme() { return new TRowMutationsStandardScheme(); } } - private static class TRowMutationsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TRowMutationsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TRowMutations struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TRowMutations struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // MUTATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list134 = iprot.readListBegin(); - struct.mutations = new java.util.ArrayList(_list134.size); - @org.apache.thrift.annotation.Nullable TMutation _elem135; - for (int _i136 = 0; _i136 < _list134.size; ++_i136) + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // MUTATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem135 = new TMutation(); - _elem135.read(iprot); - struct.mutations.add(_elem135); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list134 = iprot.readListBegin(); + struct.mutations = new java.util.ArrayList(_list134.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TMutation _elem135; + for (int _i136 = 0; _i136 < _list134.size; ++_i136) + { + _elem135 = new TMutation(); + _elem135.read(iprot); + struct.mutations.add(_elem135); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setMutationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setMutationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TRowMutations struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TRowMutations struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -477,7 +494,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowMutations stru if (struct.mutations != null) { oprot.writeFieldBegin(MUTATIONS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size())); for (TMutation _iter137 : struct.mutations) { _iter137.write(oprot); @@ -492,17 +509,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowMutations stru } - private static class TRowMutationsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TRowMutationsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TRowMutationsTupleScheme getScheme() { return new TRowMutationsTupleScheme(); } } - private static class TRowMutationsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TRowMutationsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TRowMutations struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRowMutations struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); { oprot.writeI32(struct.mutations.size()); @@ -514,27 +532,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRowMutations struc } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TRowMutations struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.row = iprot.readBinary(); - struct.setRowIsSet(true); - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TRowMutations struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.row = iprot.readBinary(); + struct.setRowIsSet(true); { - _elem140 = new TMutation(); - _elem140.read(iprot); - struct.mutations.add(_elem140); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list139 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.mutations = new java.util.ArrayList(_list139.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TMutation _elem140; + for (int _i141 = 0; _i141 < _list139.size; ++_i141) + { + _elem140 = new TMutation(); + _elem140.read(iprot); + struct.mutations.add(_elem140); + } } + struct.setMutationsIsSet(true); + } finally { + prot.decrementRecursionDepth(); } - struct.setMutationsIsSet(true); } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 585320bc5d02..625a011e56a3 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,71 +1,71 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * 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.14.1)", date = "2025-08-16") -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"); - - private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("stopRow", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3); - private static final org.apache.thrift.protocol.TField CACHING_FIELD_DESC = new org.apache.thrift.protocol.TField("caching", org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxVersions", org.apache.thrift.protocol.TType.I32, (short)5); - private static final org.apache.thrift.protocol.TField TIME_RANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeRange", org.apache.thrift.protocol.TType.STRUCT, (short)6); - private static final org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("filterString", org.apache.thrift.protocol.TType.STRING, (short)7); - private static final org.apache.thrift.protocol.TField BATCH_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("batchSize", org.apache.thrift.protocol.TType.I32, (short)8); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)9); - private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.STRUCT, (short)10); - private static final org.apache.thrift.protocol.TField REVERSED_FIELD_DESC = new org.apache.thrift.protocol.TField("reversed", org.apache.thrift.protocol.TType.BOOL, (short)11); - private static final org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheBlocks", org.apache.thrift.protocol.TType.BOOL, (short)12); - private static final org.apache.thrift.protocol.TField COL_FAM_TIME_RANGE_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("colFamTimeRangeMap", org.apache.thrift.protocol.TType.MAP, (short)13); - private static final org.apache.thrift.protocol.TField READ_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("readType", org.apache.thrift.protocol.TType.I32, (short)14); - private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I32, (short)15); - private static final org.apache.thrift.protocol.TField CONSISTENCY_FIELD_DESC = new org.apache.thrift.protocol.TField("consistency", org.apache.thrift.protocol.TType.I32, (short)16); - private static final org.apache.thrift.protocol.TField TARGET_REPLICA_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("targetReplicaId", org.apache.thrift.protocol.TType.I32, (short)17); - private static final org.apache.thrift.protocol.TField FILTER_BYTES_FIELD_DESC = new org.apache.thrift.protocol.TField("filterBytes", org.apache.thrift.protocol.TType.STRING, (short)18); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TScanStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TScanTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // optional - public @org.apache.thrift.annotation.Nullable java.util.List columns; // optional +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TScan implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TScan"); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField STOP_ROW_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("caching", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MAX_VERSIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)5); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TIME_RANGE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("timeRange", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)6); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_STRING_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterString", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)7); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField BATCH_SIZE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("batchSize", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)8); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)9); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("authorizations", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)10); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField REVERSED_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("reversed", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)11); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CACHE_BLOCKS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL, (short)12); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COL_FAM_TIME_RANGE_MAP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("colFamTimeRangeMap", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)13); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField READ_TYPE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("readType", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)14); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("limit", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)15); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField CONSISTENCY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("consistency", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)16); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TARGET_REPLICA_ID_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("targetReplicaId", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)17); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField FILTER_BYTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("filterBytes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)18); + + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TScanStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TScanTupleSchemeFactory(); + + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // optional public int caching; // optional public int maxVersions; // optional - public @org.apache.thrift.annotation.Nullable TTimeRange timeRange; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange timeRange; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString; // optional public int batchSize; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional - public @org.apache.thrift.annotation.Nullable TAuthorization authorizations; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAuthorization authorizations; // optional public boolean reversed; // optional public boolean cacheBlocks; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map colFamTimeRangeMap; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map colFamTimeRangeMap; // optional /** * * @see TReadType */ - public @org.apache.thrift.annotation.Nullable TReadType readType; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TReadType readType; // optional public int limit; // optional /** * * @see TConsistency */ - public @org.apache.thrift.annotation.Nullable TConsistency consistency; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TConsistency consistency; // optional public int targetReplicaId; // optional - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { START_ROW((short)1, "startRow"), STOP_ROW((short)2, "stopRow"), COLUMNS((short)3, "columns"), @@ -104,7 +104,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // START_ROW @@ -161,7 +161,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -174,10 +174,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -192,53 +194,53 @@ public java.lang.String getFieldName() { private static final int __LIMIT_ISSET_ID = 5; private static final int __TARGETREPLICAID_ISSET_ID = 6; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.START_ROW,_Fields.STOP_ROW,_Fields.COLUMNS,_Fields.CACHING,_Fields.MAX_VERSIONS,_Fields.TIME_RANGE,_Fields.FILTER_STRING,_Fields.BATCH_SIZE,_Fields.ATTRIBUTES,_Fields.AUTHORIZATIONS,_Fields.REVERSED,_Fields.CACHE_BLOCKS,_Fields.COL_FAM_TIME_RANGE_MAP,_Fields.READ_TYPE,_Fields.LIMIT,_Fields.CONSISTENCY,_Fields.TARGET_REPLICA_ID,_Fields.FILTER_BYTES}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.START_ROW,_Fields.STOP_ROW,_Fields.COLUMNS,_Fields.CACHING,_Fields.MAX_VERSIONS,_Fields.TIME_RANGE,_Fields.FILTER_STRING,_Fields.BATCH_SIZE,_Fields.ATTRIBUTES,_Fields.AUTHORIZATIONS,_Fields.REVERSED,_Fields.CACHE_BLOCKS,_Fields.COL_FAM_TIME_RANGE_MAP,_Fields.READ_TYPE,_Fields.LIMIT,_Fields.CONSISTENCY,_Fields.TARGET_REPLICA_ID,_Fields.FILTER_BYTES}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.STOP_ROW, new org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); - tmpMap.put(_Fields.CACHING, new org.apache.thrift.meta_data.FieldMetaData("caching", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.TIME_RANGE, new org.apache.thrift.meta_data.FieldMetaData("timeRange", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class))); - tmpMap.put(_Fields.FILTER_STRING, new org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.BATCH_SIZE, new org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TAuthorization.class))); - tmpMap.put(_Fields.REVERSED, new org.apache.thrift.meta_data.FieldMetaData("reversed", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.COL_FAM_TIME_RANGE_MAP, new org.apache.thrift.meta_data.FieldMetaData("colFamTimeRangeMap", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class)))); - tmpMap.put(_Fields.READ_TYPE, new org.apache.thrift.meta_data.FieldMetaData("readType", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TReadType.class))); - tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.CONSISTENCY, new org.apache.thrift.meta_data.FieldMetaData("consistency", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TConsistency.class))); - tmpMap.put(_Fields.TARGET_REPLICA_ID, new org.apache.thrift.meta_data.FieldMetaData("targetReplicaId", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.FILTER_BYTES, new org.apache.thrift.meta_data.FieldMetaData("filterBytes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.START_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.STOP_ROW, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("stopRow", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumn.class)))); + tmpMap.put(_Fields.CACHING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("caching", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.MAX_VERSIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("maxVersions", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.TIME_RANGE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("timeRange", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class))); + tmpMap.put(_Fields.FILTER_STRING, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterString", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.BATCH_SIZE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TAuthorization.class))); + tmpMap.put(_Fields.REVERSED, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("reversed", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.CACHE_BLOCKS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("cacheBlocks", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.COL_FAM_TIME_RANGE_MAP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("colFamTimeRangeMap", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTimeRange.class)))); + tmpMap.put(_Fields.READ_TYPE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("readType", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TReadType.class))); + tmpMap.put(_Fields.LIMIT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.CONSISTENCY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("consistency", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TConsistency.class))); + tmpMap.put(_Fields.TARGET_REPLICA_ID, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("targetReplicaId", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.FILTER_BYTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("filterBytes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TScan.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TScan.class, metaDataMap); } public TScan() { @@ -252,10 +254,10 @@ public TScan() { public TScan(TScan other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStartRow()) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.startRow); } if (other.isSetStopRow()) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.stopRow); } if (other.isSetColumns()) { java.util.List __this__columns = new java.util.ArrayList(other.columns.size()); @@ -270,7 +272,7 @@ public TScan(TScan other) { this.timeRange = new TTimeRange(other.timeRange); } if (other.isSetFilterString()) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(other.filterString); + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.filterString); } this.batchSize = other.batchSize; if (other.isSetAttributes()) { @@ -289,7 +291,7 @@ public TScan(TScan other) { java.nio.ByteBuffer other_element_key = other_element.getKey(); TTimeRange other_element_value = other_element.getValue(); - java.nio.ByteBuffer __this__colFamTimeRangeMap_copy_key = org.apache.thrift.TBaseHelper.copyBinary(other_element_key); + java.nio.ByteBuffer __this__colFamTimeRangeMap_copy_key = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other_element_key); TTimeRange __this__colFamTimeRangeMap_copy_value = new TTimeRange(other_element_value); @@ -306,10 +308,11 @@ public TScan(TScan other) { } this.targetReplicaId = other.targetReplicaId; if (other.isSetFilterBytes()) { - this.filterBytes = org.apache.thrift.TBaseHelper.copyBinary(other.filterBytes); + this.filterBytes = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.filterBytes); } } + @Override public TScan deepCopy() { return new TScan(this); } @@ -344,12 +347,12 @@ public void clear() { } public byte[] getStartRow() { - setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); + setStartRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public java.nio.ByteBuffer bufferForStartRow() { - return org.apache.thrift.TBaseHelper.copyBinary(startRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); } public TScan setStartRow(byte[] startRow) { @@ -357,8 +360,8 @@ public TScan setStartRow(byte[] startRow) { return this; } - public TScan setStartRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { - this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + public TScan setStartRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer startRow) { + this.startRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -378,12 +381,12 @@ public void setStartRowIsSet(boolean value) { } public byte[] getStopRow() { - setStopRow(org.apache.thrift.TBaseHelper.rightSize(stopRow)); + setStopRow(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(stopRow)); return stopRow == null ? null : stopRow.array(); } public java.nio.ByteBuffer bufferForStopRow() { - return org.apache.thrift.TBaseHelper.copyBinary(stopRow); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); } public TScan setStopRow(byte[] stopRow) { @@ -391,8 +394,8 @@ public TScan setStopRow(byte[] stopRow) { return this; } - public TScan setStopRow(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { - this.stopRow = org.apache.thrift.TBaseHelper.copyBinary(stopRow); + public TScan setStopRow(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer stopRow) { + this.stopRow = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(stopRow); return this; } @@ -415,7 +418,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -427,12 +430,12 @@ public void addToColumns(TColumn elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TScan setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TScan setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -463,16 +466,16 @@ public TScan setCaching(int caching) { } public void unsetCaching() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHING_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHING_ISSET_ID); } /** Returns true if field caching is set (has been assigned a value) and false otherwise */ public boolean isSetCaching() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHING_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHING_ISSET_ID); } public void setCachingIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHING_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHING_ISSET_ID, value); } public int getMaxVersions() { @@ -486,24 +489,24 @@ public TScan setMaxVersions(int maxVersions) { } public void unsetMaxVersions() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } /** Returns true if field maxVersions is set (has been assigned a value) and false otherwise */ public boolean isSetMaxVersions() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID); } public void setMaxVersionsIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTimeRange getTimeRange() { return this.timeRange; } - public TScan setTimeRange(@org.apache.thrift.annotation.Nullable TTimeRange timeRange) { + public TScan setTimeRange(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange timeRange) { this.timeRange = timeRange; return this; } @@ -524,12 +527,12 @@ public void setTimeRangeIsSet(boolean value) { } public byte[] getFilterString() { - setFilterString(org.apache.thrift.TBaseHelper.rightSize(filterString)); + setFilterString(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(filterString)); return filterString == null ? null : filterString.array(); } public java.nio.ByteBuffer bufferForFilterString() { - return org.apache.thrift.TBaseHelper.copyBinary(filterString); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); } public TScan setFilterString(byte[] filterString) { @@ -537,8 +540,8 @@ public TScan setFilterString(byte[] filterString) { return this; } - public TScan setFilterString(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { - this.filterString = org.apache.thrift.TBaseHelper.copyBinary(filterString); + public TScan setFilterString(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterString) { + this.filterString = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterString); return this; } @@ -568,16 +571,16 @@ public TScan setBatchSize(int batchSize) { } public void unsetBatchSize() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); } /** Returns true if field batchSize is set (has been assigned a value) and false otherwise */ public boolean isSetBatchSize() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID); } public void setBatchSizeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BATCHSIZE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __BATCHSIZE_ISSET_ID, value); } public int getAttributesSize() { @@ -591,12 +594,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TScan setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TScan setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -616,12 +619,12 @@ public void setAttributesIsSet(boolean value) { } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TAuthorization getAuthorizations() { return this.authorizations; } - public TScan setAuthorizations(@org.apache.thrift.annotation.Nullable TAuthorization authorizations) { + public TScan setAuthorizations(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TAuthorization authorizations) { this.authorizations = authorizations; return this; } @@ -652,16 +655,16 @@ public TScan setReversed(boolean reversed) { } public void unsetReversed() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REVERSED_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __REVERSED_ISSET_ID); } /** Returns true if field reversed is set (has been assigned a value) and false otherwise */ public boolean isSetReversed() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REVERSED_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REVERSED_ISSET_ID); } public void setReversedIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REVERSED_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __REVERSED_ISSET_ID, value); } public boolean isCacheBlocks() { @@ -675,16 +678,16 @@ public TScan setCacheBlocks(boolean cacheBlocks) { } public void unsetCacheBlocks() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } /** Returns true if field cacheBlocks is set (has been assigned a value) and false otherwise */ public boolean isSetCacheBlocks() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID); } public void setCacheBlocksIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CACHEBLOCKS_ISSET_ID, value); } public int getColFamTimeRangeMapSize() { @@ -698,12 +701,12 @@ public void putToColFamTimeRangeMap(java.nio.ByteBuffer key, TTimeRange val) { this.colFamTimeRangeMap.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getColFamTimeRangeMap() { return this.colFamTimeRangeMap; } - public TScan setColFamTimeRangeMap(@org.apache.thrift.annotation.Nullable java.util.Map colFamTimeRangeMap) { + public TScan setColFamTimeRangeMap(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map colFamTimeRangeMap) { this.colFamTimeRangeMap = colFamTimeRangeMap; return this; } @@ -727,7 +730,7 @@ public void setColFamTimeRangeMapIsSet(boolean value) { * * @see TReadType */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TReadType getReadType() { return this.readType; } @@ -736,7 +739,7 @@ public TReadType getReadType() { * * @see TReadType */ - public TScan setReadType(@org.apache.thrift.annotation.Nullable TReadType readType) { + public TScan setReadType(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TReadType readType) { this.readType = readType; return this; } @@ -767,23 +770,23 @@ public TScan setLimit(int limit) { } public void unsetLimit() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __LIMIT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __LIMIT_ISSET_ID); } /** Returns true if field limit is set (has been assigned a value) and false otherwise */ public boolean isSetLimit() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __LIMIT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __LIMIT_ISSET_ID); } public void setLimitIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __LIMIT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __LIMIT_ISSET_ID, value); } /** * * @see TConsistency */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TConsistency getConsistency() { return this.consistency; } @@ -792,7 +795,7 @@ public TConsistency getConsistency() { * * @see TConsistency */ - public TScan setConsistency(@org.apache.thrift.annotation.Nullable TConsistency consistency) { + public TScan setConsistency(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TConsistency consistency) { this.consistency = consistency; return this; } @@ -823,25 +826,25 @@ public TScan setTargetReplicaId(int targetReplicaId) { } public void unsetTargetReplicaId() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); } /** Returns true if field targetReplicaId is set (has been assigned a value) and false otherwise */ public boolean isSetTargetReplicaId() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID); } public void setTargetReplicaIdIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __TARGETREPLICAID_ISSET_ID, value); } public byte[] getFilterBytes() { - setFilterBytes(org.apache.thrift.TBaseHelper.rightSize(filterBytes)); + setFilterBytes(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(filterBytes)); return filterBytes == null ? null : filterBytes.array(); } public java.nio.ByteBuffer bufferForFilterBytes() { - return org.apache.thrift.TBaseHelper.copyBinary(filterBytes); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterBytes); } public TScan setFilterBytes(byte[] filterBytes) { @@ -849,8 +852,8 @@ public TScan setFilterBytes(byte[] filterBytes) { return this; } - public TScan setFilterBytes(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes) { - this.filterBytes = org.apache.thrift.TBaseHelper.copyBinary(filterBytes); + public TScan setFilterBytes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer filterBytes) { + this.filterBytes = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(filterBytes); return this; } @@ -869,7 +872,8 @@ public void setFilterBytesIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case START_ROW: if (value == null) { @@ -1034,7 +1038,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case START_ROW: @@ -1096,6 +1101,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -1412,7 +1418,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetStartRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startRow, other.startRow); if (lastComparison != 0) { return lastComparison; } @@ -1422,7 +1428,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetStopRow()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.stopRow, other.stopRow); if (lastComparison != 0) { return lastComparison; } @@ -1432,7 +1438,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -1442,7 +1448,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetCaching()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.caching, other.caching); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.caching, other.caching); if (lastComparison != 0) { return lastComparison; } @@ -1452,7 +1458,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetMaxVersions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.maxVersions, other.maxVersions); if (lastComparison != 0) { return lastComparison; } @@ -1462,7 +1468,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetTimeRange()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeRange, other.timeRange); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.timeRange, other.timeRange); if (lastComparison != 0) { return lastComparison; } @@ -1472,7 +1478,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetFilterString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterString, other.filterString); if (lastComparison != 0) { return lastComparison; } @@ -1482,7 +1488,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetBatchSize()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchSize, other.batchSize); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.batchSize, other.batchSize); if (lastComparison != 0) { return lastComparison; } @@ -1492,7 +1498,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -1502,7 +1508,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetAuthorizations()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, other.authorizations); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.authorizations, other.authorizations); if (lastComparison != 0) { return lastComparison; } @@ -1512,7 +1518,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetReversed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reversed, other.reversed); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.reversed, other.reversed); if (lastComparison != 0) { return lastComparison; } @@ -1522,7 +1528,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetCacheBlocks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); if (lastComparison != 0) { return lastComparison; } @@ -1532,7 +1538,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetColFamTimeRangeMap()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colFamTimeRangeMap, other.colFamTimeRangeMap); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.colFamTimeRangeMap, other.colFamTimeRangeMap); if (lastComparison != 0) { return lastComparison; } @@ -1542,7 +1548,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetReadType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.readType, other.readType); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.readType, other.readType); if (lastComparison != 0) { return lastComparison; } @@ -1552,7 +1558,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetLimit()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, other.limit); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.limit, other.limit); if (lastComparison != 0) { return lastComparison; } @@ -1562,7 +1568,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetConsistency()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.consistency, other.consistency); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.consistency, other.consistency); if (lastComparison != 0) { return lastComparison; } @@ -1572,7 +1578,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetTargetReplicaId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.targetReplicaId, other.targetReplicaId); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.targetReplicaId, other.targetReplicaId); if (lastComparison != 0) { return lastComparison; } @@ -1582,7 +1588,7 @@ public int compareTo(TScan other) { return lastComparison; } if (isSetFilterBytes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filterBytes, other.filterBytes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.filterBytes, other.filterBytes); if (lastComparison != 0) { return lastComparison; } @@ -1590,16 +1596,19 @@ public int compareTo(TScan other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -1613,7 +1622,7 @@ public java.lang.String toString() { if (this.startRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.startRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; } @@ -1623,7 +1632,7 @@ public java.lang.String toString() { if (this.stopRow == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.stopRow, sb); } first = false; } @@ -1665,7 +1674,7 @@ public java.lang.String toString() { if (this.filterString == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.filterString, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.filterString, sb); } first = false; } @@ -1755,7 +1764,7 @@ public java.lang.String toString() { if (this.filterBytes == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.filterBytes, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.filterBytes, sb); } first = false; } @@ -1763,7 +1772,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { @@ -1776,8 +1785,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -1786,224 +1795,232 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TScanStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TScanStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TScanStandardScheme getScheme() { return new TScanStandardScheme(); } } - private static class TScanStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TScanStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // START_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // STOP_ROW - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 3: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list106 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list106.size); - @org.apache.thrift.annotation.Nullable TColumn _elem107; - for (int _i108 = 0; _i108 < _list106.size; ++_i108) + } + switch (schemeField.id) { + case 1: // START_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // STOP_ROW + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem107 = new TColumn(); - _elem107.read(iprot); - struct.columns.add(_elem107); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list106 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list106.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem107; + for (int _i108 = 0; _i108 < _list106.size; ++_i108) + { + _elem107 = new TColumn(); + _elem107.read(iprot); + struct.columns.add(_elem107); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // CACHING - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.caching = iprot.readI32(); - struct.setCachingIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // MAX_VERSIONS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // TIME_RANGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.timeRange = new TTimeRange(); - struct.timeRange.read(iprot); - struct.setTimeRangeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // FILTER_STRING - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // BATCH_SIZE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.batchSize = iprot.readI32(); - struct.setBatchSizeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map109 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map109.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key110; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val111; - for (int _i112 = 0; _i112 < _map109.size; ++_i112) + break; + case 4: // CACHING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.caching = iprot.readI32(); + struct.setCachingIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // MAX_VERSIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // TIME_RANGE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.timeRange = new TTimeRange(); + struct.timeRange.read(iprot); + struct.setTimeRangeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // FILTER_STRING + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // BATCH_SIZE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.batchSize = iprot.readI32(); + struct.setBatchSizeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key110 = iprot.readBinary(); - _val111 = iprot.readBinary(); - struct.attributes.put(_key110, _val111); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map109 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map109.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key110; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val111; + for (int _i112 = 0; _i112 < _map109.size; ++_i112) + { + _key110 = iprot.readBinary(); + _val111 = iprot.readBinary(); + struct.attributes.put(_key110, _val111); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // AUTHORIZATIONS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.authorizations = new TAuthorization(); - struct.authorizations.read(iprot); - struct.setAuthorizationsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 11: // REVERSED - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.reversed = iprot.readBool(); - struct.setReversedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 12: // CACHE_BLOCKS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 13: // COL_FAM_TIME_RANGE_MAP - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map113 = iprot.readMapBegin(); - struct.colFamTimeRangeMap = new java.util.HashMap(2*_map113.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key114; - @org.apache.thrift.annotation.Nullable TTimeRange _val115; - for (int _i116 = 0; _i116 < _map113.size; ++_i116) + break; + case 10: // AUTHORIZATIONS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.authorizations = new TAuthorization(); + struct.authorizations.read(iprot); + struct.setAuthorizationsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // REVERSED + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.reversed = iprot.readBool(); + struct.setReversedIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // CACHE_BLOCKS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 13: // COL_FAM_TIME_RANGE_MAP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key114 = iprot.readBinary(); - _val115 = new TTimeRange(); - _val115.read(iprot); - struct.colFamTimeRangeMap.put(_key114, _val115); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map113 = iprot.readMapBegin(); + struct.colFamTimeRangeMap = new java.util.HashMap(2*_map113.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key114; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange _val115; + for (int _i116 = 0; _i116 < _map113.size; ++_i116) + { + _key114 = iprot.readBinary(); + _val115 = new TTimeRange(); + _val115.read(iprot); + struct.colFamTimeRangeMap.put(_key114, _val115); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setColFamTimeRangeMapIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColFamTimeRangeMapIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 14: // READ_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.readType = org.apache.hadoop.hbase.thrift2.generated.TReadType.findByValue(iprot.readI32()); - struct.setReadTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 15: // LIMIT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.limit = iprot.readI32(); - struct.setLimitIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 16: // CONSISTENCY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); - struct.setConsistencyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 17: // TARGET_REPLICA_ID - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.targetReplicaId = iprot.readI32(); - struct.setTargetReplicaIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 18: // FILTER_BYTES - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filterBytes = iprot.readBinary(); - struct.setFilterBytesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 14: // READ_TYPE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.readType = org.apache.hadoop.hbase.thrift2.generated.TReadType.findByValue(iprot.readI32()); + struct.setReadTypeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 15: // LIMIT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.limit = iprot.readI32(); + struct.setLimitIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 16: // CONSISTENCY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); + struct.setConsistencyIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 17: // TARGET_REPLICA_ID + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.targetReplicaId = iprot.readI32(); + struct.setTargetReplicaIdIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 18: // FILTER_BYTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.filterBytes = iprot.readBinary(); + struct.setFilterBytesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -2025,7 +2042,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumn _iter117 : struct.columns) { _iter117.write(oprot); @@ -2068,7 +2085,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter118 : struct.attributes.entrySet()) { oprot.writeBinary(_iter118.getKey()); @@ -2100,7 +2117,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro if (struct.isSetColFamTimeRangeMap()) { oprot.writeFieldBegin(COL_FAM_TIME_RANGE_MAP_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.colFamTimeRangeMap.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.colFamTimeRangeMap.size())); for (java.util.Map.Entry _iter119 : struct.colFamTimeRangeMap.entrySet()) { oprot.writeBinary(_iter119.getKey()); @@ -2148,17 +2165,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TScan struct) thro } - private static class TScanTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TScanTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TScanTupleScheme getScheme() { return new TScanTupleScheme(); } } - private static class TScanTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TScanTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetStartRow()) { optionals.set(0); @@ -2292,121 +2310,126 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TScan struct) throw } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(18); - if (incoming.get(0)) { - struct.startRow = iprot.readBinary(); - struct.setStartRowIsSet(true); - } - if (incoming.get(1)) { - struct.stopRow = iprot.readBinary(); - struct.setStopRowIsSet(true); - } - if (incoming.get(2)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TScan struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(18); + if (incoming.get(0)) { + struct.startRow = iprot.readBinary(); + struct.setStartRowIsSet(true); + } + if (incoming.get(1)) { + struct.stopRow = iprot.readBinary(); + struct.setStopRowIsSet(true); + } + if (incoming.get(2)) { { - _elem124 = new TColumn(); - _elem124.read(iprot); - struct.columns.add(_elem124); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list123 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list123.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumn _elem124; + for (int _i125 = 0; _i125 < _list123.size; ++_i125) + { + _elem124 = new TColumn(); + _elem124.read(iprot); + struct.columns.add(_elem124); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(3)) { - struct.caching = iprot.readI32(); - struct.setCachingIsSet(true); - } - if (incoming.get(4)) { - struct.maxVersions = iprot.readI32(); - struct.setMaxVersionsIsSet(true); - } - if (incoming.get(5)) { - struct.timeRange = new TTimeRange(); - struct.timeRange.read(iprot); - struct.setTimeRangeIsSet(true); - } - if (incoming.get(6)) { - struct.filterString = iprot.readBinary(); - struct.setFilterStringIsSet(true); - } - if (incoming.get(7)) { - struct.batchSize = iprot.readI32(); - struct.setBatchSizeIsSet(true); - } - if (incoming.get(8)) { - { - 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; - for (int _i129 = 0; _i129 < _map126.size; ++_i129) + if (incoming.get(3)) { + struct.caching = iprot.readI32(); + struct.setCachingIsSet(true); + } + if (incoming.get(4)) { + struct.maxVersions = iprot.readI32(); + struct.setMaxVersionsIsSet(true); + } + if (incoming.get(5)) { + struct.timeRange = new TTimeRange(); + struct.timeRange.read(iprot); + struct.setTimeRangeIsSet(true); + } + if (incoming.get(6)) { + struct.filterString = iprot.readBinary(); + struct.setFilterStringIsSet(true); + } + if (incoming.get(7)) { + struct.batchSize = iprot.readI32(); + struct.setBatchSizeIsSet(true); + } + if (incoming.get(8)) { { - _key127 = iprot.readBinary(); - _val128 = iprot.readBinary(); - struct.attributes.put(_key127, _val128); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map126 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map126.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key127; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val128; + for (int _i129 = 0; _i129 < _map126.size; ++_i129) + { + _key127 = iprot.readBinary(); + _val128 = iprot.readBinary(); + struct.attributes.put(_key127, _val128); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(9)) { - struct.authorizations = new TAuthorization(); - struct.authorizations.read(iprot); - struct.setAuthorizationsIsSet(true); - } - if (incoming.get(10)) { - struct.reversed = iprot.readBool(); - struct.setReversedIsSet(true); - } - if (incoming.get(11)) { - struct.cacheBlocks = iprot.readBool(); - struct.setCacheBlocksIsSet(true); - } - if (incoming.get(12)) { - { - 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; - for (int _i133 = 0; _i133 < _map130.size; ++_i133) + if (incoming.get(9)) { + struct.authorizations = new TAuthorization(); + struct.authorizations.read(iprot); + struct.setAuthorizationsIsSet(true); + } + if (incoming.get(10)) { + struct.reversed = iprot.readBool(); + struct.setReversedIsSet(true); + } + if (incoming.get(11)) { + struct.cacheBlocks = iprot.readBool(); + struct.setCacheBlocksIsSet(true); + } + if (incoming.get(12)) { { - _key131 = iprot.readBinary(); - _val132 = new TTimeRange(); - _val132.read(iprot); - struct.colFamTimeRangeMap.put(_key131, _val132); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.colFamTimeRangeMap = new java.util.HashMap(2*_map130.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key131; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTimeRange _val132; + for (int _i133 = 0; _i133 < _map130.size; ++_i133) + { + _key131 = iprot.readBinary(); + _val132 = new TTimeRange(); + _val132.read(iprot); + struct.colFamTimeRangeMap.put(_key131, _val132); + } } + struct.setColFamTimeRangeMapIsSet(true); } - struct.setColFamTimeRangeMapIsSet(true); - } - if (incoming.get(13)) { - struct.readType = org.apache.hadoop.hbase.thrift2.generated.TReadType.findByValue(iprot.readI32()); - struct.setReadTypeIsSet(true); - } - if (incoming.get(14)) { - struct.limit = iprot.readI32(); - struct.setLimitIsSet(true); - } - if (incoming.get(15)) { - struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); - struct.setConsistencyIsSet(true); - } - if (incoming.get(16)) { - struct.targetReplicaId = iprot.readI32(); - struct.setTargetReplicaIdIsSet(true); - } - if (incoming.get(17)) { - struct.filterBytes = iprot.readBinary(); - struct.setFilterBytesIsSet(true); + if (incoming.get(13)) { + struct.readType = org.apache.hadoop.hbase.thrift2.generated.TReadType.findByValue(iprot.readI32()); + struct.setReadTypeIsSet(true); + } + if (incoming.get(14)) { + struct.limit = iprot.readI32(); + struct.setLimitIsSet(true); + } + if (incoming.get(15)) { + struct.consistency = org.apache.hadoop.hbase.thrift2.generated.TConsistency.findByValue(iprot.readI32()); + struct.setConsistencyIsSet(true); + } + if (incoming.get(16)) { + struct.targetReplicaId = iprot.readI32(); + struct.setTargetReplicaIdIsSet(true); + } + if (incoming.get(17)) { + struct.filterBytes = iprot.readBinary(); + struct.setFilterBytesIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 dc9234535d0e..35a5dc9b277b 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,23 +7,23 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TServerName implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TServerName"); - private static final org.apache.thrift.protocol.TField HOST_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField PORT_FIELD_DESC = new org.apache.thrift.protocol.TField("port", org.apache.thrift.protocol.TType.I32, (short)2); - private static final org.apache.thrift.protocol.TField START_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("startCode", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField HOST_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("hostName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField PORT_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("port", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField START_CODE_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("startCode", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TServerNameStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TServerNameTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TServerNameStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TServerNameTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable java.lang.String hostName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String hostName; // required public int port; // optional public long startCode; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { HOST_NAME((short)1, "hostName"), PORT((short)2, "port"), START_CODE((short)3, "startCode"); @@ -39,7 +39,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // HOST_NAME @@ -66,7 +66,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -79,10 +79,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -92,18 +94,18 @@ public java.lang.String getFieldName() { private static final int __PORT_ISSET_ID = 0; private static final int __STARTCODE_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.PORT,_Fields.START_CODE}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.PORT,_Fields.START_CODE}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.HOST_NAME, new org.apache.thrift.meta_data.FieldMetaData("hostName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PORT, new org.apache.thrift.meta_data.FieldMetaData("port", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); - tmpMap.put(_Fields.START_CODE, new org.apache.thrift.meta_data.FieldMetaData("startCode", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.HOST_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("hostName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PORT, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("port", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.START_CODE, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("startCode", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TServerName.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TServerName.class, metaDataMap); } public TServerName() { @@ -128,6 +130,7 @@ public TServerName(TServerName other) { this.startCode = other.startCode; } + @Override public TServerName deepCopy() { return new TServerName(this); } @@ -141,12 +144,12 @@ public void clear() { this.startCode = 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.lang.String getHostName() { return this.hostName; } - public TServerName setHostName(@org.apache.thrift.annotation.Nullable java.lang.String hostName) { + public TServerName setHostName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String hostName) { this.hostName = hostName; return this; } @@ -177,16 +180,16 @@ public TServerName setPort(int port) { } public void unsetPort() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PORT_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PORT_ISSET_ID); } /** Returns true if field port is set (has been assigned a value) and false otherwise */ public boolean isSetPort() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID); } public void setPortIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value); } public long getStartCode() { @@ -200,19 +203,20 @@ public TServerName setStartCode(long startCode) { } public void unsetStartCode() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STARTCODE_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STARTCODE_ISSET_ID); } /** Returns true if field startCode is set (has been assigned a value) and false otherwise */ public boolean isSetStartCode() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STARTCODE_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STARTCODE_ISSET_ID); } public void setStartCodeIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STARTCODE_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STARTCODE_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case HOST_NAME: if (value == null) { @@ -241,7 +245,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case HOST_NAME: @@ -258,6 +263,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -331,7 +337,7 @@ public int hashCode() { hashCode = hashCode * 8191 + ((isSetStartCode()) ? 131071 : 524287); if (isSetStartCode()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(startCode); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(startCode); return hashCode; } @@ -349,7 +355,7 @@ public int compareTo(TServerName other) { return lastComparison; } if (isSetHostName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostName, other.hostName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.hostName, other.hostName); if (lastComparison != 0) { return lastComparison; } @@ -359,7 +365,7 @@ public int compareTo(TServerName other) { return lastComparison; } if (isSetPort()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.port, other.port); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.port, other.port); if (lastComparison != 0) { return lastComparison; } @@ -369,7 +375,7 @@ public int compareTo(TServerName other) { return lastComparison; } if (isSetStartCode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startCode, other.startCode); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.startCode, other.startCode); if (lastComparison != 0) { return lastComparison; } @@ -377,16 +383,19 @@ public int compareTo(TServerName other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -418,18 +427,18 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (hostName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'hostName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'hostName' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -438,66 +447,74 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TServerNameStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TServerNameStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TServerNameStandardScheme getScheme() { return new TServerNameStandardScheme(); } } - private static class TServerNameStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TServerNameStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TServerName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // HOST_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.hostName = iprot.readString(); - struct.setHostNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // PORT - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.port = iprot.readI32(); - struct.setPortIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // START_CODE - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.startCode = iprot.readI64(); - struct.setStartCodeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TServerName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // HOST_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.hostName = iprot.readString(); + struct.setHostNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // PORT + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.port = iprot.readI32(); + struct.setPortIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // START_CODE + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.startCode = iprot.readI64(); + struct.setStartCodeIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TServerName struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TServerName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -522,17 +539,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TServerName struct } - private static class TServerNameTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TServerNameTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TServerNameTupleScheme getScheme() { return new TServerNameTupleScheme(); } } - private static class TServerNameTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TServerNameTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.hostName); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetPort()) { @@ -551,24 +569,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TServerName struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.hostName = iprot.readString(); - struct.setHostNameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.port = iprot.readI32(); - struct.setPortIsSet(true); - } - if (incoming.get(1)) { - struct.startCode = iprot.readI64(); - struct.setStartCodeIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.hostName = iprot.readString(); + struct.setHostNameIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.port = iprot.readI32(); + struct.setPortIsSet(true); + } + if (incoming.get(1)) { + struct.startCode = iprot.readI64(); + struct.setStartCodeIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 104fa10bcbdb..e8702efe7131 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,39 +1,39 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.client.TableDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TTableDescriptor implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TTableDescriptor"); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.thrift.protocol.TField("durability", org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("tableName", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("columns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("attributes", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField DURABILITY_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("durability", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32, (short)4); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTableDescriptorStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTableDescriptorTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTableDescriptorStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTableDescriptorTupleSchemeFactory(); - public @org.apache.thrift.annotation.Nullable TTableName tableName; // required - public @org.apache.thrift.annotation.Nullable java.util.List columns; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes; // optional /** * * @see TDurability */ - public @org.apache.thrift.annotation.Nullable TDurability durability; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { TABLE_NAME((short)1, "tableName"), COLUMNS((short)2, "columns"), ATTRIBUTES((short)3, "attributes"), @@ -54,7 +54,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_NAME @@ -83,7 +83,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -96,33 +96,35 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.COLUMNS,_Fields.ATTRIBUTES,_Fields.DURABILITY}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.COLUMNS,_Fields.ATTRIBUTES,_Fields.DURABILITY}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); - tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class)))); - tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); - tmpMap.put(_Fields.DURABILITY, new org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TDurability.class))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TABLE_NAME, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TTableName.class))); + tmpMap.put(_Fields.COLUMNS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.ListMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.StructMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, TColumnFamilyDescriptor.class)))); + tmpMap.put(_Fields.ATTRIBUTES, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.MapMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true), + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true)))); + tmpMap.put(_Fields.DURABILITY, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("durability", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.EnumMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.ENUM, TDurability.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTableDescriptor.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTableDescriptor.class, metaDataMap); } public TTableDescriptor() { @@ -158,6 +160,7 @@ public TTableDescriptor(TTableDescriptor other) { } } + @Override public TTableDescriptor deepCopy() { return new TTableDescriptor(this); } @@ -170,12 +173,12 @@ public void clear() { this.durability = null; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TTableName getTableName() { return this.tableName; } - public TTableDescriptor setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public TTableDescriptor setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -199,7 +202,7 @@ public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Iterator getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } @@ -211,12 +214,12 @@ public void addToColumns(TColumnFamilyDescriptor elem) { this.columns.add(elem); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getColumns() { return this.columns; } - public TTableDescriptor setColumns(@org.apache.thrift.annotation.Nullable java.util.List columns) { + public TTableDescriptor setColumns(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List columns) { this.columns = columns; return this; } @@ -247,12 +250,12 @@ public void putToAttributes(java.nio.ByteBuffer key, java.nio.ByteBuffer val) { this.attributes.put(key, val); } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.Map getAttributes() { return this.attributes; } - public TTableDescriptor setAttributes(@org.apache.thrift.annotation.Nullable java.util.Map attributes) { + public TTableDescriptor setAttributes(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.Map attributes) { this.attributes = attributes; return this; } @@ -276,7 +279,7 @@ public void setAttributesIsSet(boolean value) { * * @see TDurability */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TDurability getDurability() { return this.durability; } @@ -285,7 +288,7 @@ public TDurability getDurability() { * * @see TDurability */ - public TTableDescriptor setDurability(@org.apache.thrift.annotation.Nullable TDurability durability) { + public TTableDescriptor setDurability(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TDurability durability) { this.durability = durability; return this; } @@ -305,7 +308,8 @@ public void setDurabilityIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TABLE_NAME: if (value == null) { @@ -342,7 +346,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_NAME: @@ -362,6 +367,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -468,7 +474,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } @@ -478,7 +484,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -488,7 +494,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } @@ -498,7 +504,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } if (isSetDurability()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.durability, other.durability); if (lastComparison != 0) { return lastComparison; } @@ -506,16 +512,19 @@ public int compareTo(TTableDescriptor other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -565,10 +574,10 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (tableName == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString()); } // check for sub-struct validity if (tableName != null) { @@ -578,106 +587,114 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TTableDescriptorStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTableDescriptorStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTableDescriptorStandardScheme getScheme() { return new TTableDescriptorStandardScheme(); } } - private static class TTableDescriptorStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TTableDescriptorStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TTableDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TTableDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - case 2: // COLUMNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list162 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list162.size); - @org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem163; - for (int _i164 = 0; _i164 < _list162.size; ++_i164) + } + switch (schemeField.id) { + case 1: // TABLE_NAME + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT) { + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // COLUMNS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem163 = new TColumnFamilyDescriptor(); - _elem163.read(iprot); - struct.columns.add(_elem163); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list162 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list162.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem163; + for (int _i164 = 0; _i164 < _list162.size; ++_i164) + { + _elem163 = new TColumnFamilyDescriptor(); + _elem163.read(iprot); + struct.columns.add(_elem163); + } + iprot.readListEnd(); } - iprot.readListEnd(); + struct.setColumnsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setColumnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ATTRIBUTES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin(); - struct.attributes = new java.util.HashMap(2*_map165.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key166; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val167; - for (int _i168 = 0; _i168 < _map165.size; ++_i168) + break; + case 3: // ATTRIBUTES + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.MAP) { { - _key166 = iprot.readBinary(); - _val167 = iprot.readBinary(); - struct.attributes.put(_key166, _val167); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin(); + struct.attributes = new java.util.HashMap(2*_map165.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key166; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val167; + for (int _i168 = 0; _i168 < _map165.size; ++_i168) + { + _key166 = iprot.readBinary(); + _val167 = iprot.readBinary(); + struct.attributes.put(_key166, _val167); + } + iprot.readMapEnd(); } - iprot.readMapEnd(); + struct.setAttributesIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } - struct.setAttributesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // DURABILITY - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + break; + case 4: // DURABILITY + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TTableDescriptor struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TTableDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -690,7 +707,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TTableDescriptor s if (struct.isSetColumns()) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); + oprot.writeListBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (TColumnFamilyDescriptor _iter169 : struct.columns) { _iter169.write(oprot); @@ -704,7 +721,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TTableDescriptor s if (struct.isSetAttributes()) { oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); + oprot.writeMapBegin(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, struct.attributes.size())); for (java.util.Map.Entry _iter170 : struct.attributes.entrySet()) { oprot.writeBinary(_iter170.getKey()); @@ -728,17 +745,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TTableDescriptor s } - private static class TTableDescriptorTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTableDescriptorTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTableDescriptorTupleScheme getScheme() { return new TTableDescriptorTupleScheme(); } } - private static class TTableDescriptorTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TTableDescriptorTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TTableDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTableDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; struct.tableName.write(oprot); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetColumns()) { @@ -776,50 +794,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TTableDescriptor st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TTableDescriptor struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.tableName = new TTableName(); - struct.tableName.read(iprot); - struct.setTableNameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - { - 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) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTableDescriptor struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.tableName = new TTableName(); + struct.tableName.read(iprot); + struct.setTableNameIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { { - _elem174 = new TColumnFamilyDescriptor(); - _elem174.read(iprot); - struct.columns.add(_elem174); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list173 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.columns = new java.util.ArrayList(_list173.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem174; + for (int _i175 = 0; _i175 < _list173.size; ++_i175) + { + _elem174 = new TColumnFamilyDescriptor(); + _elem174.read(iprot); + struct.columns.add(_elem174); + } } + struct.setColumnsIsSet(true); } - struct.setColumnsIsSet(true); - } - if (incoming.get(1)) { - { - 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; - for (int _i179 = 0; _i179 < _map176.size; ++_i179) + if (incoming.get(1)) { { - _key177 = iprot.readBinary(); - _val178 = iprot.readBinary(); - struct.attributes.put(_key177, _val178); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMap _map176 = iprot.readMapBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.attributes = new java.util.HashMap(2*_map176.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key177; + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val178; + for (int _i179 = 0; _i179 < _map176.size; ++_i179) + { + _key177 = iprot.readBinary(); + _val178 = iprot.readBinary(); + struct.attributes.put(_key177, _val178); + } } + struct.setAttributesIsSet(true); } - struct.setAttributesIsSet(true); - } - if (incoming.get(2)) { - struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); - struct.setDurabilityIsSet(true); + if (incoming.get(2)) { + struct.durability = org.apache.hadoop.hbase.thrift2.generated.TDurability.findByValue(iprot.readI32()); + struct.setDurabilityIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 86ce0fa6dc70..bec7888178b6 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,37 +1,37 @@ /** - * Autogenerated by Thrift Compiler (0.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hbase.thrift2.generated; -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) /** * Thrift wrapper around * org.apache.hadoop.hbase.TableName */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TTableName implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TTableName"); - private static final org.apache.thrift.protocol.TField NS_FIELD_DESC = new org.apache.thrift.protocol.TField("ns", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifier", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField NS_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("ns", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField QUALIFIER_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTableNameStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTableNameTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTableNameStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTableNameTupleSchemeFactory(); /** * namespace name */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer ns; // optional + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer ns; // optional /** * tablename */ - public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { /** * namespace name */ @@ -52,7 +52,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NS @@ -77,7 +77,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -90,26 +90,28 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } } // isset id assignments - private static final _Fields optionals[] = {_Fields.NS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + private static final _Fields[] optionals = {_Fields.NS}; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.NS, new org.apache.thrift.meta_data.FieldMetaData("ns", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); - tmpMap.put(_Fields.QUALIFIER, new org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NS, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("ns", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); + tmpMap.put(_Fields.QUALIFIER, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("qualifier", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTableName.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTableName.class, metaDataMap); } public TTableName() { @@ -119,7 +121,7 @@ public TTableName( java.nio.ByteBuffer qualifier) { this(); - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -127,13 +129,14 @@ public TTableName( */ public TTableName(TTableName other) { if (other.isSetNs()) { - this.ns = org.apache.thrift.TBaseHelper.copyBinary(other.ns); + this.ns = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.ns); } if (other.isSetQualifier()) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } } + @Override public TTableName deepCopy() { return new TTableName(this); } @@ -148,12 +151,12 @@ public void clear() { * namespace name */ public byte[] getNs() { - setNs(org.apache.thrift.TBaseHelper.rightSize(ns)); + setNs(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(ns)); return ns == null ? null : ns.array(); } public java.nio.ByteBuffer bufferForNs() { - return org.apache.thrift.TBaseHelper.copyBinary(ns); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(ns); } /** @@ -164,8 +167,8 @@ public TTableName setNs(byte[] ns) { return this; } - public TTableName setNs(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer ns) { - this.ns = org.apache.thrift.TBaseHelper.copyBinary(ns); + public TTableName setNs(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer ns) { + this.ns = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(ns); return this; } @@ -188,12 +191,12 @@ public void setNsIsSet(boolean value) { * tablename */ public byte[] getQualifier() { - setQualifier(org.apache.thrift.TBaseHelper.rightSize(qualifier)); + setQualifier(org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.rightSize(qualifier)); return qualifier == null ? null : qualifier.array(); } public java.nio.ByteBuffer bufferForQualifier() { - return org.apache.thrift.TBaseHelper.copyBinary(qualifier); + return org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); } /** @@ -204,8 +207,8 @@ public TTableName setQualifier(byte[] qualifier) { return this; } - public TTableName setQualifier(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { - this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(qualifier); + public TTableName setQualifier(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer qualifier) { + this.qualifier = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(qualifier); return this; } @@ -224,7 +227,8 @@ public void setQualifierIsSet(boolean value) { } } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NS: if (value == null) { @@ -253,7 +257,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case NS: @@ -267,6 +272,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -343,7 +349,7 @@ public int compareTo(TTableName other) { return lastComparison; } if (isSetNs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ns, other.ns); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.ns, other.ns); if (lastComparison != 0) { return lastComparison; } @@ -353,7 +359,7 @@ public int compareTo(TTableName other) { return lastComparison; } if (isSetQualifier()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) { return lastComparison; } @@ -361,16 +367,19 @@ public int compareTo(TTableName other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -384,7 +393,7 @@ public java.lang.String toString() { if (this.ns == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.ns, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.ns, sb); } first = false; } @@ -393,83 +402,91 @@ public java.lang.String toString() { if (this.qualifier == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.toString(this.qualifier, sb); } first = false; sb.append(")"); return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields if (qualifier == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'qualifier' was not present! Struct: " + toString()); } // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TTableNameStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTableNameStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTableNameStandardScheme getScheme() { return new TTableNameStandardScheme(); } } - private static class TTableNameStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TTableNameStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TTableName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // NS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ns = iprot.readBinary(); - struct.setNsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // QUALIFIER - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TTableName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // NS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.ns = iprot.readBinary(); + struct.setNsIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // QUALIFIER + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING) { + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - struct.validate(); + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); + } } - public void write(org.apache.thrift.protocol.TProtocol oprot, TTableName struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TTableName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -491,17 +508,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TTableName struct) } - private static class TTableNameTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTableNameTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTableNameTupleScheme getScheme() { return new TTableNameTupleScheme(); } } - private static class TTableNameTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TTableNameTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TTableName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTableName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.qualifier); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetNs()) { @@ -514,20 +532,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TTableName struct) } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TTableName struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.qualifier = iprot.readBinary(); - struct.setQualifierIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.ns = iprot.readBinary(); - struct.setNsIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTableName struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.qualifier = iprot.readBinary(); + struct.setQualifierIsSet(true); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.ns = iprot.readBinary(); + struct.setNsIsSet(true); + } + } finally { + prot.decrementRecursionDepth(); } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } 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 b79621128524..28f8682c2d1e 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,8 +10,8 @@ /** * Specify type of thrift server: thrift and thrift2 */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -public enum TThriftServerType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public enum TThriftServerType implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { ONE(1), TWO(2); @@ -24,6 +24,7 @@ private TThriftServerType(int value) { /** * Get the integer value of this enum value, as defined in the Thrift IDL. */ + @Override public int getValue() { return value; } @@ -32,7 +33,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static TThriftServerType findByValue(int value) { switch (value) { case 1: 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 50fb6b8feb86..6fc189a3a4ff 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.14.1) + * Autogenerated by Thrift Compiler (0.23.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,21 +7,21 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-16") -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"); +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-01") +public class TTimeRange implements org.apache.hbase.thirdparty.org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TStruct("TTimeRange"); - private static final org.apache.thrift.protocol.TField MIN_STAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("minStamp", org.apache.thrift.protocol.TType.I64, (short)1); - private static final org.apache.thrift.protocol.TField MAX_STAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("maxStamp", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MIN_STAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("minStamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField MAX_STAMP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("maxStamp", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64, (short)2); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTimeRangeStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTimeRangeTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TTimeRangeStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TTimeRangeTupleSchemeFactory(); public long minStamp; // required public long maxStamp; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.hbase.thirdparty.org.apache.thrift.TFieldIdEnum { MIN_STAMP((short)1, "minStamp"), MAX_STAMP((short)2, "maxStamp"); @@ -36,7 +36,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { /** * Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // MIN_STAMP @@ -61,7 +61,7 @@ public static _Fields findByThriftIdOrThrow(int fieldId) { /** * Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public static _Fields findByName(java.lang.String name) { return byName.get(name); } @@ -74,10 +74,12 @@ public static _Fields findByName(java.lang.String name) { _fieldName = fieldName; } + @Override public short getThriftFieldId() { return _thriftId; } + @Override public java.lang.String getFieldName() { return _fieldName; } @@ -87,15 +89,15 @@ public java.lang.String getFieldName() { private static final int __MINSTAMP_ISSET_ID = 0; private static final int __MAXSTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + public static final java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.MIN_STAMP, new org.apache.thrift.meta_data.FieldMetaData("minStamp", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.MAX_STAMP, new org.apache.thrift.meta_data.FieldMetaData("maxStamp", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + java.util.Map<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.MIN_STAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("minStamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.MAX_STAMP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("maxStamp", org.apache.hbase.thirdparty.org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldValueMetaData(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTimeRange.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TTimeRange.class, metaDataMap); } public TTimeRange() { @@ -121,6 +123,7 @@ public TTimeRange(TTimeRange other) { this.maxStamp = other.maxStamp; } + @Override public TTimeRange deepCopy() { return new TTimeRange(this); } @@ -144,16 +147,16 @@ public TTimeRange setMinStamp(long minStamp) { } public void unsetMinStamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MINSTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MINSTAMP_ISSET_ID); } /** Returns true if field minStamp is set (has been assigned a value) and false otherwise */ public boolean isSetMinStamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MINSTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MINSTAMP_ISSET_ID); } public void setMinStampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MINSTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MINSTAMP_ISSET_ID, value); } public long getMaxStamp() { @@ -167,19 +170,20 @@ public TTimeRange setMaxStamp(long maxStamp) { } public void unsetMaxStamp() { - __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXSTAMP_ISSET_ID); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAXSTAMP_ISSET_ID); } /** Returns true if field maxStamp is set (has been assigned a value) and false otherwise */ public boolean isSetMaxStamp() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXSTAMP_ISSET_ID); + return org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAXSTAMP_ISSET_ID); } public void setMaxStampIsSet(boolean value) { - __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXSTAMP_ISSET_ID, value); + __isset_bitfield = org.apache.hbase.thirdparty.org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAXSTAMP_ISSET_ID, value); } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + @Override + public void setFieldValue(_Fields field, @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case MIN_STAMP: if (value == null) { @@ -200,7 +204,8 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public java.lang.Object getFieldValue(_Fields field) { switch (field) { case MIN_STAMP: @@ -214,6 +219,7 @@ public java.lang.Object getFieldValue(_Fields field) { } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + @Override public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); @@ -266,9 +272,9 @@ public boolean equals(TTimeRange that) { public int hashCode() { int hashCode = 1; - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(minStamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(minStamp); - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(maxStamp); + hashCode = hashCode * 8191 + org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.hashCode(maxStamp); return hashCode; } @@ -286,7 +292,7 @@ public int compareTo(TTimeRange other) { return lastComparison; } if (isSetMinStamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minStamp, other.minStamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.minStamp, other.minStamp); if (lastComparison != 0) { return lastComparison; } @@ -296,7 +302,7 @@ public int compareTo(TTimeRange other) { return lastComparison; } if (isSetMaxStamp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxStamp, other.maxStamp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.maxStamp, other.maxStamp); if (lastComparison != 0) { return lastComparison; } @@ -304,16 +310,19 @@ public int compareTo(TTimeRange other) { return 0; } - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable + @Override public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(iprot).read(iprot, this); } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { scheme(oprot).write(oprot, this); } @@ -333,7 +342,7 @@ public java.lang.String toString() { return sb.toString(); } - public void validate() throws org.apache.thrift.TException { + public void validate() throws org.apache.hbase.thirdparty.org.apache.thrift.TException { // check for required fields // alas, we cannot check 'minStamp' because it's a primitive and you chose the non-beans generator. // alas, we cannot check 'maxStamp' because it's a primitive and you chose the non-beans generator. @@ -342,8 +351,8 @@ public void validate() throws org.apache.thrift.TException { private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { + write(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } @@ -352,64 +361,72 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { + read(new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol(new org.apache.hbase.thirdparty.org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.hbase.thirdparty.org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class TTimeRangeStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTimeRangeStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTimeRangeStandardScheme getScheme() { return new TTimeRangeStandardScheme(); } } - private static class TTimeRangeStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class TTimeRangeStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, TTimeRange struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // MIN_STAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.minStamp = iprot.readI64(); - struct.setMinStampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // MAX_STAMP - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.maxStamp = iprot.readI64(); - struct.setMaxStampIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } + @Override + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol iprot, TTimeRange struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + iprot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STOP) { break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + switch (schemeField.id) { + case 1: // MIN_STAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.minStamp = iprot.readI64(); + struct.setMinStampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // MAX_STAMP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I64) { + struct.maxStamp = iprot.readI64(); + struct.setMaxStampIsSet(true); + } else { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); + iprot.readStructEnd(); - // check for required fields of primitive type, which can't be checked in the validate method - if (!struct.isSetMinStamp()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'minStamp' was not found in serialized data! Struct: " + toString()); - } - if (!struct.isSetMaxStamp()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'maxStamp' was not found in serialized data! Struct: " + toString()); + // check for required fields of primitive type, which can't be checked in the validate method + if (!struct.isSetMinStamp()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'minStamp' was not found in serialized data! Struct: " + toString()); + } + if (!struct.isSetMaxStamp()) { + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'maxStamp' was not found in serialized data! Struct: " + toString()); + } + struct.validate(); + } finally { + iprot.decrementRecursionDepth(); } - struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, TTimeRange struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, TTimeRange struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -425,33 +442,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TTimeRange struct) } - private static class TTimeRangeTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class TTimeRangeTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public TTimeRangeTupleScheme getScheme() { return new TTimeRangeTupleScheme(); } } - private static class TTimeRangeTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class TTimeRangeTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TTimeRange struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTimeRange struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeI64(struct.minStamp); oprot.writeI64(struct.maxStamp); } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TTimeRange struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - struct.minStamp = iprot.readI64(); - struct.setMinStampIsSet(true); - struct.maxStamp = iprot.readI64(); - struct.setMaxStampIsSet(true); + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, TTimeRange struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + prot.incrementRecursionDepth(); + try { + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.hbase.thirdparty.org.apache.thrift.protocol.TTupleProtocol) prot; + struct.minStamp = iprot.readI64(); + struct.setMinStampIsSet(true); + struct.maxStamp = iprot.readI64(); + struct.setMaxStampIsSet(true); + } finally { + prot.decrementRecursionDepth(); + } } } - private static S scheme(org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + private static S scheme(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } } diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerBase.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerBase.java index 2f90c39bfc74..523407a8f30c 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerBase.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerBase.java @@ -35,15 +35,16 @@ import org.apache.hadoop.hbase.util.EnvironmentEdgeManagerTestHelper; import org.apache.hadoop.hbase.util.IncrementingEnvironmentEdge; import org.apache.hadoop.hbase.util.TableDescriptorChecker; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.THttpClient; -import org.apache.thrift.transport.TTransportException; import org.junit.jupiter.api.Test; import org.junit.rules.ExpectedException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransportException; + /** * Base class for testing HBase Thrift HTTP server. Shared logic without @BeforeAll/@AfterAll to * allow subclasses to manage their own lifecycle. diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerSSL.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerSSL.java index fbe0362c71a8..34119655f28a 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerSSL.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServerSSL.java @@ -49,9 +49,6 @@ import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.impl.client.HttpClients; import org.apache.http.ssl.SSLContexts; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TMemoryBuffer; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; @@ -61,6 +58,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TMemoryBuffer; + @Tag(ClientTests.TAG) @Tag(LargeTests.TAG) public class TestThriftHttpServerSSL { diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java index daae740d9005..21bb4fbf6ec6 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java @@ -68,10 +68,6 @@ import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; import org.apache.hadoop.hbase.util.TableDescriptorChecker; import org.apache.hadoop.hbase.util.Threads; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; @@ -80,6 +76,11 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; + /** * Unit testing for ThriftServerRunner.HBaseServiceHandler, a part of the * org.apache.hadoop.hbase.thrift package. 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 5acd96cabc2e..1d8262018214 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 @@ -43,13 +43,6 @@ import org.apache.hadoop.hbase.util.IncrementingEnvironmentEdge; import org.apache.hadoop.hbase.util.TableDescriptorChecker; import org.apache.hadoop.hbase.util.Threads; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TCompactProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.server.TServer; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; -import org.apache.thrift.transport.layered.TFramedTransport; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; @@ -59,6 +52,13 @@ import org.slf4j.LoggerFactory; import org.apache.hbase.thirdparty.com.google.common.base.Joiner; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.server.TServer; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.layered.TFramedTransport; /** * Start the HBase Thrift server on a random port through the command-line interface and talk to it diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpFallbackServer.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpFallbackServer.java index 3a9991759dd5..cec9c3e98c62 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpFallbackServer.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpFallbackServer.java @@ -52,9 +52,6 @@ import org.apache.http.impl.client.HttpClients; import org.apache.kerby.kerberos.kerb.client.JaasKrbUtil; import org.apache.kerby.kerberos.kerb.server.SimpleKdcServer; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.THttpClient; import org.ietf.jgss.GSSCredential; import org.ietf.jgss.GSSManager; import org.ietf.jgss.GSSName; @@ -67,6 +64,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; + /** * Start the HBase Thrift HTTP server on a random port through the command-line interface and talk * to it from client side with SPNEGO security enabled. Supplemental test to diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java index 66ef04ac0bc2..3d9f3a837229 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java @@ -56,9 +56,6 @@ import org.apache.http.impl.client.HttpClients; import org.apache.kerby.kerberos.kerb.client.JaasKrbUtil; import org.apache.kerby.kerberos.kerb.server.SimpleKdcServer; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.THttpClient; import org.ietf.jgss.GSSCredential; import org.ietf.jgss.GSSManager; import org.ietf.jgss.GSSName; @@ -71,6 +68,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; + /** * Start the HBase Thrift HTTP server on a random port through the command-line interface and talk * to it from client side with SPNEGO security enabled. diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java index a693f31e454a..6717b89b23c3 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java @@ -31,13 +31,14 @@ import org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor; import org.apache.hadoop.hbase.thrift2.generated.TTableName; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.THttpClient; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.THttpClient; + @Tag(ClientTests.TAG) @Tag(LargeTests.TAG) public class TestThrift2HttpServer extends TestThriftHttpServerBase { 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 4e2173cec5f7..1b60959fdacc 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,15 +35,16 @@ import org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor; import org.apache.hadoop.hbase.thrift2.generated.TTableName; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TCompactProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; -import org.apache.thrift.transport.layered.TFramedTransport; import org.junit.jupiter.api.Tag; import org.junit.jupiter.params.provider.Arguments; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TCompactProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.layered.TFramedTransport; + @Tag(ClientTests.TAG) @Tag(LargeTests.TAG) @HBaseParameterizedTestTemplate diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java index 108e5fece941..19e8a3c9585d 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java @@ -123,11 +123,6 @@ import org.apache.hadoop.hbase.thrift2.generated.TTimeRange; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; -import org.apache.thrift.TException; -import org.apache.thrift.protocol.TBinaryProtocol; -import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TSocket; -import org.apache.thrift.transport.TTransport; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; @@ -140,6 +135,11 @@ import org.apache.hbase.thirdparty.com.google.common.collect.Lists; import org.apache.hbase.thirdparty.org.apache.commons.collections4.CollectionUtils; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TBinaryProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TSocket; +import org.apache.hbase.thirdparty.org.apache.thrift.transport.TTransport; /** * Unit testing for ThriftServer.HBaseServiceHandler, a part of the org.apache.hadoop.hbase.thrift2 diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java index 40e245ff69e8..e80bb35f1d0f 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java @@ -52,13 +52,14 @@ import org.apache.hadoop.hbase.thrift2.generated.TRowMutations; import org.apache.hadoop.hbase.thrift2.generated.TScan; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.thrift.TException; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; +import org.apache.hbase.thirdparty.org.apache.thrift.TException; + @Tag(ClientTests.TAG) @Tag(MediumTests.TAG) public class TestThriftHBaseServiceHandlerWithReadOnly { diff --git a/pom.xml b/pom.xml index 92e2fab10f97..b6a4a5c49a77 100644 --- a/pom.xml +++ b/pom.xml @@ -926,7 +926,16 @@ 4.34.0 0.6.1 thrift - 0.14.1 + + 0.23.0 3.8.6 2.11 1.7.30 @@ -981,7 +990,7 @@ databind] must be kept in sync with the version of jackson-jaxrs-json-provider shipped in hbase-thirdparty. --> - 4.1.13 + 4.1.14 @@ -1584,17 +1593,12 @@ jline ${jline.version} - - org.apache.thrift - libthrift - ${thrift.version} - - - org.apache.tomcat.embed - tomcat-embed-core - - - + org.jruby jruby-complete @@ -1844,6 +1848,11 @@ hbase-shaded-protobuf ${hbase-thirdparty.version} + + org.apache.hbase.thirdparty + hbase-shaded-thrift + ${hbase-thirdparty.version} + org.apache.hbase.thirdparty hbase-shaded-jetty-12-plus-core