Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C72818B20 for ; Wed, 16 Dec 2015 21:11:08 +0000 (UTC) Received: (qmail 92004 invoked by uid 500); 16 Dec 2015 21:11:08 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 91697 invoked by uid 500); 16 Dec 2015 21:11:07 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 91519 invoked by uid 99); 16 Dec 2015 21:11:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 21:11:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 270B8E00BB; Wed, 16 Dec 2015 21:11:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Date: Wed, 16 Dec 2015 21:11:10 -0000 Message-Id: In-Reply-To: <82c822afcfe54deb870453aa38d8cdd3@git.apache.org> References: <82c822afcfe54deb870453aa38d8cdd3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/18] accumulo git commit: ACCUMULO-4077 back out a couple of 0.9.1 hacks, run the new compiler http://git-wip-us.apache.org/repos/asf/accumulo/blob/3af75fc6/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloProxy.java ---------------------------------------------------------------------- diff --git a/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloProxy.java b/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloProxy.java index eaa49ef..eb848c8 100644 --- a/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloProxy.java +++ b/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloProxy.java @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -45,10 +45,13 @@ import java.util.Collections; import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class AccumuloProxy { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2015-12-16") +public class AccumuloProxy { public interface Iface { @@ -2492,7 +2495,7 @@ import org.slf4j.LoggerFactory; update_args args = new update_args(); args.setWriter(writer); args.setCells(cells); - sendBase("update", args); + sendBaseOneway("update", args); } public void flush(String writer) throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException @@ -5317,7 +5320,7 @@ import org.slf4j.LoggerFactory; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("update", org.apache.thrift.protocol.TMessageType.CALL, 0)); + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("update", org.apache.thrift.protocol.TMessageType.ONEWAY, 0)); update_args args = new update_args(); args.setWriter(writer); args.setCells(cells); @@ -12975,7 +12978,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_principal = true && (isSetPrincipal()); + list.add(present_principal); + if (present_principal) + list.add(principal); + + boolean present_loginProperties = true && (isSetLoginProperties()); + list.add(present_loginProperties); + if (present_loginProperties) + list.add(loginProperties); + + return list.hashCode(); } @Override @@ -13097,13 +13112,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map164 = iprot.readMapBegin(); struct.loginProperties = new HashMap(2*_map164.size); - for (int _i165 = 0; _i165 < _map164.size; ++_i165) + String _key165; + String _val166; + for (int _i167 = 0; _i167 < _map164.size; ++_i167) { - String _key166; - String _val167; - _key166 = iprot.readString(); - _val167 = iprot.readString(); - struct.loginProperties.put(_key166, _val167); + _key165 = iprot.readString(); + _val166 = iprot.readString(); + struct.loginProperties.put(_key165, _val166); } iprot.readMapEnd(); } @@ -13197,13 +13212,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map170 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.loginProperties = new HashMap(2*_map170.size); - for (int _i171 = 0; _i171 < _map170.size; ++_i171) + String _key171; + String _val172; + for (int _i173 = 0; _i173 < _map170.size; ++_i173) { - String _key172; - String _val173; - _key172 = iprot.readString(); - _val173 = iprot.readString(); - struct.loginProperties.put(_key172, _val173); + _key171 = iprot.readString(); + _val172 = iprot.readString(); + struct.loginProperties.put(_key171, _val172); } } struct.setLoginPropertiesIsSet(true); @@ -13309,7 +13324,7 @@ import org.slf4j.LoggerFactory; AccumuloSecurityException ouch2) { this(); - this.success = success; + this.success = org.apache.thrift.TBaseHelper.copyBinary(success); this.ouch2 = ouch2; } @@ -13319,7 +13334,6 @@ import org.slf4j.LoggerFactory; public login_result(login_result other) { if (other.isSetSuccess()) { this.success = org.apache.thrift.TBaseHelper.copyBinary(other.success); -; } if (other.isSetOuch2()) { this.ouch2 = new AccumuloSecurityException(other.ouch2); @@ -13342,16 +13356,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForSuccess() { - return success; + return org.apache.thrift.TBaseHelper.copyBinary(success); } public login_result setSuccess(byte[] success) { - setSuccess(success == null ? (ByteBuffer)null : ByteBuffer.wrap(success)); + this.success = success == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(success, success.length)); return this; } public login_result setSuccess(ByteBuffer success) { - this.success = success; + this.success = org.apache.thrift.TBaseHelper.copyBinary(success); return this; } @@ -13478,7 +13492,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + return list.hashCode(); } @Override @@ -13784,7 +13810,7 @@ import org.slf4j.LoggerFactory; String constraintClassName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.constraintClassName = constraintClassName; } @@ -13795,7 +13821,6 @@ import org.slf4j.LoggerFactory; public addConstraint_args(addConstraint_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -13822,16 +13847,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public addConstraint_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public addConstraint_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -14004,7 +14029,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_constraintClassName = true && (isSetConstraintClassName()); + list.add(present_constraintClassName); + if (present_constraintClassName) + list.add(constraintClassName); + + return list.hashCode(); } @Override @@ -14531,7 +14573,7 @@ import org.slf4j.LoggerFactory; public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Integer.valueOf(getSuccess()); + return getSuccess(); case OUCH1: return getOuch1(); @@ -14619,7 +14661,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -15010,7 +15074,7 @@ import org.slf4j.LoggerFactory; Set splits) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.splits = splits; } @@ -15021,7 +15085,6 @@ import org.slf4j.LoggerFactory; public addSplits_args(addSplits_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -15049,16 +15112,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public addSplits_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public addSplits_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -15246,7 +15309,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_splits = true && (isSetSplits()); + list.add(present_splits); + if (present_splits) + list.add(splits); + + return list.hashCode(); } @Override @@ -15327,7 +15407,7 @@ import org.slf4j.LoggerFactory; if (this.splits == null) { sb.append("null"); } else { - sb.append(this.splits); + org.apache.thrift.TBaseHelper.toString(this.splits, sb); } first = false; sb.append(")"); @@ -15394,11 +15474,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set174 = iprot.readSetBegin(); struct.splits = new HashSet(2*_set174.size); - for (int _i175 = 0; _i175 < _set174.size; ++_i175) + ByteBuffer _elem175; + for (int _i176 = 0; _i176 < _set174.size; ++_i176) { - ByteBuffer _elem176; - _elem176 = iprot.readBinary(); - struct.splits.add(_elem176); + _elem175 = iprot.readBinary(); + struct.splits.add(_elem175); } iprot.readSetEnd(); } @@ -15505,11 +15585,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set179 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.splits = new HashSet(2*_set179.size); - for (int _i180 = 0; _i180 < _set179.size; ++_i180) + ByteBuffer _elem180; + for (int _i181 = 0; _i181 < _set179.size; ++_i181) { - ByteBuffer _elem181; - _elem181 = iprot.readBinary(); - struct.splits.add(_elem181); + _elem180 = iprot.readBinary(); + struct.splits.add(_elem180); } } struct.setSplitsIsSet(true); @@ -15832,7 +15912,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -16192,7 +16289,7 @@ import org.slf4j.LoggerFactory; Set scopes) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.setting = setting; this.scopes = scopes; @@ -16204,7 +16301,6 @@ import org.slf4j.LoggerFactory; public attachIterator_args(attachIterator_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -16239,16 +16335,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public attachIterator_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public attachIterator_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -16482,7 +16578,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_setting = true && (isSetSetting()); + list.add(present_setting); + if (present_setting) + list.add(setting); + + boolean present_scopes = true && (isSetScopes()); + list.add(present_scopes); + if (present_scopes) + list.add(scopes); + + return list.hashCode(); } @Override @@ -16660,11 +16778,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set182 = iprot.readSetBegin(); struct.scopes = new HashSet(2*_set182.size); - for (int _i183 = 0; _i183 < _set182.size; ++_i183) + IteratorScope _elem183; + for (int _i184 = 0; _i184 < _set182.size; ++_i184) { - IteratorScope _elem184; - _elem184 = IteratorScope.findByValue(iprot.readI32()); - struct.scopes.add(_elem184); + _elem183 = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); + struct.scopes.add(_elem183); } iprot.readSetEnd(); } @@ -16787,11 +16905,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set187 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.scopes = new HashSet(2*_set187.size); - for (int _i188 = 0; _i188 < _set187.size; ++_i188) + IteratorScope _elem188; + for (int _i189 = 0; _i189 < _set187.size; ++_i189) { - IteratorScope _elem189; - _elem189 = IteratorScope.findByValue(iprot.readI32()); - struct.scopes.add(_elem189); + _elem188 = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); + struct.scopes.add(_elem188); } } struct.setScopesIsSet(true); @@ -17114,7 +17232,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -17474,7 +17609,7 @@ import org.slf4j.LoggerFactory; Set scopes) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.setting = setting; this.scopes = scopes; @@ -17486,7 +17621,6 @@ import org.slf4j.LoggerFactory; public checkIteratorConflicts_args(checkIteratorConflicts_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -17521,16 +17655,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public checkIteratorConflicts_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public checkIteratorConflicts_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -17764,7 +17898,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_setting = true && (isSetSetting()); + list.add(present_setting); + if (present_setting) + list.add(setting); + + boolean present_scopes = true && (isSetScopes()); + list.add(present_scopes); + if (present_scopes) + list.add(scopes); + + return list.hashCode(); } @Override @@ -17942,11 +18098,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set190 = iprot.readSetBegin(); struct.scopes = new HashSet(2*_set190.size); - for (int _i191 = 0; _i191 < _set190.size; ++_i191) + IteratorScope _elem191; + for (int _i192 = 0; _i192 < _set190.size; ++_i192) { - IteratorScope _elem192; - _elem192 = IteratorScope.findByValue(iprot.readI32()); - struct.scopes.add(_elem192); + _elem191 = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); + struct.scopes.add(_elem191); } iprot.readSetEnd(); } @@ -18069,11 +18225,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set195 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.scopes = new HashSet(2*_set195.size); - for (int _i196 = 0; _i196 < _set195.size; ++_i196) + IteratorScope _elem196; + for (int _i197 = 0; _i197 < _set195.size; ++_i197) { - IteratorScope _elem197; - _elem197 = IteratorScope.findByValue(iprot.readI32()); - struct.scopes.add(_elem197); + _elem196 = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); + struct.scopes.add(_elem196); } } struct.setScopesIsSet(true); @@ -18396,7 +18552,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -18739,7 +18912,7 @@ import org.slf4j.LoggerFactory; String tableName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; } @@ -18749,7 +18922,6 @@ import org.slf4j.LoggerFactory; public clearLocatorCache_args(clearLocatorCache_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -18772,16 +18944,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public clearLocatorCache_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public clearLocatorCache_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -18908,7 +19080,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + return list.hashCode(); } @Override @@ -19303,7 +19487,14 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + return list.hashCode(); } @Override @@ -19597,7 +19788,7 @@ import org.slf4j.LoggerFactory; Set propertiesToExclude) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.newTableName = newTableName; this.flush = flush; @@ -19613,7 +19804,6 @@ import org.slf4j.LoggerFactory; __isset_bitfield = other.__isset_bitfield; if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -19653,16 +19843,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public cloneTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public cloneTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -19891,7 +20081,7 @@ import org.slf4j.LoggerFactory; return getNewTableName(); case FLUSH: - return Boolean.valueOf(isFlush()); + return isFlush(); case PROPERTIES_TO_SET: return getPropertiesToSet(); @@ -19998,7 +20188,39 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_newTableName = true && (isSetNewTableName()); + list.add(present_newTableName); + if (present_newTableName) + list.add(newTableName); + + boolean present_flush = true; + list.add(present_flush); + if (present_flush) + list.add(flush); + + boolean present_propertiesToSet = true && (isSetPropertiesToSet()); + list.add(present_propertiesToSet); + if (present_propertiesToSet) + list.add(propertiesToSet); + + boolean present_propertiesToExclude = true && (isSetPropertiesToExclude()); + list.add(present_propertiesToExclude); + if (present_propertiesToExclude) + list.add(propertiesToExclude); + + return list.hashCode(); } @Override @@ -20214,13 +20436,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin(); struct.propertiesToSet = new HashMap(2*_map198.size); - for (int _i199 = 0; _i199 < _map198.size; ++_i199) + String _key199; + String _val200; + for (int _i201 = 0; _i201 < _map198.size; ++_i201) { - String _key200; - String _val201; - _key200 = iprot.readString(); - _val201 = iprot.readString(); - struct.propertiesToSet.put(_key200, _val201); + _key199 = iprot.readString(); + _val200 = iprot.readString(); + struct.propertiesToSet.put(_key199, _val200); } iprot.readMapEnd(); } @@ -20234,11 +20456,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set202 = iprot.readSetBegin(); struct.propertiesToExclude = new HashSet(2*_set202.size); - for (int _i203 = 0; _i203 < _set202.size; ++_i203) + String _elem203; + for (int _i204 = 0; _i204 < _set202.size; ++_i204) { - String _elem204; - _elem204 = iprot.readString(); - struct.propertiesToExclude.add(_elem204); + _elem203 = iprot.readString(); + struct.propertiesToExclude.add(_elem203); } iprot.readSetEnd(); } @@ -20399,13 +20621,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map209 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.propertiesToSet = new HashMap(2*_map209.size); - for (int _i210 = 0; _i210 < _map209.size; ++_i210) + String _key210; + String _val211; + for (int _i212 = 0; _i212 < _map209.size; ++_i212) { - String _key211; - String _val212; - _key211 = iprot.readString(); - _val212 = iprot.readString(); - struct.propertiesToSet.put(_key211, _val212); + _key210 = iprot.readString(); + _val211 = iprot.readString(); + struct.propertiesToSet.put(_key210, _val211); } } struct.setPropertiesToSetIsSet(true); @@ -20414,11 +20636,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set213 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.propertiesToExclude = new HashSet(2*_set213.size); - for (int _i214 = 0; _i214 < _set213.size; ++_i214) + String _elem214; + for (int _i215 = 0; _i215 < _set213.size; ++_i215) { - String _elem215; - _elem215 = iprot.readString(); - struct.propertiesToExclude.add(_elem215); + _elem214 = iprot.readString(); + struct.propertiesToExclude.add(_elem214); } } struct.setPropertiesToExcludeIsSet(true); @@ -20800,7 +21022,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + boolean present_ouch4 = true && (isSetOuch4()); + list.add(present_ouch4); + if (present_ouch4) + list.add(ouch4); + + return list.hashCode(); } @Override @@ -21238,10 +21482,10 @@ import org.slf4j.LoggerFactory; CompactionStrategyConfig compactionStrategy) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; - this.startRow = startRow; - this.endRow = endRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); this.iterators = iterators; this.flush = flush; setFlushIsSet(true); @@ -21257,18 +21501,15 @@ import org.slf4j.LoggerFactory; __isset_bitfield = other.__isset_bitfield; if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetStartRow()) { this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); -; } if (other.isSetEndRow()) { this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow); -; } if (other.isSetIterators()) { List __this__iterators = new ArrayList(other.iterators.size()); @@ -21308,16 +21549,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public compactTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public compactTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -21366,16 +21607,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForStartRow() { - return startRow; + return org.apache.thrift.TBaseHelper.copyBinary(startRow); } public compactTable_args setStartRow(byte[] startRow) { - setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow)); + this.startRow = startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(startRow, startRow.length)); return this; } public compactTable_args setStartRow(ByteBuffer startRow) { - this.startRow = startRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -21400,16 +21641,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForEndRow() { - return endRow; + return org.apache.thrift.TBaseHelper.copyBinary(endRow); } public compactTable_args setEndRow(byte[] endRow) { - setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow)); + this.endRow = endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(endRow, endRow.length)); return this; } public compactTable_args setEndRow(ByteBuffer endRow) { - this.endRow = endRow; + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); return this; } @@ -21624,10 +21865,10 @@ import org.slf4j.LoggerFactory; return getIterators(); case FLUSH: - return Boolean.valueOf(isFlush()); + return isFlush(); case WAIT: - return Boolean.valueOf(isWait()); + return isWait(); case COMPACTION_STRATEGY: return getCompactionStrategy(); @@ -21753,7 +21994,49 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_startRow = true && (isSetStartRow()); + list.add(present_startRow); + if (present_startRow) + list.add(startRow); + + boolean present_endRow = true && (isSetEndRow()); + list.add(present_endRow); + if (present_endRow) + list.add(endRow); + + boolean present_iterators = true && (isSetIterators()); + list.add(present_iterators); + if (present_iterators) + list.add(iterators); + + boolean present_flush = true; + list.add(present_flush); + if (present_flush) + list.add(flush); + + boolean present_wait = true; + list.add(present_wait); + if (present_wait) + list.add(wait); + + boolean present_compactionStrategy = true && (isSetCompactionStrategy()); + list.add(present_compactionStrategy); + if (present_compactionStrategy) + list.add(compactionStrategy); + + return list.hashCode(); } @Override @@ -22004,12 +22287,12 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TList _list216 = iprot.readListBegin(); struct.iterators = new ArrayList(_list216.size); - for (int _i217 = 0; _i217 < _list216.size; ++_i217) + IteratorSetting _elem217; + for (int _i218 = 0; _i218 < _list216.size; ++_i218) { - IteratorSetting _elem218; - _elem218 = new IteratorSetting(); - _elem218.read(iprot); - struct.iterators.add(_elem218); + _elem217 = new IteratorSetting(); + _elem217.read(iprot); + struct.iterators.add(_elem217); } iprot.readListEnd(); } @@ -22200,12 +22483,12 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TList _list221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.iterators = new ArrayList(_list221.size); - for (int _i222 = 0; _i222 < _list221.size; ++_i222) + IteratorSetting _elem222; + for (int _i223 = 0; _i223 < _list221.size; ++_i223) { - IteratorSetting _elem223; - _elem223 = new IteratorSetting(); - _elem223.read(iprot); - struct.iterators.add(_elem223); + _elem222 = new IteratorSetting(); + _elem222.read(iprot); + struct.iterators.add(_elem222); } } struct.setIteratorsIsSet(true); @@ -22541,7 +22824,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -22884,7 +23184,7 @@ import org.slf4j.LoggerFactory; String tableName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; } @@ -22894,7 +23194,6 @@ import org.slf4j.LoggerFactory; public cancelCompaction_args(cancelCompaction_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -22917,16 +23216,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public cancelCompaction_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public cancelCompaction_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -23053,7 +23352,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + return list.hashCode(); } @Override @@ -23566,7 +23877,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -23935,7 +24263,7 @@ import org.slf4j.LoggerFactory; TimeType type) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.versioningIter = versioningIter; setVersioningIterIsSet(true); @@ -23949,7 +24277,6 @@ import org.slf4j.LoggerFactory; __isset_bitfield = other.__isset_bitfield; if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -23979,16 +24306,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public createTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public createTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -24132,7 +24459,7 @@ import org.slf4j.LoggerFactory; return getTableName(); case VERSIONING_ITER: - return Boolean.valueOf(isVersioningIter()); + return isVersioningIter(); case TYPE: return getType(); @@ -24214,7 +24541,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_versioningIter = true; + list.add(present_versioningIter); + if (present_versioningIter) + list.add(versioningIter); + + boolean present_type = true && (isSetType()); + list.add(present_type); + if (present_type) + list.add(type.getValue()); + + return list.hashCode(); } @Override @@ -24383,7 +24732,7 @@ import org.slf4j.LoggerFactory; break; case 4: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = TimeType.findByValue(iprot.readI32()); + struct.type = org.apache.accumulo.proxy.thrift.TimeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -24484,7 +24833,7 @@ import org.slf4j.LoggerFactory; struct.setVersioningIterIsSet(true); } if (incoming.get(3)) { - struct.type = TimeType.findByValue(iprot.readI32()); + struct.type = org.apache.accumulo.proxy.thrift.TimeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } } @@ -24805,7 +25154,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -25148,7 +25514,7 @@ import org.slf4j.LoggerFactory; String tableName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; } @@ -25158,7 +25524,6 @@ import org.slf4j.LoggerFactory; public deleteTable_args(deleteTable_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -25181,16 +25546,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public deleteTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public deleteTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -25317,7 +25682,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + return list.hashCode(); } @Override @@ -25830,7 +26207,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -26189,10 +26583,10 @@ import org.slf4j.LoggerFactory; ByteBuffer endRow) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; - this.startRow = startRow; - this.endRow = endRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); } /** @@ -26201,18 +26595,15 @@ import org.slf4j.LoggerFactory; public deleteRows_args(deleteRows_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetStartRow()) { this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); -; } if (other.isSetEndRow()) { this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow); -; } } @@ -26234,16 +26625,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public deleteRows_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public deleteRows_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -26292,16 +26683,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForStartRow() { - return startRow; + return org.apache.thrift.TBaseHelper.copyBinary(startRow); } public deleteRows_args setStartRow(byte[] startRow) { - setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow)); + this.startRow = startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(startRow, startRow.length)); return this; } public deleteRows_args setStartRow(ByteBuffer startRow) { - this.startRow = startRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -26326,16 +26717,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForEndRow() { - return endRow; + return org.apache.thrift.TBaseHelper.copyBinary(endRow); } public deleteRows_args setEndRow(byte[] endRow) { - setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow)); + this.endRow = endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(endRow, endRow.length)); return this; } public deleteRows_args setEndRow(ByteBuffer endRow) { - this.endRow = endRow; + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); return this; } @@ -26482,7 +26873,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_startRow = true && (isSetStartRow()); + list.add(present_startRow); + if (present_startRow) + list.add(startRow); + + boolean present_endRow = true && (isSetEndRow()); + list.add(present_endRow); + if (present_endRow) + list.add(endRow); + + return list.hashCode(); } @Override @@ -27077,7 +27490,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -27428,7 +27858,7 @@ import org.slf4j.LoggerFactory; String exportDir) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.exportDir = exportDir; } @@ -27439,7 +27869,6 @@ import org.slf4j.LoggerFactory; public exportTable_args(exportTable_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -27466,16 +27895,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public exportTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public exportTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -27648,7 +28077,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_exportDir = true && (isSetExportDir()); + list.add(present_exportDir); + if (present_exportDir) + list.add(exportDir); + + return list.hashCode(); } @Override @@ -28202,7 +28648,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -28571,10 +29034,10 @@ import org.slf4j.LoggerFactory; boolean wait) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; - this.startRow = startRow; - this.endRow = endRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); this.wait = wait; setWaitIsSet(true); } @@ -28586,18 +29049,15 @@ import org.slf4j.LoggerFactory; __isset_bitfield = other.__isset_bitfield; if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetStartRow()) { this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); -; } if (other.isSetEndRow()) { this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow); -; } this.wait = other.wait; } @@ -28622,16 +29082,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public flushTable_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public flushTable_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -28680,16 +29140,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForStartRow() { - return startRow; + return org.apache.thrift.TBaseHelper.copyBinary(startRow); } public flushTable_args setStartRow(byte[] startRow) { - setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow)); + this.startRow = startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(startRow, startRow.length)); return this; } public flushTable_args setStartRow(ByteBuffer startRow) { - this.startRow = startRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -28714,16 +29174,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForEndRow() { - return endRow; + return org.apache.thrift.TBaseHelper.copyBinary(endRow); } public flushTable_args setEndRow(byte[] endRow) { - setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow)); + this.endRow = endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(endRow, endRow.length)); return this; } public flushTable_args setEndRow(ByteBuffer endRow) { - this.endRow = endRow; + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); return this; } @@ -28825,7 +29285,7 @@ import org.slf4j.LoggerFactory; return getEndRow(); case WAIT: - return Boolean.valueOf(isWait()); + return isWait(); } throw new IllegalStateException(); @@ -28915,7 +29375,34 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_startRow = true && (isSetStartRow()); + list.add(present_startRow); + if (present_startRow) + list.add(startRow); + + boolean present_endRow = true && (isSetEndRow()); + list.add(present_endRow); + if (present_endRow) + list.add(endRow); + + boolean present_wait = true; + list.add(present_wait); + if (present_wait) + list.add(wait); + + return list.hashCode(); } @Override @@ -29547,7 +30034,24 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -29891,7 +30395,7 @@ import org.slf4j.LoggerFactory; Set tables) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tables = tables; } @@ -29901,7 +30405,6 @@ import org.slf4j.LoggerFactory; public getDiskUsage_args(getDiskUsage_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTables()) { Set __this__tables = new HashSet(other.tables); @@ -29925,16 +30428,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public getDiskUsage_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public getDiskUsage_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -30076,7 +30579,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tables = true && (isSetTables()); + list.add(present_tables); + if (present_tables) + list.add(tables); + + return list.hashCode(); } @Override @@ -30198,11 +30713,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set224 = iprot.readSetBegin(); struct.tables = new HashSet(2*_set224.size); - for (int _i225 = 0; _i225 < _set224.size; ++_i225) + String _elem225; + for (int _i226 = 0; _i226 < _set224.size; ++_i226) { - String _elem226; - _elem226 = iprot.readString(); - struct.tables.add(_elem226); + _elem225 = iprot.readString(); + struct.tables.add(_elem225); } iprot.readSetEnd(); } @@ -30294,11 +30809,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set229 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.tables = new HashSet(2*_set229.size); - for (int _i230 = 0; _i230 < _set229.size; ++_i230) + String _elem230; + for (int _i231 = 0; _i231 < _set229.size; ++_i231) { - String _elem231; - _elem231 = iprot.readString(); - struct.tables.add(_elem231); + _elem230 = iprot.readString(); + struct.tables.add(_elem230); } } struct.setTablesIsSet(true); @@ -30700,7 +31215,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -30850,12 +31387,12 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TList _list232 = iprot.readListBegin(); struct.success = new ArrayList(_list232.size); - for (int _i233 = 0; _i233 < _list232.size; ++_i233) + DiskUsage _elem233; + for (int _i234 = 0; _i234 < _list232.size; ++_i234) { - DiskUsage _elem234; - _elem234 = new DiskUsage(); - _elem234.read(iprot); - struct.success.add(_elem234); + _elem233 = new DiskUsage(); + _elem233.read(iprot); + struct.success.add(_elem233); } iprot.readListEnd(); } @@ -30992,12 +31529,12 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.success = new ArrayList(_list237.size); - for (int _i238 = 0; _i238 < _list237.size; ++_i238) + DiskUsage _elem238; + for (int _i239 = 0; _i239 < _list237.size; ++_i239) { - DiskUsage _elem239; - _elem239 = new DiskUsage(); - _elem239.read(iprot); - struct.success.add(_elem239); + _elem238 = new DiskUsage(); + _elem238.read(iprot); + struct.success.add(_elem238); } } struct.setSuccessIsSet(true); @@ -31118,7 +31655,7 @@ import org.slf4j.LoggerFactory; String tableName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; } @@ -31128,7 +31665,6 @@ import org.slf4j.LoggerFactory; public getLocalityGroups_args(getLocalityGroups_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -31151,16 +31687,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public getLocalityGroups_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public getLocalityGroups_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -31287,7 +31823,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + return list.hashCode(); } @Override @@ -31885,7 +32433,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -32035,23 +32605,23 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map240 = iprot.readMapBegin(); struct.success = new HashMap>(2*_map240.size); - for (int _i241 = 0; _i241 < _map240.size; ++_i241) + String _key241; + Set _val242; + for (int _i243 = 0; _i243 < _map240.size; ++_i243) { - String _key242; - Set _val243; - _key242 = iprot.readString(); + _key241 = iprot.readString(); { org.apache.thrift.protocol.TSet _set244 = iprot.readSetBegin(); - _val243 = new HashSet(2*_set244.size); - for (int _i245 = 0; _i245 < _set244.size; ++_i245) + _val242 = new HashSet(2*_set244.size); + String _elem245; + for (int _i246 = 0; _i246 < _set244.size; ++_i246) { - String _elem246; - _elem246 = iprot.readString(); - _val243.add(_elem246); + _elem245 = iprot.readString(); + _val242.add(_elem245); } iprot.readSetEnd(); } - struct.success.put(_key242, _val243); + struct.success.put(_key241, _val242); } iprot.readMapEnd(); } @@ -32203,22 +32773,22 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map251 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new HashMap>(2*_map251.size); - for (int _i252 = 0; _i252 < _map251.size; ++_i252) + String _key252; + Set _val253; + for (int _i254 = 0; _i254 < _map251.size; ++_i254) { - String _key253; - Set _val254; - _key253 = iprot.readString(); + _key252 = iprot.readString(); { org.apache.thrift.protocol.TSet _set255 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - _val254 = new HashSet(2*_set255.size); - for (int _i256 = 0; _i256 < _set255.size; ++_i256) + _val253 = new HashSet(2*_set255.size); + String _elem256; + for (int _i257 = 0; _i257 < _set255.size; ++_i257) { - String _elem257; - _elem257 = iprot.readString(); - _val254.add(_elem257); + _elem256 = iprot.readString(); + _val253.add(_elem256); } } - struct.success.put(_key253, _val254); + struct.success.put(_key252, _val253); } } struct.setSuccessIsSet(true); @@ -32363,7 +32933,7 @@ import org.slf4j.LoggerFactory; IteratorScope scope) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.iteratorName = iteratorName; this.scope = scope; @@ -32375,7 +32945,6 @@ import org.slf4j.LoggerFactory; public getIteratorSetting_args(getIteratorSetting_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -32406,16 +32975,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public getIteratorSetting_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public getIteratorSetting_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -32642,7 +33211,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_iteratorName = true && (isSetIteratorName()); + list.add(present_iteratorName); + if (present_iteratorName) + list.add(iteratorName); + + boolean present_scope = true && (isSetScope()); + list.add(present_scope); + if (present_scope) + list.add(scope.getValue()); + + return list.hashCode(); } @Override @@ -32813,7 +33404,7 @@ import org.slf4j.LoggerFactory; break; case 4: // SCOPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.scope = IteratorScope.findByValue(iprot.readI32()); + struct.scope = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); struct.setScopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -32916,7 +33507,7 @@ import org.slf4j.LoggerFactory; struct.setIteratorNameIsSet(true); } if (incoming.get(3)) { - struct.scope = IteratorScope.findByValue(iprot.readI32()); + struct.scope = org.apache.accumulo.proxy.thrift.IteratorScope.findByValue(iprot.readI32()); struct.setScopeIsSet(true); } } @@ -33296,7 +33887,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -33729,13 +34342,13 @@ import org.slf4j.LoggerFactory; boolean endInclusive) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; this.auths = auths; - this.startRow = startRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); this.startInclusive = startInclusive; setStartInclusiveIsSet(true); - this.endRow = endRow; + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); this.endInclusive = endInclusive; setEndInclusiveIsSet(true); } @@ -33747,7 +34360,6 @@ import org.slf4j.LoggerFactory; __isset_bitfield = other.__isset_bitfield; if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -33758,12 +34370,10 @@ import org.slf4j.LoggerFactory; } if (other.isSetStartRow()) { this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); -; } this.startInclusive = other.startInclusive; if (other.isSetEndRow()) { this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow); -; } this.endInclusive = other.endInclusive; } @@ -33791,16 +34401,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public getMaxRow_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public getMaxRow_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -33888,16 +34498,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForStartRow() { - return startRow; + return org.apache.thrift.TBaseHelper.copyBinary(startRow); } public getMaxRow_args setStartRow(byte[] startRow) { - setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow)); + this.startRow = startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(startRow, startRow.length)); return this; } public getMaxRow_args setStartRow(ByteBuffer startRow) { - this.startRow = startRow; + this.startRow = org.apache.thrift.TBaseHelper.copyBinary(startRow); return this; } @@ -33945,16 +34555,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForEndRow() { - return endRow; + return org.apache.thrift.TBaseHelper.copyBinary(endRow); } public getMaxRow_args setEndRow(byte[] endRow) { - setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow)); + this.endRow = endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(endRow, endRow.length)); return this; } public getMaxRow_args setEndRow(ByteBuffer endRow) { - this.endRow = endRow; + this.endRow = org.apache.thrift.TBaseHelper.copyBinary(endRow); return this; } @@ -34072,13 +34682,13 @@ import org.slf4j.LoggerFactory; return getStartRow(); case START_INCLUSIVE: - return Boolean.valueOf(isStartInclusive()); + return isStartInclusive(); case END_ROW: return getEndRow(); case END_INCLUSIVE: - return Boolean.valueOf(isEndInclusive()); + return isEndInclusive(); } throw new IllegalStateException(); @@ -34190,7 +34800,44 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_auths = true && (isSetAuths()); + list.add(present_auths); + if (present_auths) + list.add(auths); + + boolean present_startRow = true && (isSetStartRow()); + list.add(present_startRow); + if (present_startRow) + list.add(startRow); + + boolean present_startInclusive = true; + list.add(present_startInclusive); + if (present_startInclusive) + list.add(startInclusive); + + boolean present_endRow = true && (isSetEndRow()); + list.add(present_endRow); + if (present_endRow) + list.add(endRow); + + boolean present_endInclusive = true; + list.add(present_endInclusive); + if (present_endInclusive) + list.add(endInclusive); + + return list.hashCode(); } @Override @@ -34311,7 +34958,7 @@ import org.slf4j.LoggerFactory; if (this.auths == null) { sb.append("null"); } else { - sb.append(this.auths); + org.apache.thrift.TBaseHelper.toString(this.auths, sb); } first = false; if (!first) sb.append(", "); @@ -34404,11 +35051,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set258 = iprot.readSetBegin(); struct.auths = new HashSet(2*_set258.size); - for (int _i259 = 0; _i259 < _set258.size; ++_i259) + ByteBuffer _elem259; + for (int _i260 = 0; _i260 < _set258.size; ++_i260) { - ByteBuffer _elem260; - _elem260 = iprot.readBinary(); - struct.auths.add(_elem260); + _elem259 = iprot.readBinary(); + struct.auths.add(_elem259); } iprot.readSetEnd(); } @@ -34587,11 +35234,11 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TSet _set263 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.auths = new HashSet(2*_set263.size); - for (int _i264 = 0; _i264 < _set263.size; ++_i264) + ByteBuffer _elem264; + for (int _i265 = 0; _i265 < _set263.size; ++_i265) { - ByteBuffer _elem265; - _elem265 = iprot.readBinary(); - struct.auths.add(_elem265); + _elem264 = iprot.readBinary(); + struct.auths.add(_elem264); } } struct.setAuthsIsSet(true); @@ -34729,7 +35376,7 @@ import org.slf4j.LoggerFactory; TableNotFoundException ouch3) { this(); - this.success = success; + this.success = org.apache.thrift.TBaseHelper.copyBinary(success); this.ouch1 = ouch1; this.ouch2 = ouch2; this.ouch3 = ouch3; @@ -34741,7 +35388,6 @@ import org.slf4j.LoggerFactory; public getMaxRow_result(getMaxRow_result other) { if (other.isSetSuccess()) { this.success = org.apache.thrift.TBaseHelper.copyBinary(other.success); -; } if (other.isSetOuch1()) { this.ouch1 = new AccumuloException(other.ouch1); @@ -34772,16 +35418,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForSuccess() { - return success; + return org.apache.thrift.TBaseHelper.copyBinary(success); } public getMaxRow_result setSuccess(byte[] success) { - setSuccess(success == null ? (ByteBuffer)null : ByteBuffer.wrap(success)); + this.success = success == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(success, success.length)); return this; } public getMaxRow_result setSuccess(ByteBuffer success) { - this.success = success; + this.success = org.apache.thrift.TBaseHelper.copyBinary(success); return this; } @@ -35000,7 +35646,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -35384,7 +36052,7 @@ import org.slf4j.LoggerFactory; String tableName) { this(); - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); this.tableName = tableName; } @@ -35394,7 +36062,6 @@ import org.slf4j.LoggerFactory; public getTableProperties_args(getTableProperties_args other) { if (other.isSetLogin()) { this.login = org.apache.thrift.TBaseHelper.copyBinary(other.login); -; } if (other.isSetTableName()) { this.tableName = other.tableName; @@ -35417,16 +36084,16 @@ import org.slf4j.LoggerFactory; } public ByteBuffer bufferForLogin() { - return login; + return org.apache.thrift.TBaseHelper.copyBinary(login); } public getTableProperties_args setLogin(byte[] login) { - setLogin(login == null ? (ByteBuffer)null : ByteBuffer.wrap(login)); + this.login = login == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(login, login.length)); return this; } public getTableProperties_args setLogin(ByteBuffer login) { - this.login = login; + this.login = org.apache.thrift.TBaseHelper.copyBinary(login); return this; } @@ -35553,7 +36220,19 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_login = true && (isSetLogin()); + list.add(present_login); + if (present_login) + list.add(login); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + return list.hashCode(); } @Override @@ -36139,7 +36818,29 @@ import org.slf4j.LoggerFactory; @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ouch1 = true && (isSetOuch1()); + list.add(present_ouch1); + if (present_ouch1) + list.add(ouch1); + + boolean present_ouch2 = true && (isSetOuch2()); + list.add(present_ouch2); + if (present_ouch2) + list.add(ouch2); + + boolean present_ouch3 = true && (isSetOuch3()); + list.add(present_ouch3); + if (present_ouch3) + list.add(ouch3); + + return list.hashCode(); } @Override @@ -36289,13 +36990,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map266 = iprot.readMapBegin(); struct.success = new HashMap(2*_map266.size); - for (int _i267 = 0; _i267 < _map266.size; ++_i267) + String _key267; + String _val268; + for (int _i269 = 0; _i269 < _map266.size; ++_i269) { - String _key268; - String _val269; - _key268 = iprot.readString(); - _val269 = iprot.readString(); - struct.success.put(_key268, _val269); + _key267 = iprot.readString(); + _val268 = iprot.readString(); + struct.success.put(_key267, _val268); } iprot.readMapEnd(); } @@ -36434,13 +37135,13 @@ import org.slf4j.LoggerFactory; { org.apache.thrift.protocol.TMap _map272 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.success = new HashMap(2*_map272.size); - for (int _i273 = 0; _i273 < _map272.size; ++_i273) + String _key273; + String _val274; + for (int _i275 = 0; _i275 < _map272.size; ++_i275) { - String _key274; - String _val275; - _key274 = iprot.readString(); - _val275 = iprot.readString(); - struct.success.put(_key274, _val275); + _key273 = iprot.readString(); + _val274 = iprot.readString(); + struct.success.put(_key273, _val274); } } struct.setSuccessIsSet(true); @@ -36587,7 +37288,7 @@ import org.slf4j.LoggerFactory;