diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index d3b2075ba4fd..9009a1782629 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -103,9 +103,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 0e5b431d8b3c..b3414154e014 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.TCell; import org.apache.hadoop.hbase.thrift.generated.TRowResult; 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 558df277b350..a308e6a37e21 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 @@ -38,11 +38,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; @@ -51,6 +46,12 @@ import org.ietf.jgss.GSSName; import org.ietf.jgss.Oid; +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 710971f6dadb..e8aebb164ad0 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 @@ -34,15 +34,16 @@ import org.apache.hadoop.hbase.thrift2.generated.TPut; import org.apache.hadoop.hbase.thrift2.generated.TResult; 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 c8ea2d4dc751..ce3233f8a616 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -88,14 +88,20 @@ org.apache.hbase hbase-hadoop-compat + org.apache.hbase ${compat.module} ${project.version} - org.apache.thrift - libthrift + org.apache.hbase.thirdparty + hbase-shaded-thrift org.junit.jupiter @@ -373,12 +379,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] ========================================================================================== - - @@ -452,6 +461,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/HbaseHandlerMetricsProxy.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.java index 8f62ba2acb57..c1c312fd3c51 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.java @@ -31,7 +31,7 @@ * ThriftMetrics. */ @InterfaceAudience.Private -public class HbaseHandlerMetricsProxy implements InvocationHandler { +public final class HbaseHandlerMetricsProxy implements InvocationHandler { private final Object handler; private final ThriftMetrics metrics; 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/IncrementCoalescer.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/IncrementCoalescer.java index ba06eca9834d..6f48e765d968 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/IncrementCoalescer.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/IncrementCoalescer.java @@ -108,9 +108,16 @@ public int hashCode() { @Override public boolean equals(Object obj) { - if (this == obj) return true; - if (obj == null) return false; - if (getClass() != obj.getClass()) return false; + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + FullyQualifiedRow other = (FullyQualifiedRow) obj; if (!Arrays.equals(family, other.family)) { @@ -166,13 +173,16 @@ public boolean queueIncrements(List incs) { for (TIncrement tinc : incs) { internalQueueTincrement(tinc); } - return true; + return true; } private boolean internalQueueTincrement(TIncrement inc) { byte[][] famAndQf = CellUtil.parseColumn(inc.getColumn()); - if (famAndQf.length != 2) return false; + + if (famAndQf.length != 2) { + return false; + } return internalQueueIncrement(inc.getTable(), inc.getRow(), famAndQf[0], famAndQf[1], inc.getAmmount()); @@ -263,6 +273,7 @@ private Callable createIncCallable() { /** * This method samples the incoming requests and, if selected, will check if the corePoolSize * should be changed. + * @param countersMapSize the size of the counters map */ private void dynamicallySetCoreSize(int countersMapSize) { // Here we are using countersMapSize as a random number, meaning this @@ -271,9 +282,10 @@ private void dynamicallySetCoreSize(int countersMapSize) { return; } double currentRatio = (double) countersMapSize / (double) maxQueueSize; - int newValue = 1; + int newValue; + if (currentRatio < 0.1) { - // it's 1 + newValue = 1; } else if (currentRatio < 0.3) { newValue = 2; } else if (currentRatio < 0.5) { @@ -285,6 +297,7 @@ private void dynamicallySetCoreSize(int countersMapSize) { } else { newValue = 22; } + if (pool.getCorePoolSize() != newValue) { pool.setCorePoolSize(newValue); } 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 db09a74afcda..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. @@ -243,7 +243,7 @@ public void stop() { serverTransport_.interrupt(); } - private class ClientConnnection implements Runnable { + private final class ClientConnnection implements Runnable { private TTransport client; 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 e074751ef851..e3d2e78cc139 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 @@ -35,16 +35,15 @@ import org.apache.hadoop.hbase.CellBuilderType; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.DoNotRetryIOException; -import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HRegionLocation; -import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.MetaTableAccessor; import org.apache.hadoop.hbase.ServerName; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.TableNotFoundException; import org.apache.hadoop.hbase.client.Append; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor; import org.apache.hadoop.hbase.client.Delete; import org.apache.hadoop.hbase.client.Durability; import org.apache.hadoop.hbase.client.Get; @@ -57,6 +56,8 @@ import org.apache.hadoop.hbase.client.ResultScanner; import org.apache.hadoop.hbase.client.Scan; import org.apache.hadoop.hbase.client.Table; +import org.apache.hadoop.hbase.client.TableDescriptor; +import org.apache.hadoop.hbase.client.TableDescriptorBuilder; import org.apache.hadoop.hbase.filter.Filter; import org.apache.hadoop.hbase.filter.ParseFilter; import org.apache.hadoop.hbase.filter.PrefixFilter; @@ -77,12 +78,12 @@ 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; import org.apache.hbase.thirdparty.com.google.common.base.Throwables; +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 @@ -99,10 +100,9 @@ public class ThriftHBaseServiceHandler extends HBaseServiceHandler implements Hb /** * Returns a list of all the column families for a given Table. - * @param table table */ byte[][] getAllColumns(Table table) throws IOException { - HColumnDescriptor[] cds = table.getTableDescriptor().getColumnFamilies(); + ColumnFamilyDescriptor[] cds = table.getDescriptor().getColumnFamilies(); byte[][] columns = new byte[cds.length][]; for (int i = 0; i < cds.length; i++) { columns[i] = Bytes.add(cds[i].getName(), KeyValue.COLUMN_FAMILY_DELIM_ARRAY); @@ -219,7 +219,7 @@ public List getTableRegions(ByteBuffer tableName) throws IOError { List regionLocations = locator.getAllRegionLocations(); List results = new ArrayList<>(regionLocations.size()); for (HRegionLocation regionLocation : regionLocations) { - RegionInfo info = regionLocation.getRegionInfo(); + RegionInfo info = regionLocation.getRegion(); ServerName serverName = regionLocation.getServerName(); TRegionInfo region = new TRegionInfo(); region.serverName = ByteBuffer.wrap(Bytes.toBytes(serverName.getHostname())); @@ -317,7 +317,7 @@ public List getVer(ByteBuffer tableName, ByteBuffer row, byte[] family, b } else { get.addColumn(family, qualifier); } - get.setMaxVersions(numVersions); + get.readVersions(numVersions); Result result = table.get(get); return ThriftUtilities.cellFromHBase(result.rawCells()); } catch (IOException e) { @@ -363,7 +363,7 @@ protected List getVerTs(ByteBuffer tableName, ByteBuffer row, byte[] fami get.addColumn(family, qualifier); } get.setTimeRange(0, timestamp); - get.setMaxVersions(numVersions); + get.readVersions(numVersions); Result result = table.get(get); return ThriftUtilities.cellFromHBase(result.rawCells()); } catch (IOException e) { @@ -546,12 +546,11 @@ public void createTable(ByteBuffer in_tableName, List columnFa if (getAdmin().tableExists(tableName)) { throw new AlreadyExists("table name already in use"); } - HTableDescriptor desc = new HTableDescriptor(tableName); + TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(tableName); for (ColumnDescriptor col : columnFamilies) { - HColumnDescriptor colDesc = ThriftUtilities.colDescFromThrift(col); - desc.addFamily(colDesc); + builder.setColumnFamily(ThriftUtilities.colDescFromThrift(col)); } - getAdmin().createTable(desc); + getAdmin().createTable(builder.build()); } catch (IOException e) { LOG.warn(e.getMessage(), e); throw getIOError(e); @@ -807,10 +806,10 @@ public int scannerOpenWithScan(ByteBuffer tableName, TScan tScan, Scan scan = new Scan(); addAttributes(scan, attributes); if (tScan.isSetStartRow()) { - scan.setStartRow(tScan.getStartRow()); + scan.withStartRow(tScan.getStartRow()); } if (tScan.isSetStopRow()) { - scan.setStopRow(tScan.getStopRow()); + scan.withStopRow(tScan.getStopRow()); } if (tScan.isSetTimestamp()) { scan.setTimeRange(0, tScan.getTimestamp()); @@ -856,7 +855,7 @@ public int scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List getColumnDescriptors(ByteBuffer tableNa TreeMap columns = new TreeMap<>(); table = getTable(tableName); - HTableDescriptor desc = table.getTableDescriptor(); + TableDescriptor desc = table.getDescriptor(); - for (HColumnDescriptor e : desc.getFamilies()) { + for (ColumnFamilyDescriptor e : desc.getColumnFamilies()) { ColumnDescriptor col = ThriftUtilities.colDescFromHbase(e); columns.put(col.name, col); } @@ -1066,10 +1065,10 @@ public TRegionInfo getRegionInfo(ByteBuffer searchRow) throws IOError { private Result getReverseScanResult(byte[] tableName, byte[] row, byte[] family) throws IOException { - Scan scan = new Scan(row); + Scan scan = new Scan().withStartRow(row); scan.setReversed(true); scan.addFamily(family); - scan.setStartRow(row); + scan.withStartRow(row); try (Table table = getTable(tableName); ResultScanner scanner = table.getScanner(scan)) { return scanner.next(); } 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 2a0cc639bcbf..84c4bd98f44c 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.http.HttpVersion; import org.apache.hbase.thirdparty.org.eclipse.jetty.server.HttpConfiguration; import org.apache.hbase.thirdparty.org.eclipse.jetty.server.HttpConnectionFactory; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java index 7a729dae0e96..1e0f0158a70b 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java @@ -26,9 +26,10 @@ import java.util.TreeMap; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; -import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.client.Append; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder; import org.apache.hadoop.hbase.client.Increment; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.io.compress.Compression; @@ -44,7 +45,9 @@ import org.apache.yetus.audience.InterfaceAudience; @InterfaceAudience.Private -public class ThriftUtilities { +public final class ThriftUtilities { + private ThriftUtilities() { + } /** * This utility method creates a new Hbase HColumnDescriptor object based on a Thrift @@ -52,7 +55,8 @@ public class ThriftUtilities { * @param in Thrift ColumnDescriptor object * @throws IllegalArgument if the column name is empty */ - static public HColumnDescriptor colDescFromThrift(ColumnDescriptor in) throws IllegalArgument { + public static ColumnFamilyDescriptor colDescFromThrift(ColumnDescriptor in) + throws IllegalArgument { Compression.Algorithm comp = Compression.getCompressionAlgorithmByName(in.compression.toLowerCase(Locale.ROOT)); BloomType bt = BloomType.valueOf(in.bloomFilterType); @@ -61,10 +65,10 @@ static public HColumnDescriptor colDescFromThrift(ColumnDescriptor in) throws Il throw new IllegalArgument("column name is empty"); } byte[] parsedName = CellUtil.parseColumn(Bytes.getBytes(in.name))[0]; - HColumnDescriptor col = new HColumnDescriptor(parsedName).setMaxVersions(in.maxVersions) + return ColumnFamilyDescriptorBuilder.newBuilder(parsedName).setMaxVersions(in.maxVersions) .setCompressionType(comp).setInMemory(in.inMemory).setBlockCacheEnabled(in.blockCacheEnabled) - .setTimeToLive(in.timeToLive > 0 ? in.timeToLive : Integer.MAX_VALUE).setBloomFilterType(bt); - return col; + .setTimeToLive(in.timeToLive > 0 ? in.timeToLive : Integer.MAX_VALUE).setBloomFilterType(bt) + .build(); } /** @@ -72,7 +76,7 @@ static public HColumnDescriptor colDescFromThrift(ColumnDescriptor in) throws Il * HColumnDescriptor object. Hbase HColumnDescriptor object * @return Thrift ColumnDescriptor */ - static public ColumnDescriptor colDescFromHbase(HColumnDescriptor in) { + public static ColumnDescriptor colDescFromHbase(ColumnFamilyDescriptor in) { ColumnDescriptor col = new ColumnDescriptor(); col.name = ByteBuffer.wrap(Bytes.add(in.getName(), KeyValue.COLUMN_FAMILY_DELIM_ARRAY)); col.maxVersions = in.getMaxVersions(); @@ -89,7 +93,7 @@ static public ColumnDescriptor colDescFromHbase(HColumnDescriptor in) { * empty list is returned if the input is null. Hbase Cell object * @return Thrift TCell array */ - static public List cellFromHBase(Cell in) { + public static List cellFromHBase(Cell in) { List list = new ArrayList<>(1); if (in != null) { list.add(new TCell(ByteBuffer.wrap(CellUtil.cloneValue(in)), in.getTimestamp())); @@ -103,7 +107,7 @@ static public List cellFromHBase(Cell in) { * @param in Hbase Cell array * @return Thrift TCell array */ - static public List cellFromHBase(Cell[] in) { + public static List cellFromHBase(Cell[] in) { List list = null; if (in != null) { list = new ArrayList<>(in.length); @@ -124,14 +128,16 @@ static public List cellFromHBase(Cell[] in) { * TRowResult's columns member which is a map of columnName and TCell struct * @return Thrift TRowResult array */ - static public List rowResultFromHBase(Result[] in, boolean sortColumns) { + public static List rowResultFromHBase(Result[] in, boolean sortColumns) { List results = new ArrayList<>(in.length); for (Result result_ : in) { if (result_ == null || result_.isEmpty()) { continue; } + TRowResult result = new TRowResult(); result.row = ByteBuffer.wrap(result_.getRow()); + if (sortColumns) { result.sortedColumns = new ArrayList<>(); for (Cell kv : result_.rawCells()) { @@ -149,8 +155,10 @@ static public List rowResultFromHBase(Result[] in, boolean sortColum new TCell(ByteBuffer.wrap(CellUtil.cloneValue(kv)), kv.getTimestamp())); } } + results.add(result); } + return results; } @@ -160,11 +168,11 @@ static public List rowResultFromHBase(Result[] in, boolean sortColum * objects * @return Thrift TRowResult array */ - static public List rowResultFromHBase(Result[] in) { + public static List rowResultFromHBase(Result[] in) { return rowResultFromHBase(in, false); } - static public List rowResultFromHBase(Result in) { + public static List rowResultFromHBase(Result in) { Result[] result = { in }; return rowResultFromHBase(result); } @@ -177,7 +185,11 @@ static public List rowResultFromHBase(Result in) { public static Increment incrementFromThrift(TIncrement tincrement) { Increment inc = new Increment(tincrement.getRow()); byte[][] famAndQf = CellUtil.parseColumn(tincrement.getColumn()); - if (famAndQf.length != 2) return null; + + if (famAndQf.length != 2) { + return null; + } + inc.addColumn(famAndQf[0], famAndQf[1], tincrement.getAmmount()); return inc; } 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 0feba517601d..2c23f357f1d5 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-18") -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-24") +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 6e82601fec85..10d43fbe86ee 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-18") -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-24") +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 e49880f4cebf..9bc658cd434e 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-18") -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-24") +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 279ff8afc99e..9468394ca1f5 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-24") @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-18") 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,154 +620,157 @@ 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; } 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 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"); @@ -777,20 +780,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"); @@ -800,20 +804,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"); @@ -823,23 +828,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"); @@ -849,20 +855,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"); @@ -872,19 +879,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"); @@ -894,22 +902,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"); @@ -919,23 +928,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"); @@ -945,23 +955,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"); @@ -971,16 +982,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); @@ -988,7 +1000,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); @@ -1043,7 +1057,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"); @@ -1053,16 +1067,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); @@ -1073,7 +1088,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"); @@ -1083,16 +1098,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); @@ -1104,7 +1120,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"); @@ -1114,16 +1130,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); @@ -1132,7 +1149,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"); @@ -1142,16 +1159,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); @@ -1161,7 +1179,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"); @@ -1171,16 +1189,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); @@ -1190,7 +1209,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"); @@ -1200,16 +1219,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); @@ -1220,7 +1240,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"); @@ -1230,16 +1250,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); @@ -1248,7 +1269,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"); @@ -1258,16 +1279,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); @@ -1277,7 +1299,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"); @@ -1287,16 +1309,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); @@ -1306,7 +1329,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"); @@ -1316,16 +1339,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); @@ -1336,7 +1360,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"); @@ -1346,16 +1370,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); @@ -1365,7 +1390,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"); @@ -1378,13 +1403,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); @@ -1395,7 +1421,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"); @@ -1408,13 +1434,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); @@ -1423,7 +1450,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); @@ -1452,7 +1480,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); @@ -1513,7 +1543,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"); @@ -1523,13 +1553,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); @@ -1540,7 +1571,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"); @@ -1550,13 +1581,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); @@ -1565,7 +1597,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"); @@ -1575,20 +1607,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"); @@ -1598,20 +1631,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"); @@ -1621,13 +1655,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); @@ -1637,7 +1672,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"); @@ -1647,13 +1682,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); @@ -1662,7 +1698,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"); @@ -1672,16 +1708,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); @@ -1691,7 +1728,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"); @@ -1701,16 +1738,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); @@ -1721,7 +1759,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"); @@ -1731,16 +1769,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); @@ -1750,7 +1789,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"); @@ -1760,16 +1799,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); @@ -1780,7 +1820,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"); @@ -1790,16 +1830,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); @@ -1811,7 +1852,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"); @@ -1821,23 +1862,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"); @@ -1850,16 +1892,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); @@ -1867,7 +1910,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"); @@ -1880,23 +1923,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"); @@ -1909,20 +1953,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"); @@ -1932,23 +1977,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"); @@ -1958,16 +2004,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); @@ -1979,7 +2026,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"); @@ -1992,371 +2039,407 @@ 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 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); @@ -2364,61 +2447,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; @@ -2426,8 +2516,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); @@ -2437,30 +2528,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; @@ -2469,8 +2562,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); @@ -2481,31 +2575,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; @@ -2515,8 +2611,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); @@ -2528,36 +2625,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); @@ -2566,29 +2666,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; @@ -2596,8 +2698,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); @@ -2607,29 +2710,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; @@ -2637,8 +2742,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); @@ -2648,30 +2754,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; @@ -2680,8 +2788,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); @@ -2692,36 +2801,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); @@ -2730,29 +2842,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; @@ -2760,8 +2874,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; @@ -2801,8 +2918,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; @@ -2844,8 +2964,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; @@ -2886,8 +3009,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); @@ -2897,30 +3021,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; @@ -2929,8 +3056,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); @@ -2941,36 +3069,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); @@ -2979,29 +3111,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; @@ -3009,8 +3144,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; @@ -3050,8 +3189,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); @@ -3061,29 +3201,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; @@ -3091,8 +3233,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); @@ -3102,30 +3245,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; @@ -3134,8 +3280,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); @@ -3146,36 +3293,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); @@ -3184,93 +3335,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; @@ -3278,8 +3440,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); @@ -3289,36 +3452,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); @@ -3327,29 +3494,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; @@ -3357,8 +3526,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); @@ -3368,30 +3538,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; @@ -3400,8 +3572,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); @@ -3412,29 +3585,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; @@ -3442,8 +3617,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); @@ -3453,30 +3629,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; @@ -3485,8 +3663,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); @@ -3497,31 +3676,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; @@ -3531,8 +3712,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); @@ -3544,66 +3726,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); @@ -3611,127 +3799,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; @@ -3741,8 +3941,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); @@ -3754,87 +3955,94 @@ 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 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()); @@ -3885,16 +4093,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; } @@ -3903,8 +4113,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) { @@ -3914,16 +4130,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; } @@ -3932,8 +4150,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) { @@ -3943,16 +4167,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; } @@ -3961,8 +4187,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); @@ -3973,16 +4205,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; } @@ -3991,8 +4225,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) { @@ -4002,16 +4242,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; } @@ -4020,8 +4262,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) { @@ -4031,16 +4279,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; } @@ -4049,8 +4299,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) { @@ -4060,16 +4316,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; } @@ -4078,8 +4336,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) { @@ -4089,16 +4353,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; } @@ -4107,8 +4373,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) { @@ -4118,16 +4390,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; } @@ -4136,8 +4410,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) { @@ -4147,16 +4427,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; } @@ -4165,8 +4447,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) { @@ -4180,16 +4468,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; } @@ -4198,8 +4488,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) { @@ -4209,16 +4505,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; } @@ -4227,8 +4525,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) { @@ -4238,16 +4542,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; } @@ -4256,8 +4562,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) { @@ -4267,16 +4579,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; } @@ -4285,8 +4599,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) { @@ -4296,16 +4616,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; } @@ -4314,8 +4636,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) { @@ -4325,16 +4653,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; } @@ -4343,8 +4673,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) { @@ -4354,16 +4690,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; } @@ -4372,8 +4710,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) { @@ -4383,16 +4727,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; } @@ -4401,8 +4747,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) { @@ -4412,16 +4764,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; } @@ -4430,8 +4784,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) { @@ -4441,16 +4801,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; } @@ -4459,8 +4821,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) { @@ -4470,16 +4838,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; } @@ -4488,8 +4858,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) { @@ -4499,16 +4875,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; } @@ -4517,8 +4895,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) { @@ -4528,16 +4912,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; } @@ -4546,8 +4932,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) { @@ -4559,16 +4951,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; } @@ -4577,8 +4971,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) { @@ -4590,16 +4990,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; } @@ -4608,8 +5010,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) { @@ -4621,16 +5029,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; } @@ -4639,8 +5049,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) { @@ -4652,16 +5068,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; } @@ -4670,8 +5088,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); @@ -4684,16 +5108,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; } @@ -4702,8 +5128,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) { @@ -4713,16 +5145,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; } @@ -4731,8 +5165,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) { @@ -4742,16 +5182,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; } @@ -4760,8 +5202,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) { @@ -4771,16 +5219,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; } @@ -4789,8 +5239,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) { @@ -4800,16 +5256,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; } @@ -4818,8 +5276,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) { @@ -4829,16 +5293,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; } @@ -4847,8 +5313,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) { @@ -4858,16 +5330,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; } @@ -4876,8 +5350,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); @@ -4888,16 +5368,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; } @@ -4906,8 +5388,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); @@ -4918,16 +5406,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; } @@ -4936,8 +5426,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); @@ -4948,16 +5444,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; } @@ -4966,8 +5464,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); @@ -4978,16 +5482,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; } @@ -4996,8 +5502,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); @@ -5008,16 +5520,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; } @@ -5026,8 +5540,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); @@ -5038,16 +5558,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; } @@ -5056,8 +5578,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) { @@ -5069,16 +5597,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; } @@ -5087,8 +5617,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) { @@ -5100,16 +5636,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; } @@ -5118,8 +5656,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) { @@ -5131,16 +5675,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; } @@ -5149,8 +5695,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) { @@ -5160,16 +5712,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; } @@ -5178,8 +5732,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) { @@ -5189,16 +5749,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; } @@ -5207,8 +5769,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); @@ -5221,16 +5789,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; } @@ -5239,23 +5809,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; } @@ -5264,8 +5842,14 @@ 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; } @@ -5273,17 +5857,17 @@ public getClusterId_result getResult(I iface, getClusterId_args args) throws org } - 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()); @@ -5334,23 +5918,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) { @@ -5358,26 +5950,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); @@ -5389,32 +5982,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) { @@ -5422,26 +6025,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); @@ -5453,34 +6057,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) { @@ -5488,26 +6102,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); @@ -5519,32 +6134,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) { @@ -5552,26 +6177,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); @@ -5583,32 +6209,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) { @@ -5616,26 +6252,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); @@ -5647,33 +6284,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) { @@ -5681,26 +6328,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); @@ -5712,33 +6360,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) { @@ -5746,26 +6404,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); @@ -5777,33 +6436,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) { @@ -5811,26 +6480,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); @@ -5842,33 +6512,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) { @@ -5876,26 +6556,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); @@ -5907,32 +6588,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) { @@ -5940,9 +6631,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; @@ -5956,18 +6648,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); @@ -5979,32 +6671,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) { @@ -6012,26 +6714,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); @@ -6043,33 +6746,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) { @@ -6077,26 +6790,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); @@ -6108,33 +6822,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) { @@ -6142,26 +6866,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); @@ -6173,33 +6898,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) { @@ -6207,26 +6942,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); @@ -6238,33 +6974,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) { @@ -6272,26 +7018,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); @@ -6303,33 +7050,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) { @@ -6337,26 +7094,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); @@ -6368,33 +7126,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) { @@ -6402,26 +7170,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); @@ -6433,33 +7202,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) { @@ -6467,26 +7246,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); @@ -6498,33 +7278,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) { @@ -6532,26 +7322,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); @@ -6563,33 +7354,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) { @@ -6597,26 +7398,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); @@ -6628,33 +7430,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) { @@ -6662,26 +7474,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); @@ -6693,33 +7506,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) { @@ -6727,26 +7550,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); @@ -6758,32 +7582,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) { @@ -6791,9 +7625,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; @@ -6803,18 +7638,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); @@ -6826,32 +7661,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) { @@ -6859,9 +7704,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; @@ -6871,18 +7717,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); @@ -6894,32 +7740,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) { @@ -6927,9 +7783,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; @@ -6939,18 +7796,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); @@ -6962,32 +7819,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) { @@ -6995,9 +7862,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; @@ -7007,18 +7875,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); @@ -7030,34 +7898,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) { @@ -7065,9 +7943,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; @@ -7077,18 +7956,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); @@ -7100,32 +7979,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) { @@ -7133,26 +8022,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); @@ -7164,32 +8054,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) { @@ -7197,26 +8097,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); @@ -7228,32 +8129,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) { @@ -7261,26 +8172,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); @@ -7292,32 +8204,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) { @@ -7325,26 +8247,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); @@ -7356,32 +8279,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) { @@ -7389,26 +8322,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); @@ -7420,32 +8354,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) { @@ -7453,26 +8397,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); @@ -7484,34 +8429,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) { @@ -7519,26 +8474,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); @@ -7550,34 +8506,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) { @@ -7585,26 +8551,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); @@ -7616,34 +8583,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) { @@ -7651,26 +8628,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); @@ -7682,34 +8660,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) { @@ -7717,26 +8705,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); @@ -7748,34 +8737,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) { @@ -7783,26 +8782,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); @@ -7814,34 +8814,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) { @@ -7849,26 +8859,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); @@ -7880,33 +8891,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) { @@ -7914,9 +8935,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; @@ -7926,18 +8948,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); @@ -7949,33 +8971,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) { @@ -7983,9 +9015,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; @@ -7995,18 +9028,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); @@ -8018,32 +9051,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) { @@ -8051,9 +9094,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; @@ -8063,18 +9107,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); @@ -8086,33 +9130,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) { @@ -8120,26 +9174,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); @@ -8151,33 +9206,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) { @@ -8185,26 +9250,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); @@ -8216,34 +9282,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) { @@ -8251,9 +9327,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; @@ -8263,18 +9340,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); @@ -8286,33 +9363,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) { @@ -8320,22 +9407,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); @@ -8347,33 +9435,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) { @@ -8381,22 +9479,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); @@ -8408,32 +9507,35 @@ 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 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 */ @@ -8450,7 +9552,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 @@ -8473,7 +9575,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); } @@ -8486,23 +9588,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() { @@ -8512,7 +9616,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); } /** @@ -8520,10 +9624,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); } @@ -8537,12 +9642,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); } /** @@ -8553,8 +9658,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; } @@ -8573,7 +9678,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) { @@ -8590,7 +9696,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: @@ -8601,6 +9708,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(); @@ -8662,7 +9770,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; } @@ -8670,16 +9778,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); } @@ -8692,72 +9803,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); @@ -8772,17 +9891,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); @@ -8794,33 +9914,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(); @@ -8834,7 +9960,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 @@ -8857,7 +9983,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); } @@ -8870,23 +9996,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() { @@ -8908,6 +10036,7 @@ public enableTable_result(enableTable_result other) { } } + @Override public enableTable_result deepCopy() { return new enableTable_result(this); } @@ -8917,12 +10046,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; } @@ -8942,7 +10071,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) { @@ -8955,7 +10085,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: @@ -8966,6 +10097,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(); @@ -9027,7 +10159,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; } @@ -9035,16 +10167,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); } @@ -9064,66 +10198,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); @@ -9138,17 +10280,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); @@ -9160,37 +10303,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 */ @@ -9207,7 +10356,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 @@ -9230,7 +10379,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); } @@ -9243,23 +10392,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() { @@ -9269,7 +10420,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); } /** @@ -9277,10 +10428,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); } @@ -9294,12 +10446,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); } /** @@ -9310,8 +10462,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; } @@ -9330,7 +10482,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) { @@ -9347,7 +10500,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: @@ -9358,6 +10512,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(); @@ -9419,7 +10574,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; } @@ -9427,16 +10582,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); } @@ -9449,72 +10607,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); @@ -9529,17 +10695,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); @@ -9551,33 +10718,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(); @@ -9591,7 +10764,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 @@ -9614,7 +10787,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); } @@ -9627,23 +10800,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() { @@ -9665,6 +10840,7 @@ public disableTable_result(disableTable_result other) { } } + @Override public disableTable_result deepCopy() { return new disableTable_result(this); } @@ -9674,12 +10850,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; } @@ -9699,7 +10875,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) { @@ -9712,7 +10889,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: @@ -9723,6 +10901,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(); @@ -9784,7 +10963,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; } @@ -9792,16 +10971,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); } @@ -9821,66 +11002,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); @@ -9895,17 +11084,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); @@ -9917,37 +11107,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 */ @@ -9964,7 +11160,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 @@ -9987,7 +11183,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); } @@ -10000,23 +11196,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() { @@ -10026,7 +11224,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); } /** @@ -10034,10 +11232,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); } @@ -10051,12 +11250,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); } /** @@ -10067,8 +11266,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; } @@ -10087,7 +11286,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) { @@ -10104,7 +11304,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: @@ -10115,6 +11316,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(); @@ -10176,7 +11378,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; } @@ -10184,16 +11386,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); } @@ -10206,72 +11411,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); @@ -10286,17 +11499,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); @@ -10308,35 +11522,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"); @@ -10351,7 +11571,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 @@ -10376,7 +11596,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); } @@ -10389,10 +11609,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; } @@ -10401,15 +11623,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() { @@ -10436,6 +11658,7 @@ public isTableEnabled_result(isTableEnabled_result other) { } } + @Override public isTableEnabled_result deepCopy() { return new isTableEnabled_result(this); } @@ -10458,24 +11681,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; } @@ -10495,7 +11718,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) { @@ -10516,7 +11740,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: @@ -10530,6 +11755,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(); @@ -10604,7 +11830,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; } @@ -10614,7 +11840,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; } @@ -10622,16 +11848,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); } @@ -10655,15 +11883,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); } } @@ -10672,59 +11900,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); @@ -10744,17 +11980,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); @@ -10772,38 +12009,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(); @@ -10817,7 +12060,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 @@ -10840,7 +12083,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); } @@ -10853,23 +12096,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() { @@ -10879,7 +12124,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); } /** @@ -10887,10 +12132,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); } @@ -10901,12 +12147,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) { @@ -10914,8 +12160,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; } @@ -10934,7 +12180,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) { @@ -10951,7 +12198,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: @@ -10962,6 +12210,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(); @@ -11023,7 +12272,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; } @@ -11031,16 +12280,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); } @@ -11053,72 +12305,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); @@ -11133,17 +12393,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); @@ -11155,33 +12416,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(); @@ -11195,7 +12462,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 @@ -11218,7 +12485,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); } @@ -11231,23 +12498,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() { @@ -11269,6 +12538,7 @@ public compact_result(compact_result other) { } } + @Override public compact_result deepCopy() { return new compact_result(this); } @@ -11278,12 +12548,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; } @@ -11303,7 +12573,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) { @@ -11316,7 +12587,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: @@ -11327,6 +12599,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(); @@ -11388,7 +12661,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; } @@ -11396,16 +12669,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); } @@ -11425,66 +12700,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); @@ -11499,17 +12782,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); @@ -11521,34 +12805,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(); @@ -11562,7 +12852,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 @@ -11585,7 +12875,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); } @@ -11598,23 +12888,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() { @@ -11624,7 +12916,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); } /** @@ -11632,10 +12924,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); } @@ -11646,12 +12939,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) { @@ -11659,8 +12952,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; } @@ -11679,7 +12972,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) { @@ -11696,7 +12990,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: @@ -11707,6 +13002,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(); @@ -11768,7 +13064,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; } @@ -11776,16 +13072,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); } @@ -11798,72 +13097,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); @@ -11878,17 +13185,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); @@ -11900,33 +13208,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(); @@ -11940,7 +13254,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 @@ -11963,7 +13277,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); } @@ -11976,23 +13290,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() { @@ -12014,6 +13330,7 @@ public majorCompact_result(majorCompact_result other) { } } + @Override public majorCompact_result deepCopy() { return new majorCompact_result(this); } @@ -12023,12 +13340,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; } @@ -12048,7 +13365,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) { @@ -12061,7 +13379,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: @@ -12072,6 +13391,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(); @@ -12133,7 +13453,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; } @@ -12141,16 +13461,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); } @@ -12170,66 +13492,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); @@ -12244,17 +13574,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); @@ -12266,32 +13597,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(); @@ -12305,7 +13642,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: @@ -12326,7 +13663,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); } @@ -12339,19 +13676,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() { @@ -12363,6 +13702,7 @@ public getTableNames_args() { public getTableNames_args(getTableNames_args other) { } + @Override public getTableNames_args deepCopy() { return new getTableNames_args(this); } @@ -12371,12 +13711,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) { } @@ -12384,6 +13726,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(); @@ -12428,16 +13771,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); } @@ -12450,57 +13796,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); @@ -12510,44 +13864,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"); @@ -12562,7 +13923,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 @@ -12587,7 +13948,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); } @@ -12600,26 +13961,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() { @@ -12641,7 +14004,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; } @@ -12650,6 +14013,7 @@ public getTableNames_result(getTableNames_result other) { } } + @Override public getTableNames_result deepCopy() { return new getTableNames_result(this); } @@ -12664,7 +14028,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(); } @@ -12676,12 +14040,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; } @@ -12701,12 +14065,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; } @@ -12726,7 +14090,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) { @@ -12747,7 +14112,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: @@ -12761,6 +14127,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(); @@ -12837,7 +14204,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; } @@ -12847,7 +14214,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; } @@ -12855,16 +14222,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); } @@ -12877,7 +14246,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(", "); @@ -12892,91 +14261,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); @@ -12996,17 +14373,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); @@ -13030,45 +14408,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(); @@ -13082,7 +14466,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: @@ -13103,7 +14487,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); } @@ -13116,19 +14500,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() { @@ -13140,6 +14526,7 @@ public getTableNamesWithIsTableEnabled_args() { public getTableNamesWithIsTableEnabled_args(getTableNamesWithIsTableEnabled_args other) { } + @Override public getTableNamesWithIsTableEnabled_args deepCopy() { return new getTableNamesWithIsTableEnabled_args(this); } @@ -13148,12 +14535,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) { } @@ -13161,6 +14550,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(); @@ -13205,16 +14595,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); } @@ -13227,57 +14620,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); @@ -13287,44 +14688,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"); @@ -13339,7 +14747,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 @@ -13364,7 +14772,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); } @@ -13377,27 +14785,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() { @@ -13423,7 +14833,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; @@ -13436,6 +14846,7 @@ public getTableNamesWithIsTableEnabled_result(getTableNamesWithIsTableEnabled_re } } + @Override public getTableNamesWithIsTableEnabled_result deepCopy() { return new getTableNamesWithIsTableEnabled_result(this); } @@ -13457,12 +14868,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; } @@ -13482,12 +14893,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; } @@ -13507,7 +14918,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) { @@ -13528,7 +14940,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: @@ -13542,6 +14955,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(); @@ -13618,7 +15032,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; } @@ -13628,7 +15042,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; } @@ -13636,16 +15050,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); } @@ -13673,93 +15089,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()); @@ -13780,17 +15204,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); @@ -13815,52 +15240,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 */ @@ -13877,7 +15308,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 @@ -13900,7 +15331,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); } @@ -13913,23 +15344,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() { @@ -13939,7 +15372,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); } /** @@ -13947,10 +15380,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); } @@ -13964,12 +15398,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); } /** @@ -13980,8 +15414,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; } @@ -14000,7 +15434,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) { @@ -14017,7 +15452,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: @@ -14028,6 +15464,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(); @@ -14089,7 +15526,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; } @@ -14097,16 +15534,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); } @@ -14119,72 +15559,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); @@ -14199,17 +15647,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); @@ -14221,35 +15670,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"); @@ -14264,7 +15719,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 @@ -14289,7 +15744,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); } @@ -14302,27 +15757,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() { @@ -14348,7 +15805,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); @@ -14361,6 +15818,7 @@ public getColumnDescriptors_result(getColumnDescriptors_result other) { } } + @Override public getColumnDescriptors_result deepCopy() { return new getColumnDescriptors_result(this); } @@ -14382,12 +15840,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; } @@ -14407,12 +15865,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; } @@ -14432,7 +15890,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) { @@ -14453,7 +15912,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: @@ -14467,6 +15927,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(); @@ -14543,7 +16004,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; } @@ -14553,7 +16014,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; } @@ -14561,16 +16022,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); } @@ -14598,94 +16061,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()); @@ -14706,17 +16177,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); @@ -14741,53 +16213,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 */ @@ -14804,7 +16282,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 @@ -14827,7 +16305,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); } @@ -14840,23 +16318,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() { @@ -14866,7 +16346,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); } /** @@ -14874,10 +16354,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); } @@ -14891,12 +16372,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); } /** @@ -14907,8 +16388,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; } @@ -14927,7 +16408,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) { @@ -14944,7 +16426,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: @@ -14955,6 +16438,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(); @@ -15016,7 +16500,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; } @@ -15024,16 +16508,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); } @@ -15046,72 +16533,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); @@ -15126,17 +16621,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); @@ -15148,35 +16644,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"); @@ -15191,7 +16693,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 @@ -15216,7 +16718,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); } @@ -15229,26 +16731,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() { @@ -15279,6 +16783,7 @@ public getTableRegions_result(getTableRegions_result other) { } } + @Override public getTableRegions_result deepCopy() { return new getTableRegions_result(this); } @@ -15293,7 +16798,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(); } @@ -15305,12 +16810,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; } @@ -15330,12 +16835,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; } @@ -15355,7 +16860,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) { @@ -15376,7 +16882,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: @@ -15390,6 +16897,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(); @@ -15466,7 +16974,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; } @@ -15476,7 +16984,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; } @@ -15484,16 +16992,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); } @@ -15521,92 +17031,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); @@ -15626,17 +17144,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); @@ -15660,56 +17179,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 */ @@ -15730,7 +17255,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 @@ -15755,7 +17280,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); } @@ -15768,26 +17293,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() { @@ -15798,7 +17325,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; } @@ -15807,7 +17334,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()); @@ -15818,6 +17345,7 @@ public createTable_args(createTable_args other) { } } + @Override public createTable_args deepCopy() { return new createTable_args(this); } @@ -15832,12 +17360,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); } /** @@ -15848,8 +17376,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; } @@ -15872,7 +17400,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(); } @@ -15887,7 +17415,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; } @@ -15895,7 +17423,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; } @@ -15915,7 +17443,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) { @@ -15940,7 +17469,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: @@ -15954,6 +17484,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(); @@ -16030,7 +17561,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; } @@ -16040,7 +17571,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; } @@ -16048,16 +17579,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); } @@ -16070,7 +17604,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(", "); @@ -16085,84 +17619,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); @@ -16174,7 +17716,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); @@ -16189,17 +17731,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); @@ -16223,51 +17766,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"); @@ -16283,7 +17832,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 @@ -16310,7 +17859,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); } @@ -16323,27 +17872,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() { @@ -16375,6 +17926,7 @@ public createTable_result(createTable_result other) { } } + @Override public createTable_result deepCopy() { return new createTable_result(this); } @@ -16386,12 +17938,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; } @@ -16411,12 +17963,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; } @@ -16436,12 +17988,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; } @@ -16461,7 +18013,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) { @@ -16490,7 +18043,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: @@ -16507,6 +18061,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(); @@ -16598,7 +18153,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; } @@ -16608,7 +18163,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; } @@ -16618,7 +18173,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; } @@ -16626,16 +18181,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); } @@ -16671,84 +18228,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); @@ -16773,17 +18338,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); @@ -16807,47 +18373,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 */ @@ -16864,7 +18436,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 @@ -16887,7 +18459,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); } @@ -16900,23 +18472,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() { @@ -16926,7 +18500,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); } /** @@ -16934,10 +18508,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); } @@ -16951,12 +18526,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); } /** @@ -16967,8 +18542,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; } @@ -16987,7 +18562,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) { @@ -17004,7 +18580,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: @@ -17015,6 +18592,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(); @@ -17076,7 +18654,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; } @@ -17084,16 +18662,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); } @@ -17106,72 +18687,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); @@ -17186,17 +18775,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); @@ -17208,33 +18798,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(); @@ -17248,7 +18844,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 @@ -17271,7 +18867,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); } @@ -17284,23 +18880,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() { @@ -17322,6 +18920,7 @@ public deleteTable_result(deleteTable_result other) { } } + @Override public deleteTable_result deepCopy() { return new deleteTable_result(this); } @@ -17331,12 +18930,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; } @@ -17356,7 +18955,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) { @@ -17369,7 +18969,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: @@ -17380,6 +18981,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(); @@ -17441,7 +19043,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; } @@ -17449,16 +19051,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); } @@ -17478,66 +19082,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); @@ -17552,17 +19164,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); @@ -17574,52 +19187,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 */ @@ -17648,7 +19267,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 @@ -17677,7 +19296,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); } @@ -17690,31 +19309,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() { @@ -17727,9 +19348,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; } @@ -17738,13 +19359,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()); @@ -17753,9 +19374,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); } @@ -17763,6 +19384,7 @@ public get_args(get_args other) { } } + @Override public get_args deepCopy() { return new get_args(this); } @@ -17779,12 +19401,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); } /** @@ -17795,8 +19417,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; } @@ -17819,12 +19441,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); } /** @@ -17835,8 +19457,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; } @@ -17859,12 +19481,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); } /** @@ -17875,8 +19497,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; } @@ -17909,7 +19531,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; } @@ -17917,7 +19539,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; } @@ -17937,7 +19559,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) { @@ -17986,7 +19609,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: @@ -18006,6 +19630,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(); @@ -18112,7 +19737,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; } @@ -18122,7 +19747,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; } @@ -18132,7 +19757,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; } @@ -18142,7 +19767,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; } @@ -18150,16 +19775,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); } @@ -18172,7 +19800,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(", "); @@ -18180,7 +19808,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(", "); @@ -18188,7 +19816,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(", "); @@ -18203,101 +19831,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); @@ -18319,7 +19955,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()); @@ -18335,17 +19971,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); @@ -18382,58 +20019,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"); @@ -18448,7 +20091,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 @@ -18473,7 +20116,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); } @@ -18486,26 +20129,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() { @@ -18536,6 +20181,7 @@ public get_result(get_result other) { } } + @Override public get_result deepCopy() { return new get_result(this); } @@ -18550,7 +20196,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(); } @@ -18562,12 +20208,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; } @@ -18587,12 +20233,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; } @@ -18612,7 +20258,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) { @@ -18633,7 +20280,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: @@ -18647,6 +20295,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(); @@ -18723,7 +20372,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; } @@ -18733,7 +20382,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; } @@ -18741,16 +20390,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); } @@ -18778,92 +20429,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); @@ -18883,17 +20542,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); @@ -18917,60 +20577,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 */ @@ -18978,10 +20644,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 */ @@ -19014,7 +20680,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 @@ -19045,7 +20711,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); } @@ -19058,10 +20724,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; } @@ -19070,23 +20738,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() { @@ -19100,9 +20768,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; @@ -19114,13 +20782,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()) { @@ -19130,9 +20798,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); } @@ -19140,6 +20808,7 @@ public getVer_args(getVer_args other) { } } + @Override public getVer_args deepCopy() { return new getVer_args(this); } @@ -19158,12 +20827,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); } /** @@ -19174,8 +20843,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; } @@ -19198,12 +20867,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); } /** @@ -19214,8 +20883,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; } @@ -19238,12 +20907,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); } /** @@ -19254,8 +20923,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; } @@ -19291,16 +20960,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() { @@ -19317,7 +20986,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; } @@ -19325,7 +20994,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; } @@ -19345,7 +21014,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) { @@ -19402,7 +21072,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: @@ -19425,6 +21096,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(); @@ -19544,7 +21216,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; } @@ -19554,7 +21226,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; } @@ -19564,7 +21236,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; } @@ -19574,7 +21246,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; } @@ -19584,7 +21256,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; } @@ -19592,16 +21264,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); } @@ -19614,7 +21289,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(", "); @@ -19622,7 +21297,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(", "); @@ -19630,7 +21305,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(", "); @@ -19649,15 +21324,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); } } @@ -19666,94 +21341,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); @@ -19778,7 +21461,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()); @@ -19794,17 +21477,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); @@ -19847,62 +21531,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"); @@ -19917,7 +21607,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 @@ -19942,7 +21632,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); } @@ -19955,26 +21645,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() { @@ -20005,6 +21697,7 @@ public getVer_result(getVer_result other) { } } + @Override public getVer_result deepCopy() { return new getVer_result(this); } @@ -20019,7 +21712,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(); } @@ -20031,12 +21724,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; } @@ -20056,12 +21749,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; } @@ -20081,7 +21774,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) { @@ -20102,7 +21796,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: @@ -20116,6 +21811,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(); @@ -20192,7 +21888,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; } @@ -20202,7 +21898,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; } @@ -20210,16 +21906,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); } @@ -20247,92 +21945,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); @@ -20352,17 +22058,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); @@ -20386,61 +22093,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 */ @@ -20452,10 +22165,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 */ @@ -20492,7 +22205,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 @@ -20525,7 +22238,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,10 +22251,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; } @@ -20551,25 +22266,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() { @@ -20584,9 +22299,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; @@ -20600,13 +22315,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; @@ -20617,9 +22332,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); } @@ -20627,6 +22342,7 @@ public getVerTs_args(getVerTs_args other) { } } + @Override public getVerTs_args deepCopy() { return new getVerTs_args(this); } @@ -20647,12 +22363,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); } /** @@ -20663,8 +22379,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; } @@ -20687,12 +22403,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); } /** @@ -20703,8 +22419,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; } @@ -20727,12 +22443,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); } /** @@ -20743,8 +22459,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; } @@ -20780,16 +22496,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); } /** @@ -20809,16 +22525,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() { @@ -20835,7 +22551,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; } @@ -20843,7 +22559,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; } @@ -20863,7 +22579,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) { @@ -20928,7 +22645,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: @@ -20954,6 +22672,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(); @@ -21062,7 +22781,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; @@ -21086,7 +22805,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; } @@ -21096,7 +22815,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; } @@ -21106,7 +22825,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; } @@ -21116,7 +22835,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; } @@ -21126,7 +22845,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; } @@ -21136,7 +22855,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; } @@ -21144,16 +22863,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); } @@ -21166,7 +22888,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(", "); @@ -21174,7 +22896,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(", "); @@ -21182,7 +22904,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(", "); @@ -21205,15 +22927,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); } } @@ -21222,102 +22944,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); @@ -21345,7 +23075,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()); @@ -21361,17 +23091,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); @@ -21420,66 +23151,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"); @@ -21494,7 +23231,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 @@ -21519,7 +23256,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); } @@ -21532,26 +23269,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() { @@ -21582,6 +23321,7 @@ public getVerTs_result(getVerTs_result other) { } } + @Override public getVerTs_result deepCopy() { return new getVerTs_result(this); } @@ -21596,7 +23336,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(); } @@ -21608,12 +23348,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; } @@ -21633,12 +23373,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; } @@ -21658,7 +23398,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) { @@ -21679,7 +23420,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: @@ -21693,6 +23435,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(); @@ -21769,7 +23512,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; } @@ -21779,7 +23522,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; } @@ -21787,16 +23530,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); } @@ -21824,92 +23569,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); @@ -21929,17 +23682,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); @@ -21963,61 +23717,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 */ @@ -22042,7 +23802,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 @@ -22069,7 +23829,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); } @@ -22082,29 +23842,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() { @@ -22116,8 +23878,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; } @@ -22126,10 +23888,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()); @@ -22138,9 +23900,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); } @@ -22148,6 +23910,7 @@ public getRow_args(getRow_args other) { } } + @Override public getRow_args deepCopy() { return new getRow_args(this); } @@ -22163,12 +23926,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); } /** @@ -22179,8 +23942,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; } @@ -22203,12 +23966,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); } /** @@ -22219,8 +23982,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; } @@ -22253,7 +24016,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; } @@ -22261,7 +24024,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; } @@ -22281,7 +24044,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) { @@ -22318,7 +24082,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: @@ -22335,6 +24100,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(); @@ -22426,7 +24192,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; } @@ -22436,7 +24202,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; } @@ -22446,7 +24212,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; } @@ -22454,16 +24220,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); } @@ -22476,7 +24245,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(", "); @@ -22484,7 +24253,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(", "); @@ -22499,93 +24268,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); @@ -22602,7 +24379,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()); @@ -22618,17 +24395,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); @@ -22659,54 +24437,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"); @@ -22721,7 +24505,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 @@ -22746,7 +24530,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); } @@ -22759,26 +24543,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() { @@ -22809,6 +24595,7 @@ public getRow_result(getRow_result other) { } } + @Override public getRow_result deepCopy() { return new getRow_result(this); } @@ -22823,7 +24610,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(); } @@ -22835,12 +24622,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; } @@ -22860,12 +24647,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; } @@ -22885,7 +24672,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) { @@ -22906,7 +24694,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: @@ -22920,6 +24709,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(); @@ -22996,7 +24786,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; } @@ -23006,7 +24796,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; } @@ -23014,16 +24804,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); } @@ -23051,92 +24843,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); @@ -23156,17 +24956,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); @@ -23190,66 +24991,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 */ @@ -23278,7 +25085,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 @@ -23307,7 +25114,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); } @@ -23320,32 +25127,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() { @@ -23358,8 +25167,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; } @@ -23369,15 +25178,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; } @@ -23388,9 +25197,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); } @@ -23398,6 +25207,7 @@ public getRowWithColumns_args(getRowWithColumns_args other) { } } + @Override public getRowWithColumns_args deepCopy() { return new getRowWithColumns_args(this); } @@ -23414,12 +25224,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); } /** @@ -23430,8 +25240,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; } @@ -23454,12 +25264,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); } /** @@ -23470,8 +25280,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; } @@ -23494,7 +25304,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(); } @@ -23509,7 +25319,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; } @@ -23517,7 +25327,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; } @@ -23551,7 +25361,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; } @@ -23559,7 +25369,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; } @@ -23579,7 +25389,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) { @@ -23624,7 +25435,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: @@ -23644,6 +25456,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(); @@ -23750,7 +25563,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; } @@ -23760,7 +25573,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; } @@ -23770,7 +25583,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; } @@ -23780,7 +25593,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; } @@ -23788,16 +25601,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); } @@ -23810,7 +25626,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(", "); @@ -23818,7 +25634,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(", "); @@ -23826,7 +25642,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(", "); @@ -23841,111 +25657,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); @@ -23962,7 +25786,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); @@ -23974,7 +25798,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()); @@ -23990,17 +25814,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); @@ -24043,67 +25868,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"); @@ -24118,7 +25949,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 @@ -24143,7 +25974,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); } @@ -24156,26 +25987,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() { @@ -24206,6 +26039,7 @@ public getRowWithColumns_result(getRowWithColumns_result other) { } } + @Override public getRowWithColumns_result deepCopy() { return new getRowWithColumns_result(this); } @@ -24220,7 +26054,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(); } @@ -24232,12 +26066,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; } @@ -24257,12 +26091,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; } @@ -24282,7 +26116,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) { @@ -24303,7 +26138,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: @@ -24317,6 +26153,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(); @@ -24393,7 +26230,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; } @@ -24403,7 +26240,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; } @@ -24411,16 +26248,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); } @@ -24448,92 +26287,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); @@ -24553,17 +26400,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); @@ -24587,55 +26435,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 */ @@ -24643,10 +26497,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 */ @@ -24675,7 +26529,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 @@ -24704,7 +26558,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); } @@ -24717,10 +26571,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; } @@ -24729,21 +26585,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() { @@ -24756,8 +26612,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; @@ -24769,10 +26625,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()) { @@ -24782,9 +26638,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); } @@ -24792,6 +26648,7 @@ public getRowTs_args(getRowTs_args other) { } } + @Override public getRowTs_args deepCopy() { return new getRowTs_args(this); } @@ -24809,12 +26666,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); } /** @@ -24825,8 +26682,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; } @@ -24849,12 +26706,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); } /** @@ -24865,8 +26722,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; } @@ -24902,16 +26759,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() { @@ -24928,7 +26785,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; } @@ -24936,7 +26793,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; } @@ -24956,7 +26813,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) { @@ -25001,7 +26859,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: @@ -25021,6 +26880,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(); @@ -25103,7 +26963,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()) @@ -25125,7 +26985,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; } @@ -25135,7 +26995,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; } @@ -25145,7 +27005,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; } @@ -25155,7 +27015,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; } @@ -25163,16 +27023,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); } @@ -25185,7 +27048,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(", "); @@ -25193,7 +27056,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(", "); @@ -25212,15 +27075,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); } } @@ -25229,86 +27092,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); @@ -25328,7 +27199,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()); @@ -25344,17 +27215,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); @@ -25391,58 +27263,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"); @@ -25457,7 +27335,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 @@ -25482,7 +27360,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); } @@ -25495,26 +27373,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() { @@ -25545,6 +27425,7 @@ public getRowTs_result(getRowTs_result other) { } } + @Override public getRowTs_result deepCopy() { return new getRowTs_result(this); } @@ -25559,7 +27440,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(); } @@ -25571,12 +27452,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; } @@ -25596,12 +27477,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; } @@ -25621,7 +27502,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) { @@ -25642,7 +27524,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: @@ -25656,6 +27539,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(); @@ -25732,7 +27616,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; } @@ -25742,7 +27626,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; } @@ -25750,16 +27634,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); } @@ -25787,92 +27673,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); @@ -25892,17 +27786,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); @@ -25926,68 +27821,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 */ @@ -26017,7 +27918,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 @@ -26048,7 +27949,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); } @@ -26061,10 +27962,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; } @@ -26073,24 +27976,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() { @@ -26104,8 +28007,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); @@ -26118,15 +28021,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; } @@ -26138,9 +28041,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); } @@ -26148,6 +28051,7 @@ public getRowWithColumnsTs_args(getRowWithColumnsTs_args other) { } } + @Override public getRowWithColumnsTs_args deepCopy() { return new getRowWithColumnsTs_args(this); } @@ -26166,12 +28070,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); } /** @@ -26182,8 +28086,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; } @@ -26206,12 +28110,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); } /** @@ -26222,8 +28126,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; } @@ -26246,7 +28150,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(); } @@ -26261,7 +28165,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; } @@ -26269,7 +28173,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; } @@ -26300,16 +28204,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() { @@ -26326,7 +28230,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; } @@ -26334,7 +28238,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; } @@ -26354,7 +28258,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) { @@ -26407,7 +28312,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: @@ -26430,6 +28336,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(); @@ -26527,7 +28434,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()) @@ -26549,7 +28456,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; } @@ -26559,7 +28466,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; } @@ -26569,7 +28476,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; } @@ -26579,7 +28486,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; } @@ -26589,7 +28496,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; } @@ -26597,16 +28504,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); } @@ -26619,7 +28529,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(", "); @@ -26627,7 +28537,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(", "); @@ -26635,7 +28545,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(", "); @@ -26654,15 +28564,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); } } @@ -26671,104 +28581,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); @@ -26785,7 +28703,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); @@ -26800,7 +28718,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()); @@ -26816,17 +28734,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); @@ -26875,71 +28794,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"); @@ -26954,7 +28879,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 @@ -26979,7 +28904,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); } @@ -26992,26 +28917,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() { @@ -27042,6 +28969,7 @@ public getRowWithColumnsTs_result(getRowWithColumnsTs_result other) { } } + @Override public getRowWithColumnsTs_result deepCopy() { return new getRowWithColumnsTs_result(this); } @@ -27056,7 +28984,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(); } @@ -27068,12 +28996,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; } @@ -27093,12 +29021,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; } @@ -27118,7 +29046,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) { @@ -27139,7 +29068,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: @@ -27153,6 +29083,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(); @@ -27229,7 +29160,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; } @@ -27239,7 +29170,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; } @@ -27247,16 +29178,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); } @@ -27284,92 +29217,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); @@ -27389,17 +29330,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); @@ -27423,61 +29365,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 */ @@ -27502,7 +29450,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 @@ -27529,7 +29477,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); } @@ -27542,30 +29490,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() { @@ -27577,7 +29527,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; } @@ -27587,12 +29537,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; } @@ -27603,9 +29553,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); } @@ -27613,6 +29563,7 @@ public getRows_args(getRows_args other) { } } + @Override public getRows_args deepCopy() { return new getRows_args(this); } @@ -27628,12 +29579,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); } /** @@ -27644,8 +29595,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; } @@ -27668,7 +29619,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(); } @@ -27683,7 +29634,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; } @@ -27691,7 +29642,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; } @@ -27725,7 +29676,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; } @@ -27733,7 +29684,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; } @@ -27753,7 +29704,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) { @@ -27786,7 +29738,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: @@ -27803,6 +29756,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(); @@ -27894,7 +29848,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; } @@ -27904,7 +29858,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; } @@ -27914,7 +29868,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; } @@ -27922,16 +29876,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); } @@ -27944,7 +29901,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(", "); @@ -27952,7 +29909,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(", "); @@ -27967,103 +29924,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); @@ -28075,7 +30040,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); @@ -28087,7 +30052,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()); @@ -28103,17 +30068,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); @@ -28150,63 +30116,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"); @@ -28221,7 +30193,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 @@ -28246,7 +30218,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); } @@ -28259,26 +30231,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() { @@ -28309,6 +30283,7 @@ public getRows_result(getRows_result other) { } } + @Override public getRows_result deepCopy() { return new getRows_result(this); } @@ -28323,7 +30298,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(); } @@ -28335,12 +30310,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; } @@ -28360,12 +30335,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; } @@ -28385,7 +30360,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) { @@ -28406,7 +30382,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: @@ -28420,6 +30397,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(); @@ -28496,7 +30474,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; } @@ -28506,7 +30484,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; } @@ -28514,16 +30492,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); } @@ -28551,92 +30531,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); @@ -28656,17 +30644,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); @@ -28690,66 +30679,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 */ @@ -28778,7 +30773,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 @@ -28807,7 +30802,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); } @@ -28820,33 +30815,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() { @@ -28859,7 +30856,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; @@ -28870,19 +30867,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; } @@ -28893,9 +30890,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); } @@ -28903,6 +30900,7 @@ public getRowsWithColumns_args(getRowsWithColumns_args other) { } } + @Override public getRowsWithColumns_args deepCopy() { return new getRowsWithColumns_args(this); } @@ -28919,12 +30917,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); } /** @@ -28935,8 +30933,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; } @@ -28959,7 +30957,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(); } @@ -28974,7 +30972,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; } @@ -28982,7 +30980,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; } @@ -29006,7 +31004,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(); } @@ -29021,7 +31019,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; } @@ -29029,7 +31027,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; } @@ -29063,7 +31061,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; } @@ -29071,7 +31069,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; } @@ -29091,7 +31089,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) { @@ -29132,7 +31131,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: @@ -29152,6 +31152,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(); @@ -29258,7 +31259,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; } @@ -29268,7 +31269,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; } @@ -29278,7 +31279,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; } @@ -29288,7 +31289,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; } @@ -29296,16 +31297,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); } @@ -29318,7 +31322,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(", "); @@ -29326,7 +31330,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(", "); @@ -29334,7 +31338,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(", "); @@ -29349,121 +31353,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); @@ -29475,7 +31487,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); @@ -29487,7 +31499,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); @@ -29499,7 +31511,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()); @@ -29515,17 +31527,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); @@ -29574,76 +31587,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"); @@ -29658,7 +31677,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 @@ -29683,7 +31702,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); } @@ -29696,26 +31715,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() { @@ -29746,6 +31767,7 @@ public getRowsWithColumns_result(getRowsWithColumns_result other) { } } + @Override public getRowsWithColumns_result deepCopy() { return new getRowsWithColumns_result(this); } @@ -29760,7 +31782,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(); } @@ -29772,12 +31794,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; } @@ -29797,12 +31819,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; } @@ -29822,7 +31844,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) { @@ -29843,7 +31866,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: @@ -29857,6 +31881,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(); @@ -29933,7 +31958,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; } @@ -29943,7 +31968,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; } @@ -29951,16 +31976,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); } @@ -29988,92 +32015,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); @@ -30093,17 +32128,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); @@ -30127,55 +32163,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 */ @@ -30183,10 +32225,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 */ @@ -30215,7 +32257,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 @@ -30244,7 +32286,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); } @@ -30257,10 +32299,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; } @@ -30269,22 +32313,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() { @@ -30297,7 +32341,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); @@ -30310,12 +32354,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; } @@ -30327,9 +32371,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); } @@ -30337,6 +32381,7 @@ public getRowsTs_args(getRowsTs_args other) { } } + @Override public getRowsTs_args deepCopy() { return new getRowsTs_args(this); } @@ -30354,12 +32399,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); } /** @@ -30370,8 +32415,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; } @@ -30394,7 +32439,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(); } @@ -30409,7 +32454,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; } @@ -30417,7 +32462,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; } @@ -30454,16 +32499,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() { @@ -30480,7 +32525,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; } @@ -30488,7 +32533,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; } @@ -30508,7 +32553,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) { @@ -30549,7 +32595,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: @@ -30569,6 +32616,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(); @@ -30651,7 +32699,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()) @@ -30673,7 +32721,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; } @@ -30683,7 +32731,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; } @@ -30693,7 +32741,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; } @@ -30703,7 +32751,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; } @@ -30711,16 +32759,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); } @@ -30733,7 +32784,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(", "); @@ -30741,7 +32792,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(", "); @@ -30760,15 +32811,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); } } @@ -30777,96 +32828,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); @@ -30878,7 +32937,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); @@ -30893,7 +32952,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()); @@ -30909,17 +32968,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); @@ -30962,67 +33022,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"); @@ -31037,7 +33103,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 @@ -31062,7 +33128,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); } @@ -31075,26 +33141,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() { @@ -31125,6 +33193,7 @@ public getRowsTs_result(getRowsTs_result other) { } } + @Override public getRowsTs_result deepCopy() { return new getRowsTs_result(this); } @@ -31139,7 +33208,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(); } @@ -31151,12 +33220,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; } @@ -31176,12 +33245,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; } @@ -31201,7 +33270,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) { @@ -31222,7 +33292,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: @@ -31236,6 +33307,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(); @@ -31312,7 +33384,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; } @@ -31322,7 +33394,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; } @@ -31330,16 +33402,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); } @@ -31367,92 +33441,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); @@ -31472,17 +33554,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); @@ -31506,68 +33589,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 */ @@ -31597,7 +33686,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 @@ -31628,7 +33717,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); } @@ -31641,10 +33730,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; } @@ -31653,25 +33744,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() { @@ -31685,7 +33776,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; @@ -31699,19 +33790,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; } @@ -31723,9 +33814,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); } @@ -31733,6 +33824,7 @@ public getRowsWithColumnsTs_args(getRowsWithColumnsTs_args other) { } } + @Override public getRowsWithColumnsTs_args deepCopy() { return new getRowsWithColumnsTs_args(this); } @@ -31751,12 +33843,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); } /** @@ -31767,8 +33859,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; } @@ -31791,7 +33883,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(); } @@ -31806,7 +33898,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; } @@ -31814,7 +33906,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; } @@ -31838,7 +33930,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(); } @@ -31853,7 +33945,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; } @@ -31861,7 +33953,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; } @@ -31892,16 +33984,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() { @@ -31918,7 +34010,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; } @@ -31926,7 +34018,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; } @@ -31946,7 +34038,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) { @@ -31995,7 +34088,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: @@ -32018,6 +34112,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(); @@ -32115,7 +34210,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()) @@ -32137,7 +34232,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; } @@ -32147,7 +34242,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; } @@ -32157,7 +34252,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; } @@ -32167,7 +34262,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; } @@ -32177,7 +34272,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; } @@ -32185,16 +34280,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); } @@ -32207,7 +34305,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(", "); @@ -32215,7 +34313,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(", "); @@ -32223,7 +34321,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(", "); @@ -32242,15 +34340,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); } } @@ -32259,114 +34357,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); @@ -32378,7 +34484,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); @@ -32390,7 +34496,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); @@ -32405,7 +34511,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()); @@ -32421,17 +34527,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); @@ -32486,80 +34593,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"); @@ -32574,7 +34687,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 @@ -32599,7 +34712,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); } @@ -32612,26 +34725,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() { @@ -32662,6 +34777,7 @@ public getRowsWithColumnsTs_result(getRowsWithColumnsTs_result other) { } } + @Override public getRowsWithColumnsTs_result deepCopy() { return new getRowsWithColumnsTs_result(this); } @@ -32676,7 +34792,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(); } @@ -32688,12 +34804,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; } @@ -32713,12 +34829,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; } @@ -32738,7 +34854,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) { @@ -32759,7 +34876,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: @@ -32773,6 +34891,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(); @@ -32849,7 +34968,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; } @@ -32859,7 +34978,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; } @@ -32867,16 +34986,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); } @@ -32904,92 +35025,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); @@ -33009,17 +35138,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); @@ -33043,66 +35173,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 */ @@ -33131,7 +35267,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 @@ -33160,7 +35296,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); } @@ -33173,32 +35309,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() { @@ -33211,8 +35349,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; } @@ -33222,10 +35360,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()); @@ -33241,9 +35379,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); } @@ -33251,6 +35389,7 @@ public mutateRow_args(mutateRow_args other) { } } + @Override public mutateRow_args deepCopy() { return new mutateRow_args(this); } @@ -33267,12 +35406,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); } /** @@ -33283,8 +35422,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; } @@ -33307,12 +35446,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); } /** @@ -33323,8 +35462,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; } @@ -33347,7 +35486,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(); } @@ -33362,7 +35501,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; } @@ -33370,7 +35509,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; } @@ -33404,7 +35543,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; } @@ -33412,7 +35551,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; } @@ -33432,7 +35571,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) { @@ -33477,7 +35617,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: @@ -33497,6 +35638,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(); @@ -33603,7 +35745,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; } @@ -33613,7 +35755,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; } @@ -33623,7 +35765,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; } @@ -33633,7 +35775,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; } @@ -33641,16 +35783,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); } @@ -33663,7 +35808,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(", "); @@ -33671,7 +35816,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(", "); @@ -33694,112 +35839,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); @@ -33816,7 +35969,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); @@ -33828,7 +35981,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()); @@ -33844,17 +35997,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); @@ -33897,68 +36051,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"); @@ -33973,7 +36133,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 @@ -33998,7 +36158,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); } @@ -34011,25 +36171,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() { @@ -34056,6 +36218,7 @@ public mutateRow_result(mutateRow_result other) { } } + @Override public mutateRow_result deepCopy() { return new mutateRow_result(this); } @@ -34066,12 +36229,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; } @@ -34091,12 +36254,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; } @@ -34116,7 +36279,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) { @@ -34137,7 +36301,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: @@ -34151,6 +36316,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(); @@ -34227,7 +36393,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; } @@ -34237,7 +36403,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; } @@ -34245,16 +36411,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); } @@ -34282,75 +36450,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); @@ -34370,17 +36546,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); @@ -34398,51 +36575,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 */ @@ -34450,10 +36633,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 */ @@ -34486,7 +36669,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 @@ -34517,7 +36700,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); } @@ -34530,10 +36713,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; } @@ -34542,24 +36727,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() { @@ -34573,8 +36758,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); @@ -34587,10 +36772,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()); @@ -34607,9 +36792,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); } @@ -34617,6 +36802,7 @@ public mutateRowTs_args(mutateRowTs_args other) { } } + @Override public mutateRowTs_args deepCopy() { return new mutateRowTs_args(this); } @@ -34635,12 +36821,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); } /** @@ -34651,8 +36837,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; } @@ -34675,12 +36861,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); } /** @@ -34691,8 +36877,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; } @@ -34715,7 +36901,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(); } @@ -34730,7 +36916,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; } @@ -34738,7 +36924,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; } @@ -34775,16 +36961,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() { @@ -34801,7 +36987,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; } @@ -34809,7 +36995,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; } @@ -34829,7 +37015,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) { @@ -34882,7 +37069,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: @@ -34905,6 +37093,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(); @@ -35002,7 +37191,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()) @@ -35024,7 +37213,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; } @@ -35034,7 +37223,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; } @@ -35044,7 +37233,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; } @@ -35054,7 +37243,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; } @@ -35064,7 +37253,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; } @@ -35072,16 +37261,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); } @@ -35094,7 +37286,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(", "); @@ -35102,7 +37294,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(", "); @@ -35129,15 +37321,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); } } @@ -35146,105 +37338,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); @@ -35261,7 +37461,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); @@ -35276,7 +37476,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()); @@ -35292,17 +37492,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); @@ -35351,72 +37552,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"); @@ -35431,7 +37638,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 @@ -35456,7 +37663,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); } @@ -35469,25 +37676,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() { @@ -35514,6 +37723,7 @@ public mutateRowTs_result(mutateRowTs_result other) { } } + @Override public mutateRowTs_result deepCopy() { return new mutateRowTs_result(this); } @@ -35524,12 +37734,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; } @@ -35549,12 +37759,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; } @@ -35574,7 +37784,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) { @@ -35595,7 +37806,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: @@ -35609,6 +37821,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(); @@ -35685,7 +37898,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; } @@ -35695,7 +37908,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; } @@ -35703,16 +37916,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); } @@ -35740,75 +37955,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); @@ -35828,17 +38051,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); @@ -35856,52 +38080,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 */ @@ -35926,7 +38156,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 @@ -35953,7 +38183,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); } @@ -35966,30 +38196,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() { @@ -36001,7 +38233,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; } @@ -36011,7 +38243,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()); @@ -36027,9 +38259,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); } @@ -36037,6 +38269,7 @@ public mutateRows_args(mutateRows_args other) { } } + @Override public mutateRows_args deepCopy() { return new mutateRows_args(this); } @@ -36052,12 +38285,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); } /** @@ -36068,8 +38301,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; } @@ -36092,7 +38325,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(); } @@ -36107,7 +38340,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; } @@ -36115,7 +38348,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; } @@ -36149,7 +38382,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; } @@ -36157,7 +38390,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; } @@ -36177,7 +38410,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) { @@ -36210,7 +38444,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: @@ -36227,6 +38462,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(); @@ -36318,7 +38554,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; } @@ -36328,7 +38564,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; } @@ -36338,7 +38574,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; } @@ -36346,16 +38582,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); } @@ -36368,7 +38607,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(", "); @@ -36391,104 +38630,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); @@ -36500,7 +38747,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); @@ -36512,7 +38759,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()); @@ -36528,17 +38775,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); @@ -36575,64 +38823,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"); @@ -36647,7 +38901,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 @@ -36672,7 +38926,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); } @@ -36685,25 +38939,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() { @@ -36730,6 +38986,7 @@ public mutateRows_result(mutateRows_result other) { } } + @Override public mutateRows_result deepCopy() { return new mutateRows_result(this); } @@ -36740,12 +38997,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; } @@ -36765,12 +39022,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; } @@ -36790,7 +39047,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) { @@ -36811,7 +39069,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: @@ -36825,6 +39084,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(); @@ -36901,7 +39161,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; } @@ -36911,7 +39171,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; } @@ -36919,16 +39179,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); } @@ -36956,75 +39218,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); @@ -37044,17 +39314,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); @@ -37072,46 +39343,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 */ @@ -37119,10 +39396,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 */ @@ -37151,7 +39428,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 @@ -37180,7 +39457,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); } @@ -37193,10 +39470,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; } @@ -37205,22 +39484,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() { @@ -37233,7 +39512,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); @@ -37246,7 +39525,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()); @@ -37263,9 +39542,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); } @@ -37273,6 +39552,7 @@ public mutateRowsTs_args(mutateRowsTs_args other) { } } + @Override public mutateRowsTs_args deepCopy() { return new mutateRowsTs_args(this); } @@ -37290,12 +39570,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); } /** @@ -37306,8 +39586,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; } @@ -37330,7 +39610,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(); } @@ -37345,7 +39625,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; } @@ -37353,7 +39633,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; } @@ -37390,16 +39670,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() { @@ -37416,7 +39696,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; } @@ -37424,7 +39704,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; } @@ -37444,7 +39724,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) { @@ -37485,7 +39766,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: @@ -37505,6 +39787,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(); @@ -37587,7 +39870,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()) @@ -37609,7 +39892,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; } @@ -37619,7 +39902,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; } @@ -37629,7 +39912,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; } @@ -37639,7 +39922,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; } @@ -37647,16 +39930,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); } @@ -37669,7 +39955,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(", "); @@ -37696,15 +39982,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); } } @@ -37713,97 +39999,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); @@ -37815,7 +40109,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); @@ -37830,7 +40124,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()); @@ -37846,17 +40140,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); @@ -37899,68 +40194,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"); @@ -37975,7 +40276,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 @@ -38000,7 +40301,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); } @@ -38013,25 +40314,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() { @@ -38058,6 +40361,7 @@ public mutateRowsTs_result(mutateRowsTs_result other) { } } + @Override public mutateRowsTs_result deepCopy() { return new mutateRowsTs_result(this); } @@ -38068,12 +40372,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; } @@ -38093,12 +40397,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; } @@ -38118,7 +40422,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) { @@ -38139,7 +40444,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: @@ -38153,6 +40459,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(); @@ -38229,7 +40536,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; } @@ -38239,7 +40546,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; } @@ -38247,16 +40554,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); } @@ -38284,75 +40593,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); @@ -38372,17 +40689,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); @@ -38400,57 +40718,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 */ @@ -38479,7 +40803,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 @@ -38508,7 +40832,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); } @@ -38521,10 +40845,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; } @@ -38533,19 +40859,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() { @@ -38558,9 +40884,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); } @@ -38571,17 +40897,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); } @@ -38599,12 +40926,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); } /** @@ -38615,8 +40942,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; } @@ -38639,12 +40966,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); } /** @@ -38655,8 +40982,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; } @@ -38679,12 +41006,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); } /** @@ -38695,8 +41022,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; } @@ -38732,19 +41059,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) { @@ -38793,7 +41121,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: @@ -38813,6 +41142,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(); @@ -38899,7 +41229,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; } @@ -38917,7 +41247,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; } @@ -38927,7 +41257,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; } @@ -38937,7 +41267,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; } @@ -38947,7 +41277,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; } @@ -38955,16 +41285,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); } @@ -38977,7 +41310,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(", "); @@ -38985,7 +41318,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(", "); @@ -38993,7 +41326,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(", "); @@ -39004,15 +41337,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); } } @@ -39021,74 +41354,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); @@ -39116,17 +41457,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); @@ -39156,49 +41498,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"); @@ -39214,7 +41562,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 @@ -39241,7 +41589,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); } @@ -39254,10 +41602,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; } @@ -39266,17 +41616,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() { @@ -39308,6 +41658,7 @@ public atomicIncrement_result(atomicIncrement_result other) { } } + @Override public atomicIncrement_result deepCopy() { return new atomicIncrement_result(this); } @@ -39331,24 +41682,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; } @@ -39368,12 +41719,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; } @@ -39393,7 +41744,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) { @@ -39422,7 +41774,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: @@ -39439,6 +41792,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(); @@ -39502,7 +41856,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()) @@ -39528,7 +41882,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; } @@ -39538,7 +41892,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; } @@ -39548,7 +41902,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; } @@ -39556,16 +41910,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); } @@ -39597,15 +41953,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); } } @@ -39614,68 +41970,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); @@ -39700,17 +42064,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); @@ -39734,61 +42099,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 */ @@ -39817,7 +42188,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 @@ -39846,7 +42217,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); } @@ -39859,31 +42230,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() { @@ -39896,9 +42269,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; } @@ -39907,13 +42280,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()); @@ -39922,9 +42295,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); } @@ -39932,6 +42305,7 @@ public deleteAll_args(deleteAll_args other) { } } + @Override public deleteAll_args deepCopy() { return new deleteAll_args(this); } @@ -39948,12 +42322,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); } /** @@ -39964,8 +42338,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; } @@ -39988,12 +42362,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); } /** @@ -40004,8 +42378,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; } @@ -40028,12 +42402,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); } /** @@ -40044,8 +42418,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; } @@ -40078,7 +42452,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; } @@ -40086,7 +42460,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; } @@ -40106,7 +42480,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) { @@ -40155,7 +42530,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: @@ -40175,6 +42551,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(); @@ -40281,7 +42658,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; } @@ -40291,7 +42668,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; } @@ -40301,7 +42678,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; } @@ -40311,7 +42688,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; } @@ -40319,16 +42696,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); } @@ -40341,7 +42721,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(", "); @@ -40349,7 +42729,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(", "); @@ -40357,7 +42737,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(", "); @@ -40372,101 +42752,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); @@ -40488,7 +42876,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()); @@ -40504,17 +42892,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); @@ -40551,56 +42940,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(); @@ -40614,7 +43009,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 @@ -40637,7 +43032,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); } @@ -40650,23 +43045,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() { @@ -40688,6 +43085,7 @@ public deleteAll_result(deleteAll_result other) { } } + @Override public deleteAll_result deepCopy() { return new deleteAll_result(this); } @@ -40697,12 +43095,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; } @@ -40722,7 +43120,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) { @@ -40735,7 +43134,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: @@ -40746,6 +43146,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(); @@ -40807,7 +43208,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; } @@ -40815,16 +43216,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); } @@ -40844,66 +43247,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); @@ -40918,17 +43329,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); @@ -40940,46 +43352,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 */ @@ -40987,10 +43405,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 */ @@ -41023,7 +43441,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 @@ -41054,7 +43472,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); } @@ -41067,10 +43485,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; } @@ -41079,23 +43499,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() { @@ -41109,9 +43529,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; @@ -41123,13 +43543,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()) { @@ -41139,9 +43559,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); } @@ -41149,6 +43569,7 @@ public deleteAllTs_args(deleteAllTs_args other) { } } + @Override public deleteAllTs_args deepCopy() { return new deleteAllTs_args(this); } @@ -41167,12 +43588,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); } /** @@ -41183,8 +43604,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; } @@ -41207,12 +43628,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); } /** @@ -41223,8 +43644,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; } @@ -41247,12 +43668,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); } /** @@ -41263,8 +43684,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; } @@ -41300,16 +43721,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() { @@ -41326,7 +43747,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; } @@ -41334,7 +43755,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; } @@ -41354,7 +43775,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) { @@ -41411,7 +43833,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: @@ -41434,6 +43857,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(); @@ -41531,7 +43955,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()) @@ -41553,7 +43977,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; } @@ -41563,7 +43987,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; } @@ -41573,7 +43997,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; } @@ -41583,7 +44007,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; } @@ -41593,7 +44017,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; } @@ -41601,16 +44025,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); } @@ -41623,7 +44050,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(", "); @@ -41631,7 +44058,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(", "); @@ -41639,7 +44066,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(", "); @@ -41658,15 +44085,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); } } @@ -41675,94 +44102,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); @@ -41787,7 +44222,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()); @@ -41803,17 +44238,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); @@ -41856,60 +44292,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(); @@ -41923,7 +44365,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 @@ -41946,7 +44388,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); } @@ -41959,23 +44401,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() { @@ -41997,6 +44441,7 @@ public deleteAllTs_result(deleteAllTs_result other) { } } + @Override public deleteAllTs_result deepCopy() { return new deleteAllTs_result(this); } @@ -42006,12 +44451,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; } @@ -42031,7 +44476,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) { @@ -42044,7 +44490,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: @@ -42055,6 +44502,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(); @@ -42116,7 +44564,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; } @@ -42124,16 +44572,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); } @@ -42153,66 +44603,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); @@ -42227,17 +44685,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); @@ -42249,47 +44708,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 */ @@ -42314,7 +44779,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 @@ -42341,7 +44806,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); } @@ -42354,29 +44819,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() { @@ -42388,8 +44855,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; } @@ -42398,10 +44865,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()); @@ -42410,9 +44877,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); } @@ -42420,6 +44887,7 @@ public deleteAllRow_args(deleteAllRow_args other) { } } + @Override public deleteAllRow_args deepCopy() { return new deleteAllRow_args(this); } @@ -42435,12 +44903,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); } /** @@ -42451,8 +44919,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; } @@ -42475,12 +44943,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); } /** @@ -42491,8 +44959,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; } @@ -42525,7 +44993,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; } @@ -42533,7 +45001,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; } @@ -42553,7 +45021,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) { @@ -42590,7 +45059,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: @@ -42607,6 +45077,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(); @@ -42698,7 +45169,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; } @@ -42708,7 +45179,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; } @@ -42718,7 +45189,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; } @@ -42726,16 +45197,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); } @@ -42748,7 +45222,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(", "); @@ -42756,7 +45230,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(", "); @@ -42771,93 +45245,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); @@ -42874,7 +45356,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()); @@ -42890,17 +45372,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); @@ -42931,52 +45414,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(); @@ -42990,7 +45479,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 @@ -43013,7 +45502,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); } @@ -43026,23 +45515,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() { @@ -43064,6 +45555,7 @@ public deleteAllRow_result(deleteAllRow_result other) { } } + @Override public deleteAllRow_result deepCopy() { return new deleteAllRow_result(this); } @@ -43073,12 +45565,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; } @@ -43098,7 +45590,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) { @@ -43111,7 +45604,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: @@ -43122,6 +45616,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(); @@ -43183,7 +45678,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; } @@ -43191,16 +45686,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); } @@ -43220,66 +45717,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); @@ -43294,17 +45799,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); @@ -43316,37 +45822,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 */ @@ -43363,7 +45875,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 @@ -43386,7 +45898,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); } @@ -43399,23 +45911,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() { @@ -43437,6 +45951,7 @@ public increment_args(increment_args other) { } } + @Override public increment_args deepCopy() { return new increment_args(this); } @@ -43449,7 +45964,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; } @@ -43457,7 +45972,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; } @@ -43477,7 +45992,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) { @@ -43490,7 +46006,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: @@ -43501,6 +46018,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(); @@ -43562,7 +46080,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; } @@ -43570,16 +46088,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); } @@ -43599,7 +46120,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) { @@ -43609,59 +46130,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); @@ -43676,17 +46205,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); @@ -43698,34 +46228,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(); @@ -43739,7 +46275,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 @@ -43762,7 +46298,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); } @@ -43775,23 +46311,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() { @@ -43813,6 +46351,7 @@ public increment_result(increment_result other) { } } + @Override public increment_result deepCopy() { return new increment_result(this); } @@ -43822,12 +46361,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; } @@ -43847,7 +46386,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) { @@ -43860,7 +46400,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: @@ -43871,6 +46412,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(); @@ -43932,7 +46474,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; } @@ -43940,16 +46482,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); } @@ -43969,66 +46513,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); @@ -44043,17 +46595,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); @@ -44065,37 +46618,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 */ @@ -44112,7 +46671,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 @@ -44135,7 +46694,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); } @@ -44148,24 +46707,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() { @@ -44191,6 +46752,7 @@ public incrementRows_args(incrementRows_args other) { } } + @Override public incrementRows_args deepCopy() { return new incrementRows_args(this); } @@ -44204,7 +46766,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(); } @@ -44219,7 +46781,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; } @@ -44227,7 +46789,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; } @@ -44247,7 +46809,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) { @@ -44260,7 +46823,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: @@ -44271,6 +46835,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(); @@ -44332,7 +46897,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; } @@ -44340,16 +46905,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); } @@ -44369,83 +46937,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); @@ -44460,17 +47036,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); @@ -44488,43 +47065,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(); @@ -44538,7 +47121,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 @@ -44561,7 +47144,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); } @@ -44574,23 +47157,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() { @@ -44612,6 +47197,7 @@ public incrementRows_result(incrementRows_result other) { } } + @Override public incrementRows_result deepCopy() { return new incrementRows_result(this); } @@ -44621,12 +47207,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; } @@ -44646,7 +47232,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) { @@ -44659,7 +47246,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: @@ -44670,6 +47258,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(); @@ -44731,7 +47320,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; } @@ -44739,16 +47328,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); } @@ -44768,66 +47359,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); @@ -44842,17 +47441,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); @@ -44864,41 +47464,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 */ @@ -44906,10 +47512,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 */ @@ -44938,7 +47544,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 @@ -44967,7 +47573,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); } @@ -44980,10 +47586,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; } @@ -44992,21 +47600,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() { @@ -45019,8 +47627,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; @@ -45032,10 +47640,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()) { @@ -45045,9 +47653,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); } @@ -45055,6 +47663,7 @@ public deleteAllRowTs_args(deleteAllRowTs_args other) { } } + @Override public deleteAllRowTs_args deepCopy() { return new deleteAllRowTs_args(this); } @@ -45072,12 +47681,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); } /** @@ -45088,8 +47697,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; } @@ -45112,12 +47721,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); } /** @@ -45128,8 +47737,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; } @@ -45165,16 +47774,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() { @@ -45191,7 +47800,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; } @@ -45199,7 +47808,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; } @@ -45219,7 +47828,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) { @@ -45264,7 +47874,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: @@ -45284,6 +47895,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(); @@ -45366,7 +47978,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()) @@ -45388,7 +48000,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; } @@ -45398,7 +48010,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; } @@ -45408,7 +48020,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; } @@ -45418,7 +48030,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; } @@ -45426,16 +48038,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); } @@ -45448,7 +48063,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(", "); @@ -45456,7 +48071,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(", "); @@ -45475,15 +48090,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); } } @@ -45492,86 +48107,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); @@ -45591,7 +48214,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()); @@ -45607,17 +48230,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); @@ -45654,56 +48278,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(); @@ -45717,7 +48347,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 @@ -45740,7 +48370,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); } @@ -45753,23 +48383,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() { @@ -45791,6 +48423,7 @@ public deleteAllRowTs_result(deleteAllRowTs_result other) { } } + @Override public deleteAllRowTs_result deepCopy() { return new deleteAllRowTs_result(this); } @@ -45800,12 +48433,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; } @@ -45825,7 +48458,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) { @@ -45838,7 +48472,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: @@ -45849,6 +48484,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(); @@ -45910,7 +48546,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; } @@ -45918,16 +48554,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); } @@ -45947,66 +48585,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); @@ -46021,17 +48667,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); @@ -46043,47 +48690,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 */ @@ -46108,7 +48761,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 @@ -46135,7 +48788,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); } @@ -46148,29 +48801,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() { @@ -46182,7 +48837,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; } @@ -46192,7 +48847,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); @@ -46204,9 +48859,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); } @@ -46214,6 +48869,7 @@ public scannerOpenWithScan_args(scannerOpenWithScan_args other) { } } + @Override public scannerOpenWithScan_args deepCopy() { return new scannerOpenWithScan_args(this); } @@ -46229,12 +48885,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); } /** @@ -46245,8 +48901,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; } @@ -46268,7 +48924,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; } @@ -46276,7 +48932,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; } @@ -46310,7 +48966,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; } @@ -46318,7 +48974,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; } @@ -46338,7 +48994,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) { @@ -46371,7 +49028,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: @@ -46388,6 +49046,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(); @@ -46479,7 +49138,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; } @@ -46489,7 +49148,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; } @@ -46499,7 +49158,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; } @@ -46507,16 +49166,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); } @@ -46529,7 +49191,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(", "); @@ -46552,7 +49214,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) { @@ -46562,87 +49224,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); @@ -46659,7 +49329,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()); @@ -46675,17 +49345,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); @@ -46716,55 +49387,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"); @@ -46779,7 +49456,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 @@ -46804,7 +49481,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); } @@ -46817,10 +49494,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; } @@ -46829,15 +49508,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() { @@ -46864,6 +49543,7 @@ public scannerOpenWithScan_result(scannerOpenWithScan_result other) { } } + @Override public scannerOpenWithScan_result deepCopy() { return new scannerOpenWithScan_result(this); } @@ -46886,24 +49566,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; } @@ -46923,7 +49603,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) { @@ -46944,7 +49625,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: @@ -46958,6 +49640,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(); @@ -47032,7 +49715,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; } @@ -47042,7 +49725,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; } @@ -47050,16 +49733,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); } @@ -47083,15 +49768,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); } } @@ -47100,59 +49785,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); @@ -47172,17 +49865,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); @@ -47200,59 +49894,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 */ @@ -47284,7 +49984,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 @@ -47313,7 +50013,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); } @@ -47326,32 +50026,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() { @@ -47364,8 +50066,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; } @@ -47375,15 +50077,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; } @@ -47394,9 +50096,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); } @@ -47404,6 +50106,7 @@ public scannerOpen_args(scannerOpen_args other) { } } + @Override public scannerOpen_args deepCopy() { return new scannerOpen_args(this); } @@ -47420,12 +50123,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); } /** @@ -47436,8 +50139,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; } @@ -47461,12 +50164,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); } /** @@ -47478,8 +50181,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; } @@ -47502,7 +50205,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(); } @@ -47519,7 +50222,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; } @@ -47529,7 +50232,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; } @@ -47563,7 +50266,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; } @@ -47571,7 +50274,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; } @@ -47591,7 +50294,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) { @@ -47636,7 +50340,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: @@ -47656,6 +50361,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(); @@ -47762,7 +50468,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; } @@ -47772,7 +50478,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; } @@ -47782,7 +50488,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; } @@ -47792,7 +50498,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; } @@ -47800,16 +50506,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); } @@ -47822,7 +50531,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(", "); @@ -47830,7 +50539,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(", "); @@ -47838,7 +50547,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(", "); @@ -47853,111 +50562,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); @@ -47974,7 +50691,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); @@ -47986,7 +50703,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()); @@ -48002,17 +50719,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); @@ -48055,67 +50773,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"); @@ -48130,7 +50854,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 @@ -48155,7 +50879,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); } @@ -48168,10 +50892,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; } @@ -48180,15 +50906,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() { @@ -48215,6 +50941,7 @@ public scannerOpen_result(scannerOpen_result other) { } } + @Override public scannerOpen_result deepCopy() { return new scannerOpen_result(this); } @@ -48237,24 +50964,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; } @@ -48274,7 +51001,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) { @@ -48295,7 +51023,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: @@ -48309,6 +51038,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(); @@ -48383,7 +51113,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; } @@ -48393,7 +51123,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; } @@ -48401,16 +51131,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); } @@ -48434,15 +51166,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); } } @@ -48451,59 +51183,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); @@ -48523,17 +51263,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); @@ -48551,65 +51292,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 */ @@ -48646,7 +51393,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 @@ -48677,7 +51424,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); } @@ -48690,34 +51437,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() { @@ -48731,9 +51480,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; } @@ -48743,18 +51492,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; } @@ -48765,9 +51514,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); } @@ -48775,6 +51524,7 @@ public scannerOpenWithStop_args(scannerOpenWithStop_args other) { } } + @Override public scannerOpenWithStop_args deepCopy() { return new scannerOpenWithStop_args(this); } @@ -48792,12 +51542,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); } /** @@ -48808,8 +51558,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; } @@ -48833,12 +51583,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); } /** @@ -48850,8 +51600,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; } @@ -48875,12 +51625,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); } /** @@ -48892,8 +51642,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; } @@ -48916,7 +51666,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(); } @@ -48933,7 +51683,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; } @@ -48943,7 +51693,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; } @@ -48977,7 +51727,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; } @@ -48985,7 +51735,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; } @@ -49005,7 +51755,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) { @@ -49062,7 +51813,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: @@ -49085,6 +51837,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(); @@ -49206,7 +51959,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; } @@ -49216,7 +51969,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; } @@ -49226,7 +51979,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; } @@ -49236,7 +51989,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; } @@ -49246,7 +51999,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; } @@ -49254,16 +52007,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); } @@ -49276,7 +52032,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(", "); @@ -49284,7 +52040,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(", "); @@ -49292,7 +52048,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(", "); @@ -49300,7 +52056,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(", "); @@ -49315,119 +52071,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); @@ -49449,7 +52213,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); @@ -49461,7 +52225,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()); @@ -49477,17 +52241,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); @@ -49536,71 +52301,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"); @@ -49615,7 +52386,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 @@ -49640,7 +52411,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); } @@ -49653,10 +52424,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; } @@ -49665,15 +52438,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() { @@ -49700,6 +52473,7 @@ public scannerOpenWithStop_result(scannerOpenWithStop_result other) { } } + @Override public scannerOpenWithStop_result deepCopy() { return new scannerOpenWithStop_result(this); } @@ -49722,24 +52496,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; } @@ -49759,7 +52533,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) { @@ -49780,7 +52555,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: @@ -49794,6 +52570,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(); @@ -49868,7 +52645,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; } @@ -49878,7 +52655,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; } @@ -49886,16 +52663,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); } @@ -49919,15 +52698,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); } } @@ -49936,59 +52715,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); @@ -50008,17 +52795,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); @@ -50036,56 +52824,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 */ @@ -50114,7 +52908,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 @@ -50143,7 +52937,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); } @@ -50156,32 +52950,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() { @@ -50194,8 +52990,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; } @@ -50205,15 +53001,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; } @@ -50224,9 +53020,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); } @@ -50234,6 +53030,7 @@ public scannerOpenWithPrefix_args(scannerOpenWithPrefix_args other) { } } + @Override public scannerOpenWithPrefix_args deepCopy() { return new scannerOpenWithPrefix_args(this); } @@ -50250,12 +53047,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); } /** @@ -50266,8 +53063,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; } @@ -50290,12 +53087,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); } /** @@ -50306,8 +53103,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; } @@ -50330,7 +53127,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(); } @@ -50345,7 +53142,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; } @@ -50353,7 +53150,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; } @@ -50387,7 +53184,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; } @@ -50395,7 +53192,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; } @@ -50415,7 +53212,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) { @@ -50460,7 +53258,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: @@ -50480,6 +53279,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(); @@ -50586,7 +53386,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; } @@ -50596,7 +53396,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; } @@ -50606,7 +53406,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; } @@ -50616,7 +53416,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; } @@ -50624,16 +53424,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); } @@ -50646,7 +53449,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(", "); @@ -50654,7 +53457,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(", "); @@ -50662,7 +53465,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(", "); @@ -50677,111 +53480,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); @@ -50798,7 +53609,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); @@ -50810,7 +53621,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()); @@ -50826,17 +53637,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); @@ -50879,67 +53691,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"); @@ -50954,7 +53772,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 @@ -50979,7 +53797,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); } @@ -50992,10 +53810,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; } @@ -51004,15 +53824,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() { @@ -51039,6 +53859,7 @@ public scannerOpenWithPrefix_result(scannerOpenWithPrefix_result other) { } } + @Override public scannerOpenWithPrefix_result deepCopy() { return new scannerOpenWithPrefix_result(this); } @@ -51061,24 +53882,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; } @@ -51098,7 +53919,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) { @@ -51119,7 +53941,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: @@ -51133,6 +53956,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(); @@ -51207,7 +54031,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; } @@ -51217,7 +54041,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; } @@ -51225,16 +54049,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); } @@ -51258,15 +54084,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); } } @@ -51275,59 +54101,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); @@ -51347,17 +54181,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); @@ -51375,53 +54210,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 */ @@ -51429,10 +54270,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 */ @@ -51468,7 +54309,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 @@ -51499,7 +54340,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); } @@ -51512,10 +54353,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; } @@ -51524,24 +54367,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() { @@ -51555,8 +54398,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); @@ -51569,15 +54412,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; } @@ -51589,9 +54432,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); } @@ -51599,6 +54442,7 @@ public scannerOpenTs_args(scannerOpenTs_args other) { } } + @Override public scannerOpenTs_args deepCopy() { return new scannerOpenTs_args(this); } @@ -51617,12 +54461,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); } /** @@ -51633,8 +54477,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; } @@ -51658,12 +54502,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); } /** @@ -51675,8 +54519,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; } @@ -51699,7 +54543,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(); } @@ -51716,7 +54560,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; } @@ -51726,7 +54570,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; } @@ -51763,16 +54607,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() { @@ -51789,7 +54633,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; } @@ -51797,7 +54641,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; } @@ -51817,7 +54661,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) { @@ -51870,7 +54715,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: @@ -51893,6 +54739,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(); @@ -51990,7 +54837,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()) @@ -52012,7 +54859,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; } @@ -52022,7 +54869,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; } @@ -52032,7 +54879,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; } @@ -52042,7 +54889,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; } @@ -52052,7 +54899,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; } @@ -52060,16 +54907,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); } @@ -52082,7 +54932,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(", "); @@ -52090,7 +54940,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(", "); @@ -52098,7 +54948,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(", "); @@ -52117,15 +54967,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); } } @@ -52134,104 +54984,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); @@ -52248,7 +55106,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); @@ -52263,7 +55121,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()); @@ -52279,17 +55137,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); @@ -52338,71 +55197,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"); @@ -52417,7 +55282,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 @@ -52442,7 +55307,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); } @@ -52455,10 +55320,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; } @@ -52467,15 +55334,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() { @@ -52502,6 +55369,7 @@ public scannerOpenTs_result(scannerOpenTs_result other) { } } + @Override public scannerOpenTs_result deepCopy() { return new scannerOpenTs_result(this); } @@ -52524,24 +55392,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; } @@ -52561,7 +55429,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) { @@ -52582,7 +55451,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: @@ -52596,6 +55466,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(); @@ -52670,7 +55541,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; } @@ -52680,7 +55551,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; } @@ -52688,16 +55559,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); } @@ -52721,15 +55594,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); } } @@ -52738,59 +55611,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); @@ -52810,17 +55691,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); @@ -52838,59 +55720,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 */ @@ -52898,10 +55786,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 */ @@ -52942,7 +55830,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 @@ -52975,7 +55863,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); } @@ -52988,10 +55876,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; } @@ -53000,26 +55890,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() { @@ -53034,9 +55924,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); @@ -53049,18 +55939,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; } @@ -53072,9 +55962,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); } @@ -53082,6 +55972,7 @@ public scannerOpenWithStopTs_args(scannerOpenWithStopTs_args other) { } } + @Override public scannerOpenWithStopTs_args deepCopy() { return new scannerOpenWithStopTs_args(this); } @@ -53101,12 +55992,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); } /** @@ -53117,8 +56008,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; } @@ -53142,12 +56033,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); } /** @@ -53159,8 +56050,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; } @@ -53184,12 +56075,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); } /** @@ -53201,8 +56092,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; } @@ -53225,7 +56116,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(); } @@ -53242,7 +56133,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; } @@ -53252,7 +56143,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; } @@ -53289,16 +56180,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() { @@ -53315,7 +56206,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; } @@ -53323,7 +56214,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; } @@ -53343,7 +56234,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) { @@ -53408,7 +56300,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: @@ -53434,6 +56327,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(); @@ -53546,7 +56440,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()) @@ -53568,7 +56462,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; } @@ -53578,7 +56472,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; } @@ -53588,7 +56482,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; } @@ -53598,7 +56492,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; } @@ -53608,7 +56502,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; } @@ -53618,7 +56512,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; } @@ -53626,16 +56520,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); } @@ -53648,7 +56545,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(", "); @@ -53656,7 +56553,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(", "); @@ -53664,7 +56561,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(", "); @@ -53672,7 +56569,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(", "); @@ -53691,15 +56588,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); } } @@ -53708,112 +56605,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); @@ -53835,7 +56740,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); @@ -53850,7 +56755,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()); @@ -53866,17 +56771,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); @@ -53931,75 +56837,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"); @@ -54014,7 +56926,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 @@ -54039,7 +56951,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); } @@ -54052,10 +56964,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; } @@ -54064,15 +56978,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() { @@ -54099,6 +57013,7 @@ public scannerOpenWithStopTs_result(scannerOpenWithStopTs_result other) { } } + @Override public scannerOpenWithStopTs_result deepCopy() { return new scannerOpenWithStopTs_result(this); } @@ -54121,24 +57036,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; } @@ -54158,7 +57073,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) { @@ -54179,7 +57095,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: @@ -54193,6 +57110,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(); @@ -54267,7 +57185,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; } @@ -54277,7 +57195,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; } @@ -54285,16 +57203,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); } @@ -54318,15 +57238,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); } } @@ -54335,59 +57255,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); @@ -54407,17 +57335,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); @@ -54435,33 +57364,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 @@ -54469,7 +57404,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() { @@ -54562,6 +57499,7 @@ public scannerGet_args(scannerGet_args other) { this.id = other.id; } + @Override public scannerGet_args deepCopy() { return new scannerGet_args(this); } @@ -54589,19 +57527,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) { @@ -54614,7 +57553,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: @@ -54625,6 +57565,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(); @@ -54684,7 +57625,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; } @@ -54692,16 +57633,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); } @@ -54717,15 +57661,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); } } @@ -54734,50 +57678,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); @@ -54790,17 +57742,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); @@ -54812,37 +57765,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"); @@ -54858,7 +57817,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 @@ -54885,7 +57844,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); } @@ -54898,28 +57857,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() { @@ -54955,6 +57916,7 @@ public scannerGet_result(scannerGet_result other) { } } + @Override public scannerGet_result deepCopy() { return new scannerGet_result(this); } @@ -54970,7 +57932,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(); } @@ -54982,12 +57944,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; } @@ -55007,12 +57969,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; } @@ -55032,12 +57994,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; } @@ -55057,7 +58019,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) { @@ -55086,7 +58049,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: @@ -55103,6 +58067,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(); @@ -55194,7 +58159,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; } @@ -55204,7 +58169,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; } @@ -55214,7 +58179,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; } @@ -55222,16 +58187,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); } @@ -55267,101 +58234,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); @@ -55386,17 +58361,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); @@ -55426,49 +58402,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 @@ -55480,7 +58462,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() { @@ -55586,6 +58570,7 @@ public scannerGetList_args(scannerGetList_args other) { this.nbRows = other.nbRows; } + @Override public scannerGetList_args deepCopy() { return new scannerGetList_args(this); } @@ -55615,16 +58600,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); } /** @@ -55644,19 +58629,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) { @@ -55677,7 +58663,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: @@ -55691,6 +58678,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(); @@ -55763,7 +58751,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; } @@ -55773,7 +58761,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; } @@ -55781,16 +58769,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); } @@ -55810,15 +58801,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); } } @@ -55827,58 +58818,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); @@ -55894,17 +58893,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); @@ -55922,41 +58922,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"); @@ -55972,7 +58978,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 @@ -55999,7 +59005,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); } @@ -56012,28 +59018,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() { @@ -56069,6 +59077,7 @@ public scannerGetList_result(scannerGetList_result other) { } } + @Override public scannerGetList_result deepCopy() { return new scannerGetList_result(this); } @@ -56084,7 +59093,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(); } @@ -56096,12 +59105,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; } @@ -56121,12 +59130,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; } @@ -56146,12 +59155,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; } @@ -56171,7 +59180,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) { @@ -56200,7 +59210,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: @@ -56217,6 +59228,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(); @@ -56308,7 +59320,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; } @@ -56318,7 +59330,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; } @@ -56328,7 +59340,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; } @@ -56336,16 +59348,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); } @@ -56381,101 +59395,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); @@ -56500,17 +59522,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); @@ -56540,48 +59563,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 @@ -56589,7 +59618,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() { @@ -56682,6 +59713,7 @@ public scannerClose_args(scannerClose_args other) { this.id = other.id; } + @Override public scannerClose_args deepCopy() { return new scannerClose_args(this); } @@ -56709,19 +59741,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) { @@ -56734,7 +59767,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: @@ -56745,6 +59779,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(); @@ -56804,7 +59839,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; } @@ -56812,16 +59847,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); } @@ -56837,15 +59875,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); } } @@ -56854,50 +59892,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); @@ -56910,17 +59956,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); @@ -56932,35 +59979,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"); @@ -56975,7 +60028,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 @@ -57000,7 +60053,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); } @@ -57013,25 +60066,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() { @@ -57058,6 +60113,7 @@ public scannerClose_result(scannerClose_result other) { } } + @Override public scannerClose_result deepCopy() { return new scannerClose_result(this); } @@ -57068,12 +60124,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; } @@ -57093,12 +60149,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; } @@ -57118,7 +60174,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) { @@ -57139,7 +60196,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: @@ -57153,6 +60211,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(); @@ -57229,7 +60288,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; } @@ -57239,7 +60298,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; } @@ -57247,16 +60306,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); } @@ -57284,75 +60345,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); @@ -57372,17 +60441,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); @@ -57400,42 +60470,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 */ @@ -57452,7 +60528,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 @@ -57475,7 +60551,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); } @@ -57488,23 +60564,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() { @@ -57514,7 +60592,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); } /** @@ -57522,10 +60600,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); } @@ -57539,12 +60618,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); } /** @@ -57555,8 +60634,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; } @@ -57575,7 +60654,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) { @@ -57592,7 +60672,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: @@ -57603,6 +60684,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(); @@ -57664,7 +60746,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; } @@ -57672,16 +60754,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); } @@ -57694,72 +60779,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); @@ -57774,17 +60867,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); @@ -57796,35 +60890,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"); @@ -57839,7 +60939,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 @@ -57864,7 +60964,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); } @@ -57877,25 +60977,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() { @@ -57922,6 +61024,7 @@ public getRegionInfo_result(getRegionInfo_result other) { } } + @Override public getRegionInfo_result deepCopy() { return new getRegionInfo_result(this); } @@ -57932,12 +61035,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; } @@ -57957,12 +61060,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; } @@ -57982,7 +61085,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) { @@ -58003,7 +61107,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: @@ -58017,6 +61122,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(); @@ -58093,7 +61199,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; } @@ -58103,7 +61209,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; } @@ -58111,16 +61217,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); } @@ -58148,7 +61256,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) { @@ -58158,68 +61266,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); @@ -58239,17 +61355,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); @@ -58267,42 +61384,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 */ @@ -58319,7 +61442,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 @@ -58342,7 +61465,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); } @@ -58355,23 +61478,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() { @@ -58393,6 +61518,7 @@ public append_args(append_args other) { } } + @Override public append_args deepCopy() { return new append_args(this); } @@ -58405,7 +61531,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; } @@ -58413,7 +61539,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; } @@ -58433,7 +61559,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) { @@ -58446,7 +61573,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: @@ -58457,6 +61585,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(); @@ -58518,7 +61647,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; } @@ -58526,16 +61655,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); } @@ -58555,7 +61687,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) { @@ -58565,59 +61697,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); @@ -58632,17 +61772,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); @@ -58654,36 +61795,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"); @@ -58698,7 +61845,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 @@ -58723,7 +61870,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); } @@ -58736,26 +61883,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() { @@ -58786,6 +61935,7 @@ public append_result(append_result other) { } } + @Override public append_result deepCopy() { return new append_result(this); } @@ -58800,7 +61950,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(); } @@ -58812,12 +61962,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; } @@ -58837,12 +61987,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; } @@ -58862,7 +62012,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) { @@ -58883,7 +62034,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: @@ -58897,6 +62049,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(); @@ -58973,7 +62126,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; } @@ -58983,7 +62136,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; } @@ -58991,16 +62144,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); } @@ -59028,92 +62183,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); @@ -59133,17 +62296,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); @@ -59167,78 +62331,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 */ @@ -59277,7 +62447,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 @@ -59310,7 +62480,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); } @@ -59323,35 +62493,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() { @@ -59366,10 +62538,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; } @@ -59379,16 +62551,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); @@ -59400,9 +62572,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); } @@ -59410,6 +62582,7 @@ public checkAndPut_args(checkAndPut_args other) { } } + @Override public checkAndPut_args deepCopy() { return new checkAndPut_args(this); } @@ -59428,12 +62601,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); } /** @@ -59444,8 +62617,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; } @@ -59468,12 +62641,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); } /** @@ -59484,8 +62657,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; } @@ -59508,12 +62681,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); } /** @@ -59524,8 +62697,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; } @@ -59550,12 +62723,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); } /** @@ -59568,8 +62741,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; } @@ -59591,7 +62764,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; } @@ -59599,7 +62772,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; } @@ -59633,7 +62806,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; } @@ -59641,7 +62814,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; } @@ -59661,7 +62834,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) { @@ -59730,7 +62904,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: @@ -59756,6 +62931,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(); @@ -59892,7 +63068,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; } @@ -59902,7 +63078,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; } @@ -59912,7 +63088,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; } @@ -59922,7 +63098,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; } @@ -59932,7 +63108,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; } @@ -59942,7 +63118,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; } @@ -59950,16 +63126,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); } @@ -59972,7 +63151,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(", "); @@ -59980,7 +63159,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(", "); @@ -59988,7 +63167,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(", "); @@ -59996,7 +63175,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(", "); @@ -60019,7 +63198,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) { @@ -60029,111 +63208,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); @@ -60165,7 +63352,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()); @@ -60181,17 +63368,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); @@ -60240,69 +63428,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"); @@ -60318,7 +63512,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 @@ -60345,7 +63539,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); } @@ -60358,10 +63552,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; } @@ -60370,17 +63566,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() { @@ -60412,6 +63608,7 @@ public checkAndPut_result(checkAndPut_result other) { } } + @Override public checkAndPut_result deepCopy() { return new checkAndPut_result(this); } @@ -60435,24 +63632,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; } @@ -60472,12 +63669,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; } @@ -60497,7 +63694,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) { @@ -60526,7 +63724,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: @@ -60543,6 +63742,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(); @@ -60632,7 +63832,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; } @@ -60642,7 +63842,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; } @@ -60652,7 +63852,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; } @@ -60660,16 +63860,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); } @@ -60701,15 +63903,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); } } @@ -60718,68 +63920,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); @@ -60804,17 +64014,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); @@ -60838,41 +64049,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(); @@ -60886,7 +64103,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: @@ -60907,7 +64124,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); } @@ -60920,19 +64137,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() { @@ -60944,6 +64163,7 @@ public getThriftServerType_args() { public getThriftServerType_args(getThriftServerType_args other) { } + @Override public getThriftServerType_args deepCopy() { return new getThriftServerType_args(this); } @@ -60952,12 +64172,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) { } @@ -60965,6 +64187,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(); @@ -61009,16 +64232,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); } @@ -61031,57 +64257,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); @@ -61091,46 +64325,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 @@ -61148,7 +64389,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 @@ -61171,7 +64412,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); } @@ -61184,23 +64425,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() { @@ -61222,6 +64465,7 @@ public getThriftServerType_result(getThriftServerType_result other) { } } + @Override public getThriftServerType_result deepCopy() { return new getThriftServerType_result(this); } @@ -61235,7 +64479,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; } @@ -61244,7 +64488,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; } @@ -61264,7 +64508,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) { @@ -61277,7 +64522,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: @@ -61288,6 +64534,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(); @@ -61349,7 +64596,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; } @@ -61357,16 +64604,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); } @@ -61386,65 +64635,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); @@ -61459,17 +64716,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); @@ -61481,31 +64739,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(); @@ -61519,7 +64783,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: @@ -61540,7 +64804,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); } @@ -61553,19 +64817,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() { @@ -61577,6 +64843,7 @@ public getClusterId_args() { public getClusterId_args(getClusterId_args other) { } + @Override public getClusterId_args deepCopy() { return new getClusterId_args(this); } @@ -61585,12 +64852,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) { } @@ -61598,6 +64867,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(); @@ -61642,16 +64912,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); } @@ -61664,57 +64937,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); @@ -61724,42 +65005,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(); @@ -61773,7 +65061,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 @@ -61796,7 +65084,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); } @@ -61809,23 +65097,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() { @@ -61847,6 +65137,7 @@ public getClusterId_result(getClusterId_result other) { } } + @Override public getClusterId_result deepCopy() { return new getClusterId_result(this); } @@ -61856,12 +65147,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; } @@ -61881,7 +65172,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) { @@ -61894,7 +65186,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: @@ -61905,6 +65198,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(); @@ -61966,7 +65260,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; } @@ -61974,16 +65268,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); } @@ -62003,65 +65299,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); @@ -62076,17 +65380,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); @@ -62098,18 +65403,23 @@ 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(); } } 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 67691335f04c..3522d0c646db 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-18") -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-24") +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 fbb6f2a0524d..84adce8671ec 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-18") -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-24") +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 138b8c2171e9..51e85abd0ab2 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-18") -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-24") +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/TAppend.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java index 67874e6652f0..42ea15c916cd 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-18") -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-24") +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 fab301ea37de..6f94cf18c360 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-18") -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-24") +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 3741a337b5ed..0e0d7c4db994 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-18") -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-24") +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 0d8fb2d0db0c..8e822a7b4039 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-18") -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-24") +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/TRegionInfo.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java index 7092af2f368b..4748eab17a0b 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-18") -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-24") +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 f17cc4acb73e..242849f276ff 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-18") -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-24") +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 4293e9ce47b6..f048bca9413a 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-18") -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-24") +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 0c7d3bcd35db..74b2a46e1f28 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-18") -public enum TThriftServerType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 0c0ab11a4d75..c4f70a3af68e 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 @@ -42,7 +42,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; @@ -88,11 +88,12 @@ 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; +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 * defined in the Table interface. 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 5ad4561a92ee..0c6bbc7e04f9 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 92a6282c86c1..00eb05cf6d63 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 @@ -52,20 +52,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 c37f64bd4c6f..8e78edf356ad 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/TAppend.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java index 940be40dbedf..ec1be1e4de42 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-18") -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-24") +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 d2ef45942688..3a4b600a7ba3 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-18") -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-24") +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 1ffed27cfd70..e1dfab287bd5 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-18") -public enum TBloomFilterType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 0451ff8ddba3..d7c28638feb0 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-18") -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-24") +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 a85d5b2b92ac..f2e3b30fd6c5 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-18") -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-24") +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 f7760d11a3ca..61f7a812aa97 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-18") -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-24") +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 efcc839ffe34..94b79055c37e 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-18") -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-24") +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 cf06c4302df9..05a95a319f5b 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-18") -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-24") +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/TCompareOp.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOp.java index 5d45980d87b3..278ec10d1639 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOp.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOp.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.filter.CompareFilter$CompareOp. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-18") -public enum TCompareOp implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +public enum TCompareOp implements org.apache.hbase.thirdparty.org.apache.thrift.TEnum { LESS(0), LESS_OR_EQUAL(1), EQUAL(2), @@ -30,6 +30,7 @@ private TCompareOp(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 TCompareOp 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 2ddd74cb7895..bdd409114bcf 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-18") -public enum TCompressionAlgorithm implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 49b17381728b..b790a9c1a93c 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-18") -public enum TConsistency implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 2b9f5f16fb6b..89a9d488fcb1 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-18") -public enum TDataBlockEncoding implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 92fa3c7ae69c..fda16480433e 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-18") -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-24") +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 015436c66075..b5ea6e9013ea 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-18") -public enum TDeleteType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 97d2a8bc33b7..eaf18d8188b0 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-18") -public enum TDurability implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 312dd485a450..fc35397e410c 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-18") -public enum TFilterByOperator implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 7f200f5ff022..6ab3a182f062 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-18") -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-24") +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 eb370d7587b1..f77bc9054f76 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-24") @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2025-08-18") 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, TCompareOp compareOp, 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, TCompareOp compareOp, 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; /** * * Use this api to check if the table has been created with the specified number of splitkeys @@ -411,7 +411,7 @@ public interface Iface { * * @param splitKeys keys to check if the table has been created with all split keys */ - public boolean isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys) throws TIOError, org.apache.thrift.TException; + public boolean isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException; /** * Add a column family to an existing table. Synchronous operation. @@ -421,7 +421,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. @@ -431,7 +431,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. @@ -441,7 +441,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 @@ -449,7 +449,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 @@ -458,7 +458,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 @@ -467,7 +467,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. @@ -477,7 +477,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. @@ -486,26 +486,26 @@ 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; /** * Retrieves online slow RPC logs from the provided list of @@ -518,7 +518,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 @@ -530,146 +530,149 @@ 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; /** * 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; } 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, TCompareOp compareOp, 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, TCompareOp compareOp, 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 isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isTableAvailableWithSplit(TTableName tableName, 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 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 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 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 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); @@ -677,7 +680,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"); @@ -687,16 +690,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); @@ -704,7 +708,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"); @@ -714,16 +718,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); @@ -731,7 +736,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"); @@ -741,16 +746,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); @@ -758,7 +764,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"); @@ -768,16 +774,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); @@ -785,7 +792,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"); @@ -795,13 +802,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); @@ -813,7 +821,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"); @@ -823,16 +831,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); @@ -840,7 +849,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"); @@ -850,13 +859,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); @@ -864,7 +874,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"); @@ -874,13 +884,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); @@ -888,7 +899,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"); @@ -898,16 +909,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); @@ -919,7 +931,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"); @@ -929,16 +941,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); @@ -946,7 +959,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"); @@ -956,16 +969,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); @@ -973,7 +987,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"); @@ -983,16 +997,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); @@ -1000,7 +1015,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"); @@ -1010,16 +1025,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); @@ -1027,7 +1043,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"); @@ -1040,23 +1056,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"); @@ -1069,13 +1086,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); @@ -1083,7 +1101,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"); @@ -1093,13 +1111,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); @@ -1108,7 +1127,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"); @@ -1118,16 +1137,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); @@ -1136,7 +1156,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"); @@ -1146,23 +1166,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"); @@ -1172,16 +1193,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, TCompareOp compareOp, 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, TCompareOp compareOp, java.nio.ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_checkAndMutate(table, row, family, qualifier, compareOp, 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, TCompareOp compareOp, 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, TCompareOp compareOp, java.nio.ByteBuffer value, TRowMutations rowMutations) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkAndMutate_args args = new checkAndMutate_args(); args.setTable(table); @@ -1194,7 +1216,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"); @@ -1204,23 +1226,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"); @@ -1230,23 +1253,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"); @@ -1256,23 +1280,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"); @@ -1282,16 +1307,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); @@ -1299,7 +1325,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"); @@ -1309,23 +1335,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"); @@ -1335,16 +1362,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); @@ -1352,7 +1380,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"); @@ -1362,23 +1390,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"); @@ -1388,16 +1417,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); @@ -1405,7 +1435,7 @@ public void send_createTable(TTableDescriptor desc, java.util.List splitKeys) throws TIOError, org.apache.thrift.TException + @Override + public boolean isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_isTableAvailableWithSplit(tableName, splitKeys); return recv_isTableAvailableWithSplit(); } - public void send_isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys) throws org.apache.thrift.TException + public void send_isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { isTableAvailableWithSplit_args args = new isTableAvailableWithSplit_args(); args.setTableName(tableName); @@ -1600,7 +1638,7 @@ public void send_isTableAvailableWithSplit(TTableName tableName, java.util.List< sendBase("isTableAvailableWithSplit", args); } - public boolean recv_isTableAvailableWithSplit() throws TIOError, org.apache.thrift.TException + public boolean recv_isTableAvailableWithSplit() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { isTableAvailableWithSplit_result result = new isTableAvailableWithSplit_result(); receiveBase(result, "isTableAvailableWithSplit"); @@ -1610,16 +1648,17 @@ public boolean recv_isTableAvailableWithSplit() throws TIOError, org.apache.thri if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isTableAvailableWithSplit failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "isTableAvailableWithSplit failed: unknown result"); } - public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException + @Override + public void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_addColumnFamily(tableName, column); recv_addColumnFamily(); } - public void send_addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.thrift.TException + public void send_addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { addColumnFamily_args args = new addColumnFamily_args(); args.setTableName(tableName); @@ -1627,7 +1666,7 @@ public void send_addColumnFamily(TTableName tableName, TColumnFamilyDescriptor c sendBase("addColumnFamily", args); } - public void recv_addColumnFamily() throws TIOError, org.apache.thrift.TException + public void recv_addColumnFamily() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { addColumnFamily_result result = new addColumnFamily_result(); receiveBase(result, "addColumnFamily"); @@ -1637,13 +1676,14 @@ public void recv_addColumnFamily() throws TIOError, org.apache.thrift.TException return; } - public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws TIOError, org.apache.thrift.TException + @Override + public void deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteColumnFamily(tableName, column); recv_deleteColumnFamily(); } - public void send_deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws org.apache.thrift.TException + public void send_deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer column) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteColumnFamily_args args = new deleteColumnFamily_args(); args.setTableName(tableName); @@ -1651,7 +1691,7 @@ public void send_deleteColumnFamily(TTableName tableName, java.nio.ByteBuffer co sendBase("deleteColumnFamily", args); } - public void recv_deleteColumnFamily() throws TIOError, org.apache.thrift.TException + public void recv_deleteColumnFamily() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteColumnFamily_result result = new deleteColumnFamily_result(); receiveBase(result, "deleteColumnFamily"); @@ -1661,13 +1701,14 @@ public void recv_deleteColumnFamily() throws TIOError, org.apache.thrift.TExcept return; } - public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException + @Override + public void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_modifyColumnFamily(tableName, column); recv_modifyColumnFamily(); } - public void send_modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.thrift.TException + public void send_modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyColumnFamily_args args = new modifyColumnFamily_args(); args.setTableName(tableName); @@ -1675,7 +1716,7 @@ public void send_modifyColumnFamily(TTableName tableName, TColumnFamilyDescripto sendBase("modifyColumnFamily", args); } - public void recv_modifyColumnFamily() throws TIOError, org.apache.thrift.TException + public void recv_modifyColumnFamily() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyColumnFamily_result result = new modifyColumnFamily_result(); receiveBase(result, "modifyColumnFamily"); @@ -1685,20 +1726,21 @@ public void recv_modifyColumnFamily() throws TIOError, org.apache.thrift.TExcept return; } - public void modifyTable(TTableDescriptor desc) throws TIOError, org.apache.thrift.TException + @Override + public void modifyTable(TTableDescriptor desc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_modifyTable(desc); recv_modifyTable(); } - public void send_modifyTable(TTableDescriptor desc) throws org.apache.thrift.TException + public void send_modifyTable(TTableDescriptor desc) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyTable_args args = new modifyTable_args(); args.setDesc(desc); sendBase("modifyTable", args); } - public void recv_modifyTable() throws TIOError, org.apache.thrift.TException + public void recv_modifyTable() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyTable_result result = new modifyTable_result(); receiveBase(result, "modifyTable"); @@ -1708,20 +1750,21 @@ public void recv_modifyTable() throws TIOError, org.apache.thrift.TException return; } - public void createNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException + @Override + public void createNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_createNamespace(namespaceDesc); recv_createNamespace(); } - public void send_createNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.thrift.TException + public void send_createNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { createNamespace_args args = new createNamespace_args(); args.setNamespaceDesc(namespaceDesc); sendBase("createNamespace", args); } - public void recv_createNamespace() throws TIOError, org.apache.thrift.TException + public void recv_createNamespace() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { createNamespace_result result = new createNamespace_result(); receiveBase(result, "createNamespace"); @@ -1731,20 +1774,21 @@ public void recv_createNamespace() throws TIOError, org.apache.thrift.TException return; } - public void modifyNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException + @Override + public void modifyNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_modifyNamespace(namespaceDesc); recv_modifyNamespace(); } - public void send_modifyNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.thrift.TException + public void send_modifyNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyNamespace_args args = new modifyNamespace_args(); args.setNamespaceDesc(namespaceDesc); sendBase("modifyNamespace", args); } - public void recv_modifyNamespace() throws TIOError, org.apache.thrift.TException + public void recv_modifyNamespace() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { modifyNamespace_result result = new modifyNamespace_result(); receiveBase(result, "modifyNamespace"); @@ -1754,20 +1798,21 @@ public void recv_modifyNamespace() throws TIOError, org.apache.thrift.TException return; } - public void deleteNamespace(java.lang.String name) throws TIOError, org.apache.thrift.TException + @Override + public void deleteNamespace(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_deleteNamespace(name); recv_deleteNamespace(); } - public void send_deleteNamespace(java.lang.String name) throws org.apache.thrift.TException + public void send_deleteNamespace(java.lang.String name) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteNamespace_args args = new deleteNamespace_args(); args.setName(name); sendBase("deleteNamespace", args); } - public void recv_deleteNamespace() throws TIOError, org.apache.thrift.TException + public void recv_deleteNamespace() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { deleteNamespace_result result = new deleteNamespace_result(); receiveBase(result, "deleteNamespace"); @@ -1777,20 +1822,21 @@ public void recv_deleteNamespace() throws TIOError, org.apache.thrift.TException return; } - public TNamespaceDescriptor getNamespaceDescriptor(java.lang.String name) throws TIOError, org.apache.thrift.TException + @Override + public TNamespaceDescriptor getNamespaceDescriptor(java.lang.String name) throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { send_getNamespaceDescriptor(name); return recv_getNamespaceDescriptor(); } - public void send_getNamespaceDescriptor(java.lang.String name) throws org.apache.thrift.TException + public void send_getNamespaceDescriptor(java.lang.String name) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { getNamespaceDescriptor_args args = new getNamespaceDescriptor_args(); args.setName(name); sendBase("getNamespaceDescriptor", args); } - public TNamespaceDescriptor recv_getNamespaceDescriptor() throws TIOError, org.apache.thrift.TException + public TNamespaceDescriptor recv_getNamespaceDescriptor() throws TIOError, org.apache.hbase.thirdparty.org.apache.thrift.TException { getNamespaceDescriptor_result result = new getNamespaceDescriptor_result(); receiveBase(result, "getNamespaceDescriptor"); @@ -1800,22 +1846,23 @@ public TNamespaceDescriptor recv_getNamespaceDescriptor() throws TIOError, org.a if (result.io != null) { throw result.io; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getNamespaceDescriptor failed: unknown result"); + throw new org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException(org.apache.hbase.thirdparty.org.apache.thrift.TApplicationException.MISSING_RESULT, "getNamespaceDescriptor failed: unknown result"); } - public 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"); @@ -1825,22 +1872,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"); @@ -1850,38 +1898,40 @@ 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.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); @@ -1889,7 +1939,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"); @@ -1899,23 +1949,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"); @@ -1925,67 +1976,71 @@ 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 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 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); @@ -1993,34 +2048,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); @@ -2028,34 +2086,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); @@ -2063,34 +2124,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); @@ -2098,34 +2162,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); @@ -2133,31 +2200,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; @@ -2167,8 +2237,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); @@ -2180,34 +2251,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); @@ -2215,34 +2289,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); @@ -2250,34 +2328,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); @@ -2285,31 +2367,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; @@ -2319,8 +2403,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); @@ -2332,34 +2417,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); @@ -2367,34 +2455,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); @@ -2402,34 +2493,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); @@ -2437,34 +2531,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); @@ -2472,66 +2569,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); @@ -2539,36 +2643,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); @@ -2577,36 +2685,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); @@ -2615,56 +2726,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, TCompareOp compareOp, 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, TCompareOp compareOp, 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, compareOp, 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; @@ -2672,7 +2788,7 @@ public static class checkAndMutate_call extends org.apache.thrift.async.TAsyncMe private TCompareOp compareOp; 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, TCompareOp compareOp, 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, TCompareOp compareOp, 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; @@ -2683,8 +2799,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); @@ -2697,130 +2814,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); @@ -2828,66 +2957,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); @@ -2895,66 +3030,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); @@ -2962,66 +3103,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); @@ -3029,194 +3178,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 isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void isTableAvailableWithSplit(TTableName tableName, java.util.List splitKeys, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { checkReady(); isTableAvailableWithSplit_call method_call = new isTableAvailableWithSplit_call(tableName, splitKeys, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class isTableAvailableWithSplit_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class isTableAvailableWithSplit_call extends org.apache.hbase.thirdparty.org.apache.thrift.async.TAsyncMethodCall { private TTableName tableName; private java.util.List splitKeys; - public isTableAvailableWithSplit_call(TTableName tableName, 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 isTableAvailableWithSplit_call(TTableName tableName, 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.tableName = tableName; 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("isTableAvailableWithSplit", 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("isTableAvailableWithSplit", org.apache.hbase.thirdparty.org.apache.thrift.protocol.TMessageType.CALL, 0)); isTableAvailableWithSplit_args args = new isTableAvailableWithSplit_args(); args.setTableName(tableName); args.setSplitKeys(splitKeys); @@ -3224,34 +3394,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_isTableAvailableWithSplit(); } } - 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); @@ -3259,34 +3432,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); @@ -3294,34 +3471,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); @@ -3329,281 +3510,313 @@ 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 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); @@ -3611,90 +3824,97 @@ 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 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 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()); @@ -3748,16 +3968,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; } @@ -3766,8 +3988,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); @@ -3778,16 +4006,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; } @@ -3796,8 +4026,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) { @@ -3807,16 +4043,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; } @@ -3825,8 +4063,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) { @@ -3836,16 +4080,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; } @@ -3854,8 +4100,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) { @@ -3865,16 +4117,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; } @@ -3883,8 +4137,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) { @@ -3894,16 +4154,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; } @@ -3912,8 +4174,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); @@ -3924,16 +4192,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; } @@ -3942,8 +4212,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) { @@ -3953,16 +4229,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; } @@ -3971,8 +4249,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) { @@ -3982,16 +4266,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; } @@ -4000,8 +4286,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) { @@ -4011,16 +4303,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; } @@ -4029,8 +4323,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); @@ -4041,16 +4341,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; } @@ -4059,8 +4361,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) { @@ -4070,16 +4378,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; } @@ -4088,8 +4398,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) { @@ -4099,16 +4415,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; } @@ -4117,8 +4435,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); @@ -4129,16 +4453,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; } @@ -4147,8 +4473,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) { @@ -4160,16 +4492,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; } @@ -4178,8 +4512,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) { @@ -4191,16 +4531,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; } @@ -4209,8 +4551,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) { @@ -4220,16 +4568,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; } @@ -4238,8 +4588,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) { @@ -4249,16 +4605,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; } @@ -4267,8 +4625,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) { @@ -4278,16 +4642,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; } @@ -4296,8 +4662,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) { @@ -4307,16 +4679,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; } @@ -4325,8 +4699,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.compareOp, args.value, args.rowMutations); result.setSuccessIsSet(true); @@ -4337,16 +4717,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; } @@ -4355,8 +4737,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) { @@ -4366,16 +4754,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; } @@ -4384,8 +4774,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) { @@ -4395,16 +4791,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; } @@ -4413,8 +4811,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); @@ -4425,16 +4829,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; } @@ -4443,8 +4849,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) { @@ -4454,16 +4866,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; } @@ -4472,8 +4886,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) { @@ -4483,16 +4903,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; } @@ -4501,8 +4923,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) { @@ -4512,16 +4940,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; } @@ -4530,8 +4960,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) { @@ -4541,16 +4977,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; } @@ -4559,8 +4997,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) { @@ -4570,16 +5014,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; } @@ -4588,8 +5034,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) { @@ -4599,16 +5051,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; } @@ -4617,8 +5071,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) { @@ -4628,16 +5088,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; } @@ -4646,8 +5108,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) { @@ -4657,16 +5125,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; } @@ -4675,8 +5145,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) { @@ -4686,16 +5162,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; } @@ -4704,8 +5182,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); @@ -4716,16 +5200,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; } @@ -4734,8 +5220,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); @@ -4746,16 +5238,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; } @@ -4764,8 +5258,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); @@ -4776,16 +5276,18 @@ public isTableAvailable_result getResult(I iface, isTableAvailable_args args) th } } - public static class isTableAvailableWithSplit extends org.apache.thrift.ProcessFunction { + public static class isTableAvailableWithSplit extends org.apache.hbase.thirdparty.org.apache.thrift.ProcessFunction { public isTableAvailableWithSplit() { super("isTableAvailableWithSplit"); } + @Override public isTableAvailableWithSplit_args getEmptyArgsInstance() { return new isTableAvailableWithSplit_args(); } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } @@ -4794,8 +5296,14 @@ protected boolean rethrowUnhandledExceptions() { return false; } - public isTableAvailableWithSplit_result getResult(I iface, isTableAvailableWithSplit_args args) throws org.apache.thrift.TException { - isTableAvailableWithSplit_result result = new isTableAvailableWithSplit_result(); + @Override + public isTableAvailableWithSplit_result getEmptyResultInstance() { + return new isTableAvailableWithSplit_result(); + } + + @Override + public isTableAvailableWithSplit_result getResult(I iface, isTableAvailableWithSplit_args args) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { + isTableAvailableWithSplit_result result = getEmptyResultInstance(); try { result.success = iface.isTableAvailableWithSplit(args.tableName, args.splitKeys); result.setSuccessIsSet(true); @@ -4806,16 +5314,18 @@ public isTableAvailableWithSplit_result getResult(I iface, isTableAvailableWithS } } - 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; } @@ -4824,8 +5334,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) { @@ -4835,16 +5351,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; } @@ -4853,8 +5371,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) { @@ -4864,16 +5388,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; } @@ -4882,8 +5408,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) { @@ -4893,16 +5425,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; } @@ -4911,8 +5445,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) { @@ -4922,16 +5462,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; } @@ -4940,8 +5482,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) { @@ -4951,16 +5499,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; } @@ -4969,8 +5519,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) { @@ -4980,16 +5536,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; } @@ -4998,8 +5556,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) { @@ -5009,16 +5573,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; } @@ -5027,8 +5593,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) { @@ -5038,16 +5610,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; } @@ -5056,8 +5630,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) { @@ -5067,16 +5647,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; } @@ -5085,8 +5667,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) { @@ -5096,16 +5684,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; } @@ -5114,23 +5704,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 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; } @@ -5139,8 +5737,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) { @@ -5150,16 +5754,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; } @@ -5168,8 +5774,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) { @@ -5179,16 +5791,18 @@ public clearSlowLogResponses_result getResult(I iface, clearSlowLogResponses_arg } } - 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; } @@ -5197,8 +5811,14 @@ 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; } @@ -5206,17 +5826,17 @@ public getClusterId_result getResult(I iface, getClusterId_args args) throws org } - 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()); @@ -5270,25 +5890,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) { @@ -5296,26 +5924,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); @@ -5327,33 +5956,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) { @@ -5361,26 +6000,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); @@ -5392,33 +6032,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) { @@ -5426,26 +6076,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); @@ -5457,33 +6108,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) { @@ -5491,26 +6152,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); @@ -5522,32 +6184,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) { @@ -5555,26 +6227,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); @@ -5586,34 +6259,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) { @@ -5621,26 +6304,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); @@ -5652,32 +6336,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) { @@ -5685,26 +6379,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); @@ -5716,32 +6411,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) { @@ -5749,26 +6454,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); @@ -5780,33 +6486,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) { @@ -5814,26 +6530,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); @@ -5845,34 +6562,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) { @@ -5880,26 +6607,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); @@ -5911,33 +6639,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) { @@ -5945,26 +6683,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); @@ -5976,33 +6715,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) { @@ -6010,26 +6759,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); @@ -6041,34 +6791,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) { @@ -6076,26 +6836,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); @@ -6107,33 +6868,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) { @@ -6141,9 +6912,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; @@ -6153,18 +6925,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); @@ -6176,32 +6948,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) { @@ -6209,9 +6991,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; @@ -6221,18 +7004,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); @@ -6244,32 +7027,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) { @@ -6277,26 +7070,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); @@ -6308,33 +7102,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) { @@ -6342,26 +7146,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); @@ -6373,33 +7178,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) { @@ -6407,26 +7222,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); @@ -6438,33 +7254,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) { @@ -6472,26 +7298,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); @@ -6503,34 +7330,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) { @@ -6538,26 +7375,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); @@ -6569,33 +7407,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.compareOp, 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) { @@ -6603,26 +7451,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); @@ -6634,33 +7483,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) { @@ -6668,26 +7527,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); @@ -6699,34 +7559,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) { @@ -6734,26 +7604,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); @@ -6765,33 +7636,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) { @@ -6799,26 +7680,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); @@ -6830,33 +7712,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) { @@ -6864,26 +7756,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); @@ -6895,33 +7788,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) { @@ -6929,26 +7832,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); @@ -6960,33 +7864,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) { @@ -6994,26 +7908,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); @@ -7025,32 +7940,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) { @@ -7058,26 +7983,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); @@ -7089,32 +8015,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) { @@ -7122,26 +8058,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); @@ -7153,32 +8090,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) { @@ -7186,26 +8133,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); @@ -7217,32 +8165,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) { @@ -7250,26 +8208,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); @@ -7281,32 +8240,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) { @@ -7314,26 +8283,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); @@ -7345,34 +8315,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) { @@ -7380,26 +8360,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); @@ -7411,34 +8392,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) { @@ -7446,26 +8437,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); @@ -7477,34 +8469,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) { @@ -7512,26 +8514,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); @@ -7543,34 +8546,44 @@ 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 isTableAvailableWithSplit extends org.apache.thrift.AsyncProcessFunction { + public static class isTableAvailableWithSplit extends org.apache.hbase.thirdparty.org.apache.thrift.AsyncProcessFunction { public isTableAvailableWithSplit() { super("isTableAvailableWithSplit"); } + @Override + public isTableAvailableWithSplit_result getEmptyResultInstance() { + return new isTableAvailableWithSplit_result(); + } + + @Override public isTableAvailableWithSplit_args getEmptyArgsInstance() { return new isTableAvailableWithSplit_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) { isTableAvailableWithSplit_result result = new isTableAvailableWithSplit_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) { @@ -7578,26 +8591,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; isTableAvailableWithSplit_result result = new isTableAvailableWithSplit_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); @@ -7609,32 +8623,42 @@ public void onError(java.lang.Exception e) { }; } - protected boolean isOneway() { + @Override + public boolean isOneway() { return false; } - public void start(I iface, isTableAvailableWithSplit_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + @Override + public void start(I iface, isTableAvailableWithSplit_args args, org.apache.hbase.thirdparty.org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { iface.isTableAvailableWithSplit(args.tableName, args.splitKeys,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) { @@ -7642,26 +8666,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); @@ -7673,32 +8698,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) { @@ -7706,26 +8741,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); @@ -7737,32 +8773,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) { @@ -7770,26 +8816,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); @@ -7801,32 +8848,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) { @@ -7834,26 +8891,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); @@ -7865,32 +8923,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) { @@ -7898,26 +8966,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); @@ -7929,32 +8998,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) { @@ -7962,26 +9041,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); @@ -7993,32 +9073,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) { @@ -8026,26 +9116,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); @@ -8057,33 +9148,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) { @@ -8091,26 +9192,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); @@ -8122,33 +9224,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) { @@ -8156,26 +9268,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); @@ -8187,33 +9300,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) { @@ -8221,26 +9344,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); @@ -8252,33 +9376,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) { @@ -8286,22 +9420,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); @@ -8313,33 +9448,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 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) { @@ -8347,26 +9492,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); @@ -8378,33 +9524,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) { @@ -8412,26 +9568,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); @@ -8443,33 +9600,43 @@ 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 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) { @@ -8477,22 +9644,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); @@ -8504,37 +9672,40 @@ 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 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 */ @@ -8555,7 +9726,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 @@ -8580,7 +9751,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); } @@ -8593,25 +9764,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() { @@ -8622,7 +9795,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; } @@ -8631,13 +9804,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); } @@ -8652,12 +9826,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); } /** @@ -8668,8 +9842,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; } @@ -8691,7 +9865,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; } @@ -8699,7 +9873,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; } @@ -8719,7 +9893,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) { @@ -8744,7 +9919,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: @@ -8758,6 +9934,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(); @@ -8834,7 +10011,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; } @@ -8844,7 +10021,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; } @@ -8852,16 +10029,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); } @@ -8874,7 +10054,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(", "); @@ -8889,13 +10069,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) { @@ -8905,67 +10085,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); @@ -8985,51 +10173,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"); @@ -9044,7 +10239,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 @@ -9069,7 +10264,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); } @@ -9082,10 +10277,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; } @@ -9094,15 +10291,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() { @@ -9129,6 +10326,7 @@ public exists_result(exists_result other) { } } + @Override public exists_result deepCopy() { return new exists_result(this); } @@ -9151,24 +10349,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; } @@ -9188,7 +10386,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) { @@ -9209,7 +10408,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: @@ -9223,6 +10423,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(); @@ -9297,7 +10498,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; } @@ -9307,7 +10508,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; } @@ -9315,16 +10516,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); } @@ -9348,15 +10551,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); } } @@ -9365,59 +10568,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); @@ -9437,17 +10648,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); @@ -9465,46 +10677,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 */ @@ -9525,7 +10743,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 @@ -9550,7 +10768,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); } @@ -9563,26 +10781,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() { @@ -9593,7 +10813,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; } @@ -9602,7 +10822,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()); @@ -9613,6 +10833,7 @@ public existsAll_args(existsAll_args other) { } } + @Override public existsAll_args deepCopy() { return new existsAll_args(this); } @@ -9627,12 +10848,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); } /** @@ -9643,8 +10864,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; } @@ -9667,7 +10888,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(); } @@ -9682,7 +10903,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; } @@ -9690,7 +10911,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; } @@ -9710,7 +10931,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) { @@ -9735,7 +10957,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: @@ -9749,6 +10972,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(); @@ -9825,7 +11049,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; } @@ -9835,7 +11059,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; } @@ -9843,16 +11067,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); } @@ -9865,7 +11092,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(", "); @@ -9880,90 +11107,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); @@ -9975,7 +11210,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); @@ -9990,17 +11225,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()); @@ -10012,44 +11248,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"); @@ -10064,7 +11306,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 @@ -10089,7 +11331,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); } @@ -10102,26 +11344,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() { @@ -10149,6 +11393,7 @@ public existsAll_result(existsAll_result other) { } } + @Override public existsAll_result deepCopy() { return new existsAll_result(this); } @@ -10163,7 +11408,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(); } @@ -10175,12 +11420,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; } @@ -10200,12 +11445,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; } @@ -10225,7 +11470,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) { @@ -10246,7 +11492,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: @@ -10260,6 +11507,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(); @@ -10336,7 +11584,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; } @@ -10346,7 +11594,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; } @@ -10354,16 +11602,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); } @@ -10391,91 +11641,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); @@ -10495,17 +11753,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); @@ -10529,55 +11788,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 */ @@ -10598,7 +11863,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 @@ -10623,7 +11888,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); } @@ -10636,25 +11901,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() { @@ -10665,7 +11932,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; } @@ -10674,13 +11941,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); } @@ -10695,12 +11963,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); } /** @@ -10711,8 +11979,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; } @@ -10734,7 +12002,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; } @@ -10742,7 +12010,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; } @@ -10762,7 +12030,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) { @@ -10787,7 +12056,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: @@ -10801,6 +12071,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(); @@ -10877,7 +12148,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; } @@ -10887,7 +12158,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; } @@ -10895,16 +12166,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); } @@ -10917,7 +12191,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(", "); @@ -10932,13 +12206,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) { @@ -10948,67 +12222,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); @@ -11028,51 +12310,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"); @@ -11087,7 +12376,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 @@ -11112,7 +12401,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); } @@ -11125,25 +12414,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() { @@ -11170,6 +12461,7 @@ public get_result(get_result other) { } } + @Override public get_result deepCopy() { return new get_result(this); } @@ -11180,12 +12472,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; } @@ -11205,12 +12497,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; } @@ -11230,7 +12522,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) { @@ -11251,7 +12544,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: @@ -11265,6 +12559,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(); @@ -11341,7 +12636,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; } @@ -11351,7 +12646,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; } @@ -11359,16 +12654,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); } @@ -11396,7 +12693,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) { @@ -11406,68 +12703,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); @@ -11487,17 +12792,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); @@ -11515,49 +12821,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 */ @@ -11580,7 +12892,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 @@ -11605,7 +12917,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); } @@ -11618,26 +12930,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() { @@ -11648,7 +12962,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; } @@ -11657,7 +12971,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()); @@ -11668,6 +12982,7 @@ public getMultiple_args(getMultiple_args other) { } } + @Override public getMultiple_args deepCopy() { return new getMultiple_args(this); } @@ -11682,12 +12997,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); } /** @@ -11698,8 +13013,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; } @@ -11722,7 +13037,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(); } @@ -11739,7 +13054,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; } @@ -11749,7 +13064,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; } @@ -11769,7 +13084,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) { @@ -11794,7 +13110,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: @@ -11808,6 +13125,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(); @@ -11884,7 +13202,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; } @@ -11894,7 +13212,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; } @@ -11902,16 +13220,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); } @@ -11924,7 +13245,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(", "); @@ -11939,90 +13260,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); @@ -12034,7 +13363,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); @@ -12049,17 +13378,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()); @@ -12071,44 +13401,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"); @@ -12123,7 +13459,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 @@ -12148,7 +13484,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); } @@ -12161,26 +13497,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() { @@ -12211,6 +13549,7 @@ public getMultiple_result(getMultiple_result other) { } } + @Override public getMultiple_result deepCopy() { return new getMultiple_result(this); } @@ -12225,7 +13564,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(); } @@ -12237,12 +13576,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; } @@ -12262,12 +13601,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; } @@ -12287,7 +13626,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) { @@ -12308,7 +13648,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: @@ -12322,6 +13663,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(); @@ -12398,7 +13740,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; } @@ -12408,7 +13750,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; } @@ -12416,16 +13758,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); } @@ -12453,92 +13797,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); @@ -12558,17 +13910,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); @@ -12592,56 +13945,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 */ @@ -12662,7 +14021,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 @@ -12687,7 +14046,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); } @@ -12700,25 +14059,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() { @@ -12729,7 +14090,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; } @@ -12738,13 +14099,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); } @@ -12759,12 +14121,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); } /** @@ -12775,8 +14137,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; } @@ -12798,7 +14160,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; } @@ -12806,7 +14168,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; } @@ -12826,7 +14188,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) { @@ -12851,7 +14214,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: @@ -12865,6 +14229,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(); @@ -12941,7 +14306,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; } @@ -12951,7 +14316,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; } @@ -12959,16 +14324,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); } @@ -12981,7 +14349,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(", "); @@ -12996,13 +14364,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) { @@ -13012,67 +14380,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); @@ -13092,49 +14468,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(); @@ -13148,7 +14531,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 @@ -13171,7 +14554,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); } @@ -13184,23 +14567,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() { @@ -13222,6 +14607,7 @@ public put_result(put_result other) { } } + @Override public put_result deepCopy() { return new put_result(this); } @@ -13231,12 +14617,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; } @@ -13256,7 +14642,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) { @@ -13269,7 +14656,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: @@ -13280,6 +14668,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(); @@ -13341,7 +14730,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; } @@ -13349,16 +14738,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); } @@ -13378,66 +14769,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); @@ -13452,17 +14851,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); @@ -13474,64 +14874,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 */ @@ -13570,7 +14976,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 @@ -13603,7 +15009,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); } @@ -13616,33 +15022,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() { @@ -13657,11 +15065,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; } @@ -13670,25 +15078,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); } @@ -13707,12 +15116,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); } /** @@ -13723,8 +15132,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; } @@ -13747,12 +15156,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); } /** @@ -13763,8 +15172,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; } @@ -13787,12 +15196,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); } /** @@ -13803,8 +15212,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; } @@ -13827,12 +15236,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); } /** @@ -13843,8 +15252,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; } @@ -13869,12 +15278,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); } /** @@ -13887,8 +15296,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; } @@ -13910,7 +15319,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; } @@ -13918,7 +15327,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; } @@ -13938,7 +15347,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) { @@ -14011,7 +15421,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: @@ -14037,6 +15448,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(); @@ -14173,7 +15585,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; } @@ -14183,7 +15595,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; } @@ -14193,7 +15605,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; } @@ -14203,7 +15615,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; } @@ -14213,7 +15625,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; } @@ -14223,7 +15635,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; } @@ -14231,16 +15643,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); } @@ -14253,7 +15668,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(", "); @@ -14261,7 +15676,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(", "); @@ -14269,7 +15684,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(", "); @@ -14277,7 +15692,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(", "); @@ -14285,7 +15700,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(", "); @@ -14300,22 +15715,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) { @@ -14325,99 +15740,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); @@ -14457,17 +15880,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); @@ -14484,46 +15908,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"); @@ -14538,7 +15968,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 @@ -14563,7 +15993,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); } @@ -14576,10 +16006,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; } @@ -14588,15 +16020,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() { @@ -14623,6 +16055,7 @@ public checkAndPut_result(checkAndPut_result other) { } } + @Override public checkAndPut_result deepCopy() { return new checkAndPut_result(this); } @@ -14645,24 +16078,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; } @@ -14682,7 +16115,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) { @@ -14703,7 +16137,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: @@ -14717,6 +16152,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(); @@ -14791,7 +16227,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; } @@ -14801,7 +16237,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; } @@ -14809,16 +16245,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); } @@ -14842,15 +16280,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); } } @@ -14859,59 +16297,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); @@ -14931,17 +16377,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); @@ -14959,46 +16406,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 */ @@ -15019,7 +16472,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 @@ -15044,7 +16497,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); } @@ -15057,26 +16510,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() { @@ -15087,7 +16542,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; } @@ -15096,7 +16551,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()); @@ -15107,6 +16562,7 @@ public putMultiple_args(putMultiple_args other) { } } + @Override public putMultiple_args deepCopy() { return new putMultiple_args(this); } @@ -15121,12 +16577,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); } /** @@ -15137,8 +16593,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; } @@ -15161,7 +16617,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(); } @@ -15176,7 +16632,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; } @@ -15184,7 +16640,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; } @@ -15204,7 +16660,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) { @@ -15229,7 +16686,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: @@ -15243,6 +16701,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(); @@ -15319,7 +16778,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; } @@ -15329,7 +16788,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; } @@ -15337,16 +16796,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); } @@ -15359,7 +16821,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(", "); @@ -15374,90 +16836,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); @@ -15469,7 +16939,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); @@ -15484,17 +16954,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()); @@ -15506,42 +16977,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(); @@ -15555,7 +17032,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 @@ -15578,7 +17055,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); } @@ -15591,23 +17068,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() { @@ -15629,6 +17108,7 @@ public putMultiple_result(putMultiple_result other) { } } + @Override public putMultiple_result deepCopy() { return new putMultiple_result(this); } @@ -15638,12 +17118,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; } @@ -15663,7 +17143,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) { @@ -15676,7 +17157,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: @@ -15687,6 +17169,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(); @@ -15748,7 +17231,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; } @@ -15756,16 +17239,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); } @@ -15785,66 +17270,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); @@ -15859,17 +17352,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); @@ -15881,42 +17375,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 */ @@ -15937,7 +17437,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 @@ -15962,7 +17462,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); } @@ -15975,25 +17475,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() { @@ -16004,7 +17506,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; } @@ -16013,13 +17515,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); } @@ -16034,12 +17537,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); } /** @@ -16050,8 +17553,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; } @@ -16073,7 +17576,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; } @@ -16081,7 +17584,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; } @@ -16101,7 +17604,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) { @@ -16126,7 +17630,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: @@ -16140,6 +17645,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(); @@ -16216,7 +17722,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; } @@ -16226,7 +17732,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; } @@ -16234,16 +17740,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); } @@ -16256,7 +17765,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(", "); @@ -16271,13 +17780,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) { @@ -16287,67 +17796,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); @@ -16367,49 +17884,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(); @@ -16423,7 +17947,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 @@ -16446,7 +17970,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); } @@ -16459,23 +17983,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() { @@ -16497,6 +18023,7 @@ public deleteSingle_result(deleteSingle_result other) { } } + @Override public deleteSingle_result deepCopy() { return new deleteSingle_result(this); } @@ -16506,12 +18033,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; } @@ -16531,7 +18058,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) { @@ -16544,7 +18072,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: @@ -16555,6 +18084,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(); @@ -16616,7 +18146,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; } @@ -16624,16 +18154,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); } @@ -16653,66 +18185,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); @@ -16727,17 +18267,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); @@ -16749,42 +18290,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 */ @@ -16805,7 +18352,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 @@ -16830,7 +18377,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); } @@ -16843,26 +18390,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() { @@ -16873,7 +18422,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; } @@ -16882,7 +18431,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()); @@ -16893,6 +18442,7 @@ public deleteMultiple_args(deleteMultiple_args other) { } } + @Override public deleteMultiple_args deepCopy() { return new deleteMultiple_args(this); } @@ -16907,12 +18457,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); } /** @@ -16923,8 +18473,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; } @@ -16947,7 +18497,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(); } @@ -16962,7 +18512,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; } @@ -16970,7 +18520,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; } @@ -16990,7 +18540,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) { @@ -17015,7 +18566,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: @@ -17029,6 +18581,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(); @@ -17105,7 +18658,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; } @@ -17115,7 +18668,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; } @@ -17123,16 +18676,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); } @@ -17145,7 +18701,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(", "); @@ -17160,90 +18716,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); @@ -17255,7 +18819,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); @@ -17270,17 +18834,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()); @@ -17292,44 +18857,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"); @@ -17344,7 +18915,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 @@ -17369,7 +18940,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); } @@ -17382,26 +18953,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() { @@ -17432,6 +19005,7 @@ public deleteMultiple_result(deleteMultiple_result other) { } } + @Override public deleteMultiple_result deepCopy() { return new deleteMultiple_result(this); } @@ -17446,7 +19020,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(); } @@ -17458,12 +19032,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; } @@ -17483,12 +19057,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; } @@ -17508,7 +19082,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) { @@ -17529,7 +19104,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: @@ -17543,6 +19119,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(); @@ -17619,7 +19196,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; } @@ -17629,7 +19206,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; } @@ -17637,16 +19214,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); } @@ -17674,92 +19253,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); @@ -17779,17 +19366,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); @@ -17813,78 +19401,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 */ @@ -17923,7 +19517,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 @@ -17956,7 +19550,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); } @@ -17969,33 +19563,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() { @@ -18010,11 +19606,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; } @@ -18023,25 +19619,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); } @@ -18060,12 +19657,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); } /** @@ -18076,8 +19673,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; } @@ -18100,12 +19697,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); } /** @@ -18116,8 +19713,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; } @@ -18140,12 +19737,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); } /** @@ -18156,8 +19753,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; } @@ -18180,12 +19777,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); } /** @@ -18196,8 +19793,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; } @@ -18222,12 +19819,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); } /** @@ -18240,8 +19837,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; } @@ -18263,7 +19860,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; } @@ -18271,7 +19868,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; } @@ -18291,7 +19888,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) { @@ -18364,7 +19962,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: @@ -18390,6 +19989,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(); @@ -18526,7 +20126,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; } @@ -18536,7 +20136,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; } @@ -18546,7 +20146,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; } @@ -18556,7 +20156,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; } @@ -18566,7 +20166,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; } @@ -18576,7 +20176,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; } @@ -18584,16 +20184,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); } @@ -18606,7 +20209,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(", "); @@ -18614,7 +20217,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(", "); @@ -18622,7 +20225,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(", "); @@ -18630,7 +20233,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(", "); @@ -18638,7 +20241,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(", "); @@ -18653,22 +20256,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) { @@ -18678,99 +20281,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); @@ -18810,17 +20421,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); @@ -18837,46 +20449,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"); @@ -18891,7 +20509,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 @@ -18916,7 +20534,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); } @@ -18929,10 +20547,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; } @@ -18941,15 +20561,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() { @@ -18976,6 +20596,7 @@ public checkAndDelete_result(checkAndDelete_result other) { } } + @Override public checkAndDelete_result deepCopy() { return new checkAndDelete_result(this); } @@ -18998,24 +20619,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; } @@ -19035,7 +20656,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) { @@ -19056,7 +20678,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: @@ -19070,6 +20693,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(); @@ -19144,7 +20768,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; } @@ -19154,7 +20778,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; } @@ -19162,16 +20786,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); } @@ -19195,15 +20821,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); } } @@ -19212,59 +20838,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); @@ -19284,17 +20918,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); @@ -19312,46 +20947,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 */ @@ -19372,7 +21013,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 @@ -19397,7 +21038,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); } @@ -19410,25 +21051,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() { @@ -19439,7 +21082,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; } @@ -19448,13 +21091,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); } @@ -19469,12 +21113,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); } /** @@ -19485,8 +21129,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; } @@ -19508,7 +21152,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; } @@ -19516,7 +21160,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; } @@ -19536,7 +21180,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) { @@ -19561,7 +21206,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: @@ -19575,6 +21221,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(); @@ -19651,7 +21298,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; } @@ -19661,7 +21308,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; } @@ -19669,16 +21316,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); } @@ -19691,7 +21341,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(", "); @@ -19706,13 +21356,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) { @@ -19722,67 +21372,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); @@ -19802,51 +21460,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"); @@ -19861,7 +21526,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 @@ -19886,7 +21551,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); } @@ -19899,25 +21564,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() { @@ -19944,6 +21611,7 @@ public increment_result(increment_result other) { } } + @Override public increment_result deepCopy() { return new increment_result(this); } @@ -19954,12 +21622,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; } @@ -19979,12 +21647,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; } @@ -20004,7 +21672,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) { @@ -20025,7 +21694,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: @@ -20039,6 +21709,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(); @@ -20115,7 +21786,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; } @@ -20125,7 +21796,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; } @@ -20133,16 +21804,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); } @@ -20170,7 +21843,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) { @@ -20180,68 +21853,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); @@ -20261,17 +21942,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); @@ -20289,47 +21971,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 */ @@ -20350,7 +22038,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 @@ -20375,7 +22063,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); } @@ -20388,25 +22076,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() { @@ -20417,7 +22107,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; } @@ -20426,13 +22116,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); } @@ -20447,12 +22138,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); } /** @@ -20463,8 +22154,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; } @@ -20486,7 +22177,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; } @@ -20494,7 +22185,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; } @@ -20514,7 +22205,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) { @@ -20539,7 +22231,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: @@ -20553,6 +22246,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(); @@ -20629,7 +22323,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; } @@ -20639,7 +22333,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; } @@ -20647,16 +22341,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); } @@ -20669,7 +22366,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(", "); @@ -20684,13 +22381,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) { @@ -20700,67 +22397,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); @@ -20780,51 +22485,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"); @@ -20839,7 +22551,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 @@ -20864,7 +22576,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); } @@ -20877,25 +22589,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() { @@ -20922,6 +22636,7 @@ public append_result(append_result other) { } } + @Override public append_result deepCopy() { return new append_result(this); } @@ -20932,12 +22647,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; } @@ -20957,12 +22672,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; } @@ -20982,7 +22697,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) { @@ -21003,7 +22719,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: @@ -21017,6 +22734,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(); @@ -21093,7 +22811,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; } @@ -21103,7 +22821,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; } @@ -21111,16 +22829,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); } @@ -21148,7 +22868,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) { @@ -21158,68 +22878,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); @@ -21239,17 +22967,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); @@ -21267,47 +22996,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 */ @@ -21328,7 +23063,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 @@ -21353,7 +23088,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); } @@ -21366,25 +23101,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() { @@ -21395,7 +23132,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; } @@ -21404,13 +23141,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); } @@ -21425,12 +23163,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); } /** @@ -21441,8 +23179,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; } @@ -21464,7 +23202,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; } @@ -21472,7 +23210,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; } @@ -21492,7 +23230,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) { @@ -21517,7 +23256,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: @@ -21531,6 +23271,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(); @@ -21607,7 +23348,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; } @@ -21617,7 +23358,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; } @@ -21625,16 +23366,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); } @@ -21647,7 +23391,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(", "); @@ -21662,13 +23406,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) { @@ -21678,67 +23422,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); @@ -21758,51 +23510,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"); @@ -21817,7 +23576,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 @@ -21842,7 +23601,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); } @@ -21855,10 +23614,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; } @@ -21867,15 +23628,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() { @@ -21902,6 +23663,7 @@ public openScanner_result(openScanner_result other) { } } + @Override public openScanner_result deepCopy() { return new openScanner_result(this); } @@ -21924,24 +23686,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; } @@ -21961,7 +23723,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) { @@ -21982,7 +23745,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: @@ -21996,6 +23760,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(); @@ -22070,7 +23835,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; } @@ -22080,7 +23845,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; } @@ -22088,16 +23853,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); } @@ -22121,15 +23888,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); } } @@ -22138,59 +23905,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); @@ -22210,17 +23985,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); @@ -22238,34 +24014,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. @@ -22277,7 +24059,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() { @@ -22385,6 +24169,7 @@ public getScannerRows_args(getScannerRows_args other) { this.numRows = other.numRows; } + @Override public getScannerRows_args deepCopy() { return new getScannerRows_args(this); } @@ -22414,16 +24199,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); } /** @@ -22443,19 +24228,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) { @@ -22476,7 +24262,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: @@ -22490,6 +24277,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(); @@ -22562,7 +24350,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; } @@ -22572,7 +24360,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; } @@ -22580,16 +24368,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); } @@ -22609,7 +24400,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 @@ -22617,8 +24408,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); } } @@ -22627,61 +24418,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); @@ -22697,17 +24496,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()) { @@ -22720,42 +24520,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"), /** @@ -22774,7 +24580,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 @@ -22801,7 +24607,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); } @@ -22814,28 +24620,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() { @@ -22871,6 +24679,7 @@ public getScannerRows_result(getScannerRows_result other) { } } + @Override public getScannerRows_result deepCopy() { return new getScannerRows_result(this); } @@ -22886,7 +24695,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(); } @@ -22898,12 +24707,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; } @@ -22923,12 +24732,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; } @@ -22951,7 +24760,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; } @@ -22959,7 +24768,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; } @@ -22979,7 +24788,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) { @@ -23008,7 +24818,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: @@ -23025,6 +24836,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(); @@ -23116,7 +24928,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; } @@ -23126,7 +24938,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; } @@ -23136,7 +24948,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; } @@ -23144,16 +24956,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); } @@ -23189,101 +25003,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); @@ -23308,17 +25130,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); @@ -23348,48 +25171,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 * @@ -23397,7 +25226,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() { @@ -23490,6 +25321,7 @@ public closeScanner_args(closeScanner_args other) { this.scannerId = other.scannerId; } + @Override public closeScanner_args deepCopy() { return new closeScanner_args(this); } @@ -23517,19 +25349,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) { @@ -23542,7 +25375,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: @@ -23553,6 +25387,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(); @@ -23612,7 +25447,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; } @@ -23620,16 +25455,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); } @@ -23645,7 +25483,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 @@ -23653,8 +25491,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); } } @@ -23663,53 +25501,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); @@ -23722,50 +25568,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 @@ -23783,7 +25636,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 @@ -23808,7 +25661,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); } @@ -23821,25 +25674,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() { @@ -23866,6 +25721,7 @@ public closeScanner_result(closeScanner_result other) { } } + @Override public closeScanner_result deepCopy() { return new closeScanner_result(this); } @@ -23876,12 +25732,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; } @@ -23904,7 +25760,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; } @@ -23912,7 +25768,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; } @@ -23932,7 +25788,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) { @@ -23953,7 +25810,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: @@ -23967,6 +25825,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(); @@ -24043,7 +25902,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; } @@ -24053,7 +25912,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; } @@ -24061,16 +25920,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); } @@ -24098,75 +25959,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); @@ -24186,17 +26055,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); @@ -24214,47 +26084,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 */ @@ -24275,7 +26151,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 @@ -24300,7 +26176,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); } @@ -24313,25 +26189,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() { @@ -24342,7 +26220,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; } @@ -24351,13 +26229,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); } @@ -24372,12 +26251,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); } /** @@ -24388,8 +26267,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; } @@ -24411,7 +26290,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; } @@ -24419,7 +26298,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; } @@ -24439,7 +26318,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) { @@ -24464,7 +26344,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: @@ -24478,6 +26359,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(); @@ -24554,7 +26436,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; } @@ -24564,7 +26446,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; } @@ -24572,16 +26454,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); } @@ -24594,7 +26479,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(", "); @@ -24609,13 +26494,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) { @@ -24625,67 +26510,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); @@ -24705,49 +26598,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(); @@ -24761,7 +26661,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 @@ -24784,7 +26684,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); } @@ -24797,23 +26697,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() { @@ -24835,6 +26737,7 @@ public mutateRow_result(mutateRow_result other) { } } + @Override public mutateRow_result deepCopy() { return new mutateRow_result(this); } @@ -24844,12 +26747,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; } @@ -24869,7 +26772,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) { @@ -24882,7 +26786,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: @@ -24893,6 +26798,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(); @@ -24954,7 +26860,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; } @@ -24962,16 +26868,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); } @@ -24991,66 +26899,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); @@ -25065,17 +26981,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); @@ -25087,47 +27004,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 */ @@ -25152,7 +27075,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 @@ -25179,7 +27102,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); } @@ -25192,10 +27115,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; } @@ -25204,17 +27129,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() { @@ -25228,7 +27153,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); @@ -25240,7 +27165,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); @@ -25248,6 +27173,7 @@ public getScannerResults_args(getScannerResults_args other) { this.numRows = other.numRows; } + @Override public getScannerResults_args deepCopy() { return new getScannerResults_args(this); } @@ -25264,12 +27190,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); } /** @@ -25280,8 +27206,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; } @@ -25303,7 +27229,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; } @@ -25311,7 +27237,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; } @@ -25348,19 +27274,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) { @@ -25393,7 +27320,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: @@ -25410,6 +27338,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(); @@ -25499,7 +27428,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; } @@ -25509,7 +27438,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; } @@ -25519,7 +27448,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; } @@ -25527,16 +27456,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); } @@ -25549,7 +27481,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(", "); @@ -25568,13 +27500,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) { @@ -25584,8 +27516,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); } } @@ -25594,67 +27526,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); @@ -25677,17 +27617,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(); @@ -25701,40 +27642,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"); @@ -25749,7 +27696,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 @@ -25774,7 +27721,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); } @@ -25787,26 +27734,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() { @@ -25837,6 +27786,7 @@ public getScannerResults_result(getScannerResults_result other) { } } + @Override public getScannerResults_result deepCopy() { return new getScannerResults_result(this); } @@ -25851,7 +27801,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(); } @@ -25863,12 +27813,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; } @@ -25888,12 +27838,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; } @@ -25913,7 +27863,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) { @@ -25934,7 +27885,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: @@ -25948,6 +27900,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(); @@ -26024,7 +27977,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; } @@ -26034,7 +27987,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; } @@ -26042,16 +27995,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); } @@ -26079,92 +28034,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); @@ -26184,17 +28147,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); @@ -26218,52 +28182,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"); @@ -26279,7 +28249,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 @@ -26306,7 +28276,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); } @@ -26319,10 +28289,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; } @@ -26331,17 +28303,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() { @@ -26353,8 +28325,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); } @@ -26365,14 +28337,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); } @@ -26386,12 +28359,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) { @@ -26399,8 +28372,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; } @@ -26420,12 +28393,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) { @@ -26433,8 +28406,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; } @@ -26464,19 +28437,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) { @@ -26513,7 +28487,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: @@ -26530,6 +28505,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(); @@ -26619,7 +28595,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; } @@ -26629,7 +28605,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; } @@ -26639,7 +28615,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; } @@ -26647,16 +28623,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); } @@ -26669,7 +28648,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(", "); @@ -26677,7 +28656,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(", "); @@ -26688,21 +28667,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); } } @@ -26711,66 +28690,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); @@ -26793,17 +28780,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(); @@ -26817,39 +28805,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"); @@ -26864,7 +28858,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 @@ -26889,7 +28883,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); } @@ -26902,25 +28896,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() { @@ -26947,6 +28943,7 @@ public getRegionLocation_result(getRegionLocation_result other) { } } + @Override public getRegionLocation_result deepCopy() { return new getRegionLocation_result(this); } @@ -26957,12 +28954,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; } @@ -26982,12 +28979,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; } @@ -27007,7 +29004,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) { @@ -27028,7 +29026,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: @@ -27042,6 +29041,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(); @@ -27118,7 +29118,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; } @@ -27128,7 +29128,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; } @@ -27136,16 +29136,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); } @@ -27173,7 +29175,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) { @@ -27183,68 +29185,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); @@ -27264,17 +29274,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); @@ -27292,39 +29303,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(); @@ -27338,7 +29355,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 @@ -27361,7 +29378,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); } @@ -27374,23 +29391,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() { @@ -27400,7 +29419,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); } /** @@ -27408,10 +29427,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); } @@ -27422,12 +29442,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) { @@ -27435,8 +29455,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; } @@ -27455,7 +29475,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) { @@ -27472,7 +29493,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: @@ -27483,6 +29505,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(); @@ -27544,7 +29567,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; } @@ -27552,16 +29575,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); } @@ -27574,75 +29600,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); @@ -27657,47 +29691,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"); @@ -27712,7 +29753,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 @@ -27737,7 +29778,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); } @@ -27750,26 +29791,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() { @@ -27800,6 +29843,7 @@ public getAllRegionLocations_result(getAllRegionLocations_result other) { } } + @Override public getAllRegionLocations_result deepCopy() { return new getAllRegionLocations_result(this); } @@ -27814,7 +29858,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(); } @@ -27826,12 +29870,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; } @@ -27851,12 +29895,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; } @@ -27876,7 +29920,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) { @@ -27897,7 +29942,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: @@ -27911,6 +29957,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(); @@ -27987,7 +30034,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; } @@ -27997,7 +30044,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; } @@ -28005,16 +30052,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); } @@ -28042,92 +30091,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); @@ -28147,17 +30204,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); @@ -28181,84 +30239,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_OP_FIELD_DESC = new org.apache.thrift.protocol.TField("compareOp", 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_OP_FIELD_DESC = new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TField("compareOp", 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 TCompareOp */ - public @org.apache.thrift.annotation.Nullable TCompareOp compareOp; // required + public @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompareOp compareOp; // 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 */ @@ -28302,7 +30366,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 @@ -28337,7 +30401,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); } @@ -28350,35 +30414,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_OP, new org.apache.thrift.meta_data.FieldMetaData("compareOp", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TCompareOp.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_OP, new org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData("compareOp", 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, TCompareOp.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() { @@ -28394,12 +30460,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.compareOp = compareOp; - this.value = org.apache.thrift.TBaseHelper.copyBinary(value); + this.value = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.copyBinary(value); this.rowMutations = rowMutations; } @@ -28408,28 +30474,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.isSetCompareOp()) { this.compareOp = other.compareOp; } 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); } @@ -28449,12 +30516,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); } /** @@ -28465,8 +30532,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; } @@ -28489,12 +30556,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); } /** @@ -28505,8 +30572,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; } @@ -28529,12 +30596,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); } /** @@ -28545,8 +30612,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; } @@ -28569,12 +30636,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); } /** @@ -28585,8 +30652,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; } @@ -28610,7 +30677,7 @@ public void setQualifierIsSet(boolean value) { * * @see TCompareOp */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public TCompareOp getCompareOp() { return this.compareOp; } @@ -28620,7 +30687,7 @@ public TCompareOp getCompareOp() { * * @see TCompareOp */ - public checkAndMutate_args setCompareOp(@org.apache.thrift.annotation.Nullable TCompareOp compareOp) { + public checkAndMutate_args setCompareOp(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TCompareOp compareOp) { this.compareOp = compareOp; return this; } @@ -28645,12 +30712,12 @@ public void setCompareOpIsSet(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); } /** @@ -28662,8 +30729,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; } @@ -28685,7 +30752,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; } @@ -28693,7 +30760,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; } @@ -28713,7 +30780,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) { @@ -28794,7 +30862,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: @@ -28823,6 +30892,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(); @@ -28974,7 +31044,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; } @@ -28984,7 +31054,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; } @@ -28994,7 +31064,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; } @@ -29004,7 +31074,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; } @@ -29014,7 +31084,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } if (isSetCompareOp()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compareOp, other.compareOp); + lastComparison = org.apache.hbase.thirdparty.org.apache.thrift.TBaseHelper.compareTo(this.compareOp, other.compareOp); if (lastComparison != 0) { return lastComparison; } @@ -29024,7 +31094,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; } @@ -29034,7 +31104,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; } @@ -29042,16 +31112,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); } @@ -29064,7 +31137,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(", "); @@ -29072,7 +31145,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(", "); @@ -29080,7 +31153,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(", "); @@ -29088,7 +31161,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(", "); @@ -29104,7 +31177,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(", "); @@ -29119,25 +31192,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 (compareOp == null) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'compareOp' was not present! Struct: " + toString()); + throw new org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocolException("Required field 'compareOp' 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) { @@ -29147,107 +31220,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_OP - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.compareOp = org.apache.hadoop.hbase.thrift2.generated.TCompareOp.findByValue(iprot.readI32()); - struct.setCompareOpIsSet(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_OP + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.I32) { + struct.compareOp = org.apache.hadoop.hbase.thrift2.generated.TCompareOp.findByValue(iprot.readI32()); + struct.setCompareOpIsSet(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); @@ -29292,17 +31373,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); @@ -29320,48 +31402,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.compareOp = org.apache.hadoop.hbase.thrift2.generated.TCompareOp.findByValue(iprot.readI32()); - struct.setCompareOpIsSet(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.compareOp = org.apache.hadoop.hbase.thrift2.generated.TCompareOp.findByValue(iprot.readI32()); + struct.setCompareOpIsSet(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"); @@ -29376,7 +31464,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 @@ -29401,7 +31489,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); } @@ -29414,10 +31502,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; } @@ -29426,15 +31516,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() { @@ -29461,6 +31551,7 @@ public checkAndMutate_result(checkAndMutate_result other) { } } + @Override public checkAndMutate_result deepCopy() { return new checkAndMutate_result(this); } @@ -29483,24 +31574,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; } @@ -29520,7 +31611,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) { @@ -29541,7 +31633,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: @@ -29555,6 +31648,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(); @@ -29629,7 +31723,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; } @@ -29639,7 +31733,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; } @@ -29647,16 +31741,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); } @@ -29680,15 +31776,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); } } @@ -29697,59 +31793,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); @@ -29769,17 +31873,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); @@ -29797,41 +31902,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 */ @@ -29848,7 +31959,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 @@ -29871,7 +31982,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); } @@ -29884,23 +31995,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() { @@ -29922,6 +32035,7 @@ public getTableDescriptor_args(getTableDescriptor_args other) { } } + @Override public getTableDescriptor_args deepCopy() { return new getTableDescriptor_args(this); } @@ -29934,7 +32048,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; } @@ -29942,7 +32056,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; } @@ -29962,7 +32076,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) { @@ -29975,7 +32090,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: @@ -29986,6 +32102,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(); @@ -30047,7 +32164,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; } @@ -30055,16 +32172,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); } @@ -30084,10 +32204,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) { @@ -30097,59 +32217,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); @@ -30164,48 +32292,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"); @@ -30220,7 +32355,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 @@ -30245,7 +32380,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); } @@ -30258,25 +32393,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() { @@ -30303,6 +32440,7 @@ public getTableDescriptor_result(getTableDescriptor_result other) { } } + @Override public getTableDescriptor_result deepCopy() { return new getTableDescriptor_result(this); } @@ -30313,12 +32451,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; } @@ -30338,12 +32476,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; } @@ -30363,7 +32501,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) { @@ -30384,7 +32523,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: @@ -30398,6 +32538,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(); @@ -30474,7 +32615,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; } @@ -30484,7 +32625,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; } @@ -30492,16 +32633,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); } @@ -30529,7 +32672,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) { @@ -30539,68 +32682,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); @@ -30620,17 +32771,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); @@ -30648,42 +32800,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 */ @@ -30700,7 +32858,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 @@ -30723,7 +32881,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); } @@ -30736,24 +32894,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() { @@ -30779,6 +32939,7 @@ public getTableDescriptors_args(getTableDescriptors_args other) { } } + @Override public getTableDescriptors_args deepCopy() { return new getTableDescriptors_args(this); } @@ -30792,7 +32953,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(); } @@ -30807,7 +32968,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; } @@ -30815,7 +32976,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; } @@ -30835,7 +32996,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) { @@ -30848,7 +33010,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: @@ -30859,6 +33022,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(); @@ -30920,7 +33084,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; } @@ -30928,16 +33092,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); } @@ -30957,86 +33124,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); @@ -31051,17 +33226,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) @@ -31072,42 +33248,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"); @@ -31122,7 +33304,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 @@ -31147,7 +33329,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); } @@ -31160,26 +33342,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() { @@ -31210,6 +33394,7 @@ public getTableDescriptors_result(getTableDescriptors_result other) { } } + @Override public getTableDescriptors_result deepCopy() { return new getTableDescriptors_result(this); } @@ -31224,7 +33409,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(); } @@ -31236,12 +33421,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; } @@ -31261,12 +33446,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; } @@ -31286,7 +33471,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) { @@ -31307,7 +33493,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: @@ -31321,6 +33508,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(); @@ -31397,7 +33585,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; } @@ -31407,7 +33595,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; } @@ -31415,16 +33603,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); } @@ -31452,92 +33642,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); @@ -31557,17 +33755,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); @@ -31591,51 +33790,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 */ @@ -31652,7 +33857,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 @@ -31675,7 +33880,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); } @@ -31688,23 +33893,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() { @@ -31726,6 +33933,7 @@ public tableExists_args(tableExists_args other) { } } + @Override public tableExists_args deepCopy() { return new tableExists_args(this); } @@ -31738,7 +33946,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; } @@ -31746,7 +33954,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; } @@ -31766,7 +33974,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) { @@ -31779,7 +33988,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: @@ -31790,6 +34000,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(); @@ -31851,7 +34062,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; } @@ -31859,16 +34070,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); } @@ -31888,7 +34102,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) { @@ -31898,59 +34112,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); @@ -31965,17 +34187,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); @@ -31987,36 +34210,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"); @@ -32031,7 +34260,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 @@ -32056,7 +34285,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); } @@ -32069,10 +34298,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; } @@ -32081,15 +34312,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() { @@ -32116,6 +34347,7 @@ public tableExists_result(tableExists_result other) { } } + @Override public tableExists_result deepCopy() { return new tableExists_result(this); } @@ -32138,24 +34370,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; } @@ -32175,7 +34407,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) { @@ -32196,7 +34429,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: @@ -32210,6 +34444,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(); @@ -32284,7 +34519,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; } @@ -32294,7 +34529,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; } @@ -32302,16 +34537,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); } @@ -32335,15 +34572,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); } } @@ -32352,59 +34589,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); @@ -32424,17 +34669,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); @@ -32452,46 +34698,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 */ @@ -32512,7 +34764,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 @@ -32537,7 +34789,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); } @@ -32550,10 +34802,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; } @@ -32562,15 +34816,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() { @@ -32597,6 +34851,7 @@ public getTableDescriptorsByPattern_args(getTableDescriptorsByPattern_args other this.includeSysTables = other.includeSysTables; } + @Override public getTableDescriptorsByPattern_args deepCopy() { return new getTableDescriptorsByPattern_args(this); } @@ -32611,7 +34866,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; } @@ -32619,7 +34874,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; } @@ -32656,19 +34911,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) { @@ -32689,7 +34945,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: @@ -32703,6 +34960,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(); @@ -32777,7 +35035,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; } @@ -32787,7 +35045,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; } @@ -32795,16 +35053,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); } @@ -32828,7 +35089,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 @@ -32836,8 +35097,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); } } @@ -32846,61 +35107,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); @@ -32918,17 +35187,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()) { @@ -32941,37 +35211,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"); @@ -32986,7 +35262,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 @@ -33011,7 +35287,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); } @@ -33024,26 +35300,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() { @@ -33074,6 +35352,7 @@ public getTableDescriptorsByPattern_result(getTableDescriptorsByPattern_result o } } + @Override public getTableDescriptorsByPattern_result deepCopy() { return new getTableDescriptorsByPattern_result(this); } @@ -33088,7 +35367,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(); } @@ -33100,12 +35379,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; } @@ -33125,12 +35404,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; } @@ -33150,7 +35429,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) { @@ -33171,7 +35451,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: @@ -33185,6 +35466,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(); @@ -33261,7 +35543,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; } @@ -33271,7 +35553,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; } @@ -33279,16 +35561,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); } @@ -33316,92 +35600,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); @@ -33421,17 +35713,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); @@ -33455,51 +35748,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 */ @@ -33516,7 +35815,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 @@ -33539,7 +35838,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); } @@ -33552,23 +35851,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() { @@ -33590,6 +35891,7 @@ public getTableDescriptorsByNamespace_args(getTableDescriptorsByNamespace_args o } } + @Override public getTableDescriptorsByNamespace_args deepCopy() { return new getTableDescriptorsByNamespace_args(this); } @@ -33602,7 +35904,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; } @@ -33610,7 +35912,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; } @@ -33630,7 +35932,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) { @@ -33643,7 +35946,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: @@ -33654,6 +35958,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(); @@ -33715,7 +36020,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; } @@ -33723,16 +36028,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); } @@ -33752,68 +36060,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); @@ -33828,47 +36144,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"); @@ -33883,7 +36206,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 @@ -33908,7 +36231,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); } @@ -33921,26 +36244,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() { @@ -33971,6 +36296,7 @@ public getTableDescriptorsByNamespace_result(getTableDescriptorsByNamespace_resu } } + @Override public getTableDescriptorsByNamespace_result deepCopy() { return new getTableDescriptorsByNamespace_result(this); } @@ -33985,7 +36311,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(); } @@ -33997,12 +36323,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; } @@ -34022,12 +36348,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; } @@ -34047,7 +36373,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) { @@ -34068,7 +36395,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: @@ -34082,6 +36410,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(); @@ -34158,7 +36487,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; } @@ -34168,7 +36497,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; } @@ -34176,16 +36505,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); } @@ -34213,92 +36544,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); @@ -34318,17 +36657,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); @@ -34352,56 +36692,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 */ @@ -34422,7 +36768,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 @@ -34447,7 +36793,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); } @@ -34460,10 +36806,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; } @@ -34472,15 +36820,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() { @@ -34507,6 +36855,7 @@ public getTableNamesByPattern_args(getTableNamesByPattern_args other) { this.includeSysTables = other.includeSysTables; } + @Override public getTableNamesByPattern_args deepCopy() { return new getTableNamesByPattern_args(this); } @@ -34521,7 +36870,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; } @@ -34529,7 +36878,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; } @@ -34566,19 +36915,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) { @@ -34599,7 +36949,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: @@ -34613,6 +36964,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(); @@ -34687,7 +37039,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; } @@ -34697,7 +37049,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; } @@ -34705,16 +37057,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); } @@ -34738,7 +37093,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 @@ -34746,8 +37101,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); } } @@ -34756,61 +37111,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); @@ -34828,17 +37191,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()) { @@ -34851,37 +37215,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"); @@ -34896,7 +37266,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 @@ -34921,7 +37291,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); } @@ -34934,26 +37304,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() { @@ -34984,6 +37356,7 @@ public getTableNamesByPattern_result(getTableNamesByPattern_result other) { } } + @Override public getTableNamesByPattern_result deepCopy() { return new getTableNamesByPattern_result(this); } @@ -34998,7 +37371,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(); } @@ -35010,12 +37383,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; } @@ -35035,12 +37408,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; } @@ -35060,7 +37433,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) { @@ -35081,7 +37455,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: @@ -35095,6 +37470,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(); @@ -35171,7 +37547,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; } @@ -35181,7 +37557,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; } @@ -35189,16 +37565,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); } @@ -35226,92 +37604,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); @@ -35331,17 +37717,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); @@ -35365,51 +37752,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 */ @@ -35426,7 +37819,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 @@ -35449,7 +37842,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); } @@ -35462,23 +37855,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() { @@ -35500,6 +37895,7 @@ public getTableNamesByNamespace_args(getTableNamesByNamespace_args other) { } } + @Override public getTableNamesByNamespace_args deepCopy() { return new getTableNamesByNamespace_args(this); } @@ -35512,7 +37908,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; } @@ -35520,7 +37916,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; } @@ -35540,7 +37936,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) { @@ -35553,7 +37950,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: @@ -35564,6 +37962,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(); @@ -35625,7 +38024,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; } @@ -35633,16 +38032,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); } @@ -35662,68 +38064,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); @@ -35738,47 +38148,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"); @@ -35793,7 +38210,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 @@ -35818,7 +38235,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); } @@ -35831,26 +38248,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() { @@ -35881,6 +38300,7 @@ public getTableNamesByNamespace_result(getTableNamesByNamespace_result other) { } } + @Override public getTableNamesByNamespace_result deepCopy() { return new getTableNamesByNamespace_result(this); } @@ -35895,7 +38315,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(); } @@ -35907,12 +38327,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; } @@ -35932,12 +38352,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; } @@ -35957,7 +38377,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) { @@ -35978,7 +38399,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: @@ -35992,6 +38414,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(); @@ -36068,7 +38491,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; } @@ -36078,7 +38501,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; } @@ -36086,16 +38509,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); } @@ -36123,92 +38548,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); @@ -36228,17 +38661,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); @@ -36262,56 +38696,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 */ @@ -36332,7 +38772,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 @@ -36357,7 +38797,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); } @@ -36370,26 +38810,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() { @@ -36417,6 +38859,7 @@ public createTable_args(createTable_args other) { } } + @Override public createTable_args deepCopy() { return new createTable_args(this); } @@ -36430,7 +38873,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; } @@ -36438,7 +38881,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; } @@ -36462,7 +38905,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(); } @@ -36477,7 +38920,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; } @@ -36485,7 +38928,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; } @@ -36505,7 +38948,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) { @@ -36526,7 +38970,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: @@ -36540,6 +38985,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(); @@ -36616,7 +39062,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; } @@ -36626,7 +39072,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; } @@ -36634,16 +39080,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); } @@ -36664,17 +39113,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) { @@ -36684,77 +39133,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); @@ -36766,7 +39223,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); @@ -36781,17 +39238,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()) { @@ -36810,45 +39268,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(); @@ -36862,7 +39326,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 @@ -36885,7 +39349,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); } @@ -36898,23 +39362,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() { @@ -36936,6 +39402,7 @@ public createTable_result(createTable_result other) { } } + @Override public createTable_result deepCopy() { return new createTable_result(this); } @@ -36945,12 +39412,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; } @@ -36970,7 +39437,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) { @@ -36983,7 +39451,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: @@ -36994,6 +39463,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(); @@ -37055,7 +39525,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; } @@ -37063,16 +39533,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); } @@ -37092,66 +39564,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); @@ -37166,17 +39646,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); @@ -37188,37 +39669,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 */ @@ -37235,7 +39722,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 @@ -37258,7 +39745,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); } @@ -37271,23 +39758,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() { @@ -37309,6 +39798,7 @@ public deleteTable_args(deleteTable_args other) { } } + @Override public deleteTable_args deepCopy() { return new deleteTable_args(this); } @@ -37321,7 +39811,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; } @@ -37329,7 +39819,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; } @@ -37349,7 +39839,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) { @@ -37362,7 +39853,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: @@ -37373,6 +39865,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(); @@ -37434,7 +39927,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; } @@ -37442,16 +39935,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); } @@ -37471,10 +39967,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) { @@ -37484,59 +39980,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); @@ -37551,46 +40055,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(); @@ -37604,7 +40115,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 @@ -37627,7 +40138,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); } @@ -37640,23 +40151,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() { @@ -37678,6 +40191,7 @@ public deleteTable_result(deleteTable_result other) { } } + @Override public deleteTable_result deepCopy() { return new deleteTable_result(this); } @@ -37687,12 +40201,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; } @@ -37712,7 +40226,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) { @@ -37725,7 +40240,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: @@ -37736,6 +40252,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(); @@ -37797,7 +40314,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; } @@ -37805,16 +40322,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); } @@ -37834,66 +40353,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); @@ -37908,17 +40435,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); @@ -37930,42 +40458,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 */ @@ -37986,7 +40520,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 @@ -38011,7 +40545,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); } @@ -38024,10 +40558,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; } @@ -38036,15 +40572,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() { @@ -38071,6 +40607,7 @@ public truncateTable_args(truncateTable_args other) { this.preserveSplits = other.preserveSplits; } + @Override public truncateTable_args deepCopy() { return new truncateTable_args(this); } @@ -38085,7 +40622,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; } @@ -38093,7 +40630,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; } @@ -38130,19 +40667,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) { @@ -38163,7 +40701,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: @@ -38177,6 +40716,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(); @@ -38251,7 +40791,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; } @@ -38261,7 +40801,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; } @@ -38269,16 +40809,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); } @@ -38302,10 +40845,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 @@ -38316,8 +40859,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); } } @@ -38326,62 +40869,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); @@ -38399,49 +40950,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(); @@ -38455,7 +41013,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 @@ -38478,7 +41036,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); } @@ -38491,23 +41049,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() { @@ -38529,6 +41089,7 @@ public truncateTable_result(truncateTable_result other) { } } + @Override public truncateTable_result deepCopy() { return new truncateTable_result(this); } @@ -38538,12 +41099,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; } @@ -38563,7 +41124,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) { @@ -38576,7 +41138,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: @@ -38587,6 +41150,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(); @@ -38648,7 +41212,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; } @@ -38656,16 +41220,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); } @@ -38685,66 +41251,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); @@ -38759,17 +41333,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); @@ -38781,37 +41356,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 */ @@ -38828,7 +41409,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 @@ -38851,7 +41432,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); } @@ -38864,23 +41445,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() { @@ -38902,6 +41485,7 @@ public enableTable_args(enableTable_args other) { } } + @Override public enableTable_args deepCopy() { return new enableTable_args(this); } @@ -38914,7 +41498,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; } @@ -38922,7 +41506,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; } @@ -38942,7 +41526,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) { @@ -38955,7 +41540,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: @@ -38966,6 +41552,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(); @@ -39027,7 +41614,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; } @@ -39035,16 +41622,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); } @@ -39064,10 +41654,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) { @@ -39077,59 +41667,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); @@ -39144,46 +41742,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(); @@ -39197,7 +41802,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 @@ -39220,7 +41825,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); } @@ -39233,23 +41838,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() { @@ -39271,6 +41878,7 @@ public enableTable_result(enableTable_result other) { } } + @Override public enableTable_result deepCopy() { return new enableTable_result(this); } @@ -39280,12 +41888,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; } @@ -39305,7 +41913,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) { @@ -39318,7 +41927,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: @@ -39329,6 +41939,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(); @@ -39390,7 +42001,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; } @@ -39398,16 +42009,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); } @@ -39427,66 +42040,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); @@ -39501,17 +42122,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); @@ -39523,37 +42145,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 */ @@ -39570,7 +42198,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 @@ -39593,7 +42221,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); } @@ -39606,23 +42234,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() { @@ -39644,6 +42274,7 @@ public disableTable_args(disableTable_args other) { } } + @Override public disableTable_args deepCopy() { return new disableTable_args(this); } @@ -39656,7 +42287,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; } @@ -39664,7 +42295,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; } @@ -39684,7 +42315,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) { @@ -39697,7 +42329,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: @@ -39708,6 +42341,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(); @@ -39769,7 +42403,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; } @@ -39777,16 +42411,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); } @@ -39806,10 +42443,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) { @@ -39819,59 +42456,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); @@ -39886,46 +42531,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(); @@ -39939,7 +42591,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 @@ -39962,7 +42614,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); } @@ -39975,23 +42627,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() { @@ -40013,6 +42667,7 @@ public disableTable_result(disableTable_result other) { } } + @Override public disableTable_result deepCopy() { return new disableTable_result(this); } @@ -40022,12 +42677,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; } @@ -40047,7 +42702,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) { @@ -40060,7 +42716,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: @@ -40071,6 +42728,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(); @@ -40132,7 +42790,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; } @@ -40140,16 +42798,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); } @@ -40169,66 +42829,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); @@ -40243,17 +42911,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); @@ -40265,37 +42934,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 */ @@ -40312,7 +42987,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 @@ -40335,7 +43010,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); } @@ -40348,23 +43023,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() { @@ -40386,6 +43063,7 @@ public isTableEnabled_args(isTableEnabled_args other) { } } + @Override public isTableEnabled_args deepCopy() { return new isTableEnabled_args(this); } @@ -40398,7 +43076,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; } @@ -40406,7 +43084,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; } @@ -40426,7 +43104,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) { @@ -40439,7 +43118,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: @@ -40450,6 +43130,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(); @@ -40511,7 +43192,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; } @@ -40519,16 +43200,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); } @@ -40548,10 +43232,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) { @@ -40561,59 +43245,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); @@ -40628,48 +43320,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"); @@ -40684,7 +43383,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 @@ -40709,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); } @@ -40722,10 +43421,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; } @@ -40734,15 +43435,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() { @@ -40769,6 +43470,7 @@ public isTableEnabled_result(isTableEnabled_result other) { } } + @Override public isTableEnabled_result deepCopy() { return new isTableEnabled_result(this); } @@ -40791,24 +43493,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; } @@ -40828,7 +43530,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) { @@ -40849,7 +43552,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: @@ -40863,6 +43567,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(); @@ -40937,7 +43642,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; } @@ -40947,7 +43652,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; } @@ -40955,16 +43660,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); } @@ -40988,15 +43695,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); } } @@ -41005,59 +43712,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); @@ -41077,17 +43792,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); @@ -41105,41 +43821,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 */ @@ -41156,7 +43878,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 @@ -41179,7 +43901,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); } @@ -41192,23 +43914,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() { @@ -41230,6 +43954,7 @@ public isTableDisabled_args(isTableDisabled_args other) { } } + @Override public isTableDisabled_args deepCopy() { return new isTableDisabled_args(this); } @@ -41242,7 +43967,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; } @@ -41250,7 +43975,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; } @@ -41270,7 +43995,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) { @@ -41283,7 +44009,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: @@ -41294,6 +44021,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(); @@ -41355,7 +44083,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; } @@ -41363,16 +44091,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); } @@ -41392,10 +44123,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) { @@ -41405,59 +44136,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); @@ -41472,48 +44211,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"); @@ -41528,7 +44274,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 @@ -41553,7 +44299,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); } @@ -41566,10 +44312,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; } @@ -41578,15 +44326,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() { @@ -41613,6 +44361,7 @@ public isTableDisabled_result(isTableDisabled_result other) { } } + @Override public isTableDisabled_result deepCopy() { return new isTableDisabled_result(this); } @@ -41635,24 +44384,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; } @@ -41672,7 +44421,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) { @@ -41693,7 +44443,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: @@ -41707,6 +44458,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(); @@ -41781,7 +44533,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; } @@ -41791,7 +44543,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; } @@ -41799,16 +44551,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); } @@ -41832,15 +44586,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); } } @@ -41849,59 +44603,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); @@ -41921,17 +44683,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); @@ -41949,41 +44712,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 */ @@ -42000,7 +44769,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 @@ -42023,7 +44792,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); } @@ -42036,23 +44805,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() { @@ -42074,6 +44845,7 @@ public isTableAvailable_args(isTableAvailable_args other) { } } + @Override public isTableAvailable_args deepCopy() { return new isTableAvailable_args(this); } @@ -42086,7 +44858,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; } @@ -42094,7 +44866,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; } @@ -42114,7 +44886,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) { @@ -42127,7 +44900,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: @@ -42138,6 +44912,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(); @@ -42199,7 +44974,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; } @@ -42207,16 +44982,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); } @@ -42236,10 +45014,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) { @@ -42249,59 +45027,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); @@ -42316,48 +45102,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"); @@ -42372,7 +45165,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 @@ -42397,7 +45190,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); } @@ -42410,10 +45203,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; } @@ -42422,15 +45217,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() { @@ -42457,6 +45252,7 @@ public isTableAvailable_result(isTableAvailable_result other) { } } + @Override public isTableAvailable_result deepCopy() { return new isTableAvailable_result(this); } @@ -42479,24 +45275,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; } @@ -42516,7 +45312,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) { @@ -42537,7 +45334,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: @@ -42551,6 +45349,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(); @@ -42625,7 +45424,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; } @@ -42635,7 +45434,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; } @@ -42643,16 +45442,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); } @@ -42676,15 +45477,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); } } @@ -42693,59 +45494,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); @@ -42765,17 +45574,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); @@ -42793,46 +45603,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 isTableAvailableWithSplit_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("isTableAvailableWithSplit_args"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableAvailableWithSplit_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("isTableAvailableWithSplit_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 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 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 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 isTableAvailableWithSplit_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailableWithSplit_argsTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailableWithSplit_argsStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailableWithSplit_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 /** * keys to check if the table has been created with all split keys */ - 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 { /** * the tablename to check */ @@ -42853,7 +45669,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 @@ -42878,7 +45694,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); } @@ -42891,26 +45707,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.REQUIRED, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TTableName.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.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.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(isTableAvailableWithSplit_args.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailableWithSplit_args.class, metaDataMap); } public isTableAvailableWithSplit_args() { @@ -42938,6 +45756,7 @@ public isTableAvailableWithSplit_args(isTableAvailableWithSplit_args other) { } } + @Override public isTableAvailableWithSplit_args deepCopy() { return new isTableAvailableWithSplit_args(this); } @@ -42951,7 +45770,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; } @@ -42959,7 +45778,7 @@ public TTableName getTableName() { /** * the tablename to check */ - public isTableAvailableWithSplit_args setTableName(@org.apache.thrift.annotation.Nullable TTableName tableName) { + public isTableAvailableWithSplit_args setTableName(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TTableName tableName) { this.tableName = tableName; return this; } @@ -42983,7 +45802,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(); } @@ -42998,7 +45817,7 @@ public void addToSplitKeys(java.nio.ByteBuffer elem) { /** * keys to check if the table has been created with all split keys */ - @org.apache.thrift.annotation.Nullable + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable public java.util.List getSplitKeys() { return this.splitKeys; } @@ -43006,7 +45825,7 @@ public java.util.List getSplitKeys() { /** * keys to check if the table has been created with all split keys */ - public isTableAvailableWithSplit_args setSplitKeys(@org.apache.thrift.annotation.Nullable java.util.List splitKeys) { + public isTableAvailableWithSplit_args setSplitKeys(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.util.List splitKeys) { this.splitKeys = splitKeys; return this; } @@ -43026,7 +45845,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 TABLE_NAME: if (value == null) { @@ -43047,7 +45867,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: @@ -43061,6 +45882,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(); @@ -43137,7 +45959,7 @@ public int compareTo(isTableAvailableWithSplit_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; } @@ -43147,7 +45969,7 @@ public int compareTo(isTableAvailableWithSplit_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; } @@ -43155,16 +45977,19 @@ public int compareTo(isTableAvailableWithSplit_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); } @@ -43185,17 +46010,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 (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) { @@ -43205,77 +46030,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 isTableAvailableWithSplit_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailableWithSplit_argsStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailableWithSplit_argsStandardScheme getScheme() { return new isTableAvailableWithSplit_argsStandardScheme(); } } - private static class isTableAvailableWithSplit_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableAvailableWithSplit_argsStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableAvailableWithSplit_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, isTableAvailableWithSplit_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 _list326 = iprot.readListBegin(); - struct.splitKeys = new java.util.ArrayList(_list326.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem327; - for (int _i328 = 0; _i328 < _list326.size; ++_i328) + } + 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: // SPLIT_KEYS + if (schemeField.type == org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.LIST) { { - _elem327 = iprot.readBinary(); - struct.splitKeys.add(_elem327); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list326 = iprot.readListBegin(); + struct.splitKeys = new java.util.ArrayList(_list326.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem327; + for (int _i328 = 0; _i328 < _list326.size; ++_i328) + { + _elem327 = iprot.readBinary(); + struct.splitKeys.add(_elem327); + } + 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, isTableAvailableWithSplit_args struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableAvailableWithSplit_args struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43287,7 +46120,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailableWi 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 _iter329 : struct.splitKeys) { oprot.writeBinary(_iter329); @@ -43302,17 +46135,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailableWi } - private static class isTableAvailableWithSplit_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailableWithSplit_argsTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailableWithSplit_argsTupleScheme getScheme() { return new isTableAvailableWithSplit_argsTupleScheme(); } } - private static class isTableAvailableWithSplit_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableAvailableWithSplit_argsTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWithSplit_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, isTableAvailableWithSplit_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); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSplitKeys()) { @@ -43331,47 +46165,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWit } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWithSplit_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); - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.splitKeys = new java.util.ArrayList(_list331.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem332; - for (int _i333 = 0; _i333 < _list331.size; ++_i333) + public void read(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol prot, isTableAvailableWithSplit_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); + java.util.BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { { - _elem332 = iprot.readBinary(); - struct.splitKeys.add(_elem332); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.splitKeys = new java.util.ArrayList(_list331.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem332; + for (int _i333 = 0; _i333 < _list331.size; ++_i333) + { + _elem332 = iprot.readBinary(); + struct.splitKeys.add(_elem332); + } } + 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 isTableAvailableWithSplit_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("isTableAvailableWithSplit_result"); + @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) + public static class isTableAvailableWithSplit_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("isTableAvailableWithSplit_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 isTableAvailableWithSplit_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailableWithSplit_resultTupleSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isTableAvailableWithSplit_resultStandardSchemeFactory(); + private static final org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isTableAvailableWithSplit_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"); @@ -43386,7 +46226,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 @@ -43411,7 +46251,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); } @@ -43424,10 +46264,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; } @@ -43436,15 +46278,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(isTableAvailableWithSplit_result.class, metaDataMap); + org.apache.hbase.thirdparty.org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableAvailableWithSplit_result.class, metaDataMap); } public isTableAvailableWithSplit_result() { @@ -43471,6 +46313,7 @@ public isTableAvailableWithSplit_result(isTableAvailableWithSplit_result other) } } + @Override public isTableAvailableWithSplit_result deepCopy() { return new isTableAvailableWithSplit_result(this); } @@ -43493,24 +46336,24 @@ public isTableAvailableWithSplit_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 isTableAvailableWithSplit_result setIo(@org.apache.thrift.annotation.Nullable TIOError io) { + public isTableAvailableWithSplit_result setIo(@org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TIOError io) { this.io = io; return this; } @@ -43530,7 +46373,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) { @@ -43551,7 +46395,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: @@ -43565,6 +46410,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(); @@ -43639,7 +46485,7 @@ public int compareTo(isTableAvailableWithSplit_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; } @@ -43649,7 +46495,7 @@ public int compareTo(isTableAvailableWithSplit_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; } @@ -43657,16 +46503,18 @@ public int compareTo(isTableAvailableWithSplit_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); } @@ -43690,15 +46538,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); } } @@ -43707,59 +46555,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 isTableAvailableWithSplit_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailableWithSplit_resultStandardSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailableWithSplit_resultStandardScheme getScheme() { return new isTableAvailableWithSplit_resultStandardScheme(); } } - private static class isTableAvailableWithSplit_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class isTableAvailableWithSplit_resultStandardScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isTableAvailableWithSplit_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, isTableAvailableWithSplit_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, isTableAvailableWithSplit_result struct) throws org.apache.thrift.TException { + @Override + public void write(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TProtocol oprot, isTableAvailableWithSplit_result struct) throws org.apache.hbase.thirdparty.org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -43779,17 +46635,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isTableAvailableWi } - private static class isTableAvailableWithSplit_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + private static class isTableAvailableWithSplit_resultTupleSchemeFactory implements org.apache.hbase.thirdparty.org.apache.thrift.scheme.SchemeFactory { + @Override public isTableAvailableWithSplit_resultTupleScheme getScheme() { return new isTableAvailableWithSplit_resultTupleScheme(); } } - private static class isTableAvailableWithSplit_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class isTableAvailableWithSplit_resultTupleScheme extends org.apache.hbase.thirdparty.org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWithSplit_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, isTableAvailableWithSplit_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); @@ -43807,46 +46664,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWit } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWithSplit_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, isTableAvailableWithSplit_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 */ @@ -43867,7 +46730,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 @@ -43892,7 +46755,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); } @@ -43905,25 +46768,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() { @@ -43950,6 +46815,7 @@ public addColumnFamily_args(addColumnFamily_args other) { } } + @Override public addColumnFamily_args deepCopy() { return new addColumnFamily_args(this); } @@ -43963,7 +46829,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; } @@ -43971,7 +46837,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; } @@ -43994,7 +46860,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; } @@ -44002,7 +46868,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; } @@ -44022,7 +46888,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) { @@ -44043,7 +46910,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: @@ -44057,6 +46925,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(); @@ -44133,7 +47002,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; } @@ -44143,7 +47012,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; } @@ -44151,16 +47020,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); } @@ -44188,13 +47060,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) { @@ -44207,68 +47079,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); @@ -44288,50 +47168,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(); @@ -44345,7 +47232,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 @@ -44368,7 +47255,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); } @@ -44381,23 +47268,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() { @@ -44419,6 +47308,7 @@ public addColumnFamily_result(addColumnFamily_result other) { } } + @Override public addColumnFamily_result deepCopy() { return new addColumnFamily_result(this); } @@ -44428,12 +47318,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; } @@ -44453,7 +47343,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) { @@ -44466,7 +47357,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: @@ -44477,6 +47369,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(); @@ -44538,7 +47431,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; } @@ -44546,16 +47439,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); } @@ -44575,66 +47470,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); @@ -44649,17 +47552,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); @@ -44671,42 +47575,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 */ @@ -44727,7 +47637,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 @@ -44752,7 +47662,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); } @@ -44765,25 +47675,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() { @@ -44795,7 +47707,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); } /** @@ -44806,10 +47718,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); } @@ -44823,7 +47736,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; } @@ -44831,7 +47744,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; } @@ -44855,12 +47768,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); } /** @@ -44871,8 +47784,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; } @@ -44891,7 +47804,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) { @@ -44916,7 +47830,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: @@ -44930,6 +47845,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(); @@ -45006,7 +47922,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; } @@ -45016,7 +47932,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; } @@ -45024,16 +47940,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); } @@ -45054,20 +47973,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) { @@ -45077,67 +47996,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); @@ -45157,49 +48084,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(); @@ -45213,7 +48147,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 @@ -45236,7 +48170,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); } @@ -45249,23 +48183,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() { @@ -45287,6 +48223,7 @@ public deleteColumnFamily_result(deleteColumnFamily_result other) { } } + @Override public deleteColumnFamily_result deepCopy() { return new deleteColumnFamily_result(this); } @@ -45296,12 +48233,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; } @@ -45321,7 +48258,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) { @@ -45334,7 +48272,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: @@ -45345,6 +48284,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(); @@ -45406,7 +48346,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; } @@ -45414,16 +48354,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); } @@ -45443,66 +48385,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); @@ -45517,17 +48467,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); @@ -45539,42 +48490,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 */ @@ -45595,7 +48552,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 @@ -45620,7 +48577,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); } @@ -45633,25 +48590,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() { @@ -45678,6 +48637,7 @@ public modifyColumnFamily_args(modifyColumnFamily_args other) { } } + @Override public modifyColumnFamily_args deepCopy() { return new modifyColumnFamily_args(this); } @@ -45691,7 +48651,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; } @@ -45699,7 +48659,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; } @@ -45722,7 +48682,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; } @@ -45730,7 +48690,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; } @@ -45750,7 +48710,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) { @@ -45771,7 +48732,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: @@ -45785,6 +48747,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(); @@ -45861,7 +48824,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; } @@ -45871,7 +48834,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; } @@ -45879,16 +48842,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); } @@ -45916,13 +48882,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) { @@ -45935,68 +48901,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); @@ -46016,50 +48990,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(); @@ -46073,7 +49054,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 @@ -46096,7 +49077,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); } @@ -46109,23 +49090,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() { @@ -46147,6 +49130,7 @@ public modifyColumnFamily_result(modifyColumnFamily_result other) { } } + @Override public modifyColumnFamily_result deepCopy() { return new modifyColumnFamily_result(this); } @@ -46156,12 +49140,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; } @@ -46181,7 +49165,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) { @@ -46194,7 +49179,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: @@ -46205,6 +49191,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(); @@ -46266,7 +49253,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; } @@ -46274,16 +49261,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); } @@ -46303,66 +49292,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); @@ -46377,17 +49374,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); @@ -46399,37 +49397,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 */ @@ -46446,7 +49450,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 @@ -46469,7 +49473,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); } @@ -46482,23 +49486,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() { @@ -46520,6 +49526,7 @@ public modifyTable_args(modifyTable_args other) { } } + @Override public modifyTable_args deepCopy() { return new modifyTable_args(this); } @@ -46532,7 +49539,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; } @@ -46540,7 +49547,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; } @@ -46560,7 +49567,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) { @@ -46573,7 +49581,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: @@ -46584,6 +49593,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(); @@ -46645,7 +49655,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; } @@ -46653,16 +49663,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); } @@ -46682,10 +49695,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) { @@ -46695,59 +49708,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); @@ -46762,46 +49783,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(); @@ -46815,7 +49843,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 @@ -46838,7 +49866,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); } @@ -46851,23 +49879,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() { @@ -46889,6 +49919,7 @@ public modifyTable_result(modifyTable_result other) { } } + @Override public modifyTable_result deepCopy() { return new modifyTable_result(this); } @@ -46898,12 +49929,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; } @@ -46923,7 +49954,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) { @@ -46936,7 +49968,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: @@ -46947,6 +49980,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(); @@ -47008,7 +50042,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; } @@ -47016,16 +50050,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); } @@ -47045,66 +50081,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); @@ -47119,17 +50163,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); @@ -47141,37 +50186,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 */ @@ -47188,7 +50239,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 @@ -47211,7 +50262,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); } @@ -47224,23 +50275,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() { @@ -47262,6 +50315,7 @@ public createNamespace_args(createNamespace_args other) { } } + @Override public createNamespace_args deepCopy() { return new createNamespace_args(this); } @@ -47274,7 +50328,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; } @@ -47282,7 +50336,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; } @@ -47302,7 +50356,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) { @@ -47315,7 +50370,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: @@ -47326,6 +50382,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(); @@ -47387,7 +50444,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; } @@ -47395,16 +50452,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); } @@ -47424,10 +50484,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) { @@ -47437,59 +50497,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); @@ -47504,46 +50572,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(); @@ -47557,7 +50632,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 @@ -47580,7 +50655,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); } @@ -47593,23 +50668,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() { @@ -47631,6 +50708,7 @@ public createNamespace_result(createNamespace_result other) { } } + @Override public createNamespace_result deepCopy() { return new createNamespace_result(this); } @@ -47640,12 +50718,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; } @@ -47665,7 +50743,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) { @@ -47678,7 +50757,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: @@ -47689,6 +50769,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(); @@ -47750,7 +50831,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; } @@ -47758,16 +50839,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); } @@ -47787,66 +50870,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); @@ -47861,17 +50952,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); @@ -47883,37 +50975,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 */ @@ -47930,7 +51028,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 @@ -47953,7 +51051,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); } @@ -47966,23 +51064,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() { @@ -48004,6 +51104,7 @@ public modifyNamespace_args(modifyNamespace_args other) { } } + @Override public modifyNamespace_args deepCopy() { return new modifyNamespace_args(this); } @@ -48016,7 +51117,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; } @@ -48024,7 +51125,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; } @@ -48044,7 +51145,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) { @@ -48057,7 +51159,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: @@ -48068,6 +51171,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(); @@ -48129,7 +51233,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; } @@ -48137,16 +51241,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); } @@ -48166,10 +51273,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) { @@ -48179,59 +51286,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); @@ -48246,46 +51361,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(); @@ -48299,7 +51421,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 @@ -48322,7 +51444,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); } @@ -48335,23 +51457,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() { @@ -48373,6 +51497,7 @@ public modifyNamespace_result(modifyNamespace_result other) { } } + @Override public modifyNamespace_result deepCopy() { return new modifyNamespace_result(this); } @@ -48382,12 +51507,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; } @@ -48407,7 +51532,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) { @@ -48420,7 +51546,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: @@ -48431,6 +51558,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(); @@ -48492,7 +51620,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; } @@ -48500,16 +51628,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); } @@ -48529,66 +51659,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); @@ -48603,17 +51741,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); @@ -48625,37 +51764,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 */ @@ -48672,7 +51817,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 @@ -48695,7 +51840,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); } @@ -48708,23 +51853,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() { @@ -48746,6 +51893,7 @@ public deleteNamespace_args(deleteNamespace_args other) { } } + @Override public deleteNamespace_args deepCopy() { return new deleteNamespace_args(this); } @@ -48758,7 +51906,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; } @@ -48766,7 +51914,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; } @@ -48786,7 +51934,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) { @@ -48799,7 +51948,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: @@ -48810,6 +51960,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(); @@ -48871,7 +52022,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; } @@ -48879,16 +52030,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); } @@ -48908,68 +52062,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); @@ -48984,45 +52146,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(); @@ -49036,7 +52205,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 @@ -49059,7 +52228,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); } @@ -49072,23 +52241,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() { @@ -49110,6 +52281,7 @@ public deleteNamespace_result(deleteNamespace_result other) { } } + @Override public deleteNamespace_result deepCopy() { return new deleteNamespace_result(this); } @@ -49119,12 +52291,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; } @@ -49144,7 +52316,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) { @@ -49157,7 +52330,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: @@ -49168,6 +52342,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(); @@ -49229,7 +52404,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; } @@ -49237,16 +52412,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); } @@ -49266,66 +52443,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); @@ -49340,17 +52525,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); @@ -49362,37 +52548,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 */ @@ -49409,7 +52601,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 @@ -49432,7 +52624,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); } @@ -49445,23 +52637,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() { @@ -49483,6 +52677,7 @@ public getNamespaceDescriptor_args(getNamespaceDescriptor_args other) { } } + @Override public getNamespaceDescriptor_args deepCopy() { return new getNamespaceDescriptor_args(this); } @@ -49495,7 +52690,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; } @@ -49503,7 +52698,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; } @@ -49523,7 +52718,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) { @@ -49536,7 +52732,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: @@ -49547,6 +52744,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(); @@ -49608,7 +52806,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; } @@ -49616,16 +52814,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); } @@ -49645,68 +52846,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); @@ -49721,47 +52930,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"); @@ -49776,7 +52992,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 @@ -49801,7 +53017,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); } @@ -49814,25 +53030,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() { @@ -49859,6 +53077,7 @@ public getNamespaceDescriptor_result(getNamespaceDescriptor_result other) { } } + @Override public getNamespaceDescriptor_result deepCopy() { return new getNamespaceDescriptor_result(this); } @@ -49869,12 +53088,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; } @@ -49894,12 +53113,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; } @@ -49919,7 +53138,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) { @@ -49940,7 +53160,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: @@ -49954,6 +53175,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(); @@ -50030,7 +53252,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; } @@ -50040,7 +53262,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; } @@ -50048,16 +53270,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); } @@ -50085,7 +53309,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) { @@ -50095,68 +53319,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); @@ -50176,17 +53408,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); @@ -50204,37 +53437,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(); @@ -50248,7 +53487,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: @@ -50269,7 +53508,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); } @@ -50282,19 +53521,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() { @@ -50306,6 +53547,7 @@ public listNamespaceDescriptors_args() { public listNamespaceDescriptors_args(listNamespaceDescriptors_args other) { } + @Override public listNamespaceDescriptors_args deepCopy() { return new listNamespaceDescriptors_args(this); } @@ -50314,12 +53556,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) { } @@ -50327,6 +53571,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(); @@ -50371,16 +53616,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); } @@ -50393,57 +53641,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); @@ -50453,44 +53709,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"); @@ -50505,7 +53768,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 @@ -50530,7 +53793,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); } @@ -50543,26 +53806,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() { @@ -50593,6 +53858,7 @@ public listNamespaceDescriptors_result(listNamespaceDescriptors_result other) { } } + @Override public listNamespaceDescriptors_result deepCopy() { return new listNamespaceDescriptors_result(this); } @@ -50607,7 +53873,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(); } @@ -50619,12 +53885,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; } @@ -50644,12 +53910,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; } @@ -50669,7 +53935,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) { @@ -50690,7 +53957,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: @@ -50704,6 +53972,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(); @@ -50780,7 +54049,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; } @@ -50790,7 +54059,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; } @@ -50798,16 +54067,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); } @@ -50835,92 +54106,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 _list334 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list334.size); - @org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem335; - for (int _i336 = 0; _i336 < _list334.size; ++_i336) + @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) { { - _elem335 = new TNamespaceDescriptor(); - _elem335.read(iprot); - 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 TNamespaceDescriptor _elem335; + for (int _i336 = 0; _i336 < _list334.size; ++_i336) + { + _elem335 = new TNamespaceDescriptor(); + _elem335.read(iprot); + 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, 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 _iter337 : struct.success) { _iter337.write(oprot); @@ -50940,17 +54219,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); @@ -50974,46 +54254,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 _list339 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list339.size); - @org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem340; - for (int _i341 = 0; _i341 < _list339.size; ++_i341) + 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)) { { - _elem340 = new TNamespaceDescriptor(); - _elem340.read(iprot); - 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.STRUCT); + struct.success = new java.util.ArrayList(_list339.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem340; + for (int _i341 = 0; _i341 < _list339.size; ++_i341) + { + _elem340 = new TNamespaceDescriptor(); + _elem340.read(iprot); + 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 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(); @@ -51027,7 +54313,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: @@ -51048,7 +54334,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); } @@ -51061,19 +54347,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() { @@ -51085,6 +54373,7 @@ public listNamespaces_args() { public listNamespaces_args(listNamespaces_args other) { } + @Override public listNamespaces_args deepCopy() { return new listNamespaces_args(this); } @@ -51093,12 +54382,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) { } @@ -51106,6 +54397,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(); @@ -51150,16 +54442,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); } @@ -51172,57 +54467,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); @@ -51232,44 +54535,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"); @@ -51284,7 +54594,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 +54619,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,26 +54632,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() { @@ -51369,6 +54681,7 @@ public listNamespaces_result(listNamespaces_result other) { } } + @Override public listNamespaces_result deepCopy() { return new listNamespaces_result(this); } @@ -51383,7 +54696,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(); } @@ -51395,12 +54708,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; } @@ -51420,12 +54733,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; } @@ -51445,7 +54758,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) { @@ -51466,7 +54780,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: @@ -51480,6 +54795,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(); @@ -51556,7 +54872,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; } @@ -51566,7 +54882,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; } @@ -51574,16 +54890,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); } @@ -51611,91 +54929,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 _list342 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list342.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem343; - for (int _i344 = 0; _i344 < _list342.size; ++_i344) + @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) { { - _elem343 = iprot.readString(); - struct.success.add(_elem343); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list342 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list342.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem343; + for (int _i344 = 0; _i344 < _list342.size; ++_i344) + { + _elem343 = iprot.readString(); + struct.success.add(_elem343); + } + 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 _iter345 : struct.success) { oprot.writeString(_iter345); @@ -51715,17 +55041,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); @@ -51749,45 +55076,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 _list347 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list347.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem348; - for (int _i349 = 0; _i349 < _list347.size; ++_i349) + 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)) { { - _elem348 = iprot.readString(); - struct.success.add(_elem348); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list347 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list347.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable java.lang.String _elem348; + for (int _i349 = 0; _i349 < _list347.size; ++_i349) + { + _elem348 = iprot.readString(); + struct.success.add(_elem348); + } } + 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(); @@ -51801,7 +55134,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: @@ -51822,7 +55155,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); } @@ -51835,19 +55168,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() { @@ -51859,6 +55194,7 @@ public getThriftServerType_args() { public getThriftServerType_args(getThriftServerType_args other) { } + @Override public getThriftServerType_args deepCopy() { return new getThriftServerType_args(this); } @@ -51867,12 +55203,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) { } @@ -51880,6 +55218,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(); @@ -51924,16 +55263,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); } @@ -51946,57 +55288,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); @@ -52006,46 +55356,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 @@ -52063,7 +55420,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 @@ -52086,7 +55443,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); } @@ -52099,23 +55456,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() { @@ -52137,6 +55496,7 @@ public getThriftServerType_result(getThriftServerType_result other) { } } + @Override public getThriftServerType_result deepCopy() { return new getThriftServerType_result(this); } @@ -52150,7 +55510,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; } @@ -52159,7 +55519,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; } @@ -52179,7 +55539,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) { @@ -52192,7 +55553,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: @@ -52203,6 +55565,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(); @@ -52264,7 +55627,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; } @@ -52272,16 +55635,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); } @@ -52301,65 +55666,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); @@ -52374,17 +55747,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); @@ -52396,41 +55770,47 @@ 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 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 */ @@ -52451,7 +55831,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 @@ -52476,7 +55856,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); } @@ -52489,26 +55869,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() { @@ -52539,6 +55921,7 @@ public getSlowLogResponses_args(getSlowLogResponses_args other) { } } + @Override public getSlowLogResponses_args deepCopy() { return new getSlowLogResponses_args(this); } @@ -52553,7 +55936,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(); } @@ -52568,7 +55951,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; } @@ -52576,7 +55959,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; } @@ -52599,7 +55982,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; } @@ -52607,7 +55990,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; } @@ -52627,7 +56010,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) { @@ -52648,7 +56032,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: @@ -52662,6 +56047,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(); @@ -52738,7 +56124,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; } @@ -52748,7 +56134,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; } @@ -52756,16 +56142,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); } @@ -52793,7 +56182,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) { @@ -52803,85 +56192,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 _set350 = iprot.readSetBegin(); - struct.serverNames = new java.util.HashSet(2*_set350.size); - @org.apache.thrift.annotation.Nullable TServerName _elem351; - for (int _i352 = 0; _i352 < _set350.size; ++_i352) + @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) { { - _elem351 = new TServerName(); - _elem351.read(iprot); - struct.serverNames.add(_elem351); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set350 = iprot.readSetBegin(); + struct.serverNames = new java.util.HashSet(2*_set350.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem351; + for (int _i352 = 0; _i352 < _set350.size; ++_i352) + { + _elem351 = new TServerName(); + _elem351.read(iprot); + struct.serverNames.add(_elem351); + } + 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 _iter353 : struct.serverNames) { _iter353.write(oprot); @@ -52901,17 +56298,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); @@ -52935,50 +56333,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 _set355 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.serverNames = new java.util.HashSet(2*_set355.size); - @org.apache.thrift.annotation.Nullable TServerName _elem356; - for (int _i357 = 0; _i357 < _set355.size; ++_i357) + 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)) { { - _elem356 = new TServerName(); - _elem356.read(iprot); - struct.serverNames.add(_elem356); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set355 = iprot.readSetBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.serverNames = new java.util.HashSet(2*_set355.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem356; + for (int _i357 = 0; _i357 < _set355.size; ++_i357) + { + _elem356 = new TServerName(); + _elem356.read(iprot); + struct.serverNames.add(_elem356); + } } + 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"); @@ -52993,7 +56397,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 @@ -53018,7 +56422,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); } @@ -53031,26 +56435,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() { @@ -53081,6 +56487,7 @@ public getSlowLogResponses_result(getSlowLogResponses_result other) { } } + @Override public getSlowLogResponses_result deepCopy() { return new getSlowLogResponses_result(this); } @@ -53095,7 +56502,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(); } @@ -53107,12 +56514,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; } @@ -53132,12 +56539,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; } @@ -53157,7 +56564,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) { @@ -53178,7 +56586,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: @@ -53192,6 +56601,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(); @@ -53268,7 +56678,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; } @@ -53278,7 +56688,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; } @@ -53286,16 +56696,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); } @@ -53323,92 +56735,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 _list358 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list358.size); - @org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem359; - for (int _i360 = 0; _i360 < _list358.size; ++_i360) + @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) { { - _elem359 = new TOnlineLogRecord(); - _elem359.read(iprot); - struct.success.add(_elem359); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list358 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list358.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem359; + for (int _i360 = 0; _i360 < _list358.size; ++_i360) + { + _elem359 = new TOnlineLogRecord(); + _elem359.read(iprot); + struct.success.add(_elem359); + } + 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 _iter361 : struct.success) { _iter361.write(oprot); @@ -53428,17 +56848,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); @@ -53462,51 +56883,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 _list363 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list363.size); - @org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem364; - for (int _i365 = 0; _i365 < _list363.size; ++_i365) + 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)) { { - _elem364 = new TOnlineLogRecord(); - _elem364.read(iprot); - struct.success.add(_elem364); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list363 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list363.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem364; + for (int _i365 = 0; _i365 < _list363.size; ++_i365) + { + _elem364 = new TOnlineLogRecord(); + _elem364.read(iprot); + struct.success.add(_elem364); + } } + 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 */ @@ -53523,7 +56950,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 @@ -53546,7 +56973,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); } @@ -53559,24 +56986,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() { @@ -53602,6 +57031,7 @@ public clearSlowLogResponses_args(clearSlowLogResponses_args other) { } } + @Override public clearSlowLogResponses_args deepCopy() { return new clearSlowLogResponses_args(this); } @@ -53615,7 +57045,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(); } @@ -53630,7 +57060,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; } @@ -53638,7 +57068,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; } @@ -53658,7 +57088,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) { @@ -53671,7 +57102,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: @@ -53682,6 +57114,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(); @@ -53743,7 +57176,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; } @@ -53751,16 +57184,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); } @@ -53780,83 +57216,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 _set366 = iprot.readSetBegin(); - struct.serverNames = new java.util.HashSet(2*_set366.size); - @org.apache.thrift.annotation.Nullable TServerName _elem367; - for (int _i368 = 0; _i368 < _set366.size; ++_i368) + @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) { { - _elem367 = new TServerName(); - _elem367.read(iprot); - struct.serverNames.add(_elem367); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set366 = iprot.readSetBegin(); + struct.serverNames = new java.util.HashSet(2*_set366.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem367; + for (int _i368 = 0; _i368 < _set366.size; ++_i368) + { + _elem367 = new TServerName(); + _elem367.read(iprot); + struct.serverNames.add(_elem367); + } + 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 _iter369 : struct.serverNames) { _iter369.write(oprot); @@ -53871,17 +57315,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); @@ -53899,45 +57344,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 _set371 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.serverNames = new java.util.HashSet(2*_set371.size); - @org.apache.thrift.annotation.Nullable TServerName _elem372; - for (int _i373 = 0; _i373 < _set371.size; ++_i373) + 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)) { { - _elem372 = new TServerName(); - _elem372.read(iprot); - struct.serverNames.add(_elem372); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TSet _set371 = iprot.readSetBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.STRUCT); + struct.serverNames = new java.util.HashSet(2*_set371.size); + @org.apache.hbase.thirdparty.org.apache.thrift.annotation.Nullable TServerName _elem372; + for (int _i373 = 0; _i373 < _set371.size; ++_i373) + { + _elem372 = new TServerName(); + _elem372.read(iprot); + struct.serverNames.add(_elem372); + } } + 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"); @@ -53952,7 +57403,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 @@ -53977,7 +57428,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); } @@ -53990,26 +57441,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() { @@ -54037,6 +57490,7 @@ public clearSlowLogResponses_result(clearSlowLogResponses_result other) { } } + @Override public clearSlowLogResponses_result deepCopy() { return new clearSlowLogResponses_result(this); } @@ -54051,7 +57505,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(); } @@ -54063,12 +57517,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; } @@ -54088,12 +57542,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; } @@ -54113,7 +57567,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) { @@ -54134,7 +57589,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: @@ -54148,6 +57604,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(); @@ -54224,7 +57681,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; } @@ -54234,7 +57691,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; } @@ -54242,16 +57699,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); } @@ -54279,91 +57738,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 _list374 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list374.size); - boolean _elem375; - for (int _i376 = 0; _i376 < _list374.size; ++_i376) + @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) { { - _elem375 = iprot.readBool(); - struct.success.add(_elem375); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list374 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list374.size); + boolean _elem375; + for (int _i376 = 0; _i376 < _list374.size; ++_i376) + { + _elem375 = iprot.readBool(); + struct.success.add(_elem375); + } + 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 _iter377 : struct.success) { oprot.writeBool(_iter377); @@ -54383,17 +57850,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); @@ -54417,45 +57885,51 @@ 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 _list379 = iprot.readListBegin(org.apache.thrift.protocol.TType.BOOL); - struct.success = new java.util.ArrayList(_list379.size); - boolean _elem380; - for (int _i381 = 0; _i381 < _list379.size; ++_i381) + 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)) { { - _elem380 = iprot.readBool(); - struct.success.add(_elem380); + org.apache.hbase.thirdparty.org.apache.thrift.protocol.TList _list379 = iprot.readListBegin(org.apache.hbase.thirdparty.org.apache.thrift.protocol.TType.BOOL); + struct.success = new java.util.ArrayList(_list379.size); + boolean _elem380; + for (int _i381 = 0; _i381 < _list379.size; ++_i381) + { + _elem380 = iprot.readBool(); + struct.success.add(_elem380); + } } + 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 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(); @@ -54469,7 +57943,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: @@ -54490,7 +57964,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); } @@ -54503,19 +57977,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() { @@ -54527,6 +58003,7 @@ public getClusterId_args() { public getClusterId_args(getClusterId_args other) { } + @Override public getClusterId_args deepCopy() { return new getClusterId_args(this); } @@ -54535,12 +58012,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) { } @@ -54548,6 +58027,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(); @@ -54592,16 +58072,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); } @@ -54614,57 +58097,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); @@ -54674,42 +58165,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(); @@ -54723,7 +58221,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 @@ -54746,7 +58244,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); } @@ -54759,23 +58257,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() { @@ -54797,6 +58297,7 @@ public getClusterId_result(getClusterId_result other) { } } + @Override public getClusterId_result deepCopy() { return new getClusterId_result(this); } @@ -54806,12 +58307,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; } @@ -54831,7 +58332,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) { @@ -54844,7 +58346,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: @@ -54855,6 +58358,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(); @@ -54916,7 +58420,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; } @@ -54924,16 +58428,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); } @@ -54953,65 +58459,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); @@ -55026,17 +58540,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); @@ -55048,18 +58563,23 @@ 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(); } } 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 1ba7d4f48b52..c5273b05a140 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-18") -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-24") +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 208cd424358f..aa67f79274cc 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-18") -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-24") +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 22e807ed30d2..7cacf8166220 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-18") -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-24") +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 29446f754c88..91e6803493f9 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-18") -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-24") +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 ec600aef0c91..aeb62ded7845 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-18") -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-24") +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 e538e5c46ae0..720f6fc2a350 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-18") -public enum TKeepDeletedCells implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 0f627742b4eb..bf87918fa640 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-18") -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-24") +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 6786a9272b5c..ef42ff5802b3 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-18") -public enum TLogType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 ff4f6616e813..dafff7f347bd 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-18") -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-24") +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 5955eb3e6bf1..9acfe4762406 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-18") -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-24") +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 fd6d8b6a4e76..f32e81f42dc9 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-18") -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-24") +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/TPut.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPut.java index a1bd2fa024b1..05a303da07c1 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-18") -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-24") +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 82fcfaf6cd95..bd6a5789b7f7 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-18") -public enum TReadType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 9b0cf1169b02..78698f58577a 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-18") -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-24") +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 0934e40b4715..ca88975648dd 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-18") -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-24") +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 cdc8b9774300..788e96039b9f 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-18") -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-24") +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 13fe1ce05156..14aa270ef78c 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-18") -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-24") +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 c6775dd1ac8f..76b15c25e1e8 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-18") -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-24") +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 32e8639b192d..ac9e79497c6c 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-18") -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-24") +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 208bc4a5e1cd..82cc90989dcf 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-18") -public enum TThriftServerType implements org.apache.thrift.TEnum { +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.23.0)", date = "2026-06-24") +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 7868c705358b..3c12288eff6b 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-18") -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-24") +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 cc174cc00840..126ad8185d48 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 @@ -34,14 +34,15 @@ 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.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 1d81a6fc088a..984dbcd109df 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 9e82ac86666e..71d5792cd542 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 @@ -66,10 +66,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; @@ -78,6 +74,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 87c4200bbddf..fd6166e82048 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 fa87b17d5902..59fd28522a39 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 3587872dbae5..61a692d01bfb 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 @@ -62,9 +62,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; @@ -77,6 +74,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 bc0a151c80d0..34c833704eca 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 @@ -117,11 +117,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; @@ -135,6 +130,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 00f674e92c07..20dde2e5b402 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 @@ -50,13 +50,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 874c4d5f0519..6d3680399c45 100644 --- a/pom.xml +++ b/pom.xml @@ -615,7 +615,11 @@ 4.34.0 0.6.1 thrift - 0.14.1 + + 0.23.0 3.8.6 2.11 1.7.33 @@ -674,7 +678,11 @@ databind] must be kept in sync with the version of jackson-jaxrs-json-provider shipped in hbase-thirdparty. --> - 4.1.13 + 4.1.14 + + ${tomcat.jasper.version} 0.8.8 @@ -1284,17 +1292,6 @@ jline ${jline.version} - - org.apache.thrift - libthrift - ${thrift.version} - - - org.apache.tomcat.embed - tomcat-embed-core - - - org.jruby jruby-complete @@ -1568,6 +1565,11 @@ hbase-shaded-protobuf ${hbase-thirdparty.version} + + org.apache.hbase.thirdparty + hbase-shaded-thrift + ${hbase-thirdparty.version} + org.apache.hbase.thirdparty hbase-shaded-jetty @@ -2298,6 +2300,25 @@ + + banned-libthrift + + enforce + + + + + + org.apache.thrift:* + + Do not depend on upstream libthrift. Use the shaded + org.apache.hbase.thirdparty:hbase-shaded-thrift artifact instead, see + HBASE-30194 / HBASE-30195. + true + + + + check-aggregate-license @@ -2370,6 +2391,7 @@ org.apache.commons.collections.** org.apache.commons.collections4.** org.apache.hadoop.thirdparty.** + org.apache.thrift.**