You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2019/06/07 16:44:44 UTC
[accumulo] branch 2.0 updated: Remove accumulo-proxy from main
accumulo build (#1182)
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.0 by this push:
new df55b1a Remove accumulo-proxy from main accumulo build (#1182)
df55b1a is described below
commit df55b1a40a8e891f9a15430c31a6bfbba3f20bf6
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Jun 7 12:44:40 2019 -0400
Remove accumulo-proxy from main accumulo build (#1182)
New home repository is "accumulo-proxy".
---
assemble/conf/accumulo-env.sh | 2 +-
assemble/pom.xml | 5 -
assemble/src/main/assemblies/component.xml | 30 -
pom.xml | 6 -
proxy/.gitignore | 31 -
proxy/pom.xml | 120 -
proxy/proxy.properties | 22 -
proxy/src/main/cpp/AccumuloProxy.cpp | 48566 -------
proxy/src/main/cpp/AccumuloProxy.h | 15433 --
.../src/main/cpp/AccumuloProxy_server.skeleton.cpp | 553 -
proxy/src/main/cpp/proxy_constants.cpp | 33 -
proxy/src/main/cpp/proxy_constants.h | 40 -
proxy/src/main/cpp/proxy_types.cpp | 5074 -
proxy/src/main/cpp/proxy_types.h | 2031 -
.../main/java/org/apache/accumulo/proxy/Proxy.java | 283 -
.../org/apache/accumulo/proxy/ProxyServer.java | 2244 -
.../main/java/org/apache/accumulo/proxy/Util.java | 70 -
.../accumulo/proxy/thrift/AccumuloException.java | 393 -
.../accumulo/proxy/thrift/AccumuloProxy.java | 133906 ------------------
.../proxy/thrift/AccumuloSecurityException.java | 393 -
.../accumulo/proxy/thrift/ActiveCompaction.java | 1457 -
.../apache/accumulo/proxy/thrift/ActiveScan.java | 1626 -
.../accumulo/proxy/thrift/BatchScanOptions.java | 1030 -
.../org/apache/accumulo/proxy/thrift/Column.java | 642 -
.../apache/accumulo/proxy/thrift/ColumnUpdate.java | 967 -
.../accumulo/proxy/thrift/CompactionReason.java | 67 -
.../proxy/thrift/CompactionStrategyConfig.java | 550 -
.../accumulo/proxy/thrift/CompactionType.java | 64 -
.../apache/accumulo/proxy/thrift/Condition.java | 784 -
.../accumulo/proxy/thrift/ConditionalStatus.java | 67 -
.../accumulo/proxy/thrift/ConditionalUpdates.java | 608 -
.../proxy/thrift/ConditionalWriterOptions.java | 865 -
.../apache/accumulo/proxy/thrift/DiskUsage.java | 543 -
.../apache/accumulo/proxy/thrift/Durability.java | 67 -
.../accumulo/proxy/thrift/IteratorScope.java | 61 -
.../accumulo/proxy/thrift/IteratorSetting.java | 755 -
.../java/org/apache/accumulo/proxy/thrift/Key.java | 866 -
.../apache/accumulo/proxy/thrift/KeyExtent.java | 629 -
.../org/apache/accumulo/proxy/thrift/KeyValue.java | 516 -
.../accumulo/proxy/thrift/KeyValueAndPeek.java | 498 -
.../proxy/thrift/MutationsRejectedException.java | 393 -
.../proxy/thrift/NamespaceExistsException.java | 393 -
.../proxy/thrift/NamespaceNotEmptyException.java | 393 -
.../proxy/thrift/NamespaceNotFoundException.java | 393 -
.../accumulo/proxy/thrift/NamespacePermission.java | 79 -
.../proxy/thrift/NoMoreEntriesException.java | 393 -
.../apache/accumulo/proxy/thrift/PartialKey.java | 70 -
.../org/apache/accumulo/proxy/thrift/Range.java | 704 -
.../apache/accumulo/proxy/thrift/ScanColumn.java | 527 -
.../apache/accumulo/proxy/thrift/ScanOptions.java | 980 -
.../apache/accumulo/proxy/thrift/ScanResult.java | 548 -
.../apache/accumulo/proxy/thrift/ScanState.java | 61 -
.../org/apache/accumulo/proxy/thrift/ScanType.java | 58 -
.../accumulo/proxy/thrift/SystemPermission.java | 88 -
.../proxy/thrift/TableExistsException.java | 393 -
.../proxy/thrift/TableNotFoundException.java | 393 -
.../accumulo/proxy/thrift/TablePermission.java | 70 -
.../org/apache/accumulo/proxy/thrift/TimeType.java | 58 -
.../accumulo/proxy/thrift/UnknownScanner.java | 393 -
.../accumulo/proxy/thrift/UnknownWriter.java | 393 -
.../accumulo/proxy/thrift/WriterOptions.java | 800 -
proxy/src/main/python/AccumuloProxy-remote | 824 -
proxy/src/main/python/AccumuloProxy.py | 25443 ----
proxy/src/main/python/__init__.py | 15 -
proxy/src/main/python/constants.py | 28 -
proxy/src/main/python/ttypes.py | 3234 -
proxy/src/main/ruby/accumulo_proxy.rb | 7069 -
proxy/src/main/ruby/proxy_constants.rb | 25 -
proxy/src/main/ruby/proxy_types.rb | 927 -
proxy/src/main/scripts/generate-thrift.sh | 25 -
proxy/src/main/spotbugs/exclude-filter.xml | 26 -
proxy/src/main/thrift/proxy.thrift | 1253 -
.../org/apache/accumulo/proxy/ProxyServerTest.java | 112 -
proxy/src/test/resources/log4j.properties | 26 -
test/pom.xml | 4 -
.../accumulo/test/functional/KerberosProxyIT.java | 634 -
.../accumulo/test/proxy/ProxyDurabilityIT.java | 154 -
.../accumulo/test/proxy/SimpleProxyBase.java | 2861 -
.../apache/accumulo/test/proxy/TBinaryProxyIT.java | 32 -
.../accumulo/test/proxy/TCompactProxyIT.java | 35 -
.../accumulo/test/proxy/TJsonProtocolProxyIT.java | 32 -
.../apache/accumulo/test/proxy/TTupleProxyIT.java | 32 -
.../accumulo/test/proxy/TestProxyClient.java | 210 -
.../apache/accumulo/test/start/KeywordStartIT.java | 3 -
84 files changed, 1 insertion(+), 272480 deletions(-)
diff --git a/assemble/conf/accumulo-env.sh b/assemble/conf/accumulo-env.sh
index 1df973a..d29caac 100644
--- a/assemble/conf/accumulo-env.sh
+++ b/assemble/conf/accumulo-env.sh
@@ -94,7 +94,7 @@ case "$cmd" in
monitor)
JAVA_OPTS=("${JAVA_OPTS[@]}" "-Dlog4j.configuration=log4j-monitor.properties")
;;
- gc|master|proxy|tserver|tracer)
+ gc|master|tserver|tracer)
JAVA_OPTS=("${JAVA_OPTS[@]}" "-Dlog4j.configuration=log4j-service.properties")
;;
*)
diff --git a/assemble/pom.xml b/assemble/pom.xml
index d85ab40..db3e70c 100644
--- a/assemble/pom.xml
+++ b/assemble/pom.xml
@@ -215,11 +215,6 @@
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-proxy</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-server-base</artifactId>
<optional>true</optional>
</dependency>
diff --git a/assemble/src/main/assemblies/component.xml b/assemble/src/main/assemblies/component.xml
index f23a713..a8dee60 100644
--- a/assemble/src/main/assemblies/component.xml
+++ b/assemble/src/main/assemblies/component.xml
@@ -130,36 +130,6 @@
<include>accumulo-client.properties</include>
</includes>
</fileSet>
- <!-- Lift generated thrift proxy code into its own directory -->
- <fileSet>
- <directory>../proxy/target</directory>
- <outputDirectory>lib/proxy</outputDirectory>
- <directoryMode>0755</directoryMode>
- <fileMode>0644</fileMode>
- <includes>
- <include>gen-cpp/**</include>
- <include>gen-py/**</include>
- <include>gen-rb/**</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>../proxy</directory>
- <outputDirectory>conf/templates</outputDirectory>
- <directoryMode>0755</directoryMode>
- <fileMode>0644</fileMode>
- <includes>
- <include>proxy.properties</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>../proxy/src/main/thrift</directory>
- <directoryMode>0755</directoryMode>
- <fileMode>0644</fileMode>
- <outputDirectory>lib/proxy/thrift</outputDirectory>
- <includes>
- <include>*.thrift</include>
- </includes>
- </fileSet>
<fileSet>
<directory>../</directory>
<fileMode>0644</fileMode>
diff --git a/pom.xml b/pom.xml
index b186bb6..ef282e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,6 @@
<module>hadoop-mapreduce</module>
<module>iterator-test-harness</module>
<module>minicluster</module>
- <module>proxy</module>
<module>server/base</module>
<module>server/gc</module>
<module>server/master</module>
@@ -369,11 +368,6 @@
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-proxy</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-server-base</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/proxy/.gitignore b/proxy/.gitignore
deleted file mode 100644
index 9f52895..0000000
--- a/proxy/.gitignore
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Maven ignores
-/target/
-
-# IDE ignores
-/.settings/
-/.project
-/.classpath
-/.pydevproject
-/.idea
-/*.iml
-/nbproject/
-/nbactions.xml
-/nb-configuration.xml
-
-# python ignores
-*.pyc
diff --git a/proxy/pom.xml b/proxy/pom.xml
deleted file mode 100644
index 07d0681..0000000
--- a/proxy/pom.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-project</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>accumulo-proxy</artifactId>
- <name>Apache Accumulo Proxy</name>
- <description>A server for Apache Accumulo that proxies connections from any language supported by Apache Thrift.</description>
- <dependencies>
- <dependency>
- <groupId>com.beust</groupId>
- <artifactId>jcommander</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.auto.service</groupId>
- <artifactId>auto-service</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-minicluster</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-server-base</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-start</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-runtime</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>thrift</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-thrift</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/proxy/proxy.properties b/proxy/proxy.properties
deleted file mode 100644
index 3bb3b28..0000000
--- a/proxy/proxy.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Port to run proxy on
-port=42424
-# Set to true if you wish to use an Mini Accumulo Cluster
-useMiniAccumulo=false
-protocolFactory=org.apache.thrift.protocol.TCompactProtocol$Factory
-tokenClass=org.apache.accumulo.core.client.security.tokens.PasswordToken
-maxFrameSize=16M
diff --git a/proxy/src/main/cpp/AccumuloProxy.cpp b/proxy/src/main/cpp/AccumuloProxy.cpp
deleted file mode 100644
index 0a45a98..0000000
--- a/proxy/src/main/cpp/AccumuloProxy.cpp
+++ /dev/null
@@ -1,48566 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * Autogenerated by Thrift Compiler (0.12.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "AccumuloProxy.h"
-
-namespace accumulo {
-
-
-AccumuloProxy_login_args::~AccumuloProxy_login_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_login_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->principal);
- this->__isset.principal = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->loginProperties.clear();
- uint32_t _size195;
- ::apache::thrift::protocol::TType _ktype196;
- ::apache::thrift::protocol::TType _vtype197;
- xfer += iprot->readMapBegin(_ktype196, _vtype197, _size195);
- uint32_t _i199;
- for (_i199 = 0; _i199 < _size195; ++_i199)
- {
- std::string _key200;
- xfer += iprot->readString(_key200);
- std::string& _val201 = this->loginProperties[_key200];
- xfer += iprot->readString(_val201);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.loginProperties = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_login_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_login_args");
-
- xfer += oprot->writeFieldBegin("principal", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->principal);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("loginProperties", ::apache::thrift::protocol::T_MAP, 2);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->loginProperties.size()));
- std::map<std::string, std::string> ::const_iterator _iter202;
- for (_iter202 = this->loginProperties.begin(); _iter202 != this->loginProperties.end(); ++_iter202)
- {
- xfer += oprot->writeString(_iter202->first);
- xfer += oprot->writeString(_iter202->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_login_pargs::~AccumuloProxy_login_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_login_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_login_pargs");
-
- xfer += oprot->writeFieldBegin("principal", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString((*(this->principal)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("loginProperties", ::apache::thrift::protocol::T_MAP, 2);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->loginProperties)).size()));
- std::map<std::string, std::string> ::const_iterator _iter203;
- for (_iter203 = (*(this->loginProperties)).begin(); _iter203 != (*(this->loginProperties)).end(); ++_iter203)
- {
- xfer += oprot->writeString(_iter203->first);
- xfer += oprot->writeString(_iter203->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_login_result::~AccumuloProxy_login_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_login_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->success);
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_login_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_login_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0);
- xfer += oprot->writeBinary(this->success);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_login_presult::~AccumuloProxy_login_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_login_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary((*(this->success)));
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_addConstraint_args::~AccumuloProxy_addConstraint_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_addConstraint_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->constraintClassName);
- this->__isset.constraintClassName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_addConstraint_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_addConstraint_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("constraintClassName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->constraintClassName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addConstraint_pargs::~AccumuloProxy_addConstraint_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_addConstraint_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_addConstraint_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("constraintClassName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->constraintClassName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addConstraint_result::~AccumuloProxy_addConstraint_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_addConstraint_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->success);
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_addConstraint_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_addConstraint_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_I32, 0);
- xfer += oprot->writeI32(this->success);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addConstraint_presult::~AccumuloProxy_addConstraint_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_addConstraint_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32((*(this->success)));
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_addSplits_args::~AccumuloProxy_addSplits_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_addSplits_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->splits.clear();
- uint32_t _size204;
- ::apache::thrift::protocol::TType _etype207;
- xfer += iprot->readSetBegin(_etype207, _size204);
- uint32_t _i208;
- for (_i208 = 0; _i208 < _size204; ++_i208)
- {
- std::string _elem209;
- xfer += iprot->readBinary(_elem209);
- this->splits.insert(_elem209);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.splits = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_addSplits_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_addSplits_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("splits", ::apache::thrift::protocol::T_SET, 3);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->splits.size()));
- std::set<std::string> ::const_iterator _iter210;
- for (_iter210 = this->splits.begin(); _iter210 != this->splits.end(); ++_iter210)
- {
- xfer += oprot->writeBinary((*_iter210));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addSplits_pargs::~AccumuloProxy_addSplits_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_addSplits_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_addSplits_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("splits", ::apache::thrift::protocol::T_SET, 3);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->splits)).size()));
- std::set<std::string> ::const_iterator _iter211;
- for (_iter211 = (*(this->splits)).begin(); _iter211 != (*(this->splits)).end(); ++_iter211)
- {
- xfer += oprot->writeBinary((*_iter211));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addSplits_result::~AccumuloProxy_addSplits_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_addSplits_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_addSplits_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_addSplits_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_addSplits_presult::~AccumuloProxy_addSplits_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_addSplits_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_attachIterator_args::~AccumuloProxy_attachIterator_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_attachIterator_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->setting.read(iprot);
- this->__isset.setting = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->scopes.clear();
- uint32_t _size212;
- ::apache::thrift::protocol::TType _etype215;
- xfer += iprot->readSetBegin(_etype215, _size212);
- uint32_t _i216;
- for (_i216 = 0; _i216 < _size212; ++_i216)
- {
- IteratorScope::type _elem217;
- int32_t ecast218;
- xfer += iprot->readI32(ecast218);
- _elem217 = (IteratorScope::type)ecast218;
- this->scopes.insert(_elem217);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.scopes = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_attachIterator_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_attachIterator_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setting", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->setting.write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->scopes.size()));
- std::set<IteratorScope::type> ::const_iterator _iter219;
- for (_iter219 = this->scopes.begin(); _iter219 != this->scopes.end(); ++_iter219)
- {
- xfer += oprot->writeI32((int32_t)(*_iter219));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_attachIterator_pargs::~AccumuloProxy_attachIterator_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_attachIterator_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_attachIterator_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setting", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += (*(this->setting)).write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>((*(this->scopes)).size()));
- std::set<IteratorScope::type> ::const_iterator _iter220;
- for (_iter220 = (*(this->scopes)).begin(); _iter220 != (*(this->scopes)).end(); ++_iter220)
- {
- xfer += oprot->writeI32((int32_t)(*_iter220));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_attachIterator_result::~AccumuloProxy_attachIterator_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_attachIterator_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_attachIterator_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_attachIterator_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_attachIterator_presult::~AccumuloProxy_attachIterator_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_attachIterator_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_checkIteratorConflicts_args::~AccumuloProxy_checkIteratorConflicts_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_checkIteratorConflicts_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->setting.read(iprot);
- this->__isset.setting = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->scopes.clear();
- uint32_t _size221;
- ::apache::thrift::protocol::TType _etype224;
- xfer += iprot->readSetBegin(_etype224, _size221);
- uint32_t _i225;
- for (_i225 = 0; _i225 < _size221; ++_i225)
- {
- IteratorScope::type _elem226;
- int32_t ecast227;
- xfer += iprot->readI32(ecast227);
- _elem226 = (IteratorScope::type)ecast227;
- this->scopes.insert(_elem226);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.scopes = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_checkIteratorConflicts_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_checkIteratorConflicts_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setting", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->setting.write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->scopes.size()));
- std::set<IteratorScope::type> ::const_iterator _iter228;
- for (_iter228 = this->scopes.begin(); _iter228 != this->scopes.end(); ++_iter228)
- {
- xfer += oprot->writeI32((int32_t)(*_iter228));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_checkIteratorConflicts_pargs::~AccumuloProxy_checkIteratorConflicts_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_checkIteratorConflicts_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_checkIteratorConflicts_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setting", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += (*(this->setting)).write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>((*(this->scopes)).size()));
- std::set<IteratorScope::type> ::const_iterator _iter229;
- for (_iter229 = (*(this->scopes)).begin(); _iter229 != (*(this->scopes)).end(); ++_iter229)
- {
- xfer += oprot->writeI32((int32_t)(*_iter229));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_checkIteratorConflicts_result::~AccumuloProxy_checkIteratorConflicts_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_checkIteratorConflicts_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_checkIteratorConflicts_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_checkIteratorConflicts_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_checkIteratorConflicts_presult::~AccumuloProxy_checkIteratorConflicts_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_checkIteratorConflicts_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_clearLocatorCache_args::~AccumuloProxy_clearLocatorCache_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_clearLocatorCache_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_clearLocatorCache_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_clearLocatorCache_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_clearLocatorCache_pargs::~AccumuloProxy_clearLocatorCache_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_clearLocatorCache_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_clearLocatorCache_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_clearLocatorCache_result::~AccumuloProxy_clearLocatorCache_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_clearLocatorCache_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_clearLocatorCache_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_clearLocatorCache_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_clearLocatorCache_presult::~AccumuloProxy_clearLocatorCache_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_clearLocatorCache_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_cloneTable_args::~AccumuloProxy_cloneTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_cloneTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->newTableName);
- this->__isset.newTableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->flush);
- this->__isset.flush = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->propertiesToSet.clear();
- uint32_t _size230;
- ::apache::thrift::protocol::TType _ktype231;
- ::apache::thrift::protocol::TType _vtype232;
- xfer += iprot->readMapBegin(_ktype231, _vtype232, _size230);
- uint32_t _i234;
- for (_i234 = 0; _i234 < _size230; ++_i234)
- {
- std::string _key235;
- xfer += iprot->readString(_key235);
- std::string& _val236 = this->propertiesToSet[_key235];
- xfer += iprot->readString(_val236);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.propertiesToSet = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->propertiesToExclude.clear();
- uint32_t _size237;
- ::apache::thrift::protocol::TType _etype240;
- xfer += iprot->readSetBegin(_etype240, _size237);
- uint32_t _i241;
- for (_i241 = 0; _i241 < _size237; ++_i241)
- {
- std::string _elem242;
- xfer += iprot->readString(_elem242);
- this->propertiesToExclude.insert(_elem242);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.propertiesToExclude = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_cloneTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_cloneTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("newTableName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->newTableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("flush", ::apache::thrift::protocol::T_BOOL, 4);
- xfer += oprot->writeBool(this->flush);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("propertiesToSet", ::apache::thrift::protocol::T_MAP, 5);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->propertiesToSet.size()));
- std::map<std::string, std::string> ::const_iterator _iter243;
- for (_iter243 = this->propertiesToSet.begin(); _iter243 != this->propertiesToSet.end(); ++_iter243)
- {
- xfer += oprot->writeString(_iter243->first);
- xfer += oprot->writeString(_iter243->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("propertiesToExclude", ::apache::thrift::protocol::T_SET, 6);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->propertiesToExclude.size()));
- std::set<std::string> ::const_iterator _iter244;
- for (_iter244 = this->propertiesToExclude.begin(); _iter244 != this->propertiesToExclude.end(); ++_iter244)
- {
- xfer += oprot->writeString((*_iter244));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cloneTable_pargs::~AccumuloProxy_cloneTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_cloneTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_cloneTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("newTableName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->newTableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("flush", ::apache::thrift::protocol::T_BOOL, 4);
- xfer += oprot->writeBool((*(this->flush)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("propertiesToSet", ::apache::thrift::protocol::T_MAP, 5);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->propertiesToSet)).size()));
- std::map<std::string, std::string> ::const_iterator _iter245;
- for (_iter245 = (*(this->propertiesToSet)).begin(); _iter245 != (*(this->propertiesToSet)).end(); ++_iter245)
- {
- xfer += oprot->writeString(_iter245->first);
- xfer += oprot->writeString(_iter245->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("propertiesToExclude", ::apache::thrift::protocol::T_SET, 6);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->propertiesToExclude)).size()));
- std::set<std::string> ::const_iterator _iter246;
- for (_iter246 = (*(this->propertiesToExclude)).begin(); _iter246 != (*(this->propertiesToExclude)).end(); ++_iter246)
- {
- xfer += oprot->writeString((*_iter246));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cloneTable_result::~AccumuloProxy_cloneTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_cloneTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_cloneTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_cloneTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch4) {
- xfer += oprot->writeFieldBegin("ouch4", ::apache::thrift::protocol::T_STRUCT, 4);
- xfer += this->ouch4.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cloneTable_presult::~AccumuloProxy_cloneTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_cloneTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_compactTable_args::~AccumuloProxy_compactTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_compactTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->startRow);
- this->__isset.startRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->endRow);
- this->__isset.endRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->iterators.clear();
- uint32_t _size247;
- ::apache::thrift::protocol::TType _etype250;
- xfer += iprot->readListBegin(_etype250, _size247);
- this->iterators.resize(_size247);
- uint32_t _i251;
- for (_i251 = 0; _i251 < _size247; ++_i251)
- {
- xfer += this->iterators[_i251].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.iterators = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->flush);
- this->__isset.flush = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->wait);
- this->__isset.wait = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 8:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->compactionStrategy.read(iprot);
- this->__isset.compactionStrategy = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_compactTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_compactTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary(this->startRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary(this->endRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iterators", ::apache::thrift::protocol::T_LIST, 5);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->iterators.size()));
- std::vector<IteratorSetting> ::const_iterator _iter252;
- for (_iter252 = this->iterators.begin(); _iter252 != this->iterators.end(); ++_iter252)
- {
- xfer += (*_iter252).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("flush", ::apache::thrift::protocol::T_BOOL, 6);
- xfer += oprot->writeBool(this->flush);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 7);
- xfer += oprot->writeBool(this->wait);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("compactionStrategy", ::apache::thrift::protocol::T_STRUCT, 8);
- xfer += this->compactionStrategy.write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_compactTable_pargs::~AccumuloProxy_compactTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_compactTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_compactTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary((*(this->startRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary((*(this->endRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iterators", ::apache::thrift::protocol::T_LIST, 5);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->iterators)).size()));
- std::vector<IteratorSetting> ::const_iterator _iter253;
- for (_iter253 = (*(this->iterators)).begin(); _iter253 != (*(this->iterators)).end(); ++_iter253)
- {
- xfer += (*_iter253).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("flush", ::apache::thrift::protocol::T_BOOL, 6);
- xfer += oprot->writeBool((*(this->flush)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 7);
- xfer += oprot->writeBool((*(this->wait)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("compactionStrategy", ::apache::thrift::protocol::T_STRUCT, 8);
- xfer += (*(this->compactionStrategy)).write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_compactTable_result::~AccumuloProxy_compactTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_compactTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_compactTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_compactTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_compactTable_presult::~AccumuloProxy_compactTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_compactTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_cancelCompaction_args::~AccumuloProxy_cancelCompaction_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_cancelCompaction_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_cancelCompaction_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_cancelCompaction_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cancelCompaction_pargs::~AccumuloProxy_cancelCompaction_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_cancelCompaction_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_cancelCompaction_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cancelCompaction_result::~AccumuloProxy_cancelCompaction_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_cancelCompaction_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_cancelCompaction_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_cancelCompaction_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_cancelCompaction_presult::~AccumuloProxy_cancelCompaction_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_cancelCompaction_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_createTable_args::~AccumuloProxy_createTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_createTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->versioningIter);
- this->__isset.versioningIter = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast254;
- xfer += iprot->readI32(ecast254);
- this->type = (TimeType::type)ecast254;
- this->__isset.type = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_createTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_createTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("versioningIter", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool(this->versioningIter);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)this->type);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_createTable_pargs::~AccumuloProxy_createTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_createTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_createTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("versioningIter", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool((*(this->versioningIter)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)(*(this->type)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_createTable_result::~AccumuloProxy_createTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_createTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_createTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_createTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_createTable_presult::~AccumuloProxy_createTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_createTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_deleteTable_args::~AccumuloProxy_deleteTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_deleteTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteTable_pargs::~AccumuloProxy_deleteTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteTable_result::~AccumuloProxy_deleteTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_deleteTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteTable_presult::~AccumuloProxy_deleteTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_deleteRows_args::~AccumuloProxy_deleteRows_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteRows_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->startRow);
- this->__isset.startRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->endRow);
- this->__isset.endRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_deleteRows_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteRows_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary(this->startRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary(this->endRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteRows_pargs::~AccumuloProxy_deleteRows_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteRows_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteRows_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary((*(this->startRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary((*(this->endRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteRows_result::~AccumuloProxy_deleteRows_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteRows_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_deleteRows_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_deleteRows_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_deleteRows_presult::~AccumuloProxy_deleteRows_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_deleteRows_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_exportTable_args::~AccumuloProxy_exportTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_exportTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->exportDir);
- this->__isset.exportDir = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_exportTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_exportTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("exportDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->exportDir);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_exportTable_pargs::~AccumuloProxy_exportTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_exportTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_exportTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("exportDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->exportDir)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_exportTable_result::~AccumuloProxy_exportTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_exportTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_exportTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_exportTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_exportTable_presult::~AccumuloProxy_exportTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_exportTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_flushTable_args::~AccumuloProxy_flushTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_flushTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->startRow);
- this->__isset.startRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->endRow);
- this->__isset.endRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->wait);
- this->__isset.wait = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_flushTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_flushTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary(this->startRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary(this->endRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool(this->wait);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_flushTable_pargs::~AccumuloProxy_flushTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_flushTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_flushTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary((*(this->startRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary((*(this->endRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool((*(this->wait)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_flushTable_result::~AccumuloProxy_flushTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_flushTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_flushTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_flushTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_flushTable_presult::~AccumuloProxy_flushTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_flushTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_getDiskUsage_args::~AccumuloProxy_getDiskUsage_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_getDiskUsage_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->tables.clear();
- uint32_t _size255;
- ::apache::thrift::protocol::TType _etype258;
- xfer += iprot->readSetBegin(_etype258, _size255);
- uint32_t _i259;
- for (_i259 = 0; _i259 < _size255; ++_i259)
- {
- std::string _elem260;
- xfer += iprot->readString(_elem260);
- this->tables.insert(_elem260);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.tables = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getDiskUsage_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getDiskUsage_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_SET, 2);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tables.size()));
- std::set<std::string> ::const_iterator _iter261;
- for (_iter261 = this->tables.begin(); _iter261 != this->tables.end(); ++_iter261)
- {
- xfer += oprot->writeString((*_iter261));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getDiskUsage_pargs::~AccumuloProxy_getDiskUsage_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_getDiskUsage_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getDiskUsage_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_SET, 2);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->tables)).size()));
- std::set<std::string> ::const_iterator _iter262;
- for (_iter262 = (*(this->tables)).begin(); _iter262 != (*(this->tables)).end(); ++_iter262)
- {
- xfer += oprot->writeString((*_iter262));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getDiskUsage_result::~AccumuloProxy_getDiskUsage_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_getDiskUsage_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size263;
- ::apache::thrift::protocol::TType _etype266;
- xfer += iprot->readListBegin(_etype266, _size263);
- this->success.resize(_size263);
- uint32_t _i267;
- for (_i267 = 0; _i267 < _size263; ++_i267)
- {
- xfer += this->success[_i267].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getDiskUsage_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_getDiskUsage_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<DiskUsage> ::const_iterator _iter268;
- for (_iter268 = this->success.begin(); _iter268 != this->success.end(); ++_iter268)
- {
- xfer += (*_iter268).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getDiskUsage_presult::~AccumuloProxy_getDiskUsage_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_getDiskUsage_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size269;
- ::apache::thrift::protocol::TType _etype272;
- xfer += iprot->readListBegin(_etype272, _size269);
- (*(this->success)).resize(_size269);
- uint32_t _i273;
- for (_i273 = 0; _i273 < _size269; ++_i273)
- {
- xfer += (*(this->success))[_i273].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_getLocalityGroups_args::~AccumuloProxy_getLocalityGroups_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_getLocalityGroups_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getLocalityGroups_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getLocalityGroups_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getLocalityGroups_pargs::~AccumuloProxy_getLocalityGroups_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_getLocalityGroups_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getLocalityGroups_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getLocalityGroups_result::~AccumuloProxy_getLocalityGroups_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_getLocalityGroups_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->success.clear();
- uint32_t _size274;
- ::apache::thrift::protocol::TType _ktype275;
- ::apache::thrift::protocol::TType _vtype276;
- xfer += iprot->readMapBegin(_ktype275, _vtype276, _size274);
- uint32_t _i278;
- for (_i278 = 0; _i278 < _size274; ++_i278)
- {
- std::string _key279;
- xfer += iprot->readString(_key279);
- std::set<std::string> & _val280 = this->success[_key279];
- {
- _val280.clear();
- uint32_t _size281;
- ::apache::thrift::protocol::TType _etype284;
- xfer += iprot->readSetBegin(_etype284, _size281);
- uint32_t _i285;
- for (_i285 = 0; _i285 < _size281; ++_i285)
- {
- std::string _elem286;
- xfer += iprot->readString(_elem286);
- _val280.insert(_elem286);
- }
- xfer += iprot->readSetEnd();
- }
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getLocalityGroups_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_getLocalityGroups_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_SET, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::set<std::string> > ::const_iterator _iter287;
- for (_iter287 = this->success.begin(); _iter287 != this->success.end(); ++_iter287)
- {
- xfer += oprot->writeString(_iter287->first);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(_iter287->second.size()));
- std::set<std::string> ::const_iterator _iter288;
- for (_iter288 = _iter287->second.begin(); _iter288 != _iter287->second.end(); ++_iter288)
- {
- xfer += oprot->writeString((*_iter288));
- }
- xfer += oprot->writeSetEnd();
- }
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getLocalityGroups_presult::~AccumuloProxy_getLocalityGroups_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_getLocalityGroups_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- (*(this->success)).clear();
- uint32_t _size289;
- ::apache::thrift::protocol::TType _ktype290;
- ::apache::thrift::protocol::TType _vtype291;
- xfer += iprot->readMapBegin(_ktype290, _vtype291, _size289);
- uint32_t _i293;
- for (_i293 = 0; _i293 < _size289; ++_i293)
- {
- std::string _key294;
- xfer += iprot->readString(_key294);
- std::set<std::string> & _val295 = (*(this->success))[_key294];
- {
- _val295.clear();
- uint32_t _size296;
- ::apache::thrift::protocol::TType _etype299;
- xfer += iprot->readSetBegin(_etype299, _size296);
- uint32_t _i300;
- for (_i300 = 0; _i300 < _size296; ++_i300)
- {
- std::string _elem301;
- xfer += iprot->readString(_elem301);
- _val295.insert(_elem301);
- }
- xfer += iprot->readSetEnd();
- }
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_getIteratorSetting_args::~AccumuloProxy_getIteratorSetting_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_getIteratorSetting_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->iteratorName);
- this->__isset.iteratorName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast302;
- xfer += iprot->readI32(ecast302);
- this->scope = (IteratorScope::type)ecast302;
- this->__isset.scope = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getIteratorSetting_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getIteratorSetting_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iteratorName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->iteratorName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scope", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)this->scope);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getIteratorSetting_pargs::~AccumuloProxy_getIteratorSetting_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_getIteratorSetting_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getIteratorSetting_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iteratorName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->iteratorName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scope", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)(*(this->scope)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getIteratorSetting_result::~AccumuloProxy_getIteratorSetting_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_getIteratorSetting_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->success.read(iprot);
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getIteratorSetting_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_getIteratorSetting_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
- xfer += this->success.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getIteratorSetting_presult::~AccumuloProxy_getIteratorSetting_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_getIteratorSetting_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += (*(this->success)).read(iprot);
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_getMaxRow_args::~AccumuloProxy_getMaxRow_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_getMaxRow_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->auths.clear();
- uint32_t _size303;
- ::apache::thrift::protocol::TType _etype306;
- xfer += iprot->readSetBegin(_etype306, _size303);
- uint32_t _i307;
- for (_i307 = 0; _i307 < _size303; ++_i307)
- {
- std::string _elem308;
- xfer += iprot->readBinary(_elem308);
- this->auths.insert(_elem308);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.auths = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->startRow);
- this->__isset.startRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->startInclusive);
- this->__isset.startInclusive = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->endRow);
- this->__isset.endRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->endInclusive);
- this->__isset.endInclusive = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getMaxRow_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getMaxRow_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("auths", ::apache::thrift::protocol::T_SET, 3);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->auths.size()));
- std::set<std::string> ::const_iterator _iter309;
- for (_iter309 = this->auths.begin(); _iter309 != this->auths.end(); ++_iter309)
- {
- xfer += oprot->writeBinary((*_iter309));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary(this->startRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startInclusive", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool(this->startInclusive);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 6);
- xfer += oprot->writeBinary(this->endRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endInclusive", ::apache::thrift::protocol::T_BOOL, 7);
- xfer += oprot->writeBool(this->endInclusive);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getMaxRow_pargs::~AccumuloProxy_getMaxRow_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_getMaxRow_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getMaxRow_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("auths", ::apache::thrift::protocol::T_SET, 3);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->auths)).size()));
- std::set<std::string> ::const_iterator _iter310;
- for (_iter310 = (*(this->auths)).begin(); _iter310 != (*(this->auths)).end(); ++_iter310)
- {
- xfer += oprot->writeBinary((*_iter310));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary((*(this->startRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startInclusive", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool((*(this->startInclusive)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 6);
- xfer += oprot->writeBinary((*(this->endRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endInclusive", ::apache::thrift::protocol::T_BOOL, 7);
- xfer += oprot->writeBool((*(this->endInclusive)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getMaxRow_result::~AccumuloProxy_getMaxRow_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_getMaxRow_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->success);
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getMaxRow_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_getMaxRow_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0);
- xfer += oprot->writeBinary(this->success);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getMaxRow_presult::~AccumuloProxy_getMaxRow_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_getMaxRow_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary((*(this->success)));
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_getTableProperties_args::~AccumuloProxy_getTableProperties_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_getTableProperties_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getTableProperties_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getTableProperties_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getTableProperties_pargs::~AccumuloProxy_getTableProperties_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_getTableProperties_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_getTableProperties_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getTableProperties_result::~AccumuloProxy_getTableProperties_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_getTableProperties_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->success.clear();
- uint32_t _size311;
- ::apache::thrift::protocol::TType _ktype312;
- ::apache::thrift::protocol::TType _vtype313;
- xfer += iprot->readMapBegin(_ktype312, _vtype313, _size311);
- uint32_t _i315;
- for (_i315 = 0; _i315 < _size311; ++_i315)
- {
- std::string _key316;
- xfer += iprot->readString(_key316);
- std::string& _val317 = this->success[_key316];
- xfer += iprot->readString(_val317);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_getTableProperties_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_getTableProperties_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::string> ::const_iterator _iter318;
- for (_iter318 = this->success.begin(); _iter318 != this->success.end(); ++_iter318)
- {
- xfer += oprot->writeString(_iter318->first);
- xfer += oprot->writeString(_iter318->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_getTableProperties_presult::~AccumuloProxy_getTableProperties_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_getTableProperties_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- (*(this->success)).clear();
- uint32_t _size319;
- ::apache::thrift::protocol::TType _ktype320;
- ::apache::thrift::protocol::TType _vtype321;
- xfer += iprot->readMapBegin(_ktype320, _vtype321, _size319);
- uint32_t _i323;
- for (_i323 = 0; _i323 < _size319; ++_i323)
- {
- std::string _key324;
- xfer += iprot->readString(_key324);
- std::string& _val325 = (*(this->success))[_key324];
- xfer += iprot->readString(_val325);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_importDirectory_args::~AccumuloProxy_importDirectory_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_importDirectory_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->importDir);
- this->__isset.importDir = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->failureDir);
- this->__isset.failureDir = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->setTime);
- this->__isset.setTime = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_importDirectory_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_importDirectory_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("importDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->importDir);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("failureDir", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->failureDir);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setTime", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool(this->setTime);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importDirectory_pargs::~AccumuloProxy_importDirectory_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_importDirectory_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_importDirectory_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("importDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->importDir)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("failureDir", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString((*(this->failureDir)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("setTime", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool((*(this->setTime)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importDirectory_result::~AccumuloProxy_importDirectory_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_importDirectory_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_importDirectory_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_importDirectory_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch4) {
- xfer += oprot->writeFieldBegin("ouch4", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch4.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importDirectory_presult::~AccumuloProxy_importDirectory_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_importDirectory_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_importTable_args::~AccumuloProxy_importTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_importTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->importDir);
- this->__isset.importDir = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_importTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_importTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("importDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->importDir);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importTable_pargs::~AccumuloProxy_importTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_importTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_importTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("importDir", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->importDir)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importTable_result::~AccumuloProxy_importTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_importTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_importTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_importTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_importTable_presult::~AccumuloProxy_importTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_importTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_listSplits_args::~AccumuloProxy_listSplits_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_listSplits_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->maxSplits);
- this->__isset.maxSplits = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listSplits_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listSplits_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("maxSplits", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32(this->maxSplits);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listSplits_pargs::~AccumuloProxy_listSplits_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_listSplits_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listSplits_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("maxSplits", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32((*(this->maxSplits)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listSplits_result::~AccumuloProxy_listSplits_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_listSplits_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size326;
- ::apache::thrift::protocol::TType _etype329;
- xfer += iprot->readListBegin(_etype329, _size326);
- this->success.resize(_size326);
- uint32_t _i330;
- for (_i330 = 0; _i330 < _size326; ++_i330)
- {
- xfer += iprot->readBinary(this->success[_i330]);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listSplits_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_listSplits_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter331;
- for (_iter331 = this->success.begin(); _iter331 != this->success.end(); ++_iter331)
- {
- xfer += oprot->writeBinary((*_iter331));
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listSplits_presult::~AccumuloProxy_listSplits_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_listSplits_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size332;
- ::apache::thrift::protocol::TType _etype335;
- xfer += iprot->readListBegin(_etype335, _size332);
- (*(this->success)).resize(_size332);
- uint32_t _i336;
- for (_i336 = 0; _i336 < _size332; ++_i336)
- {
- xfer += iprot->readBinary((*(this->success))[_i336]);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_listTables_args::~AccumuloProxy_listTables_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_listTables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listTables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listTables_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listTables_pargs::~AccumuloProxy_listTables_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_listTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listTables_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listTables_result::~AccumuloProxy_listTables_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_listTables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->success.clear();
- uint32_t _size337;
- ::apache::thrift::protocol::TType _etype340;
- xfer += iprot->readSetBegin(_etype340, _size337);
- uint32_t _i341;
- for (_i341 = 0; _i341 < _size337; ++_i341)
- {
- std::string _elem342;
- xfer += iprot->readString(_elem342);
- this->success.insert(_elem342);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listTables_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_listTables_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_SET, 0);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::set<std::string> ::const_iterator _iter343;
- for (_iter343 = this->success.begin(); _iter343 != this->success.end(); ++_iter343)
- {
- xfer += oprot->writeString((*_iter343));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listTables_presult::~AccumuloProxy_listTables_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_listTables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- (*(this->success)).clear();
- uint32_t _size344;
- ::apache::thrift::protocol::TType _etype347;
- xfer += iprot->readSetBegin(_etype347, _size344);
- uint32_t _i348;
- for (_i348 = 0; _i348 < _size344; ++_i348)
- {
- std::string _elem349;
- xfer += iprot->readString(_elem349);
- (*(this->success)).insert(_elem349);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_listIterators_args::~AccumuloProxy_listIterators_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_listIterators_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listIterators_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listIterators_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listIterators_pargs::~AccumuloProxy_listIterators_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_listIterators_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listIterators_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listIterators_result::~AccumuloProxy_listIterators_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_listIterators_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->success.clear();
- uint32_t _size350;
- ::apache::thrift::protocol::TType _ktype351;
- ::apache::thrift::protocol::TType _vtype352;
- xfer += iprot->readMapBegin(_ktype351, _vtype352, _size350);
- uint32_t _i354;
- for (_i354 = 0; _i354 < _size350; ++_i354)
- {
- std::string _key355;
- xfer += iprot->readString(_key355);
- std::set<IteratorScope::type> & _val356 = this->success[_key355];
- {
- _val356.clear();
- uint32_t _size357;
- ::apache::thrift::protocol::TType _etype360;
- xfer += iprot->readSetBegin(_etype360, _size357);
- uint32_t _i361;
- for (_i361 = 0; _i361 < _size357; ++_i361)
- {
- IteratorScope::type _elem362;
- int32_t ecast363;
- xfer += iprot->readI32(ecast363);
- _elem362 = (IteratorScope::type)ecast363;
- _val356.insert(_elem362);
- }
- xfer += iprot->readSetEnd();
- }
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listIterators_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_listIterators_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_SET, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::set<IteratorScope::type> > ::const_iterator _iter364;
- for (_iter364 = this->success.begin(); _iter364 != this->success.end(); ++_iter364)
- {
- xfer += oprot->writeString(_iter364->first);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(_iter364->second.size()));
- std::set<IteratorScope::type> ::const_iterator _iter365;
- for (_iter365 = _iter364->second.begin(); _iter365 != _iter364->second.end(); ++_iter365)
- {
- xfer += oprot->writeI32((int32_t)(*_iter365));
- }
- xfer += oprot->writeSetEnd();
- }
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listIterators_presult::~AccumuloProxy_listIterators_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_listIterators_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- (*(this->success)).clear();
- uint32_t _size366;
- ::apache::thrift::protocol::TType _ktype367;
- ::apache::thrift::protocol::TType _vtype368;
- xfer += iprot->readMapBegin(_ktype367, _vtype368, _size366);
- uint32_t _i370;
- for (_i370 = 0; _i370 < _size366; ++_i370)
- {
- std::string _key371;
- xfer += iprot->readString(_key371);
- std::set<IteratorScope::type> & _val372 = (*(this->success))[_key371];
- {
- _val372.clear();
- uint32_t _size373;
- ::apache::thrift::protocol::TType _etype376;
- xfer += iprot->readSetBegin(_etype376, _size373);
- uint32_t _i377;
- for (_i377 = 0; _i377 < _size373; ++_i377)
- {
- IteratorScope::type _elem378;
- int32_t ecast379;
- xfer += iprot->readI32(ecast379);
- _elem378 = (IteratorScope::type)ecast379;
- _val372.insert(_elem378);
- }
- xfer += iprot->readSetEnd();
- }
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_listConstraints_args::~AccumuloProxy_listConstraints_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_listConstraints_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listConstraints_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listConstraints_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listConstraints_pargs::~AccumuloProxy_listConstraints_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_listConstraints_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_listConstraints_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listConstraints_result::~AccumuloProxy_listConstraints_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_listConstraints_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->success.clear();
- uint32_t _size380;
- ::apache::thrift::protocol::TType _ktype381;
- ::apache::thrift::protocol::TType _vtype382;
- xfer += iprot->readMapBegin(_ktype381, _vtype382, _size380);
- uint32_t _i384;
- for (_i384 = 0; _i384 < _size380; ++_i384)
- {
- std::string _key385;
- xfer += iprot->readString(_key385);
- int32_t& _val386 = this->success[_key385];
- xfer += iprot->readI32(_val386);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_listConstraints_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_listConstraints_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, int32_t> ::const_iterator _iter387;
- for (_iter387 = this->success.begin(); _iter387 != this->success.end(); ++_iter387)
- {
- xfer += oprot->writeString(_iter387->first);
- xfer += oprot->writeI32(_iter387->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_listConstraints_presult::~AccumuloProxy_listConstraints_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_listConstraints_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- (*(this->success)).clear();
- uint32_t _size388;
- ::apache::thrift::protocol::TType _ktype389;
- ::apache::thrift::protocol::TType _vtype390;
- xfer += iprot->readMapBegin(_ktype389, _vtype390, _size388);
- uint32_t _i392;
- for (_i392 = 0; _i392 < _size388; ++_i392)
- {
- std::string _key393;
- xfer += iprot->readString(_key393);
- int32_t& _val394 = (*(this->success))[_key393];
- xfer += iprot->readI32(_val394);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_mergeTablets_args::~AccumuloProxy_mergeTablets_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_mergeTablets_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->startRow);
- this->__isset.startRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->endRow);
- this->__isset.endRow = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_mergeTablets_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_mergeTablets_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary(this->startRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary(this->endRow);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_mergeTablets_pargs::~AccumuloProxy_mergeTablets_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_mergeTablets_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_mergeTablets_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeBinary((*(this->startRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("endRow", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeBinary((*(this->endRow)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_mergeTablets_result::~AccumuloProxy_mergeTablets_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_mergeTablets_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_mergeTablets_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_mergeTablets_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_mergeTablets_presult::~AccumuloProxy_mergeTablets_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_mergeTablets_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_offlineTable_args::~AccumuloProxy_offlineTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_offlineTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->wait);
- this->__isset.wait = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_offlineTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_offlineTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool(this->wait);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_offlineTable_pargs::~AccumuloProxy_offlineTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_offlineTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_offlineTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool((*(this->wait)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_offlineTable_result::~AccumuloProxy_offlineTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_offlineTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_offlineTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_offlineTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_offlineTable_presult::~AccumuloProxy_offlineTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_offlineTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_onlineTable_args::~AccumuloProxy_onlineTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_onlineTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->wait);
- this->__isset.wait = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_onlineTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_onlineTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool(this->wait);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_onlineTable_pargs::~AccumuloProxy_onlineTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_onlineTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_onlineTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("wait", ::apache::thrift::protocol::T_BOOL, 3);
- xfer += oprot->writeBool((*(this->wait)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_onlineTable_result::~AccumuloProxy_onlineTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_onlineTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_onlineTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_onlineTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_onlineTable_presult::~AccumuloProxy_onlineTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_onlineTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_removeConstraint_args::~AccumuloProxy_removeConstraint_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeConstraint_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->constraint);
- this->__isset.constraint = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeConstraint_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeConstraint_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("constraint", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32(this->constraint);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeConstraint_pargs::~AccumuloProxy_removeConstraint_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeConstraint_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeConstraint_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("constraint", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32((*(this->constraint)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeConstraint_result::~AccumuloProxy_removeConstraint_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeConstraint_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeConstraint_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_removeConstraint_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeConstraint_presult::~AccumuloProxy_removeConstraint_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeConstraint_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_removeIterator_args::~AccumuloProxy_removeIterator_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeIterator_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->iterName);
- this->__isset.iterName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_SET) {
- {
- this->scopes.clear();
- uint32_t _size395;
- ::apache::thrift::protocol::TType _etype398;
- xfer += iprot->readSetBegin(_etype398, _size395);
- uint32_t _i399;
- for (_i399 = 0; _i399 < _size395; ++_i399)
- {
- IteratorScope::type _elem400;
- int32_t ecast401;
- xfer += iprot->readI32(ecast401);
- _elem400 = (IteratorScope::type)ecast401;
- this->scopes.insert(_elem400);
- }
- xfer += iprot->readSetEnd();
- }
- this->__isset.scopes = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeIterator_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeIterator_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iterName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->iterName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->scopes.size()));
- std::set<IteratorScope::type> ::const_iterator _iter402;
- for (_iter402 = this->scopes.begin(); _iter402 != this->scopes.end(); ++_iter402)
- {
- xfer += oprot->writeI32((int32_t)(*_iter402));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeIterator_pargs::~AccumuloProxy_removeIterator_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeIterator_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeIterator_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("iterName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->iterName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("scopes", ::apache::thrift::protocol::T_SET, 4);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>((*(this->scopes)).size()));
- std::set<IteratorScope::type> ::const_iterator _iter403;
- for (_iter403 = (*(this->scopes)).begin(); _iter403 != (*(this->scopes)).end(); ++_iter403)
- {
- xfer += oprot->writeI32((int32_t)(*_iter403));
- }
- xfer += oprot->writeSetEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeIterator_result::~AccumuloProxy_removeIterator_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeIterator_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeIterator_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_removeIterator_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeIterator_presult::~AccumuloProxy_removeIterator_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeIterator_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_removeTableProperty_args::~AccumuloProxy_removeTableProperty_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeTableProperty_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->property);
- this->__isset.property = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeTableProperty_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeTableProperty_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("property", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->property);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeTableProperty_pargs::~AccumuloProxy_removeTableProperty_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeTableProperty_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_removeTableProperty_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("property", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->property)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeTableProperty_result::~AccumuloProxy_removeTableProperty_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeTableProperty_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_removeTableProperty_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_removeTableProperty_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_removeTableProperty_presult::~AccumuloProxy_removeTableProperty_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_removeTableProperty_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_renameTable_args::~AccumuloProxy_renameTable_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_renameTable_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->oldTableName);
- this->__isset.oldTableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->newTableName);
- this->__isset.newTableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_renameTable_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_renameTable_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("oldTableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->oldTableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("newTableName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->newTableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_renameTable_pargs::~AccumuloProxy_renameTable_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_renameTable_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_renameTable_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("oldTableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->oldTableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("newTableName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->newTableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_renameTable_result::~AccumuloProxy_renameTable_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_renameTable_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_renameTable_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_renameTable_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch4) {
- xfer += oprot->writeFieldBegin("ouch4", ::apache::thrift::protocol::T_STRUCT, 4);
- xfer += this->ouch4.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_renameTable_presult::~AccumuloProxy_renameTable_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_renameTable_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch4.read(iprot);
- this->__isset.ouch4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_setLocalityGroups_args::~AccumuloProxy_setLocalityGroups_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_setLocalityGroups_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->groups.clear();
- uint32_t _size404;
- ::apache::thrift::protocol::TType _ktype405;
- ::apache::thrift::protocol::TType _vtype406;
- xfer += iprot->readMapBegin(_ktype405, _vtype406, _size404);
- uint32_t _i408;
- for (_i408 = 0; _i408 < _size404; ++_i408)
- {
- std::string _key409;
- xfer += iprot->readString(_key409);
- std::set<std::string> & _val410 = this->groups[_key409];
- {
- _val410.clear();
- uint32_t _size411;
- ::apache::thrift::protocol::TType _etype414;
- xfer += iprot->readSetBegin(_etype414, _size411);
- uint32_t _i415;
- for (_i415 = 0; _i415 < _size411; ++_i415)
- {
- std::string _elem416;
- xfer += iprot->readString(_elem416);
- _val410.insert(_elem416);
- }
- xfer += iprot->readSetEnd();
- }
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.groups = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_setLocalityGroups_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_setLocalityGroups_args");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary(this->login);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("groups", ::apache::thrift::protocol::T_MAP, 3);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_SET, static_cast<uint32_t>(this->groups.size()));
- std::map<std::string, std::set<std::string> > ::const_iterator _iter417;
- for (_iter417 = this->groups.begin(); _iter417 != this->groups.end(); ++_iter417)
- {
- xfer += oprot->writeString(_iter417->first);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(_iter417->second.size()));
- std::set<std::string> ::const_iterator _iter418;
- for (_iter418 = _iter417->second.begin(); _iter418 != _iter417->second.end(); ++_iter418)
- {
- xfer += oprot->writeString((*_iter418));
- }
- xfer += oprot->writeSetEnd();
- }
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_setLocalityGroups_pargs::~AccumuloProxy_setLocalityGroups_pargs() throw() {
-}
-
-
-uint32_t AccumuloProxy_setLocalityGroups_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("AccumuloProxy_setLocalityGroups_pargs");
-
- xfer += oprot->writeFieldBegin("login", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeBinary((*(this->login)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->tableName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("groups", ::apache::thrift::protocol::T_MAP, 3);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_SET, static_cast<uint32_t>((*(this->groups)).size()));
- std::map<std::string, std::set<std::string> > ::const_iterator _iter419;
- for (_iter419 = (*(this->groups)).begin(); _iter419 != (*(this->groups)).end(); ++_iter419)
- {
- xfer += oprot->writeString(_iter419->first);
- {
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(_iter419->second.size()));
- std::set<std::string> ::const_iterator _iter420;
- for (_iter420 = _iter419->second.begin(); _iter420 != _iter419->second.end(); ++_iter420)
- {
- xfer += oprot->writeString((*_iter420));
- }
- xfer += oprot->writeSetEnd();
- }
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_setLocalityGroups_result::~AccumuloProxy_setLocalityGroups_result() throw() {
-}
-
-
-uint32_t AccumuloProxy_setLocalityGroups_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t AccumuloProxy_setLocalityGroups_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("AccumuloProxy_setLocalityGroups_result");
-
- if (this->__isset.ouch1) {
- xfer += oprot->writeFieldBegin("ouch1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ouch1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch2) {
- xfer += oprot->writeFieldBegin("ouch2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ouch2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ouch3) {
- xfer += oprot->writeFieldBegin("ouch3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ouch3.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-AccumuloProxy_setLocalityGroups_presult::~AccumuloProxy_setLocalityGroups_presult() throw() {
-}
-
-
-uint32_t AccumuloProxy_setLocalityGroups_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch1.read(iprot);
- this->__isset.ouch1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch2.read(iprot);
- this->__isset.ouch2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ouch3.read(iprot);
- this->__isset.ouch3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-AccumuloProxy_setTableProperty_args::~AccumuloProxy_setTableProperty_args() throw() {
-}
-
-
-uint32_t AccumuloProxy_setTableProperty_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readBinary(this->login);
- this->__isset.login = true;
- } else {
... 263134 lines suppressed ...