diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java index d9fb645858..54306234bf 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java @@ -342,6 +342,12 @@ public Table alterTable(String catName, String dbName, String name, Table newTab return objectStore.getTables(catName, dbName, pattern, tableType); } + @Override + public List getAllMaterializedViewObjectsForRewriting(String catName) + throws MetaException { + return objectStore.getAllMaterializedViewObjectsForRewriting(catName); + } + @Override public List getMaterializedViewsForRewriting(String catName, String dbName) throws MetaException, NoSuchObjectException { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 40c6cf6c24..420270a728 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -1548,20 +1548,18 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { * @throws HiveException */ public List getAllValidMaterializedViews(List tablesUsed, boolean forceMVContentsUpToDate, - HiveTxnManager txnMgr) throws HiveException { + HiveTxnManager txnMgr) throws HiveException { // Final result List result = new ArrayList<>(); try { - for (String dbName : getMSC().getAllDatabases()) { - // From metastore (for security) - List materializedViewNames = getMaterializedViewsForRewriting(dbName); - if (materializedViewNames.isEmpty()) { - // Bail out: empty list - continue; - } - result.addAll(getValidMaterializedViews(dbName, materializedViewNames, - tablesUsed, forceMVContentsUpToDate, txnMgr)); + // From metastore (for security) + List
materializedViews = getAllMaterializedViewObjectsForRewriting(); + if (materializedViews.isEmpty()) { + // Bail out: empty list + return result; } + result.addAll(getValidMaterializedViews(materializedViews, + tablesUsed, forceMVContentsUpToDate, txnMgr)); return result; } catch (Exception e) { throw new HiveException(e); @@ -1570,11 +1568,11 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { public List getValidMaterializedView(String dbName, String materializedViewName, List tablesUsed, boolean forceMVContentsUpToDate, HiveTxnManager txnMgr) throws HiveException { - return getValidMaterializedViews(dbName, ImmutableList.of(materializedViewName), + return getValidMaterializedViews(ImmutableList.of(getTable(dbName, materializedViewName)), tablesUsed, forceMVContentsUpToDate, txnMgr); } - private List getValidMaterializedViews(String dbName, List materializedViewNames, + private List getValidMaterializedViews(List
materializedViewTables, List tablesUsed, boolean forceMVContentsUpToDate, HiveTxnManager txnMgr) throws HiveException { final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY); final ValidTxnWriteIdList currentTxnWriteIds = txnMgr.getValidWriteIds(tablesUsed, validTxnsList); @@ -1588,7 +1586,6 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { try { // Final result List result = new ArrayList<>(); - List
materializedViewTables = getTableObjects(dbName, materializedViewNames); for (Table materializedViewTable : materializedViewTables) { final Boolean outdated = isOutdatedMaterializedView(materializedViewTable, currentTxnWriteIds, defaultTimeWindow, tablesUsed, forceMVContentsUpToDate); @@ -1623,7 +1620,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { // It passed the test, load RelOptMaterialization materialization = HiveMaterializedViewsRegistry.get().getRewritingMaterializedView( - dbName, materializedViewTable.getTableName()); + materializedViewTable.getDbName(), materializedViewTable.getTableName()); if (materialization != null) { RelNode viewScan = materialization.tableRel; RelOptHiveTable cachedMaterializedViewTable; @@ -1792,6 +1789,21 @@ public void visit(RelNode node, int ordinal, RelNode parent) { null, materialization.qualifiedTableName); } + public List
getAllMaterializedViewObjectsForRewriting() throws HiveException { + try { + return Lists.transform(getMSC().getAllMaterializedViewObjectsForRewriting(), + new com.google.common.base.Function() { + @Override + public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { + return new Table(table); + } + } + ); + } catch (Exception e) { + throw new HiveException(e); + } + } + /** * Get materialized views for the specified database that have enabled rewriting. * @param dbName diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java index b6b7c53123..56047cfa0b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java @@ -161,10 +161,8 @@ public void run() { SessionState.start(ss); final boolean cache = !db.getConf() .get(HiveConf.ConfVars.HIVE_SERVER2_MATERIALIZED_VIEWS_REGISTRY_IMPL.varname).equals("DUMMY"); - for (String dbName : db.getAllDatabases()) { - for (Table mv : db.getAllMaterializedViewObjects(dbName)) { - addMaterializedView(db.getConf(), mv, OpType.LOAD, cache); - } + for (Table mv : db.getAllMaterializedViewObjectsForRewriting()) { + addMaterializedView(db.getConf(), mv, OpType.LOAD, cache); } initialized.set(true); LOG.info("Materialized views registry has been initialized"); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index e0431e5f6c..f2781ce50f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -116,6 +116,8 @@ public List get_tables_by_type(String db_name, String pattern, String tableType) throws MetaException, org.apache.thrift.TException; + public List
get_all_materialized_view_objects_for_rewriting() throws MetaException, org.apache.thrift.TException; + public List get_materialized_views_for_rewriting(String db_name) throws MetaException, org.apache.thrift.TException; public List get_table_meta(String db_patterns, String tbl_patterns, List tbl_types) throws MetaException, org.apache.thrift.TException; @@ -566,6 +568,8 @@ public void get_tables_by_type(String db_name, String pattern, String tableType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_all_materialized_view_objects_for_rewriting(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_materialized_views_for_rewriting(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_table_meta(String db_patterns, String tbl_patterns, List tbl_types, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -2016,6 +2020,31 @@ public void send_get_tables_by_type(String db_name, String pattern, String table throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_tables_by_type failed: unknown result"); } + public List
get_all_materialized_view_objects_for_rewriting() throws MetaException, org.apache.thrift.TException + { + send_get_all_materialized_view_objects_for_rewriting(); + return recv_get_all_materialized_view_objects_for_rewriting(); + } + + public void send_get_all_materialized_view_objects_for_rewriting() throws org.apache.thrift.TException + { + get_all_materialized_view_objects_for_rewriting_args args = new get_all_materialized_view_objects_for_rewriting_args(); + sendBase("get_all_materialized_view_objects_for_rewriting", args); + } + + public List
recv_get_all_materialized_view_objects_for_rewriting() throws MetaException, org.apache.thrift.TException + { + get_all_materialized_view_objects_for_rewriting_result result = new get_all_materialized_view_objects_for_rewriting_result(); + receiveBase(result, "get_all_materialized_view_objects_for_rewriting"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_all_materialized_view_objects_for_rewriting failed: unknown result"); + } + public List get_materialized_views_for_rewriting(String db_name) throws MetaException, org.apache.thrift.TException { send_get_materialized_views_for_rewriting(db_name); @@ -8600,6 +8629,35 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } + public void get_all_materialized_view_objects_for_rewriting(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_all_materialized_view_objects_for_rewriting_call method_call = new get_all_materialized_view_objects_for_rewriting_call(resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_materialized_view_objects_for_rewriting_call extends org.apache.thrift.async.TAsyncMethodCall { + public get_all_materialized_view_objects_for_rewriting_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_all_materialized_view_objects_for_rewriting", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_all_materialized_view_objects_for_rewriting_args args = new get_all_materialized_view_objects_for_rewriting_args(); + args.write(prot); + prot.writeMessageEnd(); + } + + public List
getResult() throws MetaException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_get_all_materialized_view_objects_for_rewriting(); + } + } + public void get_materialized_views_for_rewriting(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_materialized_views_for_rewriting_call method_call = new get_materialized_views_for_rewriting_call(db_name, resultHandler, this, ___protocolFactory, ___transport); @@ -15025,6 +15083,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_all_materialized_view_objects_for_rewriting() { + super("get_all_materialized_view_objects_for_rewriting"); + } + + public get_all_materialized_view_objects_for_rewriting_args getEmptyArgsInstance() { + return new get_all_materialized_view_objects_for_rewriting_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_all_materialized_view_objects_for_rewriting_result getResult(I iface, get_all_materialized_view_objects_for_rewriting_args args) throws org.apache.thrift.TException { + get_all_materialized_view_objects_for_rewriting_result result = new get_all_materialized_view_objects_for_rewriting_result(); + try { + result.success = iface.get_all_materialized_view_objects_for_rewriting(); + } catch (MetaException o1) { + result.o1 = o1; + } + return result; + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting extends org.apache.thrift.ProcessFunction { public get_materialized_views_for_rewriting() { super("get_materialized_views_for_rewriting"); @@ -20962,6 +21045,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction> { + public get_all_materialized_view_objects_for_rewriting() { + super("get_all_materialized_view_objects_for_rewriting"); + } + + public get_all_materialized_view_objects_for_rewriting_args getEmptyArgsInstance() { + return new get_all_materialized_view_objects_for_rewriting_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List
o) { + get_all_materialized_view_objects_for_rewriting_result result = new get_all_materialized_view_objects_for_rewriting_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_all_materialized_view_objects_for_rewriting_result result = new get_all_materialized_view_objects_for_rewriting_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_all_materialized_view_objects_for_rewriting_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_all_materialized_view_objects_for_rewriting(resultHandler); + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting extends org.apache.thrift.AsyncProcessFunction> { public get_materialized_views_for_rewriting() { super("get_materialized_views_for_rewriting"); @@ -71206,22 +71347,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialized_views_for_rewriting_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_materialized_view_objects_for_rewriting_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_materialized_view_objects_for_rewriting_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_materialized_views_for_rewriting_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_materialized_views_for_rewriting_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_all_materialized_view_objects_for_rewriting_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_materialized_view_objects_for_rewriting_argsTupleSchemeFactory()); } - private String db_name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DB_NAME((short)1, "db_name"); +; private static final Map byName = new HashMap(); @@ -71236,8 +71375,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; default: return null; } @@ -71276,86 +71413,37 @@ public String getFieldName() { return _fieldName; } } - - // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialized_views_for_rewriting_args.class, metaDataMap); - } - - public get_materialized_views_for_rewriting_args() { + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_materialized_view_objects_for_rewriting_args.class, metaDataMap); } - public get_materialized_views_for_rewriting_args( - String db_name) - { - this(); - this.db_name = db_name; + public get_all_materialized_view_objects_for_rewriting_args() { } /** * Performs a deep copy on other. */ - public get_materialized_views_for_rewriting_args(get_materialized_views_for_rewriting_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } + public get_all_materialized_view_objects_for_rewriting_args(get_all_materialized_view_objects_for_rewriting_args other) { } - public get_materialized_views_for_rewriting_args deepCopy() { - return new get_materialized_views_for_rewriting_args(this); + public get_all_materialized_view_objects_for_rewriting_args deepCopy() { + return new get_all_materialized_view_objects_for_rewriting_args(this); } @Override public void clear() { - this.db_name = null; - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - } throw new IllegalStateException(); } @@ -71367,8 +71455,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); } throw new IllegalStateException(); } @@ -71377,24 +71463,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_materialized_views_for_rewriting_args) - return this.equals((get_materialized_views_for_rewriting_args)that); + if (that instanceof get_all_materialized_view_objects_for_rewriting_args) + return this.equals((get_all_materialized_view_objects_for_rewriting_args)that); return false; } - public boolean equals(get_materialized_views_for_rewriting_args that) { + public boolean equals(get_all_materialized_view_objects_for_rewriting_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - return true; } @@ -71402,32 +71479,17 @@ public boolean equals(get_materialized_views_for_rewriting_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_db_name = true && (isSetDb_name()); - list.add(present_db_name); - if (present_db_name) - list.add(db_name); - return list.hashCode(); } @Override - public int compareTo(get_materialized_views_for_rewriting_args other) { + public int compareTo(get_all_materialized_view_objects_for_rewriting_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -71445,16 +71507,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_materialized_views_for_rewriting_args("); + StringBuilder sb = new StringBuilder("get_all_materialized_view_objects_for_rewriting_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; sb.append(")"); return sb.toString(); } @@ -71480,15 +71535,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_materialized_views_for_rewriting_argsStandardSchemeFactory implements SchemeFactory { - public get_materialized_views_for_rewriting_argsStandardScheme getScheme() { - return new get_materialized_views_for_rewriting_argsStandardScheme(); + private static class get_all_materialized_view_objects_for_rewriting_argsStandardSchemeFactory implements SchemeFactory { + public get_all_materialized_view_objects_for_rewriting_argsStandardScheme getScheme() { + return new get_all_materialized_view_objects_for_rewriting_argsStandardScheme(); } } - private static class get_materialized_views_for_rewriting_argsStandardScheme extends StandardScheme { + private static class get_all_materialized_view_objects_for_rewriting_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_materialized_view_objects_for_rewriting_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -71498,14 +71553,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -71515,68 +71562,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_materialized_view_objects_for_rewriting_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_materialized_views_for_rewriting_argsTupleSchemeFactory implements SchemeFactory { - public get_materialized_views_for_rewriting_argsTupleScheme getScheme() { - return new get_materialized_views_for_rewriting_argsTupleScheme(); + private static class get_all_materialized_view_objects_for_rewriting_argsTupleSchemeFactory implements SchemeFactory { + public get_all_materialized_view_objects_for_rewriting_argsTupleScheme getScheme() { + return new get_all_materialized_view_objects_for_rewriting_argsTupleScheme(); } } - private static class get_materialized_views_for_rewriting_argsTupleScheme extends TupleScheme { + private static class get_all_materialized_view_objects_for_rewriting_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_materialized_view_objects_for_rewriting_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_materialized_view_objects_for_rewriting_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialized_views_for_rewriting_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_materialized_view_objects_for_rewriting_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_materialized_view_objects_for_rewriting_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_materialized_views_for_rewriting_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_materialized_views_for_rewriting_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_all_materialized_view_objects_for_rewriting_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_materialized_view_objects_for_rewriting_resultTupleSchemeFactory()); } - private List success; // required + private List
success; // required private MetaException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @@ -71646,18 +71675,18 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Table.class)))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialized_views_for_rewriting_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_materialized_view_objects_for_rewriting_result.class, metaDataMap); } - public get_materialized_views_for_rewriting_result() { + public get_all_materialized_view_objects_for_rewriting_result() { } - public get_materialized_views_for_rewriting_result( - List success, + public get_all_materialized_view_objects_for_rewriting_result( + List
success, MetaException o1) { this(); @@ -71668,9 +71697,12 @@ public get_materialized_views_for_rewriting_result( /** * Performs a deep copy on other. */ - public get_materialized_views_for_rewriting_result(get_materialized_views_for_rewriting_result other) { + public get_all_materialized_view_objects_for_rewriting_result(get_all_materialized_view_objects_for_rewriting_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success); + List
__this__success = new ArrayList
(other.success.size()); + for (Table other_element : other.success) { + __this__success.add(new Table(other_element)); + } this.success = __this__success; } if (other.isSetO1()) { @@ -71678,8 +71710,8 @@ public get_materialized_views_for_rewriting_result(get_materialized_views_for_re } } - public get_materialized_views_for_rewriting_result deepCopy() { - return new get_materialized_views_for_rewriting_result(this); + public get_all_materialized_view_objects_for_rewriting_result deepCopy() { + return new get_all_materialized_view_objects_for_rewriting_result(this); } @Override @@ -71692,22 +71724,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator
getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(String elem) { + public void addToSuccess(Table elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList
(); } this.success.add(elem); } - public List getSuccess() { + public List
getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(List
success) { this.success = success; } @@ -71755,7 +71787,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List
)value); } break; @@ -71801,12 +71833,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_materialized_views_for_rewriting_result) - return this.equals((get_materialized_views_for_rewriting_result)that); + if (that instanceof get_all_materialized_view_objects_for_rewriting_result) + return this.equals((get_all_materialized_view_objects_for_rewriting_result)that); return false; } - public boolean equals(get_materialized_views_for_rewriting_result that) { + public boolean equals(get_all_materialized_view_objects_for_rewriting_result that) { if (that == null) return false; @@ -71849,7 +71881,7 @@ public int hashCode() { } @Override - public int compareTo(get_materialized_views_for_rewriting_result other) { + public int compareTo(get_all_materialized_view_objects_for_rewriting_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -71893,7 +71925,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_materialized_views_for_rewriting_result("); + StringBuilder sb = new StringBuilder("get_all_materialized_view_objects_for_rewriting_result("); boolean first = true; sb.append("success:"); @@ -71936,15 +71968,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_materialized_views_for_rewriting_resultStandardSchemeFactory implements SchemeFactory { - public get_materialized_views_for_rewriting_resultStandardScheme getScheme() { - return new get_materialized_views_for_rewriting_resultStandardScheme(); + private static class get_all_materialized_view_objects_for_rewriting_resultStandardSchemeFactory implements SchemeFactory { + public get_all_materialized_view_objects_for_rewriting_resultStandardScheme getScheme() { + return new get_all_materialized_view_objects_for_rewriting_resultStandardScheme(); } } - private static class get_materialized_views_for_rewriting_resultStandardScheme extends StandardScheme { + private static class get_all_materialized_view_objects_for_rewriting_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_materialized_view_objects_for_rewriting_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -71958,11 +71990,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); - struct.success = new ArrayList(_list1162.size); - String _elem1163; + struct.success = new ArrayList
(_list1162.size); + Table _elem1163; for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1163 = iprot.readString(); + _elem1163 = new Table(); + _elem1163.read(iprot); struct.success.add(_elem1163); } iprot.readListEnd(); @@ -71990,17 +72023,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_materialized_view_objects_for_rewriting_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1165 : struct.success) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + for (Table _iter1165 : struct.success) { - oprot.writeString(_iter1165); + _iter1165.write(oprot); } oprot.writeListEnd(); } @@ -72017,16 +72050,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v } - private static class get_materialized_views_for_rewriting_resultTupleSchemeFactory implements SchemeFactory { - public get_materialized_views_for_rewriting_resultTupleScheme getScheme() { - return new get_materialized_views_for_rewriting_resultTupleScheme(); + private static class get_all_materialized_view_objects_for_rewriting_resultTupleSchemeFactory implements SchemeFactory { + public get_all_materialized_view_objects_for_rewriting_resultTupleScheme getScheme() { + return new get_all_materialized_view_objects_for_rewriting_resultTupleScheme(); } } - private static class get_materialized_views_for_rewriting_resultTupleScheme extends TupleScheme { + private static class get_all_materialized_view_objects_for_rewriting_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_materialized_view_objects_for_rewriting_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -72039,9 +72072,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1166 : struct.success) + for (Table _iter1166 : struct.success) { - oprot.writeString(_iter1166); + _iter1166.write(oprot); } } } @@ -72051,17 +72084,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_materialized_view_objects_for_rewriting_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1167.size); - String _elem1168; + org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1167.size); + Table _elem1168; for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) { - _elem1168 = iprot.readString(); + _elem1168 = new Table(); + _elem1168.read(iprot); struct.success.add(_elem1168); } } @@ -72077,28 +72111,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_meta_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_meta_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialized_views_for_rewriting_args"); - private static final org.apache.thrift.protocol.TField DB_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("db_patterns", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_patterns", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TBL_TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_types", org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_meta_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_meta_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_materialized_views_for_rewriting_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_materialized_views_for_rewriting_argsTupleSchemeFactory()); } - private String db_patterns; // required - private String tbl_patterns; // required - private List tbl_types; // required + private String db_name; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DB_PATTERNS((short)1, "db_patterns"), - TBL_PATTERNS((short)2, "tbl_patterns"), - TBL_TYPES((short)3, "tbl_types"); + DB_NAME((short)1, "db_name"); private static final Map byName = new HashMap(); @@ -72113,12 +72141,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_PATTERNS - return DB_PATTERNS; - case 2: // TBL_PATTERNS - return TBL_PATTERNS; - case 3: // TBL_TYPES - return TBL_TYPES; + case 1: // DB_NAME + return DB_NAME; default: return null; } @@ -72162,165 +72186,70 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("db_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("tbl_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_TYPES, new org.apache.thrift.meta_data.FieldMetaData("tbl_types", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_meta_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialized_views_for_rewriting_args.class, metaDataMap); } - public get_table_meta_args() { + public get_materialized_views_for_rewriting_args() { } - public get_table_meta_args( - String db_patterns, - String tbl_patterns, - List tbl_types) + public get_materialized_views_for_rewriting_args( + String db_name) { this(); - this.db_patterns = db_patterns; - this.tbl_patterns = tbl_patterns; - this.tbl_types = tbl_types; + this.db_name = db_name; } /** * Performs a deep copy on other. */ - public get_table_meta_args(get_table_meta_args other) { - if (other.isSetDb_patterns()) { - this.db_patterns = other.db_patterns; - } - if (other.isSetTbl_patterns()) { - this.tbl_patterns = other.tbl_patterns; - } - if (other.isSetTbl_types()) { - List __this__tbl_types = new ArrayList(other.tbl_types); - this.tbl_types = __this__tbl_types; + public get_materialized_views_for_rewriting_args(get_materialized_views_for_rewriting_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; } } - public get_table_meta_args deepCopy() { - return new get_table_meta_args(this); + public get_materialized_views_for_rewriting_args deepCopy() { + return new get_materialized_views_for_rewriting_args(this); } @Override public void clear() { - this.db_patterns = null; - this.tbl_patterns = null; - this.tbl_types = null; - } - - public String getDb_patterns() { - return this.db_patterns; - } - - public void setDb_patterns(String db_patterns) { - this.db_patterns = db_patterns; - } - - public void unsetDb_patterns() { - this.db_patterns = null; - } - - /** Returns true if field db_patterns is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_patterns() { - return this.db_patterns != null; - } - - public void setDb_patternsIsSet(boolean value) { - if (!value) { - this.db_patterns = null; - } - } - - public String getTbl_patterns() { - return this.tbl_patterns; - } - - public void setTbl_patterns(String tbl_patterns) { - this.tbl_patterns = tbl_patterns; - } - - public void unsetTbl_patterns() { - this.tbl_patterns = null; - } - - /** Returns true if field tbl_patterns is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_patterns() { - return this.tbl_patterns != null; - } - - public void setTbl_patternsIsSet(boolean value) { - if (!value) { - this.tbl_patterns = null; - } - } - - public int getTbl_typesSize() { - return (this.tbl_types == null) ? 0 : this.tbl_types.size(); - } - - public java.util.Iterator getTbl_typesIterator() { - return (this.tbl_types == null) ? null : this.tbl_types.iterator(); - } - - public void addToTbl_types(String elem) { - if (this.tbl_types == null) { - this.tbl_types = new ArrayList(); - } - this.tbl_types.add(elem); + this.db_name = null; } - public List getTbl_types() { - return this.tbl_types; + public String getDb_name() { + return this.db_name; } - public void setTbl_types(List tbl_types) { - this.tbl_types = tbl_types; + public void setDb_name(String db_name) { + this.db_name = db_name; } - public void unsetTbl_types() { - this.tbl_types = null; + public void unsetDb_name() { + this.db_name = null; } - /** Returns true if field tbl_types is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_types() { - return this.tbl_types != null; + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; } - public void setTbl_typesIsSet(boolean value) { + public void setDb_nameIsSet(boolean value) { if (!value) { - this.tbl_types = null; + this.db_name = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_PATTERNS: - if (value == null) { - unsetDb_patterns(); - } else { - setDb_patterns((String)value); - } - break; - - case TBL_PATTERNS: - if (value == null) { - unsetTbl_patterns(); - } else { - setTbl_patterns((String)value); - } - break; - - case TBL_TYPES: + case DB_NAME: if (value == null) { - unsetTbl_types(); + unsetDb_name(); } else { - setTbl_types((List)value); + setDb_name((String)value); } break; @@ -72329,14 +72258,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_PATTERNS: - return getDb_patterns(); - - case TBL_PATTERNS: - return getTbl_patterns(); - - case TBL_TYPES: - return getTbl_types(); + case DB_NAME: + return getDb_name(); } throw new IllegalStateException(); @@ -72349,12 +72272,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_PATTERNS: - return isSetDb_patterns(); - case TBL_PATTERNS: - return isSetTbl_patterns(); - case TBL_TYPES: - return isSetTbl_types(); + case DB_NAME: + return isSetDb_name(); } throw new IllegalStateException(); } @@ -72363,39 +72282,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_meta_args) - return this.equals((get_table_meta_args)that); + if (that instanceof get_materialized_views_for_rewriting_args) + return this.equals((get_materialized_views_for_rewriting_args)that); return false; } - public boolean equals(get_table_meta_args that) { + public boolean equals(get_materialized_views_for_rewriting_args that) { if (that == null) return false; - boolean this_present_db_patterns = true && this.isSetDb_patterns(); - boolean that_present_db_patterns = true && that.isSetDb_patterns(); - if (this_present_db_patterns || that_present_db_patterns) { - if (!(this_present_db_patterns && that_present_db_patterns)) - return false; - if (!this.db_patterns.equals(that.db_patterns)) - return false; - } - - boolean this_present_tbl_patterns = true && this.isSetTbl_patterns(); - boolean that_present_tbl_patterns = true && that.isSetTbl_patterns(); - if (this_present_tbl_patterns || that_present_tbl_patterns) { - if (!(this_present_tbl_patterns && that_present_tbl_patterns)) - return false; - if (!this.tbl_patterns.equals(that.tbl_patterns)) - return false; - } - - boolean this_present_tbl_types = true && this.isSetTbl_types(); - boolean that_present_tbl_types = true && that.isSetTbl_types(); - if (this_present_tbl_types || that_present_tbl_types) { - if (!(this_present_tbl_types && that_present_tbl_types)) + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) return false; - if (!this.tbl_types.equals(that.tbl_types)) + if (!this.db_name.equals(that.db_name)) return false; } @@ -72406,58 +72307,28 @@ public boolean equals(get_table_meta_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_db_patterns = true && (isSetDb_patterns()); - list.add(present_db_patterns); - if (present_db_patterns) - list.add(db_patterns); - - boolean present_tbl_patterns = true && (isSetTbl_patterns()); - list.add(present_tbl_patterns); - if (present_tbl_patterns) - list.add(tbl_patterns); - - boolean present_tbl_types = true && (isSetTbl_types()); - list.add(present_tbl_types); - if (present_tbl_types) - list.add(tbl_types); + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); return list.hashCode(); } @Override - public int compareTo(get_table_meta_args other) { + public int compareTo(get_materialized_views_for_rewriting_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetDb_patterns()).compareTo(other.isSetDb_patterns()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_patterns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_patterns, other.db_patterns); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_patterns()).compareTo(other.isSetTbl_patterns()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTbl_patterns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_patterns, other.tbl_patterns); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_types()).compareTo(other.isSetTbl_types()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetTbl_types()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_types, other.tbl_types); + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } @@ -72479,30 +72350,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_meta_args("); + StringBuilder sb = new StringBuilder("get_materialized_views_for_rewriting_args("); boolean first = true; - sb.append("db_patterns:"); - if (this.db_patterns == null) { - sb.append("null"); - } else { - sb.append(this.db_patterns); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_patterns:"); - if (this.tbl_patterns == null) { - sb.append("null"); - } else { - sb.append(this.tbl_patterns); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_types:"); - if (this.tbl_types == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.tbl_types); + sb.append(this.db_name); } first = false; sb.append(")"); @@ -72530,15 +72385,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_meta_argsStandardSchemeFactory implements SchemeFactory { - public get_table_meta_argsStandardScheme getScheme() { - return new get_table_meta_argsStandardScheme(); + private static class get_materialized_views_for_rewriting_argsStandardSchemeFactory implements SchemeFactory { + public get_materialized_views_for_rewriting_argsStandardScheme getScheme() { + return new get_materialized_views_for_rewriting_argsStandardScheme(); } } - private static class get_table_meta_argsStandardScheme extends StandardScheme { + private static class get_materialized_views_for_rewriting_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -72548,36 +72403,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args break; } switch (schemeField.id) { - case 1: // DB_PATTERNS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_patterns = iprot.readString(); - struct.setDb_patternsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_PATTERNS + case 1: // DB_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_patterns = iprot.readString(); - struct.setTbl_patternsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TBL_TYPES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1170 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1170.size); - String _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) - { - _elem1171 = iprot.readString(); - struct.tbl_types.add(_elem1171); - } - iprot.readListEnd(); - } - struct.setTbl_typesIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -72591,30 +72420,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_patterns != null) { - oprot.writeFieldBegin(DB_PATTERNS_FIELD_DESC); - oprot.writeString(struct.db_patterns); - oprot.writeFieldEnd(); - } - if (struct.tbl_patterns != null) { - oprot.writeFieldBegin(TBL_PATTERNS_FIELD_DESC); - oprot.writeString(struct.tbl_patterns); - oprot.writeFieldEnd(); - } - if (struct.tbl_types != null) { - oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter1173 : struct.tbl_types) - { - oprot.writeString(_iter1173); - } - oprot.writeListEnd(); - } + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -72623,88 +72435,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg } - private static class get_table_meta_argsTupleSchemeFactory implements SchemeFactory { - public get_table_meta_argsTupleScheme getScheme() { - return new get_table_meta_argsTupleScheme(); + private static class get_materialized_views_for_rewriting_argsTupleSchemeFactory implements SchemeFactory { + public get_materialized_views_for_rewriting_argsTupleScheme getScheme() { + return new get_materialized_views_for_rewriting_argsTupleScheme(); } } - private static class get_table_meta_argsTupleScheme extends TupleScheme { + private static class get_materialized_views_for_rewriting_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_patterns()) { + if (struct.isSetDb_name()) { optionals.set(0); } - if (struct.isSetTbl_patterns()) { - optionals.set(1); - } - if (struct.isSetTbl_types()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_patterns()) { - oprot.writeString(struct.db_patterns); - } - if (struct.isSetTbl_patterns()) { - oprot.writeString(struct.tbl_patterns); - } - if (struct.isSetTbl_types()) { - { - oprot.writeI32(struct.tbl_types.size()); - for (String _iter1174 : struct.tbl_types) - { - oprot.writeString(_iter1174); - } - } + oprot.writeBitSet(optionals, 1); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.db_patterns = iprot.readString(); - struct.setDb_patternsIsSet(true); - } - if (incoming.get(1)) { - struct.tbl_patterns = iprot.readString(); - struct.setTbl_patternsIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1175.size); - String _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) - { - _elem1176 = iprot.readString(); - struct.tbl_types.add(_elem1176); - } - } - struct.setTbl_typesIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_meta_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_meta_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialized_views_for_rewriting_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialized_views_for_rewriting_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_meta_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_meta_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_materialized_views_for_rewriting_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_materialized_views_for_rewriting_resultTupleSchemeFactory()); } - private List success; // required + private List success; // required private MetaException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @@ -72774,18 +72551,18 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableMeta.class)))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_meta_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialized_views_for_rewriting_result.class, metaDataMap); } - public get_table_meta_result() { + public get_materialized_views_for_rewriting_result() { } - public get_table_meta_result( - List success, + public get_materialized_views_for_rewriting_result( + List success, MetaException o1) { this(); @@ -72796,12 +72573,9 @@ public get_table_meta_result( /** * Performs a deep copy on other. */ - public get_table_meta_result(get_table_meta_result other) { + public get_materialized_views_for_rewriting_result(get_materialized_views_for_rewriting_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (TableMeta other_element : other.success) { - __this__success.add(new TableMeta(other_element)); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -72809,8 +72583,8 @@ public get_table_meta_result(get_table_meta_result other) { } } - public get_table_meta_result deepCopy() { - return new get_table_meta_result(this); + public get_materialized_views_for_rewriting_result deepCopy() { + return new get_materialized_views_for_rewriting_result(this); } @Override @@ -72823,22 +72597,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(TableMeta elem) { + public void addToSuccess(String elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(List success) { this.success = success; } @@ -72886,7 +72660,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -72932,12 +72706,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_meta_result) - return this.equals((get_table_meta_result)that); + if (that instanceof get_materialized_views_for_rewriting_result) + return this.equals((get_materialized_views_for_rewriting_result)that); return false; } - public boolean equals(get_table_meta_result that) { + public boolean equals(get_materialized_views_for_rewriting_result that) { if (that == null) return false; @@ -72980,7 +72754,7 @@ public int hashCode() { } @Override - public int compareTo(get_table_meta_result other) { + public int compareTo(get_materialized_views_for_rewriting_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -73024,7 +72798,1138 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_meta_result("); + StringBuilder sb = new StringBuilder("get_materialized_views_for_rewriting_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } else { + sb.append(this.o1); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_materialized_views_for_rewriting_resultStandardSchemeFactory implements SchemeFactory { + public get_materialized_views_for_rewriting_resultStandardScheme getScheme() { + return new get_materialized_views_for_rewriting_resultStandardScheme(); + } + } + + private static class get_materialized_views_for_rewriting_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1170 = iprot.readListBegin(); + struct.success = new ArrayList(_list1170.size); + String _elem1171; + for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + { + _elem1171 = iprot.readString(); + struct.success.add(_elem1171); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1173 : struct.success) + { + oprot.writeString(_iter1173); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_materialized_views_for_rewriting_resultTupleSchemeFactory implements SchemeFactory { + public get_materialized_views_for_rewriting_resultTupleScheme getScheme() { + return new get_materialized_views_for_rewriting_resultTupleScheme(); + } + } + + private static class get_materialized_views_for_rewriting_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter1174 : struct.success) + { + oprot.writeString(_iter1174); + } + } + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_views_for_rewriting_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1175.size); + String _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) + { + _elem1176 = iprot.readString(); + struct.success.add(_elem1176); + } + } + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_meta_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_meta_args"); + + private static final org.apache.thrift.protocol.TField DB_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("db_patterns", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_patterns", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField TBL_TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_types", org.apache.thrift.protocol.TType.LIST, (short)3); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_table_meta_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_meta_argsTupleSchemeFactory()); + } + + private String db_patterns; // required + private String tbl_patterns; // required + private List tbl_types; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + DB_PATTERNS((short)1, "db_patterns"), + TBL_PATTERNS((short)2, "tbl_patterns"), + TBL_TYPES((short)3, "tbl_types"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_PATTERNS + return DB_PATTERNS; + case 2: // TBL_PATTERNS + return TBL_PATTERNS; + case 3: // TBL_TYPES + return TBL_TYPES; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DB_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("db_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("tbl_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_TYPES, new org.apache.thrift.meta_data.FieldMetaData("tbl_types", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_meta_args.class, metaDataMap); + } + + public get_table_meta_args() { + } + + public get_table_meta_args( + String db_patterns, + String tbl_patterns, + List tbl_types) + { + this(); + this.db_patterns = db_patterns; + this.tbl_patterns = tbl_patterns; + this.tbl_types = tbl_types; + } + + /** + * Performs a deep copy on other. + */ + public get_table_meta_args(get_table_meta_args other) { + if (other.isSetDb_patterns()) { + this.db_patterns = other.db_patterns; + } + if (other.isSetTbl_patterns()) { + this.tbl_patterns = other.tbl_patterns; + } + if (other.isSetTbl_types()) { + List __this__tbl_types = new ArrayList(other.tbl_types); + this.tbl_types = __this__tbl_types; + } + } + + public get_table_meta_args deepCopy() { + return new get_table_meta_args(this); + } + + @Override + public void clear() { + this.db_patterns = null; + this.tbl_patterns = null; + this.tbl_types = null; + } + + public String getDb_patterns() { + return this.db_patterns; + } + + public void setDb_patterns(String db_patterns) { + this.db_patterns = db_patterns; + } + + public void unsetDb_patterns() { + this.db_patterns = null; + } + + /** Returns true if field db_patterns is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_patterns() { + return this.db_patterns != null; + } + + public void setDb_patternsIsSet(boolean value) { + if (!value) { + this.db_patterns = null; + } + } + + public String getTbl_patterns() { + return this.tbl_patterns; + } + + public void setTbl_patterns(String tbl_patterns) { + this.tbl_patterns = tbl_patterns; + } + + public void unsetTbl_patterns() { + this.tbl_patterns = null; + } + + /** Returns true if field tbl_patterns is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_patterns() { + return this.tbl_patterns != null; + } + + public void setTbl_patternsIsSet(boolean value) { + if (!value) { + this.tbl_patterns = null; + } + } + + public int getTbl_typesSize() { + return (this.tbl_types == null) ? 0 : this.tbl_types.size(); + } + + public java.util.Iterator getTbl_typesIterator() { + return (this.tbl_types == null) ? null : this.tbl_types.iterator(); + } + + public void addToTbl_types(String elem) { + if (this.tbl_types == null) { + this.tbl_types = new ArrayList(); + } + this.tbl_types.add(elem); + } + + public List getTbl_types() { + return this.tbl_types; + } + + public void setTbl_types(List tbl_types) { + this.tbl_types = tbl_types; + } + + public void unsetTbl_types() { + this.tbl_types = null; + } + + /** Returns true if field tbl_types is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_types() { + return this.tbl_types != null; + } + + public void setTbl_typesIsSet(boolean value) { + if (!value) { + this.tbl_types = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_PATTERNS: + if (value == null) { + unsetDb_patterns(); + } else { + setDb_patterns((String)value); + } + break; + + case TBL_PATTERNS: + if (value == null) { + unsetTbl_patterns(); + } else { + setTbl_patterns((String)value); + } + break; + + case TBL_TYPES: + if (value == null) { + unsetTbl_types(); + } else { + setTbl_types((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_PATTERNS: + return getDb_patterns(); + + case TBL_PATTERNS: + return getTbl_patterns(); + + case TBL_TYPES: + return getTbl_types(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_PATTERNS: + return isSetDb_patterns(); + case TBL_PATTERNS: + return isSetTbl_patterns(); + case TBL_TYPES: + return isSetTbl_types(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_table_meta_args) + return this.equals((get_table_meta_args)that); + return false; + } + + public boolean equals(get_table_meta_args that) { + if (that == null) + return false; + + boolean this_present_db_patterns = true && this.isSetDb_patterns(); + boolean that_present_db_patterns = true && that.isSetDb_patterns(); + if (this_present_db_patterns || that_present_db_patterns) { + if (!(this_present_db_patterns && that_present_db_patterns)) + return false; + if (!this.db_patterns.equals(that.db_patterns)) + return false; + } + + boolean this_present_tbl_patterns = true && this.isSetTbl_patterns(); + boolean that_present_tbl_patterns = true && that.isSetTbl_patterns(); + if (this_present_tbl_patterns || that_present_tbl_patterns) { + if (!(this_present_tbl_patterns && that_present_tbl_patterns)) + return false; + if (!this.tbl_patterns.equals(that.tbl_patterns)) + return false; + } + + boolean this_present_tbl_types = true && this.isSetTbl_types(); + boolean that_present_tbl_types = true && that.isSetTbl_types(); + if (this_present_tbl_types || that_present_tbl_types) { + if (!(this_present_tbl_types && that_present_tbl_types)) + return false; + if (!this.tbl_types.equals(that.tbl_types)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_db_patterns = true && (isSetDb_patterns()); + list.add(present_db_patterns); + if (present_db_patterns) + list.add(db_patterns); + + boolean present_tbl_patterns = true && (isSetTbl_patterns()); + list.add(present_tbl_patterns); + if (present_tbl_patterns) + list.add(tbl_patterns); + + boolean present_tbl_types = true && (isSetTbl_types()); + list.add(present_tbl_types); + if (present_tbl_types) + list.add(tbl_types); + + return list.hashCode(); + } + + @Override + public int compareTo(get_table_meta_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDb_patterns()).compareTo(other.isSetDb_patterns()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDb_patterns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_patterns, other.db_patterns); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_patterns()).compareTo(other.isSetTbl_patterns()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_patterns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_patterns, other.tbl_patterns); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_types()).compareTo(other.isSetTbl_types()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_types()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_types, other.tbl_types); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_table_meta_args("); + boolean first = true; + + sb.append("db_patterns:"); + if (this.db_patterns == null) { + sb.append("null"); + } else { + sb.append(this.db_patterns); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_patterns:"); + if (this.tbl_patterns == null) { + sb.append("null"); + } else { + sb.append(this.tbl_patterns); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_types:"); + if (this.tbl_types == null) { + sb.append("null"); + } else { + sb.append(this.tbl_types); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_table_meta_argsStandardSchemeFactory implements SchemeFactory { + public get_table_meta_argsStandardScheme getScheme() { + return new get_table_meta_argsStandardScheme(); + } + } + + private static class get_table_meta_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_PATTERNS + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.db_patterns = iprot.readString(); + struct.setDb_patternsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_PATTERNS + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tbl_patterns = iprot.readString(); + struct.setTbl_patternsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TBL_TYPES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1178.size); + String _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) + { + _elem1179 = iprot.readString(); + struct.tbl_types.add(_elem1179); + } + iprot.readListEnd(); + } + struct.setTbl_typesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.db_patterns != null) { + oprot.writeFieldBegin(DB_PATTERNS_FIELD_DESC); + oprot.writeString(struct.db_patterns); + oprot.writeFieldEnd(); + } + if (struct.tbl_patterns != null) { + oprot.writeFieldBegin(TBL_PATTERNS_FIELD_DESC); + oprot.writeString(struct.tbl_patterns); + oprot.writeFieldEnd(); + } + if (struct.tbl_types != null) { + oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); + for (String _iter1181 : struct.tbl_types) + { + oprot.writeString(_iter1181); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_table_meta_argsTupleSchemeFactory implements SchemeFactory { + public get_table_meta_argsTupleScheme getScheme() { + return new get_table_meta_argsTupleScheme(); + } + } + + private static class get_table_meta_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetDb_patterns()) { + optionals.set(0); + } + if (struct.isSetTbl_patterns()) { + optionals.set(1); + } + if (struct.isSetTbl_types()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetDb_patterns()) { + oprot.writeString(struct.db_patterns); + } + if (struct.isSetTbl_patterns()) { + oprot.writeString(struct.tbl_patterns); + } + if (struct.isSetTbl_types()) { + { + oprot.writeI32(struct.tbl_types.size()); + for (String _iter1182 : struct.tbl_types) + { + oprot.writeString(_iter1182); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.db_patterns = iprot.readString(); + struct.setDb_patternsIsSet(true); + } + if (incoming.get(1)) { + struct.tbl_patterns = iprot.readString(); + struct.setTbl_patternsIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1183.size); + String _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) + { + _elem1184 = iprot.readString(); + struct.tbl_types.add(_elem1184); + } + } + struct.setTbl_typesIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_meta_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_meta_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_table_meta_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_meta_resultTupleSchemeFactory()); + } + + private List success; // required + private MetaException o1; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"), + O1((short)1, "o1"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // O1 + return O1; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableMeta.class)))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_meta_result.class, metaDataMap); + } + + public get_table_meta_result() { + } + + public get_table_meta_result( + List success, + MetaException o1) + { + this(); + this.success = success; + this.o1 = o1; + } + + /** + * Performs a deep copy on other. + */ + public get_table_meta_result(get_table_meta_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success.size()); + for (TableMeta other_element : other.success) { + __this__success.add(new TableMeta(other_element)); + } + this.success = __this__success; + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + } + + public get_table_meta_result deepCopy() { + return new get_table_meta_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(TableMeta elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { + return this.success; + } + + public void setSuccess(List success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public MetaException getO1() { + return this.o1; + } + + public void setO1(MetaException o1) { + this.o1 = o1; + } + + public void unsetO1() { + this.o1 = null; + } + + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; + } + + public void setO1IsSet(boolean value) { + if (!value) { + this.o1 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((List)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case O1: + return isSetO1(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_table_meta_result) + return this.equals((get_table_meta_result)that); + return false; + } + + public boolean equals(get_table_meta_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) + return false; + if (!this.o1.equals(that.o1)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + return list.hashCode(); + } + + @Override + public int compareTo(get_table_meta_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_table_meta_result("); boolean first = true; sb.append("success:"); @@ -73088,14 +73993,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); - struct.success = new ArrayList(_list1178.size); - TableMeta _elem1179; - for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) + org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); + struct.success = new ArrayList(_list1186.size); + TableMeta _elem1187; + for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) { - _elem1179 = new TableMeta(); - _elem1179.read(iprot); - struct.success.add(_elem1179); + _elem1187 = new TableMeta(); + _elem1187.read(iprot); + struct.success.add(_elem1187); } iprot.readListEnd(); } @@ -73130,9 +74035,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1181 : struct.success) + for (TableMeta _iter1189 : struct.success) { - _iter1181.write(oprot); + _iter1189.write(oprot); } oprot.writeListEnd(); } @@ -73171,9 +74076,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1182 : struct.success) + for (TableMeta _iter1190 : struct.success) { - _iter1182.write(oprot); + _iter1190.write(oprot); } } } @@ -73188,14 +74093,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1183.size); - TableMeta _elem1184; - for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) + org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1191.size); + TableMeta _elem1192; + for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) { - _elem1184 = new TableMeta(); - _elem1184.read(iprot); - struct.success.add(_elem1184); + _elem1192 = new TableMeta(); + _elem1192.read(iprot); + struct.success.add(_elem1192); } } struct.setSuccessIsSet(true); @@ -73961,13 +74866,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); - struct.success = new ArrayList(_list1186.size); - String _elem1187; - for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.success = new ArrayList(_list1194.size); + String _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1187 = iprot.readString(); - struct.success.add(_elem1187); + _elem1195 = iprot.readString(); + struct.success.add(_elem1195); } iprot.readListEnd(); } @@ -74002,9 +74907,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1189 : struct.success) + for (String _iter1197 : struct.success) { - oprot.writeString(_iter1189); + oprot.writeString(_iter1197); } oprot.writeListEnd(); } @@ -74043,9 +74948,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1190 : struct.success) + for (String _iter1198 : struct.success) { - oprot.writeString(_iter1190); + oprot.writeString(_iter1198); } } } @@ -74060,13 +74965,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1191.size); - String _elem1192; - for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1199.size); + String _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1192 = iprot.readString(); - struct.success.add(_elem1192); + _elem1200 = iprot.readString(); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -75519,13 +76424,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1194.size); - String _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1202.size); + String _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = iprot.readString(); - struct.tbl_names.add(_elem1195); + _elem1203 = iprot.readString(); + struct.tbl_names.add(_elem1203); } iprot.readListEnd(); } @@ -75556,9 +76461,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1197 : struct.tbl_names) + for (String _iter1205 : struct.tbl_names) { - oprot.writeString(_iter1197); + oprot.writeString(_iter1205); } oprot.writeListEnd(); } @@ -75595,9 +76500,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1198 : struct.tbl_names) + for (String _iter1206 : struct.tbl_names) { - oprot.writeString(_iter1198); + oprot.writeString(_iter1206); } } } @@ -75613,13 +76518,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1199.size); - String _elem1200; - for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1207.size); + String _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1200 = iprot.readString(); - struct.tbl_names.add(_elem1200); + _elem1208 = iprot.readString(); + struct.tbl_names.add(_elem1208); } } struct.setTbl_namesIsSet(true); @@ -75944,14 +76849,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1202.size); - Table _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1210.size); + Table _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1203 = new Table(); - _elem1203.read(iprot); - struct.success.add(_elem1203); + _elem1211 = new Table(); + _elem1211.read(iprot); + struct.success.add(_elem1211); } iprot.readListEnd(); } @@ -75977,9 +76882,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1205 : struct.success) + for (Table _iter1213 : struct.success) { - _iter1205.write(oprot); + _iter1213.write(oprot); } oprot.writeListEnd(); } @@ -76010,9 +76915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1206 : struct.success) + for (Table _iter1214 : struct.success) { - _iter1206.write(oprot); + _iter1214.write(oprot); } } } @@ -76024,14 +76929,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1207.size); - Table _elem1208; - for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1215.size); + Table _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1208 = new Table(); - _elem1208.read(iprot); - struct.success.add(_elem1208); + _elem1216 = new Table(); + _elem1216.read(iprot); + struct.success.add(_elem1216); } } struct.setSuccessIsSet(true); @@ -81539,13 +82444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); - struct.success = new ArrayList(_list1210.size); - String _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.success = new ArrayList(_list1218.size); + String _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1211 = iprot.readString(); - struct.success.add(_elem1211); + _elem1219 = iprot.readString(); + struct.success.add(_elem1219); } iprot.readListEnd(); } @@ -81598,9 +82503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1213 : struct.success) + for (String _iter1221 : struct.success) { - oprot.writeString(_iter1213); + oprot.writeString(_iter1221); } oprot.writeListEnd(); } @@ -81655,9 +82560,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1214 : struct.success) + for (String _iter1222 : struct.success) { - oprot.writeString(_iter1214); + oprot.writeString(_iter1222); } } } @@ -81678,13 +82583,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1215.size); - String _elem1216; - for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1223.size); + String _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1216 = iprot.readString(); - struct.success.add(_elem1216); + _elem1224 = iprot.readString(); + struct.success.add(_elem1224); } } struct.setSuccessIsSet(true); @@ -88481,14 +89386,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1218.size); - Partition _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1226.size); + Partition _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = new Partition(); - _elem1219.read(iprot); - struct.new_parts.add(_elem1219); + _elem1227 = new Partition(); + _elem1227.read(iprot); + struct.new_parts.add(_elem1227); } iprot.readListEnd(); } @@ -88514,9 +89419,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1221 : struct.new_parts) + for (Partition _iter1229 : struct.new_parts) { - _iter1221.write(oprot); + _iter1229.write(oprot); } oprot.writeListEnd(); } @@ -88547,9 +89452,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1222 : struct.new_parts) + for (Partition _iter1230 : struct.new_parts) { - _iter1222.write(oprot); + _iter1230.write(oprot); } } } @@ -88561,14 +89466,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1223.size); - Partition _elem1224; - for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) + org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1231.size); + Partition _elem1232; + for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) { - _elem1224 = new Partition(); - _elem1224.read(iprot); - struct.new_parts.add(_elem1224); + _elem1232 = new Partition(); + _elem1232.read(iprot); + struct.new_parts.add(_elem1232); } } struct.setNew_partsIsSet(true); @@ -89569,14 +90474,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1226.size); - PartitionSpec _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1234.size); + PartitionSpec _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1227 = new PartitionSpec(); - _elem1227.read(iprot); - struct.new_parts.add(_elem1227); + _elem1235 = new PartitionSpec(); + _elem1235.read(iprot); + struct.new_parts.add(_elem1235); } iprot.readListEnd(); } @@ -89602,9 +90507,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter1229 : struct.new_parts) + for (PartitionSpec _iter1237 : struct.new_parts) { - _iter1229.write(oprot); + _iter1237.write(oprot); } oprot.writeListEnd(); } @@ -89635,9 +90540,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter1230 : struct.new_parts) + for (PartitionSpec _iter1238 : struct.new_parts) { - _iter1230.write(oprot); + _iter1238.write(oprot); } } } @@ -89649,14 +90554,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1231.size); - PartitionSpec _elem1232; - for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) + org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1239.size); + PartitionSpec _elem1240; + for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) { - _elem1232 = new PartitionSpec(); - _elem1232.read(iprot); - struct.new_parts.add(_elem1232); + _elem1240 = new PartitionSpec(); + _elem1240.read(iprot); + struct.new_parts.add(_elem1240); } } struct.setNew_partsIsSet(true); @@ -90832,13 +91737,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1234.size); - String _elem1235; - for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) + org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1242.size); + String _elem1243; + for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1235 = iprot.readString(); - struct.part_vals.add(_elem1235); + _elem1243 = iprot.readString(); + struct.part_vals.add(_elem1243); } iprot.readListEnd(); } @@ -90874,9 +91779,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1237 : struct.part_vals) + for (String _iter1245 : struct.part_vals) { - oprot.writeString(_iter1237); + oprot.writeString(_iter1245); } oprot.writeListEnd(); } @@ -90919,9 +91824,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1238 : struct.part_vals) + for (String _iter1246 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1246); } } } @@ -90941,13 +91846,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1239.size); - String _elem1240; - for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1247.size); + String _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1240 = iprot.readString(); - struct.part_vals.add(_elem1240); + _elem1248 = iprot.readString(); + struct.part_vals.add(_elem1248); } } struct.setPart_valsIsSet(true); @@ -93256,13 +94161,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1242.size); - String _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1250.size); + String _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = iprot.readString(); - struct.part_vals.add(_elem1243); + _elem1251 = iprot.readString(); + struct.part_vals.add(_elem1251); } iprot.readListEnd(); } @@ -93307,9 +94212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1245 : struct.part_vals) + for (String _iter1253 : struct.part_vals) { - oprot.writeString(_iter1245); + oprot.writeString(_iter1253); } oprot.writeListEnd(); } @@ -93360,9 +94265,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1246 : struct.part_vals) + for (String _iter1254 : struct.part_vals) { - oprot.writeString(_iter1246); + oprot.writeString(_iter1254); } } } @@ -93385,13 +94290,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1247.size); - String _elem1248; - for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) + org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1255.size); + String _elem1256; + for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) { - _elem1248 = iprot.readString(); - struct.part_vals.add(_elem1248); + _elem1256 = iprot.readString(); + struct.part_vals.add(_elem1256); } } struct.setPart_valsIsSet(true); @@ -97261,13 +98166,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1250.size); - String _elem1251; - for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) + org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1258.size); + String _elem1259; + for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) { - _elem1251 = iprot.readString(); - struct.part_vals.add(_elem1251); + _elem1259 = iprot.readString(); + struct.part_vals.add(_elem1259); } iprot.readListEnd(); } @@ -97311,9 +98216,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1253 : struct.part_vals) + for (String _iter1261 : struct.part_vals) { - oprot.writeString(_iter1253); + oprot.writeString(_iter1261); } oprot.writeListEnd(); } @@ -97362,9 +98267,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1254 : struct.part_vals) + for (String _iter1262 : struct.part_vals) { - oprot.writeString(_iter1254); + oprot.writeString(_iter1262); } } } @@ -97387,13 +98292,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1255.size); - String _elem1256; - for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) + org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1263.size); + String _elem1264; + for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) { - _elem1256 = iprot.readString(); - struct.part_vals.add(_elem1256); + _elem1264 = iprot.readString(); + struct.part_vals.add(_elem1264); } } struct.setPart_valsIsSet(true); @@ -98632,13 +99537,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1258.size); - String _elem1259; - for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) + org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1266.size); + String _elem1267; + for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) { - _elem1259 = iprot.readString(); - struct.part_vals.add(_elem1259); + _elem1267 = iprot.readString(); + struct.part_vals.add(_elem1267); } iprot.readListEnd(); } @@ -98691,9 +99596,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1261 : struct.part_vals) + for (String _iter1269 : struct.part_vals) { - oprot.writeString(_iter1261); + oprot.writeString(_iter1269); } oprot.writeListEnd(); } @@ -98750,9 +99655,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1262 : struct.part_vals) + for (String _iter1270 : struct.part_vals) { - oprot.writeString(_iter1262); + oprot.writeString(_iter1270); } } } @@ -98778,13 +99683,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1263.size); - String _elem1264; - for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) + org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1271.size); + String _elem1272; + for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) { - _elem1264 = iprot.readString(); - struct.part_vals.add(_elem1264); + _elem1272 = iprot.readString(); + struct.part_vals.add(_elem1272); } } struct.setPart_valsIsSet(true); @@ -103386,13 +104291,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1266.size); - String _elem1267; - for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) + org.apache.thrift.protocol.TList _list1274 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1274.size); + String _elem1275; + for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) { - _elem1267 = iprot.readString(); - struct.part_vals.add(_elem1267); + _elem1275 = iprot.readString(); + struct.part_vals.add(_elem1275); } iprot.readListEnd(); } @@ -103428,9 +104333,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1269 : struct.part_vals) + for (String _iter1277 : struct.part_vals) { - oprot.writeString(_iter1269); + oprot.writeString(_iter1277); } oprot.writeListEnd(); } @@ -103473,9 +104378,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1270 : struct.part_vals) + for (String _iter1278 : struct.part_vals) { - oprot.writeString(_iter1270); + oprot.writeString(_iter1278); } } } @@ -103495,13 +104400,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1271.size); - String _elem1272; - for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) + org.apache.thrift.protocol.TList _list1279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1279.size); + String _elem1280; + for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281) { - _elem1272 = iprot.readString(); - struct.part_vals.add(_elem1272); + _elem1280 = iprot.readString(); + struct.part_vals.add(_elem1280); } } struct.setPart_valsIsSet(true); @@ -104719,15 +105624,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1274 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1274.size); - String _key1275; - String _val1276; - for (int _i1277 = 0; _i1277 < _map1274.size; ++_i1277) + org.apache.thrift.protocol.TMap _map1282 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1282.size); + String _key1283; + String _val1284; + for (int _i1285 = 0; _i1285 < _map1282.size; ++_i1285) { - _key1275 = iprot.readString(); - _val1276 = iprot.readString(); - struct.partitionSpecs.put(_key1275, _val1276); + _key1283 = iprot.readString(); + _val1284 = iprot.readString(); + struct.partitionSpecs.put(_key1283, _val1284); } iprot.readMapEnd(); } @@ -104785,10 +105690,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1278 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1286 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1278.getKey()); - oprot.writeString(_iter1278.getValue()); + oprot.writeString(_iter1286.getKey()); + oprot.writeString(_iter1286.getValue()); } oprot.writeMapEnd(); } @@ -104851,10 +105756,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1279 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1287 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1279.getKey()); - oprot.writeString(_iter1279.getValue()); + oprot.writeString(_iter1287.getKey()); + oprot.writeString(_iter1287.getValue()); } } } @@ -104878,15 +105783,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1280 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1280.size); - String _key1281; - String _val1282; - for (int _i1283 = 0; _i1283 < _map1280.size; ++_i1283) + org.apache.thrift.protocol.TMap _map1288 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1288.size); + String _key1289; + String _val1290; + for (int _i1291 = 0; _i1291 < _map1288.size; ++_i1291) { - _key1281 = iprot.readString(); - _val1282 = iprot.readString(); - struct.partitionSpecs.put(_key1281, _val1282); + _key1289 = iprot.readString(); + _val1290 = iprot.readString(); + struct.partitionSpecs.put(_key1289, _val1290); } } struct.setPartitionSpecsIsSet(true); @@ -106332,15 +107237,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1284 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1284.size); - String _key1285; - String _val1286; - for (int _i1287 = 0; _i1287 < _map1284.size; ++_i1287) + org.apache.thrift.protocol.TMap _map1292 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1292.size); + String _key1293; + String _val1294; + for (int _i1295 = 0; _i1295 < _map1292.size; ++_i1295) { - _key1285 = iprot.readString(); - _val1286 = iprot.readString(); - struct.partitionSpecs.put(_key1285, _val1286); + _key1293 = iprot.readString(); + _val1294 = iprot.readString(); + struct.partitionSpecs.put(_key1293, _val1294); } iprot.readMapEnd(); } @@ -106398,10 +107303,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1288 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1296 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1288.getKey()); - oprot.writeString(_iter1288.getValue()); + oprot.writeString(_iter1296.getKey()); + oprot.writeString(_iter1296.getValue()); } oprot.writeMapEnd(); } @@ -106464,10 +107369,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1289 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1297 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1289.getKey()); - oprot.writeString(_iter1289.getValue()); + oprot.writeString(_iter1297.getKey()); + oprot.writeString(_iter1297.getValue()); } } } @@ -106491,15 +107396,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1290 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1290.size); - String _key1291; - String _val1292; - for (int _i1293 = 0; _i1293 < _map1290.size; ++_i1293) + org.apache.thrift.protocol.TMap _map1298 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1298.size); + String _key1299; + String _val1300; + for (int _i1301 = 0; _i1301 < _map1298.size; ++_i1301) { - _key1291 = iprot.readString(); - _val1292 = iprot.readString(); - struct.partitionSpecs.put(_key1291, _val1292); + _key1299 = iprot.readString(); + _val1300 = iprot.readString(); + struct.partitionSpecs.put(_key1299, _val1300); } } struct.setPartitionSpecsIsSet(true); @@ -107164,14 +108069,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1294 = iprot.readListBegin(); - struct.success = new ArrayList(_list1294.size); - Partition _elem1295; - for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) + org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); + struct.success = new ArrayList(_list1302.size); + Partition _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1295 = new Partition(); - _elem1295.read(iprot); - struct.success.add(_elem1295); + _elem1303 = new Partition(); + _elem1303.read(iprot); + struct.success.add(_elem1303); } iprot.readListEnd(); } @@ -107233,9 +108138,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1297 : struct.success) + for (Partition _iter1305 : struct.success) { - _iter1297.write(oprot); + _iter1305.write(oprot); } oprot.writeListEnd(); } @@ -107298,9 +108203,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1298 : struct.success) + for (Partition _iter1306 : struct.success) { - _iter1298.write(oprot); + _iter1306.write(oprot); } } } @@ -107324,14 +108229,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1299.size); - Partition _elem1300; - for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) + org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1307.size); + Partition _elem1308; + for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1300 = new Partition(); - _elem1300.read(iprot); - struct.success.add(_elem1300); + _elem1308 = new Partition(); + _elem1308.read(iprot); + struct.success.add(_elem1308); } } struct.setSuccessIsSet(true); @@ -108030,13 +108935,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1302.size); - String _elem1303; - for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1310.size); + String _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1303 = iprot.readString(); - struct.part_vals.add(_elem1303); + _elem1311 = iprot.readString(); + struct.part_vals.add(_elem1311); } iprot.readListEnd(); } @@ -108056,13 +108961,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1305 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1305.size); - String _elem1306; - for (int _i1307 = 0; _i1307 < _list1305.size; ++_i1307) + org.apache.thrift.protocol.TList _list1313 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1313.size); + String _elem1314; + for (int _i1315 = 0; _i1315 < _list1313.size; ++_i1315) { - _elem1306 = iprot.readString(); - struct.group_names.add(_elem1306); + _elem1314 = iprot.readString(); + struct.group_names.add(_elem1314); } iprot.readListEnd(); } @@ -108098,9 +109003,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1308 : struct.part_vals) + for (String _iter1316 : struct.part_vals) { - oprot.writeString(_iter1308); + oprot.writeString(_iter1316); } oprot.writeListEnd(); } @@ -108115,9 +109020,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1309 : struct.group_names) + for (String _iter1317 : struct.group_names) { - oprot.writeString(_iter1309); + oprot.writeString(_iter1317); } oprot.writeListEnd(); } @@ -108166,9 +109071,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1310 : struct.part_vals) + for (String _iter1318 : struct.part_vals) { - oprot.writeString(_iter1310); + oprot.writeString(_iter1318); } } } @@ -108178,9 +109083,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1311 : struct.group_names) + for (String _iter1319 : struct.group_names) { - oprot.writeString(_iter1311); + oprot.writeString(_iter1319); } } } @@ -108200,13 +109105,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1312 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1312.size); - String _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1320.size); + String _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = iprot.readString(); - struct.part_vals.add(_elem1313); + _elem1321 = iprot.readString(); + struct.part_vals.add(_elem1321); } } struct.setPart_valsIsSet(true); @@ -108217,13 +109122,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1315.size); - String _elem1316; - for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) + org.apache.thrift.protocol.TList _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1323.size); + String _elem1324; + for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) { - _elem1316 = iprot.readString(); - struct.group_names.add(_elem1316); + _elem1324 = iprot.readString(); + struct.group_names.add(_elem1324); } } struct.setGroup_namesIsSet(true); @@ -110992,14 +111897,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); - struct.success = new ArrayList(_list1318.size); - Partition _elem1319; - for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) + org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); + struct.success = new ArrayList(_list1326.size); + Partition _elem1327; + for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) { - _elem1319 = new Partition(); - _elem1319.read(iprot); - struct.success.add(_elem1319); + _elem1327 = new Partition(); + _elem1327.read(iprot); + struct.success.add(_elem1327); } iprot.readListEnd(); } @@ -111043,9 +111948,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1321 : struct.success) + for (Partition _iter1329 : struct.success) { - _iter1321.write(oprot); + _iter1329.write(oprot); } oprot.writeListEnd(); } @@ -111092,9 +111997,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1322 : struct.success) + for (Partition _iter1330 : struct.success) { - _iter1322.write(oprot); + _iter1330.write(oprot); } } } @@ -111112,14 +112017,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1323.size); - Partition _elem1324; - for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) + org.apache.thrift.protocol.TList _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1331.size); + Partition _elem1332; + for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) { - _elem1324 = new Partition(); - _elem1324.read(iprot); - struct.success.add(_elem1324); + _elem1332 = new Partition(); + _elem1332.read(iprot); + struct.success.add(_elem1332); } } struct.setSuccessIsSet(true); @@ -111809,13 +112714,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1326.size); - String _elem1327; - for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) + org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1334.size); + String _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { - _elem1327 = iprot.readString(); - struct.group_names.add(_elem1327); + _elem1335 = iprot.readString(); + struct.group_names.add(_elem1335); } iprot.readListEnd(); } @@ -111859,9 +112764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1329 : struct.group_names) + for (String _iter1337 : struct.group_names) { - oprot.writeString(_iter1329); + oprot.writeString(_iter1337); } oprot.writeListEnd(); } @@ -111916,9 +112821,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1330 : struct.group_names) + for (String _iter1338 : struct.group_names) { - oprot.writeString(_iter1330); + oprot.writeString(_iter1338); } } } @@ -111946,13 +112851,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1331.size); - String _elem1332; - for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) + org.apache.thrift.protocol.TList _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1339.size); + String _elem1340; + for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) { - _elem1332 = iprot.readString(); - struct.group_names.add(_elem1332); + _elem1340 = iprot.readString(); + struct.group_names.add(_elem1340); } } struct.setGroup_namesIsSet(true); @@ -112439,14 +113344,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); - struct.success = new ArrayList(_list1334.size); - Partition _elem1335; - for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) + org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); + struct.success = new ArrayList(_list1342.size); + Partition _elem1343; + for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) { - _elem1335 = new Partition(); - _elem1335.read(iprot); - struct.success.add(_elem1335); + _elem1343 = new Partition(); + _elem1343.read(iprot); + struct.success.add(_elem1343); } iprot.readListEnd(); } @@ -112490,9 +113395,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1337 : struct.success) + for (Partition _iter1345 : struct.success) { - _iter1337.write(oprot); + _iter1345.write(oprot); } oprot.writeListEnd(); } @@ -112539,9 +113444,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1338 : struct.success) + for (Partition _iter1346 : struct.success) { - _iter1338.write(oprot); + _iter1346.write(oprot); } } } @@ -112559,14 +113464,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1339.size); - Partition _elem1340; - for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) + org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1347.size); + Partition _elem1348; + for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) { - _elem1340 = new Partition(); - _elem1340.read(iprot); - struct.success.add(_elem1340); + _elem1348 = new Partition(); + _elem1348.read(iprot); + struct.success.add(_elem1348); } } struct.setSuccessIsSet(true); @@ -113629,14 +114534,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); - struct.success = new ArrayList(_list1342.size); - PartitionSpec _elem1343; - for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) + org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); + struct.success = new ArrayList(_list1350.size); + PartitionSpec _elem1351; + for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) { - _elem1343 = new PartitionSpec(); - _elem1343.read(iprot); - struct.success.add(_elem1343); + _elem1351 = new PartitionSpec(); + _elem1351.read(iprot); + struct.success.add(_elem1351); } iprot.readListEnd(); } @@ -113680,9 +114585,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1345 : struct.success) + for (PartitionSpec _iter1353 : struct.success) { - _iter1345.write(oprot); + _iter1353.write(oprot); } oprot.writeListEnd(); } @@ -113729,9 +114634,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1346 : struct.success) + for (PartitionSpec _iter1354 : struct.success) { - _iter1346.write(oprot); + _iter1354.write(oprot); } } } @@ -113749,14 +114654,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1347.size); - PartitionSpec _elem1348; - for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) + org.apache.thrift.protocol.TList _list1355 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1355.size); + PartitionSpec _elem1356; + for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) { - _elem1348 = new PartitionSpec(); - _elem1348.read(iprot); - struct.success.add(_elem1348); + _elem1356 = new PartitionSpec(); + _elem1356.read(iprot); + struct.success.add(_elem1356); } } struct.setSuccessIsSet(true); @@ -114816,13 +115721,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); - struct.success = new ArrayList(_list1350.size); - String _elem1351; - for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) + org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); + struct.success = new ArrayList(_list1358.size); + String _elem1359; + for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) { - _elem1351 = iprot.readString(); - struct.success.add(_elem1351); + _elem1359 = iprot.readString(); + struct.success.add(_elem1359); } iprot.readListEnd(); } @@ -114866,9 +115771,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1353 : struct.success) + for (String _iter1361 : struct.success) { - oprot.writeString(_iter1353); + oprot.writeString(_iter1361); } oprot.writeListEnd(); } @@ -114915,9 +115820,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1354 : struct.success) + for (String _iter1362 : struct.success) { - oprot.writeString(_iter1354); + oprot.writeString(_iter1362); } } } @@ -114935,13 +115840,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1355 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1355.size); - String _elem1356; - for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) + org.apache.thrift.protocol.TList _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1363.size); + String _elem1364; + for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) { - _elem1356 = iprot.readString(); - struct.success.add(_elem1356); + _elem1364 = iprot.readString(); + struct.success.add(_elem1364); } } struct.setSuccessIsSet(true); @@ -116472,13 +117377,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1358.size); - String _elem1359; - for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) + org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1366.size); + String _elem1367; + for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) { - _elem1359 = iprot.readString(); - struct.part_vals.add(_elem1359); + _elem1367 = iprot.readString(); + struct.part_vals.add(_elem1367); } iprot.readListEnd(); } @@ -116522,9 +117427,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1361 : struct.part_vals) + for (String _iter1369 : struct.part_vals) { - oprot.writeString(_iter1361); + oprot.writeString(_iter1369); } oprot.writeListEnd(); } @@ -116573,9 +117478,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1362 : struct.part_vals) + for (String _iter1370 : struct.part_vals) { - oprot.writeString(_iter1362); + oprot.writeString(_iter1370); } } } @@ -116598,13 +117503,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1363.size); - String _elem1364; - for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) + org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1371.size); + String _elem1372; + for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) { - _elem1364 = iprot.readString(); - struct.part_vals.add(_elem1364); + _elem1372 = iprot.readString(); + struct.part_vals.add(_elem1372); } } struct.setPart_valsIsSet(true); @@ -117095,14 +118000,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); - struct.success = new ArrayList(_list1366.size); - Partition _elem1367; - for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) + org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); + struct.success = new ArrayList(_list1374.size); + Partition _elem1375; + for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) { - _elem1367 = new Partition(); - _elem1367.read(iprot); - struct.success.add(_elem1367); + _elem1375 = new Partition(); + _elem1375.read(iprot); + struct.success.add(_elem1375); } iprot.readListEnd(); } @@ -117146,9 +118051,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1369 : struct.success) + for (Partition _iter1377 : struct.success) { - _iter1369.write(oprot); + _iter1377.write(oprot); } oprot.writeListEnd(); } @@ -117195,9 +118100,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1370 : struct.success) + for (Partition _iter1378 : struct.success) { - _iter1370.write(oprot); + _iter1378.write(oprot); } } } @@ -117215,14 +118120,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1371.size); - Partition _elem1372; - for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) + org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1379.size); + Partition _elem1380; + for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) { - _elem1372 = new Partition(); - _elem1372.read(iprot); - struct.success.add(_elem1372); + _elem1380 = new Partition(); + _elem1380.read(iprot); + struct.success.add(_elem1380); } } struct.setSuccessIsSet(true); @@ -117994,13 +118899,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1374.size); - String _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1382.size); + String _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1375 = iprot.readString(); - struct.part_vals.add(_elem1375); + _elem1383 = iprot.readString(); + struct.part_vals.add(_elem1383); } iprot.readListEnd(); } @@ -118028,13 +118933,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1377 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1377.size); - String _elem1378; - for (int _i1379 = 0; _i1379 < _list1377.size; ++_i1379) + org.apache.thrift.protocol.TList _list1385 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1385.size); + String _elem1386; + for (int _i1387 = 0; _i1387 < _list1385.size; ++_i1387) { - _elem1378 = iprot.readString(); - struct.group_names.add(_elem1378); + _elem1386 = iprot.readString(); + struct.group_names.add(_elem1386); } iprot.readListEnd(); } @@ -118070,9 +118975,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1380 : struct.part_vals) + for (String _iter1388 : struct.part_vals) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1388); } oprot.writeListEnd(); } @@ -118090,9 +118995,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1381 : struct.group_names) + for (String _iter1389 : struct.group_names) { - oprot.writeString(_iter1381); + oprot.writeString(_iter1389); } oprot.writeListEnd(); } @@ -118144,9 +119049,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1382 : struct.part_vals) + for (String _iter1390 : struct.part_vals) { - oprot.writeString(_iter1382); + oprot.writeString(_iter1390); } } } @@ -118159,9 +119064,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1383 : struct.group_names) + for (String _iter1391 : struct.group_names) { - oprot.writeString(_iter1383); + oprot.writeString(_iter1391); } } } @@ -118181,13 +119086,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1384 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1384.size); - String _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1392 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1392.size); + String _elem1393; + for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) { - _elem1385 = iprot.readString(); - struct.part_vals.add(_elem1385); + _elem1393 = iprot.readString(); + struct.part_vals.add(_elem1393); } } struct.setPart_valsIsSet(true); @@ -118202,13 +119107,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1387.size); - String _elem1388; - for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1395.size); + String _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1388 = iprot.readString(); - struct.group_names.add(_elem1388); + _elem1396 = iprot.readString(); + struct.group_names.add(_elem1396); } } struct.setGroup_namesIsSet(true); @@ -118695,14 +119600,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - Partition _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); + struct.success = new ArrayList(_list1398.size); + Partition _elem1399; + for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) { - _elem1391 = new Partition(); - _elem1391.read(iprot); - struct.success.add(_elem1391); + _elem1399 = new Partition(); + _elem1399.read(iprot); + struct.success.add(_elem1399); } iprot.readListEnd(); } @@ -118746,9 +119651,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1393 : struct.success) + for (Partition _iter1401 : struct.success) { - _iter1393.write(oprot); + _iter1401.write(oprot); } oprot.writeListEnd(); } @@ -118795,9 +119700,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1394 : struct.success) + for (Partition _iter1402 : struct.success) { - _iter1394.write(oprot); + _iter1402.write(oprot); } } } @@ -118815,14 +119720,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1395.size); - Partition _elem1396; - for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) + org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1403.size); + Partition _elem1404; + for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) { - _elem1396 = new Partition(); - _elem1396.read(iprot); - struct.success.add(_elem1396); + _elem1404 = new Partition(); + _elem1404.read(iprot); + struct.success.add(_elem1404); } } struct.setSuccessIsSet(true); @@ -119415,13 +120320,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1406.size); + String _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = iprot.readString(); - struct.part_vals.add(_elem1399); + _elem1407 = iprot.readString(); + struct.part_vals.add(_elem1407); } iprot.readListEnd(); } @@ -119465,9 +120370,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1401 : struct.part_vals) + for (String _iter1409 : struct.part_vals) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1409); } oprot.writeListEnd(); } @@ -119516,9 +120421,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1402 : struct.part_vals) + for (String _iter1410 : struct.part_vals) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1410); } } } @@ -119541,13 +120446,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1411.size); + String _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1404 = iprot.readString(); - struct.part_vals.add(_elem1404); + _elem1412 = iprot.readString(); + struct.part_vals.add(_elem1412); } } struct.setPart_valsIsSet(true); @@ -120035,13 +120940,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - String _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + String _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = iprot.readString(); - struct.success.add(_elem1407); + _elem1415 = iprot.readString(); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -120085,9 +120990,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1409 : struct.success) + for (String _iter1417 : struct.success) { - oprot.writeString(_iter1409); + oprot.writeString(_iter1417); } oprot.writeListEnd(); } @@ -120134,9 +121039,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1410 : struct.success) + for (String _iter1418 : struct.success) { - oprot.writeString(_iter1410); + oprot.writeString(_iter1418); } } } @@ -120154,13 +121059,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - String _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + String _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = iprot.readString(); - struct.success.add(_elem1412); + _elem1420 = iprot.readString(); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -121327,14 +122232,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); - struct.success = new ArrayList(_list1414.size); - Partition _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.success = new ArrayList(_list1422.size); + Partition _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = new Partition(); - _elem1415.read(iprot); - struct.success.add(_elem1415); + _elem1423 = new Partition(); + _elem1423.read(iprot); + struct.success.add(_elem1423); } iprot.readListEnd(); } @@ -121378,9 +122283,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1417 : struct.success) + for (Partition _iter1425 : struct.success) { - _iter1417.write(oprot); + _iter1425.write(oprot); } oprot.writeListEnd(); } @@ -121427,9 +122332,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1418 : struct.success) + for (Partition _iter1426 : struct.success) { - _iter1418.write(oprot); + _iter1426.write(oprot); } } } @@ -121447,14 +122352,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1419.size); - Partition _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1427.size); + Partition _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = new Partition(); - _elem1420.read(iprot); - struct.success.add(_elem1420); + _elem1428 = new Partition(); + _elem1428.read(iprot); + struct.success.add(_elem1428); } } struct.setSuccessIsSet(true); @@ -122621,14 +123526,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - PartitionSpec _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + PartitionSpec _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = new PartitionSpec(); - _elem1423.read(iprot); - struct.success.add(_elem1423); + _elem1431 = new PartitionSpec(); + _elem1431.read(iprot); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -122672,9 +123577,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1425 : struct.success) + for (PartitionSpec _iter1433 : struct.success) { - _iter1425.write(oprot); + _iter1433.write(oprot); } oprot.writeListEnd(); } @@ -122721,9 +123626,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1426 : struct.success) + for (PartitionSpec _iter1434 : struct.success) { - _iter1426.write(oprot); + _iter1434.write(oprot); } } } @@ -122741,14 +123646,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - PartitionSpec _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + PartitionSpec _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = new PartitionSpec(); - _elem1428.read(iprot); - struct.success.add(_elem1428); + _elem1436 = new PartitionSpec(); + _elem1436.read(iprot); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -125332,13 +126237,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); - struct.names = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.names = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = iprot.readString(); - struct.names.add(_elem1431); + _elem1439 = iprot.readString(); + struct.names.add(_elem1439); } iprot.readListEnd(); } @@ -125374,9 +126279,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter1433 : struct.names) + for (String _iter1441 : struct.names) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -125419,9 +126324,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1434 : struct.names) + for (String _iter1442 : struct.names) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -125441,13 +126346,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.names.add(_elem1436); + _elem1444 = iprot.readString(); + struct.names.add(_elem1444); } } struct.setNamesIsSet(true); @@ -125934,14 +126839,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - Partition _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + Partition _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = new Partition(); - _elem1439.read(iprot); - struct.success.add(_elem1439); + _elem1447 = new Partition(); + _elem1447.read(iprot); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -125985,9 +126890,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1441 : struct.success) + for (Partition _iter1449 : struct.success) { - _iter1441.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -126034,9 +126939,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1442 : struct.success) + for (Partition _iter1450 : struct.success) { - _iter1442.write(oprot); + _iter1450.write(oprot); } } } @@ -126054,14 +126959,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - Partition _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + Partition _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = new Partition(); - _elem1444.read(iprot); - struct.success.add(_elem1444); + _elem1452 = new Partition(); + _elem1452.read(iprot); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -128549,14 +129454,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1446.size); - Partition _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1454.size); + Partition _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = new Partition(); - _elem1447.read(iprot); - struct.new_parts.add(_elem1447); + _elem1455 = new Partition(); + _elem1455.read(iprot); + struct.new_parts.add(_elem1455); } iprot.readListEnd(); } @@ -128592,9 +129497,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1449 : struct.new_parts) + for (Partition _iter1457 : struct.new_parts) { - _iter1449.write(oprot); + _iter1457.write(oprot); } oprot.writeListEnd(); } @@ -128637,9 +129542,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1450 : struct.new_parts) + for (Partition _iter1458 : struct.new_parts) { - _iter1450.write(oprot); + _iter1458.write(oprot); } } } @@ -128659,14 +129564,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1451.size); - Partition _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1459.size); + Partition _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = new Partition(); - _elem1452.read(iprot); - struct.new_parts.add(_elem1452); + _elem1460 = new Partition(); + _elem1460.read(iprot); + struct.new_parts.add(_elem1460); } } struct.setNew_partsIsSet(true); @@ -129719,14 +130624,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1454.size); - Partition _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1462.size); + Partition _elem1463; + for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) { - _elem1455 = new Partition(); - _elem1455.read(iprot); - struct.new_parts.add(_elem1455); + _elem1463 = new Partition(); + _elem1463.read(iprot); + struct.new_parts.add(_elem1463); } iprot.readListEnd(); } @@ -129771,9 +130676,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1457 : struct.new_parts) + for (Partition _iter1465 : struct.new_parts) { - _iter1457.write(oprot); + _iter1465.write(oprot); } oprot.writeListEnd(); } @@ -129824,9 +130729,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1458 : struct.new_parts) + for (Partition _iter1466 : struct.new_parts) { - _iter1458.write(oprot); + _iter1466.write(oprot); } } } @@ -129849,14 +130754,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1459.size); - Partition _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1467.size); + Partition _elem1468; + for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) { - _elem1460 = new Partition(); - _elem1460.read(iprot); - struct.new_parts.add(_elem1460); + _elem1468 = new Partition(); + _elem1468.read(iprot); + struct.new_parts.add(_elem1468); } } struct.setNew_partsIsSet(true); @@ -132995,13 +133900,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1470.size); + String _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1463 = iprot.readString(); - struct.part_vals.add(_elem1463); + _elem1471 = iprot.readString(); + struct.part_vals.add(_elem1471); } iprot.readListEnd(); } @@ -133046,9 +133951,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1465 : struct.part_vals) + for (String _iter1473 : struct.part_vals) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -133099,9 +134004,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1466 : struct.part_vals) + for (String _iter1474 : struct.part_vals) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -133124,13 +134029,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1467.size); - String _elem1468; - for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) + org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1475.size); + String _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1468 = iprot.readString(); - struct.part_vals.add(_elem1468); + _elem1476 = iprot.readString(); + struct.part_vals.add(_elem1476); } } struct.setPart_valsIsSet(true); @@ -134942,13 +135847,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1470.size); - String _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1478.size); + String _elem1479; + for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) { - _elem1471 = iprot.readString(); - struct.part_vals.add(_elem1471); + _elem1479 = iprot.readString(); + struct.part_vals.add(_elem1479); } iprot.readListEnd(); } @@ -134982,9 +135887,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1473 : struct.part_vals) + for (String _iter1481 : struct.part_vals) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -135021,9 +135926,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1474 : struct.part_vals) + for (String _iter1482 : struct.part_vals) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1482); } } } @@ -135038,13 +135943,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1475.size); - String _elem1476; - for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) + org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1483.size); + String _elem1484; + for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) { - _elem1476 = iprot.readString(); - struct.part_vals.add(_elem1476); + _elem1484 = iprot.readString(); + struct.part_vals.add(_elem1484); } } struct.setPart_valsIsSet(true); @@ -137199,13 +138104,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + String _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1479 = iprot.readString(); - struct.success.add(_elem1479); + _elem1487 = iprot.readString(); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -137240,9 +138145,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1481 : struct.success) + for (String _iter1489 : struct.success) { - oprot.writeString(_iter1481); + oprot.writeString(_iter1489); } oprot.writeListEnd(); } @@ -137281,9 +138186,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1482 : struct.success) + for (String _iter1490 : struct.success) { - oprot.writeString(_iter1482); + oprot.writeString(_iter1490); } } } @@ -137298,13 +138203,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - String _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + String _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1484 = iprot.readString(); - struct.success.add(_elem1484); + _elem1492 = iprot.readString(); + struct.success.add(_elem1492); } } struct.setSuccessIsSet(true); @@ -138067,15 +138972,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1486 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1486.size); - String _key1487; - String _val1488; - for (int _i1489 = 0; _i1489 < _map1486.size; ++_i1489) + org.apache.thrift.protocol.TMap _map1494 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1494.size); + String _key1495; + String _val1496; + for (int _i1497 = 0; _i1497 < _map1494.size; ++_i1497) { - _key1487 = iprot.readString(); - _val1488 = iprot.readString(); - struct.success.put(_key1487, _val1488); + _key1495 = iprot.readString(); + _val1496 = iprot.readString(); + struct.success.put(_key1495, _val1496); } iprot.readMapEnd(); } @@ -138110,10 +139015,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter1490 : struct.success.entrySet()) + for (Map.Entry _iter1498 : struct.success.entrySet()) { - oprot.writeString(_iter1490.getKey()); - oprot.writeString(_iter1490.getValue()); + oprot.writeString(_iter1498.getKey()); + oprot.writeString(_iter1498.getValue()); } oprot.writeMapEnd(); } @@ -138152,10 +139057,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1491 : struct.success.entrySet()) + for (Map.Entry _iter1499 : struct.success.entrySet()) { - oprot.writeString(_iter1491.getKey()); - oprot.writeString(_iter1491.getValue()); + oprot.writeString(_iter1499.getKey()); + oprot.writeString(_iter1499.getValue()); } } } @@ -138170,15 +139075,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1492 = 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*_map1492.size); - String _key1493; - String _val1494; - for (int _i1495 = 0; _i1495 < _map1492.size; ++_i1495) + org.apache.thrift.protocol.TMap _map1500 = 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*_map1500.size); + String _key1501; + String _val1502; + for (int _i1503 = 0; _i1503 < _map1500.size; ++_i1503) { - _key1493 = iprot.readString(); - _val1494 = iprot.readString(); - struct.success.put(_key1493, _val1494); + _key1501 = iprot.readString(); + _val1502 = iprot.readString(); + struct.success.put(_key1501, _val1502); } } struct.setSuccessIsSet(true); @@ -138773,15 +139678,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1496 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1496.size); - String _key1497; - String _val1498; - for (int _i1499 = 0; _i1499 < _map1496.size; ++_i1499) + org.apache.thrift.protocol.TMap _map1504 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1504.size); + String _key1505; + String _val1506; + for (int _i1507 = 0; _i1507 < _map1504.size; ++_i1507) { - _key1497 = iprot.readString(); - _val1498 = iprot.readString(); - struct.part_vals.put(_key1497, _val1498); + _key1505 = iprot.readString(); + _val1506 = iprot.readString(); + struct.part_vals.put(_key1505, _val1506); } iprot.readMapEnd(); } @@ -138825,10 +139730,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1500 : struct.part_vals.entrySet()) + for (Map.Entry _iter1508 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1500.getKey()); - oprot.writeString(_iter1500.getValue()); + oprot.writeString(_iter1508.getKey()); + oprot.writeString(_iter1508.getValue()); } oprot.writeMapEnd(); } @@ -138879,10 +139784,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1501 : struct.part_vals.entrySet()) + for (Map.Entry _iter1509 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1501.getKey()); - oprot.writeString(_iter1501.getValue()); + oprot.writeString(_iter1509.getKey()); + oprot.writeString(_iter1509.getValue()); } } } @@ -138905,15 +139810,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1502 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1502.size); - String _key1503; - String _val1504; - for (int _i1505 = 0; _i1505 < _map1502.size; ++_i1505) + org.apache.thrift.protocol.TMap _map1510 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1510.size); + String _key1511; + String _val1512; + for (int _i1513 = 0; _i1513 < _map1510.size; ++_i1513) { - _key1503 = iprot.readString(); - _val1504 = iprot.readString(); - struct.part_vals.put(_key1503, _val1504); + _key1511 = iprot.readString(); + _val1512 = iprot.readString(); + struct.part_vals.put(_key1511, _val1512); } } struct.setPart_valsIsSet(true); @@ -140397,15 +141302,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1506 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1506.size); - String _key1507; - String _val1508; - for (int _i1509 = 0; _i1509 < _map1506.size; ++_i1509) + org.apache.thrift.protocol.TMap _map1514 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1514.size); + String _key1515; + String _val1516; + for (int _i1517 = 0; _i1517 < _map1514.size; ++_i1517) { - _key1507 = iprot.readString(); - _val1508 = iprot.readString(); - struct.part_vals.put(_key1507, _val1508); + _key1515 = iprot.readString(); + _val1516 = iprot.readString(); + struct.part_vals.put(_key1515, _val1516); } iprot.readMapEnd(); } @@ -140449,10 +141354,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1510 : struct.part_vals.entrySet()) + for (Map.Entry _iter1518 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1510.getKey()); - oprot.writeString(_iter1510.getValue()); + oprot.writeString(_iter1518.getKey()); + oprot.writeString(_iter1518.getValue()); } oprot.writeMapEnd(); } @@ -140503,10 +141408,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1511 : struct.part_vals.entrySet()) + for (Map.Entry _iter1519 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1511.getKey()); - oprot.writeString(_iter1511.getValue()); + oprot.writeString(_iter1519.getKey()); + oprot.writeString(_iter1519.getValue()); } } } @@ -140529,15 +141434,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1512 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1512.size); - String _key1513; - String _val1514; - for (int _i1515 = 0; _i1515 < _map1512.size; ++_i1515) + org.apache.thrift.protocol.TMap _map1520 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1520.size); + String _key1521; + String _val1522; + for (int _i1523 = 0; _i1523 < _map1520.size; ++_i1523) { - _key1513 = iprot.readString(); - _val1514 = iprot.readString(); - struct.part_vals.put(_key1513, _val1514); + _key1521 = iprot.readString(); + _val1522 = iprot.readString(); + struct.part_vals.put(_key1521, _val1522); } } struct.setPart_valsIsSet(true); @@ -165193,13 +166098,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1516 = iprot.readListBegin(); - struct.success = new ArrayList(_list1516.size); - String _elem1517; - for (int _i1518 = 0; _i1518 < _list1516.size; ++_i1518) + org.apache.thrift.protocol.TList _list1524 = iprot.readListBegin(); + struct.success = new ArrayList(_list1524.size); + String _elem1525; + for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) { - _elem1517 = iprot.readString(); - struct.success.add(_elem1517); + _elem1525 = iprot.readString(); + struct.success.add(_elem1525); } iprot.readListEnd(); } @@ -165234,9 +166139,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1519 : struct.success) + for (String _iter1527 : struct.success) { - oprot.writeString(_iter1519); + oprot.writeString(_iter1527); } oprot.writeListEnd(); } @@ -165275,9 +166180,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1520 : struct.success) + for (String _iter1528 : struct.success) { - oprot.writeString(_iter1520); + oprot.writeString(_iter1528); } } } @@ -165292,13 +166197,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1521.size); - String _elem1522; - for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) + org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1529.size); + String _elem1530; + for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) { - _elem1522 = iprot.readString(); - struct.success.add(_elem1522); + _elem1530 = iprot.readString(); + struct.success.add(_elem1530); } } struct.setSuccessIsSet(true); @@ -169353,13 +170258,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1524 = iprot.readListBegin(); - struct.success = new ArrayList(_list1524.size); - String _elem1525; - for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) + org.apache.thrift.protocol.TList _list1532 = iprot.readListBegin(); + struct.success = new ArrayList(_list1532.size); + String _elem1533; + for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) { - _elem1525 = iprot.readString(); - struct.success.add(_elem1525); + _elem1533 = iprot.readString(); + struct.success.add(_elem1533); } iprot.readListEnd(); } @@ -169394,9 +170299,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1527 : struct.success) + for (String _iter1535 : struct.success) { - oprot.writeString(_iter1527); + oprot.writeString(_iter1535); } oprot.writeListEnd(); } @@ -169435,9 +170340,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1528 : struct.success) + for (String _iter1536 : struct.success) { - oprot.writeString(_iter1528); + oprot.writeString(_iter1536); } } } @@ -169452,13 +170357,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1529.size); - String _elem1530; - for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) + org.apache.thrift.protocol.TList _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1537.size); + String _elem1538; + for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) { - _elem1530 = iprot.readString(); - struct.success.add(_elem1530); + _elem1538 = iprot.readString(); + struct.success.add(_elem1538); } } struct.setSuccessIsSet(true); @@ -172749,14 +173654,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1532 = iprot.readListBegin(); - struct.success = new ArrayList(_list1532.size); - Role _elem1533; - for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) + org.apache.thrift.protocol.TList _list1540 = iprot.readListBegin(); + struct.success = new ArrayList(_list1540.size); + Role _elem1541; + for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) { - _elem1533 = new Role(); - _elem1533.read(iprot); - struct.success.add(_elem1533); + _elem1541 = new Role(); + _elem1541.read(iprot); + struct.success.add(_elem1541); } iprot.readListEnd(); } @@ -172791,9 +173696,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter1535 : struct.success) + for (Role _iter1543 : struct.success) { - _iter1535.write(oprot); + _iter1543.write(oprot); } oprot.writeListEnd(); } @@ -172832,9 +173737,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1536 : struct.success) + for (Role _iter1544 : struct.success) { - _iter1536.write(oprot); + _iter1544.write(oprot); } } } @@ -172849,14 +173754,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1537.size); - Role _elem1538; - for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) + org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1545.size); + Role _elem1546; + for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) { - _elem1538 = new Role(); - _elem1538.read(iprot); - struct.success.add(_elem1538); + _elem1546 = new Role(); + _elem1546.read(iprot); + struct.success.add(_elem1546); } } struct.setSuccessIsSet(true); @@ -175861,13 +176766,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1540 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1540.size); - String _elem1541; - for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) + org.apache.thrift.protocol.TList _list1548 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1548.size); + String _elem1549; + for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) { - _elem1541 = iprot.readString(); - struct.group_names.add(_elem1541); + _elem1549 = iprot.readString(); + struct.group_names.add(_elem1549); } iprot.readListEnd(); } @@ -175903,9 +176808,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1543 : struct.group_names) + for (String _iter1551 : struct.group_names) { - oprot.writeString(_iter1543); + oprot.writeString(_iter1551); } oprot.writeListEnd(); } @@ -175948,9 +176853,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1544 : struct.group_names) + for (String _iter1552 : struct.group_names) { - oprot.writeString(_iter1544); + oprot.writeString(_iter1552); } } } @@ -175971,13 +176876,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1545.size); - String _elem1546; - for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) + org.apache.thrift.protocol.TList _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1553.size); + String _elem1554; + for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) { - _elem1546 = iprot.readString(); - struct.group_names.add(_elem1546); + _elem1554 = iprot.readString(); + struct.group_names.add(_elem1554); } } struct.setGroup_namesIsSet(true); @@ -177435,14 +178340,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1548 = iprot.readListBegin(); - struct.success = new ArrayList(_list1548.size); - HiveObjectPrivilege _elem1549; - for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) + org.apache.thrift.protocol.TList _list1556 = iprot.readListBegin(); + struct.success = new ArrayList(_list1556.size); + HiveObjectPrivilege _elem1557; + for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) { - _elem1549 = new HiveObjectPrivilege(); - _elem1549.read(iprot); - struct.success.add(_elem1549); + _elem1557 = new HiveObjectPrivilege(); + _elem1557.read(iprot); + struct.success.add(_elem1557); } iprot.readListEnd(); } @@ -177477,9 +178382,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter1551 : struct.success) + for (HiveObjectPrivilege _iter1559 : struct.success) { - _iter1551.write(oprot); + _iter1559.write(oprot); } oprot.writeListEnd(); } @@ -177518,9 +178423,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1552 : struct.success) + for (HiveObjectPrivilege _iter1560 : struct.success) { - _iter1552.write(oprot); + _iter1560.write(oprot); } } } @@ -177535,14 +178440,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1553.size); - HiveObjectPrivilege _elem1554; - for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) + org.apache.thrift.protocol.TList _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1561.size); + HiveObjectPrivilege _elem1562; + for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) { - _elem1554 = new HiveObjectPrivilege(); - _elem1554.read(iprot); - struct.success.add(_elem1554); + _elem1562 = new HiveObjectPrivilege(); + _elem1562.read(iprot); + struct.success.add(_elem1562); } } struct.setSuccessIsSet(true); @@ -181489,13 +182394,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1556 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1556.size); - String _elem1557; - for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) + org.apache.thrift.protocol.TList _list1564 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1564.size); + String _elem1565; + for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) { - _elem1557 = iprot.readString(); - struct.group_names.add(_elem1557); + _elem1565 = iprot.readString(); + struct.group_names.add(_elem1565); } iprot.readListEnd(); } @@ -181526,9 +182431,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1559 : struct.group_names) + for (String _iter1567 : struct.group_names) { - oprot.writeString(_iter1559); + oprot.writeString(_iter1567); } oprot.writeListEnd(); } @@ -181565,9 +182470,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1560 : struct.group_names) + for (String _iter1568 : struct.group_names) { - oprot.writeString(_iter1560); + oprot.writeString(_iter1568); } } } @@ -181583,13 +182488,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1561.size); - String _elem1562; - for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) + org.apache.thrift.protocol.TList _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1569.size); + String _elem1570; + for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) { - _elem1562 = iprot.readString(); - struct.group_names.add(_elem1562); + _elem1570 = iprot.readString(); + struct.group_names.add(_elem1570); } } struct.setGroup_namesIsSet(true); @@ -181992,13 +182897,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1564 = iprot.readListBegin(); - struct.success = new ArrayList(_list1564.size); - String _elem1565; - for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) + org.apache.thrift.protocol.TList _list1572 = iprot.readListBegin(); + struct.success = new ArrayList(_list1572.size); + String _elem1573; + for (int _i1574 = 0; _i1574 < _list1572.size; ++_i1574) { - _elem1565 = iprot.readString(); - struct.success.add(_elem1565); + _elem1573 = iprot.readString(); + struct.success.add(_elem1573); } iprot.readListEnd(); } @@ -182033,9 +182938,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1567 : struct.success) + for (String _iter1575 : struct.success) { - oprot.writeString(_iter1567); + oprot.writeString(_iter1575); } oprot.writeListEnd(); } @@ -182074,9 +182979,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1568 : struct.success) + for (String _iter1576 : struct.success) { - oprot.writeString(_iter1568); + oprot.writeString(_iter1576); } } } @@ -182091,13 +182996,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1569.size); - String _elem1570; - for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) + org.apache.thrift.protocol.TList _list1577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1577.size); + String _elem1578; + for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) { - _elem1570 = iprot.readString(); - struct.success.add(_elem1570); + _elem1578 = iprot.readString(); + struct.success.add(_elem1578); } } struct.setSuccessIsSet(true); @@ -187388,13 +188293,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1572 = iprot.readListBegin(); - struct.success = new ArrayList(_list1572.size); - String _elem1573; - for (int _i1574 = 0; _i1574 < _list1572.size; ++_i1574) + org.apache.thrift.protocol.TList _list1580 = iprot.readListBegin(); + struct.success = new ArrayList(_list1580.size); + String _elem1581; + for (int _i1582 = 0; _i1582 < _list1580.size; ++_i1582) { - _elem1573 = iprot.readString(); - struct.success.add(_elem1573); + _elem1581 = iprot.readString(); + struct.success.add(_elem1581); } iprot.readListEnd(); } @@ -187420,9 +188325,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1575 : struct.success) + for (String _iter1583 : struct.success) { - oprot.writeString(_iter1575); + oprot.writeString(_iter1583); } oprot.writeListEnd(); } @@ -187453,9 +188358,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1576 : struct.success) + for (String _iter1584 : struct.success) { - oprot.writeString(_iter1576); + oprot.writeString(_iter1584); } } } @@ -187467,13 +188372,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1577.size); - String _elem1578; - for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) + org.apache.thrift.protocol.TList _list1585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1585.size); + String _elem1586; + for (int _i1587 = 0; _i1587 < _list1585.size; ++_i1587) { - _elem1578 = iprot.readString(); - struct.success.add(_elem1578); + _elem1586 = iprot.readString(); + struct.success.add(_elem1586); } } struct.setSuccessIsSet(true); @@ -190503,13 +191408,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1580 = iprot.readListBegin(); - struct.success = new ArrayList(_list1580.size); - String _elem1581; - for (int _i1582 = 0; _i1582 < _list1580.size; ++_i1582) + org.apache.thrift.protocol.TList _list1588 = iprot.readListBegin(); + struct.success = new ArrayList(_list1588.size); + String _elem1589; + for (int _i1590 = 0; _i1590 < _list1588.size; ++_i1590) { - _elem1581 = iprot.readString(); - struct.success.add(_elem1581); + _elem1589 = iprot.readString(); + struct.success.add(_elem1589); } iprot.readListEnd(); } @@ -190535,9 +191440,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1583 : struct.success) + for (String _iter1591 : struct.success) { - oprot.writeString(_iter1583); + oprot.writeString(_iter1591); } oprot.writeListEnd(); } @@ -190568,9 +191473,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1584 : struct.success) + for (String _iter1592 : struct.success) { - oprot.writeString(_iter1584); + oprot.writeString(_iter1592); } } } @@ -190582,13 +191487,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1585.size); - String _elem1586; - for (int _i1587 = 0; _i1587 < _list1585.size; ++_i1587) + org.apache.thrift.protocol.TList _list1593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1593.size); + String _elem1594; + for (int _i1595 = 0; _i1595 < _list1593.size; ++_i1595) { - _elem1586 = iprot.readString(); - struct.success.add(_elem1586); + _elem1594 = iprot.readString(); + struct.success.add(_elem1594); } } struct.setSuccessIsSet(true); @@ -207709,13 +208614,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1588 = iprot.readListBegin(); - struct.success = new ArrayList(_list1588.size); - String _elem1589; - for (int _i1590 = 0; _i1590 < _list1588.size; ++_i1590) + org.apache.thrift.protocol.TList _list1596 = iprot.readListBegin(); + struct.success = new ArrayList(_list1596.size); + String _elem1597; + for (int _i1598 = 0; _i1598 < _list1596.size; ++_i1598) { - _elem1589 = iprot.readString(); - struct.success.add(_elem1589); + _elem1597 = iprot.readString(); + struct.success.add(_elem1597); } iprot.readListEnd(); } @@ -207741,9 +208646,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1591 : struct.success) + for (String _iter1599 : struct.success) { - oprot.writeString(_iter1591); + oprot.writeString(_iter1599); } oprot.writeListEnd(); } @@ -207774,9 +208679,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1592 : struct.success) + for (String _iter1600 : struct.success) { - oprot.writeString(_iter1592); + oprot.writeString(_iter1600); } } } @@ -207788,13 +208693,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1593.size); - String _elem1594; - for (int _i1595 = 0; _i1595 < _list1593.size; ++_i1595) + org.apache.thrift.protocol.TList _list1601 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1601.size); + String _elem1602; + for (int _i1603 = 0; _i1603 < _list1601.size; ++_i1603) { - _elem1594 = iprot.readString(); - struct.success.add(_elem1594); + _elem1602 = iprot.readString(); + struct.success.add(_elem1602); } } struct.setSuccessIsSet(true); @@ -244680,14 +245585,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1596 = iprot.readListBegin(); - struct.success = new ArrayList(_list1596.size); - SchemaVersion _elem1597; - for (int _i1598 = 0; _i1598 < _list1596.size; ++_i1598) + org.apache.thrift.protocol.TList _list1604 = iprot.readListBegin(); + struct.success = new ArrayList(_list1604.size); + SchemaVersion _elem1605; + for (int _i1606 = 0; _i1606 < _list1604.size; ++_i1606) { - _elem1597 = new SchemaVersion(); - _elem1597.read(iprot); - struct.success.add(_elem1597); + _elem1605 = new SchemaVersion(); + _elem1605.read(iprot); + struct.success.add(_elem1605); } iprot.readListEnd(); } @@ -244731,9 +245636,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1599 : struct.success) + for (SchemaVersion _iter1607 : struct.success) { - _iter1599.write(oprot); + _iter1607.write(oprot); } oprot.writeListEnd(); } @@ -244780,9 +245685,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1600 : struct.success) + for (SchemaVersion _iter1608 : struct.success) { - _iter1600.write(oprot); + _iter1608.write(oprot); } } } @@ -244800,14 +245705,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1601 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1601.size); - SchemaVersion _elem1602; - for (int _i1603 = 0; _i1603 < _list1601.size; ++_i1603) + org.apache.thrift.protocol.TList _list1609 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1609.size); + SchemaVersion _elem1610; + for (int _i1611 = 0; _i1611 < _list1609.size; ++_i1611) { - _elem1602 = new SchemaVersion(); - _elem1602.read(iprot); - struct.success.add(_elem1602); + _elem1610 = new SchemaVersion(); + _elem1610.read(iprot); + struct.success.add(_elem1610); } } struct.setSuccessIsSet(true); @@ -253350,14 +254255,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1604 = iprot.readListBegin(); - struct.success = new ArrayList(_list1604.size); - RuntimeStat _elem1605; - for (int _i1606 = 0; _i1606 < _list1604.size; ++_i1606) + org.apache.thrift.protocol.TList _list1612 = iprot.readListBegin(); + struct.success = new ArrayList(_list1612.size); + RuntimeStat _elem1613; + for (int _i1614 = 0; _i1614 < _list1612.size; ++_i1614) { - _elem1605 = new RuntimeStat(); - _elem1605.read(iprot); - struct.success.add(_elem1605); + _elem1613 = new RuntimeStat(); + _elem1613.read(iprot); + struct.success.add(_elem1613); } iprot.readListEnd(); } @@ -253392,9 +254297,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1607 : struct.success) + for (RuntimeStat _iter1615 : struct.success) { - _iter1607.write(oprot); + _iter1615.write(oprot); } oprot.writeListEnd(); } @@ -253433,9 +254338,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1608 : struct.success) + for (RuntimeStat _iter1616 : struct.success) { - _iter1608.write(oprot); + _iter1616.write(oprot); } } } @@ -253450,14 +254355,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1609 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1609.size); - RuntimeStat _elem1610; - for (int _i1611 = 0; _i1611 < _list1609.size; ++_i1611) + org.apache.thrift.protocol.TList _list1617 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1617.size); + RuntimeStat _elem1618; + for (int _i1619 = 0; _i1619 < _list1617.size; ++_i1619) { - _elem1610 = new RuntimeStat(); - _elem1610.read(iprot); - struct.success.add(_elem1610); + _elem1618 = new RuntimeStat(); + _elem1618.read(iprot); + struct.success.add(_elem1618); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 333a2d9371..f41a02b3cb 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -290,6 +290,11 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { * @throws \metastore\MetaException */ public function get_tables_by_type($db_name, $pattern, $tableType); + /** + * @return \metastore\Table[] + * @throws \metastore\MetaException + */ + public function get_all_materialized_view_objects_for_rewriting(); /** * @param string $db_name * @return string[] @@ -3756,6 +3761,59 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_tables_by_type failed: unknown result"); } + public function get_all_materialized_view_objects_for_rewriting() + { + $this->send_get_all_materialized_view_objects_for_rewriting(); + return $this->recv_get_all_materialized_view_objects_for_rewriting(); + } + + public function send_get_all_materialized_view_objects_for_rewriting() + { + $args = new \metastore\ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_args(); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_all_materialized_view_objects_for_rewriting', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_all_materialized_view_objects_for_rewriting', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_all_materialized_view_objects_for_rewriting() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + throw new \Exception("get_all_materialized_view_objects_for_rewriting failed: unknown result"); + } + public function get_materialized_views_for_rewriting($db_name) { $this->send_get_materialized_views_for_rewriting($db_name); @@ -22517,6 +22575,184 @@ class ThriftHiveMetastore_get_tables_by_type_result { } +class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_args { + static $_TSPEC; + + + public function __construct() { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + ); + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_args'); + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result { + static $_TSPEC; + + /** + * @var \metastore\Table[] + */ + public $success = null; + /** + * @var \metastore\MetaException + */ + public $o1 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\Table', + ), + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::LST) { + $this->success = array(); + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + { + $elem1029 = null; + $elem1029 = new \metastore\Table(); + $xfer += $elem1029->read($input); + $this->success []= $elem1029; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\MetaException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result'); + if ($this->success !== null) { + if (!is_array($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::LST, 0); + { + $output->writeListBegin(TType::STRUCT, count($this->success)); + { + foreach ($this->success as $iter1030) + { + $xfer += $iter1030->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_materialized_views_for_rewriting_args { static $_TSPEC; @@ -22654,14 +22890,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1029 = null; - $xfer += $input->readString($elem1029); - $this->success []= $elem1029; + $elem1036 = null; + $xfer += $input->readString($elem1036); + $this->success []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -22697,9 +22933,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1030) + foreach ($this->success as $iter1037) { - $xfer += $output->writeString($iter1030); + $xfer += $output->writeString($iter1037); } } $output->writeListEnd(); @@ -22804,14 +23040,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1031 = 0; - $_etype1034 = 0; - $xfer += $input->readListBegin($_etype1034, $_size1031); - for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) + $_size1038 = 0; + $_etype1041 = 0; + $xfer += $input->readListBegin($_etype1041, $_size1038); + for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) { - $elem1036 = null; - $xfer += $input->readString($elem1036); - $this->tbl_types []= $elem1036; + $elem1043 = null; + $xfer += $input->readString($elem1043); + $this->tbl_types []= $elem1043; } $xfer += $input->readListEnd(); } else { @@ -22849,9 +23085,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter1037) + foreach ($this->tbl_types as $iter1044) { - $xfer += $output->writeString($iter1037); + $xfer += $output->writeString($iter1044); } } $output->writeListEnd(); @@ -22928,15 +23164,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $elem1043 = new \metastore\TableMeta(); - $xfer += $elem1043->read($input); - $this->success []= $elem1043; + $elem1050 = null; + $elem1050 = new \metastore\TableMeta(); + $xfer += $elem1050->read($input); + $this->success []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -22972,9 +23208,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1051) { - $xfer += $iter1044->write($output); + $xfer += $iter1051->write($output); } } $output->writeListEnd(); @@ -23130,14 +23366,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $xfer += $input->readString($elem1050); - $this->success []= $elem1050; + $elem1057 = null; + $xfer += $input->readString($elem1057); + $this->success []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -23173,9 +23409,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1051) + foreach ($this->success as $iter1058) { - $xfer += $output->writeString($iter1051); + $xfer += $output->writeString($iter1058); } } $output->writeListEnd(); @@ -23490,14 +23726,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $xfer += $input->readString($elem1057); - $this->tbl_names []= $elem1057; + $elem1064 = null; + $xfer += $input->readString($elem1064); + $this->tbl_names []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -23530,9 +23766,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter1058) + foreach ($this->tbl_names as $iter1065) { - $xfer += $output->writeString($iter1058); + $xfer += $output->writeString($iter1065); } } $output->writeListEnd(); @@ -23597,15 +23833,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\Table(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\Table(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -23633,9 +23869,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -24835,14 +25071,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->success []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->success []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -24894,9 +25130,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -26419,15 +26655,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $elem1078 = new \metastore\Partition(); - $xfer += $elem1078->read($input); - $this->new_parts []= $elem1078; + $elem1085 = null; + $elem1085 = new \metastore\Partition(); + $xfer += $elem1085->read($input); + $this->new_parts []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -26455,9 +26691,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1079) + foreach ($this->new_parts as $iter1086) { - $xfer += $iter1079->write($output); + $xfer += $iter1086->write($output); } } $output->writeListEnd(); @@ -26672,15 +26908,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\PartitionSpec(); - $xfer += $elem1085->read($input); - $this->new_parts []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\PartitionSpec(); + $xfer += $elem1092->read($input); + $this->new_parts []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -26708,9 +26944,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1086) + foreach ($this->new_parts as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -26960,14 +27196,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->part_vals []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -27005,9 +27241,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1093) + foreach ($this->part_vals as $iter1100) { - $xfer += $output->writeString($iter1093); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -27509,14 +27745,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1094 = 0; - $_etype1097 = 0; - $xfer += $input->readListBegin($_etype1097, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $elem1099 = null; - $xfer += $input->readString($elem1099); - $this->part_vals []= $elem1099; + $elem1106 = null; + $xfer += $input->readString($elem1106); + $this->part_vals []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -27562,9 +27798,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1100) + foreach ($this->part_vals as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -28418,14 +28654,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $xfer += $input->readString($elem1106); - $this->part_vals []= $elem1106; + $elem1113 = null; + $xfer += $input->readString($elem1113); + $this->part_vals []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -28470,9 +28706,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1107) + foreach ($this->part_vals as $iter1114) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1114); } } $output->writeListEnd(); @@ -28725,14 +28961,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->part_vals []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -28785,9 +29021,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1121) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -29801,14 +30037,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->part_vals []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->part_vals []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -29846,9 +30082,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1121) + foreach ($this->part_vals as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -30090,17 +30326,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1122 = 0; - $_ktype1123 = 0; - $_vtype1124 = 0; - $xfer += $input->readMapBegin($_ktype1123, $_vtype1124, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_ktype1130 = 0; + $_vtype1131 = 0; + $xfer += $input->readMapBegin($_ktype1130, $_vtype1131, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $key1127 = ''; - $val1128 = ''; - $xfer += $input->readString($key1127); - $xfer += $input->readString($val1128); - $this->partitionSpecs[$key1127] = $val1128; + $key1134 = ''; + $val1135 = ''; + $xfer += $input->readString($key1134); + $xfer += $input->readString($val1135); + $this->partitionSpecs[$key1134] = $val1135; } $xfer += $input->readMapEnd(); } else { @@ -30156,10 +30392,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1129 => $viter1130) + foreach ($this->partitionSpecs as $kiter1136 => $viter1137) { - $xfer += $output->writeString($kiter1129); - $xfer += $output->writeString($viter1130); + $xfer += $output->writeString($kiter1136); + $xfer += $output->writeString($viter1137); } } $output->writeMapEnd(); @@ -30471,17 +30707,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1131 = 0; - $_ktype1132 = 0; - $_vtype1133 = 0; - $xfer += $input->readMapBegin($_ktype1132, $_vtype1133, $_size1131); - for ($_i1135 = 0; $_i1135 < $_size1131; ++$_i1135) + $_size1138 = 0; + $_ktype1139 = 0; + $_vtype1140 = 0; + $xfer += $input->readMapBegin($_ktype1139, $_vtype1140, $_size1138); + for ($_i1142 = 0; $_i1142 < $_size1138; ++$_i1142) { - $key1136 = ''; - $val1137 = ''; - $xfer += $input->readString($key1136); - $xfer += $input->readString($val1137); - $this->partitionSpecs[$key1136] = $val1137; + $key1143 = ''; + $val1144 = ''; + $xfer += $input->readString($key1143); + $xfer += $input->readString($val1144); + $this->partitionSpecs[$key1143] = $val1144; } $xfer += $input->readMapEnd(); } else { @@ -30537,10 +30773,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1138 => $viter1139) + foreach ($this->partitionSpecs as $kiter1145 => $viter1146) { - $xfer += $output->writeString($kiter1138); - $xfer += $output->writeString($viter1139); + $xfer += $output->writeString($kiter1145); + $xfer += $output->writeString($viter1146); } } $output->writeMapEnd(); @@ -30673,15 +30909,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1140 = 0; - $_etype1143 = 0; - $xfer += $input->readListBegin($_etype1143, $_size1140); - for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) + $_size1147 = 0; + $_etype1150 = 0; + $xfer += $input->readListBegin($_etype1150, $_size1147); + for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) { - $elem1145 = null; - $elem1145 = new \metastore\Partition(); - $xfer += $elem1145->read($input); - $this->success []= $elem1145; + $elem1152 = null; + $elem1152 = new \metastore\Partition(); + $xfer += $elem1152->read($input); + $this->success []= $elem1152; } $xfer += $input->readListEnd(); } else { @@ -30741,9 +30977,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1146) + foreach ($this->success as $iter1153) { - $xfer += $iter1146->write($output); + $xfer += $iter1153->write($output); } } $output->writeListEnd(); @@ -30889,14 +31125,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1147 = 0; - $_etype1150 = 0; - $xfer += $input->readListBegin($_etype1150, $_size1147); - for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) + $_size1154 = 0; + $_etype1157 = 0; + $xfer += $input->readListBegin($_etype1157, $_size1154); + for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) { - $elem1152 = null; - $xfer += $input->readString($elem1152); - $this->part_vals []= $elem1152; + $elem1159 = null; + $xfer += $input->readString($elem1159); + $this->part_vals []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -30913,14 +31149,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1153 = 0; - $_etype1156 = 0; - $xfer += $input->readListBegin($_etype1156, $_size1153); - for ($_i1157 = 0; $_i1157 < $_size1153; ++$_i1157) + $_size1160 = 0; + $_etype1163 = 0; + $xfer += $input->readListBegin($_etype1163, $_size1160); + for ($_i1164 = 0; $_i1164 < $_size1160; ++$_i1164) { - $elem1158 = null; - $xfer += $input->readString($elem1158); - $this->group_names []= $elem1158; + $elem1165 = null; + $xfer += $input->readString($elem1165); + $this->group_names []= $elem1165; } $xfer += $input->readListEnd(); } else { @@ -30958,9 +31194,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1159) + foreach ($this->part_vals as $iter1166) { - $xfer += $output->writeString($iter1159); + $xfer += $output->writeString($iter1166); } } $output->writeListEnd(); @@ -30980,9 +31216,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1160) + foreach ($this->group_names as $iter1167) { - $xfer += $output->writeString($iter1160); + $xfer += $output->writeString($iter1167); } } $output->writeListEnd(); @@ -31573,15 +31809,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1161 = 0; - $_etype1164 = 0; - $xfer += $input->readListBegin($_etype1164, $_size1161); - for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) + $_size1168 = 0; + $_etype1171 = 0; + $xfer += $input->readListBegin($_etype1171, $_size1168); + for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) { - $elem1166 = null; - $elem1166 = new \metastore\Partition(); - $xfer += $elem1166->read($input); - $this->success []= $elem1166; + $elem1173 = null; + $elem1173 = new \metastore\Partition(); + $xfer += $elem1173->read($input); + $this->success []= $elem1173; } $xfer += $input->readListEnd(); } else { @@ -31625,9 +31861,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1167) + foreach ($this->success as $iter1174) { - $xfer += $iter1167->write($output); + $xfer += $iter1174->write($output); } } $output->writeListEnd(); @@ -31773,14 +32009,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1168 = 0; - $_etype1171 = 0; - $xfer += $input->readListBegin($_etype1171, $_size1168); - for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) + $_size1175 = 0; + $_etype1178 = 0; + $xfer += $input->readListBegin($_etype1178, $_size1175); + for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) { - $elem1173 = null; - $xfer += $input->readString($elem1173); - $this->group_names []= $elem1173; + $elem1180 = null; + $xfer += $input->readString($elem1180); + $this->group_names []= $elem1180; } $xfer += $input->readListEnd(); } else { @@ -31828,9 +32064,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1174) + foreach ($this->group_names as $iter1181) { - $xfer += $output->writeString($iter1174); + $xfer += $output->writeString($iter1181); } } $output->writeListEnd(); @@ -31919,15 +32155,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1175 = 0; - $_etype1178 = 0; - $xfer += $input->readListBegin($_etype1178, $_size1175); - for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) + $_size1182 = 0; + $_etype1185 = 0; + $xfer += $input->readListBegin($_etype1185, $_size1182); + for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) { - $elem1180 = null; - $elem1180 = new \metastore\Partition(); - $xfer += $elem1180->read($input); - $this->success []= $elem1180; + $elem1187 = null; + $elem1187 = new \metastore\Partition(); + $xfer += $elem1187->read($input); + $this->success []= $elem1187; } $xfer += $input->readListEnd(); } else { @@ -31971,9 +32207,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1181) + foreach ($this->success as $iter1188) { - $xfer += $iter1181->write($output); + $xfer += $iter1188->write($output); } } $output->writeListEnd(); @@ -32193,15 +32429,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1182 = 0; - $_etype1185 = 0; - $xfer += $input->readListBegin($_etype1185, $_size1182); - for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) + $_size1189 = 0; + $_etype1192 = 0; + $xfer += $input->readListBegin($_etype1192, $_size1189); + for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) { - $elem1187 = null; - $elem1187 = new \metastore\PartitionSpec(); - $xfer += $elem1187->read($input); - $this->success []= $elem1187; + $elem1194 = null; + $elem1194 = new \metastore\PartitionSpec(); + $xfer += $elem1194->read($input); + $this->success []= $elem1194; } $xfer += $input->readListEnd(); } else { @@ -32245,9 +32481,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1188) + foreach ($this->success as $iter1195) { - $xfer += $iter1188->write($output); + $xfer += $iter1195->write($output); } } $output->writeListEnd(); @@ -32466,14 +32702,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1189 = 0; - $_etype1192 = 0; - $xfer += $input->readListBegin($_etype1192, $_size1189); - for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) + $_size1196 = 0; + $_etype1199 = 0; + $xfer += $input->readListBegin($_etype1199, $_size1196); + for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) { - $elem1194 = null; - $xfer += $input->readString($elem1194); - $this->success []= $elem1194; + $elem1201 = null; + $xfer += $input->readString($elem1201); + $this->success []= $elem1201; } $xfer += $input->readListEnd(); } else { @@ -32517,9 +32753,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1195) + foreach ($this->success as $iter1202) { - $xfer += $output->writeString($iter1195); + $xfer += $output->writeString($iter1202); } } $output->writeListEnd(); @@ -32850,14 +33086,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1196 = 0; - $_etype1199 = 0; - $xfer += $input->readListBegin($_etype1199, $_size1196); - for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) + $_size1203 = 0; + $_etype1206 = 0; + $xfer += $input->readListBegin($_etype1206, $_size1203); + for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) { - $elem1201 = null; - $xfer += $input->readString($elem1201); - $this->part_vals []= $elem1201; + $elem1208 = null; + $xfer += $input->readString($elem1208); + $this->part_vals []= $elem1208; } $xfer += $input->readListEnd(); } else { @@ -32902,9 +33138,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1202) + foreach ($this->part_vals as $iter1209) { - $xfer += $output->writeString($iter1202); + $xfer += $output->writeString($iter1209); } } $output->writeListEnd(); @@ -32998,15 +33234,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1203 = 0; - $_etype1206 = 0; - $xfer += $input->readListBegin($_etype1206, $_size1203); - for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) + $_size1210 = 0; + $_etype1213 = 0; + $xfer += $input->readListBegin($_etype1213, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $elem1208 = null; - $elem1208 = new \metastore\Partition(); - $xfer += $elem1208->read($input); - $this->success []= $elem1208; + $elem1215 = null; + $elem1215 = new \metastore\Partition(); + $xfer += $elem1215->read($input); + $this->success []= $elem1215; } $xfer += $input->readListEnd(); } else { @@ -33050,9 +33286,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1209) + foreach ($this->success as $iter1216) { - $xfer += $iter1209->write($output); + $xfer += $iter1216->write($output); } } $output->writeListEnd(); @@ -33199,14 +33435,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1210 = 0; - $_etype1213 = 0; - $xfer += $input->readListBegin($_etype1213, $_size1210); - for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) + $_size1217 = 0; + $_etype1220 = 0; + $xfer += $input->readListBegin($_etype1220, $_size1217); + for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) { - $elem1215 = null; - $xfer += $input->readString($elem1215); - $this->part_vals []= $elem1215; + $elem1222 = null; + $xfer += $input->readString($elem1222); + $this->part_vals []= $elem1222; } $xfer += $input->readListEnd(); } else { @@ -33230,14 +33466,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1216 = 0; - $_etype1219 = 0; - $xfer += $input->readListBegin($_etype1219, $_size1216); - for ($_i1220 = 0; $_i1220 < $_size1216; ++$_i1220) + $_size1223 = 0; + $_etype1226 = 0; + $xfer += $input->readListBegin($_etype1226, $_size1223); + for ($_i1227 = 0; $_i1227 < $_size1223; ++$_i1227) { - $elem1221 = null; - $xfer += $input->readString($elem1221); - $this->group_names []= $elem1221; + $elem1228 = null; + $xfer += $input->readString($elem1228); + $this->group_names []= $elem1228; } $xfer += $input->readListEnd(); } else { @@ -33275,9 +33511,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1222) + foreach ($this->part_vals as $iter1229) { - $xfer += $output->writeString($iter1222); + $xfer += $output->writeString($iter1229); } } $output->writeListEnd(); @@ -33302,9 +33538,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1223) + foreach ($this->group_names as $iter1230) { - $xfer += $output->writeString($iter1223); + $xfer += $output->writeString($iter1230); } } $output->writeListEnd(); @@ -33393,15 +33629,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1224 = 0; - $_etype1227 = 0; - $xfer += $input->readListBegin($_etype1227, $_size1224); - for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) + $_size1231 = 0; + $_etype1234 = 0; + $xfer += $input->readListBegin($_etype1234, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { - $elem1229 = null; - $elem1229 = new \metastore\Partition(); - $xfer += $elem1229->read($input); - $this->success []= $elem1229; + $elem1236 = null; + $elem1236 = new \metastore\Partition(); + $xfer += $elem1236->read($input); + $this->success []= $elem1236; } $xfer += $input->readListEnd(); } else { @@ -33445,9 +33681,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1230) + foreach ($this->success as $iter1237) { - $xfer += $iter1230->write($output); + $xfer += $iter1237->write($output); } } $output->writeListEnd(); @@ -33568,14 +33804,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1231 = 0; - $_etype1234 = 0; - $xfer += $input->readListBegin($_etype1234, $_size1231); - for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) + $_size1238 = 0; + $_etype1241 = 0; + $xfer += $input->readListBegin($_etype1241, $_size1238); + for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) { - $elem1236 = null; - $xfer += $input->readString($elem1236); - $this->part_vals []= $elem1236; + $elem1243 = null; + $xfer += $input->readString($elem1243); + $this->part_vals []= $elem1243; } $xfer += $input->readListEnd(); } else { @@ -33620,9 +33856,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1237) + foreach ($this->part_vals as $iter1244) { - $xfer += $output->writeString($iter1237); + $xfer += $output->writeString($iter1244); } } $output->writeListEnd(); @@ -33715,14 +33951,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1238 = 0; - $_etype1241 = 0; - $xfer += $input->readListBegin($_etype1241, $_size1238); - for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) + $_size1245 = 0; + $_etype1248 = 0; + $xfer += $input->readListBegin($_etype1248, $_size1245); + for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) { - $elem1243 = null; - $xfer += $input->readString($elem1243); - $this->success []= $elem1243; + $elem1250 = null; + $xfer += $input->readString($elem1250); + $this->success []= $elem1250; } $xfer += $input->readListEnd(); } else { @@ -33766,9 +34002,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1244) + foreach ($this->success as $iter1251) { - $xfer += $output->writeString($iter1244); + $xfer += $output->writeString($iter1251); } } $output->writeListEnd(); @@ -34011,15 +34247,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1245 = 0; - $_etype1248 = 0; - $xfer += $input->readListBegin($_etype1248, $_size1245); - for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) + $_size1252 = 0; + $_etype1255 = 0; + $xfer += $input->readListBegin($_etype1255, $_size1252); + for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) { - $elem1250 = null; - $elem1250 = new \metastore\Partition(); - $xfer += $elem1250->read($input); - $this->success []= $elem1250; + $elem1257 = null; + $elem1257 = new \metastore\Partition(); + $xfer += $elem1257->read($input); + $this->success []= $elem1257; } $xfer += $input->readListEnd(); } else { @@ -34063,9 +34299,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1251) + foreach ($this->success as $iter1258) { - $xfer += $iter1251->write($output); + $xfer += $iter1258->write($output); } } $output->writeListEnd(); @@ -34308,15 +34544,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1252 = 0; - $_etype1255 = 0; - $xfer += $input->readListBegin($_etype1255, $_size1252); - for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) + $_size1259 = 0; + $_etype1262 = 0; + $xfer += $input->readListBegin($_etype1262, $_size1259); + for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) { - $elem1257 = null; - $elem1257 = new \metastore\PartitionSpec(); - $xfer += $elem1257->read($input); - $this->success []= $elem1257; + $elem1264 = null; + $elem1264 = new \metastore\PartitionSpec(); + $xfer += $elem1264->read($input); + $this->success []= $elem1264; } $xfer += $input->readListEnd(); } else { @@ -34360,9 +34596,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1258) + foreach ($this->success as $iter1265) { - $xfer += $iter1258->write($output); + $xfer += $iter1265->write($output); } } $output->writeListEnd(); @@ -34928,14 +35164,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1259 = 0; - $_etype1262 = 0; - $xfer += $input->readListBegin($_etype1262, $_size1259); - for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) + $_size1266 = 0; + $_etype1269 = 0; + $xfer += $input->readListBegin($_etype1269, $_size1266); + for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) { - $elem1264 = null; - $xfer += $input->readString($elem1264); - $this->names []= $elem1264; + $elem1271 = null; + $xfer += $input->readString($elem1271); + $this->names []= $elem1271; } $xfer += $input->readListEnd(); } else { @@ -34973,9 +35209,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1265) + foreach ($this->names as $iter1272) { - $xfer += $output->writeString($iter1265); + $xfer += $output->writeString($iter1272); } } $output->writeListEnd(); @@ -35064,15 +35300,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1266 = 0; - $_etype1269 = 0; - $xfer += $input->readListBegin($_etype1269, $_size1266); - for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) + $_size1273 = 0; + $_etype1276 = 0; + $xfer += $input->readListBegin($_etype1276, $_size1273); + for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) { - $elem1271 = null; - $elem1271 = new \metastore\Partition(); - $xfer += $elem1271->read($input); - $this->success []= $elem1271; + $elem1278 = null; + $elem1278 = new \metastore\Partition(); + $xfer += $elem1278->read($input); + $this->success []= $elem1278; } $xfer += $input->readListEnd(); } else { @@ -35116,9 +35352,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1272) + foreach ($this->success as $iter1279) { - $xfer += $iter1272->write($output); + $xfer += $iter1279->write($output); } } $output->writeListEnd(); @@ -35667,15 +35903,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1273 = 0; - $_etype1276 = 0; - $xfer += $input->readListBegin($_etype1276, $_size1273); - for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) + $_size1280 = 0; + $_etype1283 = 0; + $xfer += $input->readListBegin($_etype1283, $_size1280); + for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) { - $elem1278 = null; - $elem1278 = new \metastore\Partition(); - $xfer += $elem1278->read($input); - $this->new_parts []= $elem1278; + $elem1285 = null; + $elem1285 = new \metastore\Partition(); + $xfer += $elem1285->read($input); + $this->new_parts []= $elem1285; } $xfer += $input->readListEnd(); } else { @@ -35713,9 +35949,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1279) + foreach ($this->new_parts as $iter1286) { - $xfer += $iter1279->write($output); + $xfer += $iter1286->write($output); } } $output->writeListEnd(); @@ -35930,15 +36166,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1280 = 0; - $_etype1283 = 0; - $xfer += $input->readListBegin($_etype1283, $_size1280); - for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) + $_size1287 = 0; + $_etype1290 = 0; + $xfer += $input->readListBegin($_etype1290, $_size1287); + for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) { - $elem1285 = null; - $elem1285 = new \metastore\Partition(); - $xfer += $elem1285->read($input); - $this->new_parts []= $elem1285; + $elem1292 = null; + $elem1292 = new \metastore\Partition(); + $xfer += $elem1292->read($input); + $this->new_parts []= $elem1292; } $xfer += $input->readListEnd(); } else { @@ -35984,9 +36220,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1286) + foreach ($this->new_parts as $iter1293) { - $xfer += $iter1286->write($output); + $xfer += $iter1293->write($output); } } $output->writeListEnd(); @@ -36674,14 +36910,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1287 = 0; - $_etype1290 = 0; - $xfer += $input->readListBegin($_etype1290, $_size1287); - for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) + $_size1294 = 0; + $_etype1297 = 0; + $xfer += $input->readListBegin($_etype1297, $_size1294); + for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) { - $elem1292 = null; - $xfer += $input->readString($elem1292); - $this->part_vals []= $elem1292; + $elem1299 = null; + $xfer += $input->readString($elem1299); + $this->part_vals []= $elem1299; } $xfer += $input->readListEnd(); } else { @@ -36727,9 +36963,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1293) + foreach ($this->part_vals as $iter1300) { - $xfer += $output->writeString($iter1293); + $xfer += $output->writeString($iter1300); } } $output->writeListEnd(); @@ -37124,14 +37360,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1294 = 0; - $_etype1297 = 0; - $xfer += $input->readListBegin($_etype1297, $_size1294); - for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) + $_size1301 = 0; + $_etype1304 = 0; + $xfer += $input->readListBegin($_etype1304, $_size1301); + for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) { - $elem1299 = null; - $xfer += $input->readString($elem1299); - $this->part_vals []= $elem1299; + $elem1306 = null; + $xfer += $input->readString($elem1306); + $this->part_vals []= $elem1306; } $xfer += $input->readListEnd(); } else { @@ -37166,9 +37402,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1300) + foreach ($this->part_vals as $iter1307) { - $xfer += $output->writeString($iter1300); + $xfer += $output->writeString($iter1307); } } $output->writeListEnd(); @@ -37622,14 +37858,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1301 = 0; - $_etype1304 = 0; - $xfer += $input->readListBegin($_etype1304, $_size1301); - for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) + $_size1308 = 0; + $_etype1311 = 0; + $xfer += $input->readListBegin($_etype1311, $_size1308); + for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) { - $elem1306 = null; - $xfer += $input->readString($elem1306); - $this->success []= $elem1306; + $elem1313 = null; + $xfer += $input->readString($elem1313); + $this->success []= $elem1313; } $xfer += $input->readListEnd(); } else { @@ -37665,9 +37901,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1307) + foreach ($this->success as $iter1314) { - $xfer += $output->writeString($iter1307); + $xfer += $output->writeString($iter1314); } } $output->writeListEnd(); @@ -37827,17 +38063,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1308 = 0; - $_ktype1309 = 0; - $_vtype1310 = 0; - $xfer += $input->readMapBegin($_ktype1309, $_vtype1310, $_size1308); - for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) + $_size1315 = 0; + $_ktype1316 = 0; + $_vtype1317 = 0; + $xfer += $input->readMapBegin($_ktype1316, $_vtype1317, $_size1315); + for ($_i1319 = 0; $_i1319 < $_size1315; ++$_i1319) { - $key1313 = ''; - $val1314 = ''; - $xfer += $input->readString($key1313); - $xfer += $input->readString($val1314); - $this->success[$key1313] = $val1314; + $key1320 = ''; + $val1321 = ''; + $xfer += $input->readString($key1320); + $xfer += $input->readString($val1321); + $this->success[$key1320] = $val1321; } $xfer += $input->readMapEnd(); } else { @@ -37873,10 +38109,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1315 => $viter1316) + foreach ($this->success as $kiter1322 => $viter1323) { - $xfer += $output->writeString($kiter1315); - $xfer += $output->writeString($viter1316); + $xfer += $output->writeString($kiter1322); + $xfer += $output->writeString($viter1323); } } $output->writeMapEnd(); @@ -37996,17 +38232,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1317 = 0; - $_ktype1318 = 0; - $_vtype1319 = 0; - $xfer += $input->readMapBegin($_ktype1318, $_vtype1319, $_size1317); - for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) + $_size1324 = 0; + $_ktype1325 = 0; + $_vtype1326 = 0; + $xfer += $input->readMapBegin($_ktype1325, $_vtype1326, $_size1324); + for ($_i1328 = 0; $_i1328 < $_size1324; ++$_i1328) { - $key1322 = ''; - $val1323 = ''; - $xfer += $input->readString($key1322); - $xfer += $input->readString($val1323); - $this->part_vals[$key1322] = $val1323; + $key1329 = ''; + $val1330 = ''; + $xfer += $input->readString($key1329); + $xfer += $input->readString($val1330); + $this->part_vals[$key1329] = $val1330; } $xfer += $input->readMapEnd(); } else { @@ -38051,10 +38287,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1324 => $viter1325) + foreach ($this->part_vals as $kiter1331 => $viter1332) { - $xfer += $output->writeString($kiter1324); - $xfer += $output->writeString($viter1325); + $xfer += $output->writeString($kiter1331); + $xfer += $output->writeString($viter1332); } } $output->writeMapEnd(); @@ -38376,17 +38612,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1326 = 0; - $_ktype1327 = 0; - $_vtype1328 = 0; - $xfer += $input->readMapBegin($_ktype1327, $_vtype1328, $_size1326); - for ($_i1330 = 0; $_i1330 < $_size1326; ++$_i1330) + $_size1333 = 0; + $_ktype1334 = 0; + $_vtype1335 = 0; + $xfer += $input->readMapBegin($_ktype1334, $_vtype1335, $_size1333); + for ($_i1337 = 0; $_i1337 < $_size1333; ++$_i1337) { - $key1331 = ''; - $val1332 = ''; - $xfer += $input->readString($key1331); - $xfer += $input->readString($val1332); - $this->part_vals[$key1331] = $val1332; + $key1338 = ''; + $val1339 = ''; + $xfer += $input->readString($key1338); + $xfer += $input->readString($val1339); + $this->part_vals[$key1338] = $val1339; } $xfer += $input->readMapEnd(); } else { @@ -38431,10 +38667,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1333 => $viter1334) + foreach ($this->part_vals as $kiter1340 => $viter1341) { - $xfer += $output->writeString($kiter1333); - $xfer += $output->writeString($viter1334); + $xfer += $output->writeString($kiter1340); + $xfer += $output->writeString($viter1341); } } $output->writeMapEnd(); @@ -43913,14 +44149,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1335 = 0; - $_etype1338 = 0; - $xfer += $input->readListBegin($_etype1338, $_size1335); - for ($_i1339 = 0; $_i1339 < $_size1335; ++$_i1339) + $_size1342 = 0; + $_etype1345 = 0; + $xfer += $input->readListBegin($_etype1345, $_size1342); + for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) { - $elem1340 = null; - $xfer += $input->readString($elem1340); - $this->success []= $elem1340; + $elem1347 = null; + $xfer += $input->readString($elem1347); + $this->success []= $elem1347; } $xfer += $input->readListEnd(); } else { @@ -43956,9 +44192,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1341) + foreach ($this->success as $iter1348) { - $xfer += $output->writeString($iter1341); + $xfer += $output->writeString($iter1348); } } $output->writeListEnd(); @@ -44827,14 +45063,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1342 = 0; - $_etype1345 = 0; - $xfer += $input->readListBegin($_etype1345, $_size1342); - for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) + $_size1349 = 0; + $_etype1352 = 0; + $xfer += $input->readListBegin($_etype1352, $_size1349); + for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) { - $elem1347 = null; - $xfer += $input->readString($elem1347); - $this->success []= $elem1347; + $elem1354 = null; + $xfer += $input->readString($elem1354); + $this->success []= $elem1354; } $xfer += $input->readListEnd(); } else { @@ -44870,9 +45106,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1348) + foreach ($this->success as $iter1355) { - $xfer += $output->writeString($iter1348); + $xfer += $output->writeString($iter1355); } } $output->writeListEnd(); @@ -45563,15 +45799,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1349 = 0; - $_etype1352 = 0; - $xfer += $input->readListBegin($_etype1352, $_size1349); - for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) + $_size1356 = 0; + $_etype1359 = 0; + $xfer += $input->readListBegin($_etype1359, $_size1356); + for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) { - $elem1354 = null; - $elem1354 = new \metastore\Role(); - $xfer += $elem1354->read($input); - $this->success []= $elem1354; + $elem1361 = null; + $elem1361 = new \metastore\Role(); + $xfer += $elem1361->read($input); + $this->success []= $elem1361; } $xfer += $input->readListEnd(); } else { @@ -45607,9 +45843,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1355) + foreach ($this->success as $iter1362) { - $xfer += $iter1355->write($output); + $xfer += $iter1362->write($output); } } $output->writeListEnd(); @@ -46271,14 +46507,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1356 = 0; - $_etype1359 = 0; - $xfer += $input->readListBegin($_etype1359, $_size1356); - for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) + $_size1363 = 0; + $_etype1366 = 0; + $xfer += $input->readListBegin($_etype1366, $_size1363); + for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) { - $elem1361 = null; - $xfer += $input->readString($elem1361); - $this->group_names []= $elem1361; + $elem1368 = null; + $xfer += $input->readString($elem1368); + $this->group_names []= $elem1368; } $xfer += $input->readListEnd(); } else { @@ -46319,9 +46555,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1362) + foreach ($this->group_names as $iter1369) { - $xfer += $output->writeString($iter1362); + $xfer += $output->writeString($iter1369); } } $output->writeListEnd(); @@ -46629,15 +46865,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1363 = 0; - $_etype1366 = 0; - $xfer += $input->readListBegin($_etype1366, $_size1363); - for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) + $_size1370 = 0; + $_etype1373 = 0; + $xfer += $input->readListBegin($_etype1373, $_size1370); + for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) { - $elem1368 = null; - $elem1368 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1368->read($input); - $this->success []= $elem1368; + $elem1375 = null; + $elem1375 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1375->read($input); + $this->success []= $elem1375; } $xfer += $input->readListEnd(); } else { @@ -46673,9 +46909,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1369) + foreach ($this->success as $iter1376) { - $xfer += $iter1369->write($output); + $xfer += $iter1376->write($output); } } $output->writeListEnd(); @@ -47543,14 +47779,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1370 = 0; - $_etype1373 = 0; - $xfer += $input->readListBegin($_etype1373, $_size1370); - for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) + $_size1377 = 0; + $_etype1380 = 0; + $xfer += $input->readListBegin($_etype1380, $_size1377); + for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) { - $elem1375 = null; - $xfer += $input->readString($elem1375); - $this->group_names []= $elem1375; + $elem1382 = null; + $xfer += $input->readString($elem1382); + $this->group_names []= $elem1382; } $xfer += $input->readListEnd(); } else { @@ -47583,9 +47819,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1376) + foreach ($this->group_names as $iter1383) { - $xfer += $output->writeString($iter1376); + $xfer += $output->writeString($iter1383); } } $output->writeListEnd(); @@ -47661,14 +47897,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1377 = 0; - $_etype1380 = 0; - $xfer += $input->readListBegin($_etype1380, $_size1377); - for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) + $_size1384 = 0; + $_etype1387 = 0; + $xfer += $input->readListBegin($_etype1387, $_size1384); + for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) { - $elem1382 = null; - $xfer += $input->readString($elem1382); - $this->success []= $elem1382; + $elem1389 = null; + $xfer += $input->readString($elem1389); + $this->success []= $elem1389; } $xfer += $input->readListEnd(); } else { @@ -47704,9 +47940,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1383) + foreach ($this->success as $iter1390) { - $xfer += $output->writeString($iter1383); + $xfer += $output->writeString($iter1390); } } $output->writeListEnd(); @@ -48823,14 +49059,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1384 = 0; - $_etype1387 = 0; - $xfer += $input->readListBegin($_etype1387, $_size1384); - for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) + $_size1391 = 0; + $_etype1394 = 0; + $xfer += $input->readListBegin($_etype1394, $_size1391); + for ($_i1395 = 0; $_i1395 < $_size1391; ++$_i1395) { - $elem1389 = null; - $xfer += $input->readString($elem1389); - $this->success []= $elem1389; + $elem1396 = null; + $xfer += $input->readString($elem1396); + $this->success []= $elem1396; } $xfer += $input->readListEnd(); } else { @@ -48858,9 +49094,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1390) + foreach ($this->success as $iter1397) { - $xfer += $output->writeString($iter1390); + $xfer += $output->writeString($iter1397); } } $output->writeListEnd(); @@ -49499,14 +49735,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1391 = 0; - $_etype1394 = 0; - $xfer += $input->readListBegin($_etype1394, $_size1391); - for ($_i1395 = 0; $_i1395 < $_size1391; ++$_i1395) + $_size1398 = 0; + $_etype1401 = 0; + $xfer += $input->readListBegin($_etype1401, $_size1398); + for ($_i1402 = 0; $_i1402 < $_size1398; ++$_i1402) { - $elem1396 = null; - $xfer += $input->readString($elem1396); - $this->success []= $elem1396; + $elem1403 = null; + $xfer += $input->readString($elem1403); + $this->success []= $elem1403; } $xfer += $input->readListEnd(); } else { @@ -49534,9 +49770,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1397) + foreach ($this->success as $iter1404) { - $xfer += $output->writeString($iter1397); + $xfer += $output->writeString($iter1404); } } $output->writeListEnd(); @@ -53290,14 +53526,14 @@ class ThriftHiveMetastore_find_columns_with_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1398 = 0; - $_etype1401 = 0; - $xfer += $input->readListBegin($_etype1401, $_size1398); - for ($_i1402 = 0; $_i1402 < $_size1398; ++$_i1402) + $_size1405 = 0; + $_etype1408 = 0; + $xfer += $input->readListBegin($_etype1408, $_size1405); + for ($_i1409 = 0; $_i1409 < $_size1405; ++$_i1409) { - $elem1403 = null; - $xfer += $input->readString($elem1403); - $this->success []= $elem1403; + $elem1410 = null; + $xfer += $input->readString($elem1410); + $this->success []= $elem1410; } $xfer += $input->readListEnd(); } else { @@ -53325,9 +53561,9 @@ class ThriftHiveMetastore_find_columns_with_stats_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1404) + foreach ($this->success as $iter1411) { - $xfer += $output->writeString($iter1404); + $xfer += $output->writeString($iter1411); } } $output->writeListEnd(); @@ -61498,15 +61734,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1405 = 0; - $_etype1408 = 0; - $xfer += $input->readListBegin($_etype1408, $_size1405); - for ($_i1409 = 0; $_i1409 < $_size1405; ++$_i1409) + $_size1412 = 0; + $_etype1415 = 0; + $xfer += $input->readListBegin($_etype1415, $_size1412); + for ($_i1416 = 0; $_i1416 < $_size1412; ++$_i1416) { - $elem1410 = null; - $elem1410 = new \metastore\SchemaVersion(); - $xfer += $elem1410->read($input); - $this->success []= $elem1410; + $elem1417 = null; + $elem1417 = new \metastore\SchemaVersion(); + $xfer += $elem1417->read($input); + $this->success []= $elem1417; } $xfer += $input->readListEnd(); } else { @@ -61550,9 +61786,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1411) + foreach ($this->success as $iter1418) { - $xfer += $iter1411->write($output); + $xfer += $iter1418->write($output); } } $output->writeListEnd(); @@ -63421,15 +63657,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1412 = 0; - $_etype1415 = 0; - $xfer += $input->readListBegin($_etype1415, $_size1412); - for ($_i1416 = 0; $_i1416 < $_size1412; ++$_i1416) + $_size1419 = 0; + $_etype1422 = 0; + $xfer += $input->readListBegin($_etype1422, $_size1419); + for ($_i1423 = 0; $_i1423 < $_size1419; ++$_i1423) { - $elem1417 = null; - $elem1417 = new \metastore\RuntimeStat(); - $xfer += $elem1417->read($input); - $this->success []= $elem1417; + $elem1424 = null; + $elem1424 = new \metastore\RuntimeStat(); + $xfer += $elem1424->read($input); + $this->success []= $elem1424; } $xfer += $input->readListEnd(); } else { @@ -63465,9 +63701,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1418) + foreach ($this->success as $iter1425) { - $xfer += $iter1418->write($output); + $xfer += $iter1425->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 9aeae9fcf7..fb2747c8c3 100755 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -61,6 +61,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' TruncateTableResponse truncate_table_req(TruncateTableRequest req)') print(' get_tables(string db_name, string pattern)') print(' get_tables_by_type(string db_name, string pattern, string tableType)') + print(' get_all_materialized_view_objects_for_rewriting()') print(' get_materialized_views_for_rewriting(string db_name)') print(' get_table_meta(string db_patterns, string tbl_patterns, tbl_types)') print(' get_all_tables(string db_name)') @@ -538,6 +539,12 @@ elif cmd == 'get_tables_by_type': sys.exit(1) pp.pprint(client.get_tables_by_type(args[0],args[1],args[2],)) +elif cmd == 'get_all_materialized_view_objects_for_rewriting': + if len(args) != 0: + print('get_all_materialized_view_objects_for_rewriting requires 0 args') + sys.exit(1) + pp.pprint(client.get_all_materialized_view_objects_for_rewriting()) + elif cmd == 'get_materialized_views_for_rewriting': if len(args) != 1: print('get_materialized_views_for_rewriting requires 1 args') diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index eadf300d75..2be349fbad 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -301,6 +301,9 @@ def get_tables_by_type(self, db_name, pattern, tableType): """ pass + def get_all_materialized_view_objects_for_rewriting(self): + pass + def get_materialized_views_for_rewriting(self, db_name): """ Parameters: @@ -3036,6 +3039,34 @@ def recv_get_tables_by_type(self): raise result.o1 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables_by_type failed: unknown result") + def get_all_materialized_view_objects_for_rewriting(self): + self.send_get_all_materialized_view_objects_for_rewriting() + return self.recv_get_all_materialized_view_objects_for_rewriting() + + def send_get_all_materialized_view_objects_for_rewriting(self): + self._oprot.writeMessageBegin('get_all_materialized_view_objects_for_rewriting', TMessageType.CALL, self._seqid) + args = get_all_materialized_view_objects_for_rewriting_args() + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_all_materialized_view_objects_for_rewriting(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_all_materialized_view_objects_for_rewriting_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_materialized_view_objects_for_rewriting failed: unknown result") + def get_materialized_views_for_rewriting(self, db_name): """ Parameters: @@ -9690,6 +9721,7 @@ def __init__(self, handler): self._processMap["truncate_table_req"] = Processor.process_truncate_table_req self._processMap["get_tables"] = Processor.process_get_tables self._processMap["get_tables_by_type"] = Processor.process_get_tables_by_type + self._processMap["get_all_materialized_view_objects_for_rewriting"] = Processor.process_get_all_materialized_view_objects_for_rewriting self._processMap["get_materialized_views_for_rewriting"] = Processor.process_get_materialized_views_for_rewriting self._processMap["get_table_meta"] = Processor.process_get_table_meta self._processMap["get_all_tables"] = Processor.process_get_all_tables @@ -10835,6 +10867,28 @@ def process_get_tables_by_type(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_all_materialized_view_objects_for_rewriting(self, seqid, iprot, oprot): + args = get_all_materialized_view_objects_for_rewriting_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_all_materialized_view_objects_for_rewriting_result() + try: + result.success = self._handler.get_all_materialized_view_objects_for_rewriting() + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_all_materialized_view_objects_for_rewriting", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_materialized_views_for_rewriting(self, seqid, iprot, oprot): args = get_materialized_views_for_rewriting_args() args.read(iprot) @@ -21508,6 +21562,139 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_all_materialized_view_objects_for_rewriting_args: + + thrift_spec = ( + ) + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_all_materialized_view_objects_for_rewriting_args') + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class get_all_materialized_view_objects_for_rewriting_result: + """ + Attributes: + - success + - o1 + """ + + thrift_spec = ( + (0, TType.LIST, 'success', (TType.STRUCT,(Table, Table.thrift_spec)), None, ), # 0 + (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 + ) + + def __init__(self, success=None, o1=None,): + self.success = success + self.o1 = o1 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.LIST: + self.success = [] + (_etype1024, _size1021) = iprot.readListBegin() + for _i1025 in xrange(_size1021): + _elem1026 = Table() + _elem1026.read(iprot) + self.success.append(_elem1026) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = MetaException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_all_materialized_view_objects_for_rewriting_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.LIST, 0) + oprot.writeListBegin(TType.STRUCT, len(self.success)) + for iter1027 in self.success: + iter1027.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class get_materialized_views_for_rewriting_args: """ Attributes: @@ -21601,10 +21788,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1024, _size1021) = iprot.readListBegin() - for _i1025 in xrange(_size1021): - _elem1026 = iprot.readString() - self.success.append(_elem1026) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = iprot.readString() + self.success.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -21627,8 +21814,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1027 in self.success: - oprot.writeString(iter1027) + for iter1034 in self.success: + oprot.writeString(iter1034) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21701,10 +21888,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1031, _size1028) = iprot.readListBegin() - for _i1032 in xrange(_size1028): - _elem1033 = iprot.readString() - self.tbl_types.append(_elem1033) + (_etype1038, _size1035) = iprot.readListBegin() + for _i1039 in xrange(_size1035): + _elem1040 = iprot.readString() + self.tbl_types.append(_elem1040) iprot.readListEnd() else: iprot.skip(ftype) @@ -21729,8 +21916,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter1034 in self.tbl_types: - oprot.writeString(iter1034) + for iter1041 in self.tbl_types: + oprot.writeString(iter1041) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21786,11 +21973,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1038, _size1035) = iprot.readListBegin() - for _i1039 in xrange(_size1035): - _elem1040 = TableMeta() - _elem1040.read(iprot) - self.success.append(_elem1040) + (_etype1045, _size1042) = iprot.readListBegin() + for _i1046 in xrange(_size1042): + _elem1047 = TableMeta() + _elem1047.read(iprot) + self.success.append(_elem1047) iprot.readListEnd() else: iprot.skip(ftype) @@ -21813,8 +22000,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1041 in self.success: - iter1041.write(oprot) + for iter1048 in self.success: + iter1048.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21938,10 +22125,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1045, _size1042) = iprot.readListBegin() - for _i1046 in xrange(_size1042): - _elem1047 = iprot.readString() - self.success.append(_elem1047) + (_etype1052, _size1049) = iprot.readListBegin() + for _i1053 in xrange(_size1049): + _elem1054 = iprot.readString() + self.success.append(_elem1054) iprot.readListEnd() else: iprot.skip(ftype) @@ -21964,8 +22151,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1048 in self.success: - oprot.writeString(iter1048) + for iter1055 in self.success: + oprot.writeString(iter1055) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22201,10 +22388,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype1052, _size1049) = iprot.readListBegin() - for _i1053 in xrange(_size1049): - _elem1054 = iprot.readString() - self.tbl_names.append(_elem1054) + (_etype1059, _size1056) = iprot.readListBegin() + for _i1060 in xrange(_size1056): + _elem1061 = iprot.readString() + self.tbl_names.append(_elem1061) iprot.readListEnd() else: iprot.skip(ftype) @@ -22225,8 +22412,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter1055 in self.tbl_names: - oprot.writeString(iter1055) + for iter1062 in self.tbl_names: + oprot.writeString(iter1062) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22278,11 +22465,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1059, _size1056) = iprot.readListBegin() - for _i1060 in xrange(_size1056): - _elem1061 = Table() - _elem1061.read(iprot) - self.success.append(_elem1061) + (_etype1066, _size1063) = iprot.readListBegin() + for _i1067 in xrange(_size1063): + _elem1068 = Table() + _elem1068.read(iprot) + self.success.append(_elem1068) iprot.readListEnd() else: iprot.skip(ftype) @@ -22299,8 +22486,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1062 in self.success: - iter1062.write(oprot) + for iter1069 in self.success: + iter1069.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23168,10 +23355,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1066, _size1063) = iprot.readListBegin() - for _i1067 in xrange(_size1063): - _elem1068 = iprot.readString() - self.success.append(_elem1068) + (_etype1073, _size1070) = iprot.readListBegin() + for _i1074 in xrange(_size1070): + _elem1075 = iprot.readString() + self.success.append(_elem1075) iprot.readListEnd() else: iprot.skip(ftype) @@ -23206,8 +23393,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1069 in self.success: - oprot.writeString(iter1069) + for iter1076 in self.success: + oprot.writeString(iter1076) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24336,11 +24523,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1073, _size1070) = iprot.readListBegin() - for _i1074 in xrange(_size1070): - _elem1075 = Partition() - _elem1075.read(iprot) - self.new_parts.append(_elem1075) + (_etype1080, _size1077) = iprot.readListBegin() + for _i1081 in xrange(_size1077): + _elem1082 = Partition() + _elem1082.read(iprot) + self.new_parts.append(_elem1082) iprot.readListEnd() else: iprot.skip(ftype) @@ -24357,8 +24544,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1076 in self.new_parts: - iter1076.write(oprot) + for iter1083 in self.new_parts: + iter1083.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24516,11 +24703,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1080, _size1077) = iprot.readListBegin() - for _i1081 in xrange(_size1077): - _elem1082 = PartitionSpec() - _elem1082.read(iprot) - self.new_parts.append(_elem1082) + (_etype1087, _size1084) = iprot.readListBegin() + for _i1088 in xrange(_size1084): + _elem1089 = PartitionSpec() + _elem1089.read(iprot) + self.new_parts.append(_elem1089) iprot.readListEnd() else: iprot.skip(ftype) @@ -24537,8 +24724,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1083 in self.new_parts: - iter1083.write(oprot) + for iter1090 in self.new_parts: + iter1090.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24712,10 +24899,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1087, _size1084) = iprot.readListBegin() - for _i1088 in xrange(_size1084): - _elem1089 = iprot.readString() - self.part_vals.append(_elem1089) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in xrange(_size1091): + _elem1096 = iprot.readString() + self.part_vals.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -24740,8 +24927,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1090 in self.part_vals: - oprot.writeString(iter1090) + for iter1097 in self.part_vals: + oprot.writeString(iter1097) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25094,10 +25281,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1094, _size1091) = iprot.readListBegin() - for _i1095 in xrange(_size1091): - _elem1096 = iprot.readString() - self.part_vals.append(_elem1096) + (_etype1101, _size1098) = iprot.readListBegin() + for _i1102 in xrange(_size1098): + _elem1103 = iprot.readString() + self.part_vals.append(_elem1103) iprot.readListEnd() else: iprot.skip(ftype) @@ -25128,8 +25315,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1097 in self.part_vals: - oprot.writeString(iter1097) + for iter1104 in self.part_vals: + oprot.writeString(iter1104) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -25724,10 +25911,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1101, _size1098) = iprot.readListBegin() - for _i1102 in xrange(_size1098): - _elem1103 = iprot.readString() - self.part_vals.append(_elem1103) + (_etype1108, _size1105) = iprot.readListBegin() + for _i1109 in xrange(_size1105): + _elem1110 = iprot.readString() + self.part_vals.append(_elem1110) iprot.readListEnd() else: iprot.skip(ftype) @@ -25757,8 +25944,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1104 in self.part_vals: - oprot.writeString(iter1104) + for iter1111 in self.part_vals: + oprot.writeString(iter1111) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25931,10 +26118,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1108, _size1105) = iprot.readListBegin() - for _i1109 in xrange(_size1105): - _elem1110 = iprot.readString() - self.part_vals.append(_elem1110) + (_etype1115, _size1112) = iprot.readListBegin() + for _i1116 in xrange(_size1112): + _elem1117 = iprot.readString() + self.part_vals.append(_elem1117) iprot.readListEnd() else: iprot.skip(ftype) @@ -25970,8 +26157,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1111 in self.part_vals: - oprot.writeString(iter1111) + for iter1118 in self.part_vals: + oprot.writeString(iter1118) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -26708,10 +26895,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1115, _size1112) = iprot.readListBegin() - for _i1116 in xrange(_size1112): - _elem1117 = iprot.readString() - self.part_vals.append(_elem1117) + (_etype1122, _size1119) = iprot.readListBegin() + for _i1123 in xrange(_size1119): + _elem1124 = iprot.readString() + self.part_vals.append(_elem1124) iprot.readListEnd() else: iprot.skip(ftype) @@ -26736,8 +26923,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1118 in self.part_vals: - oprot.writeString(iter1118) + for iter1125 in self.part_vals: + oprot.writeString(iter1125) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26896,11 +27083,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1120, _vtype1121, _size1119 ) = iprot.readMapBegin() - for _i1123 in xrange(_size1119): - _key1124 = iprot.readString() - _val1125 = iprot.readString() - self.partitionSpecs[_key1124] = _val1125 + (_ktype1127, _vtype1128, _size1126 ) = iprot.readMapBegin() + for _i1130 in xrange(_size1126): + _key1131 = iprot.readString() + _val1132 = iprot.readString() + self.partitionSpecs[_key1131] = _val1132 iprot.readMapEnd() else: iprot.skip(ftype) @@ -26937,9 +27124,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1126,viter1127 in self.partitionSpecs.items(): - oprot.writeString(kiter1126) - oprot.writeString(viter1127) + for kiter1133,viter1134 in self.partitionSpecs.items(): + oprot.writeString(kiter1133) + oprot.writeString(viter1134) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27144,11 +27331,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1129, _vtype1130, _size1128 ) = iprot.readMapBegin() - for _i1132 in xrange(_size1128): - _key1133 = iprot.readString() - _val1134 = iprot.readString() - self.partitionSpecs[_key1133] = _val1134 + (_ktype1136, _vtype1137, _size1135 ) = iprot.readMapBegin() + for _i1139 in xrange(_size1135): + _key1140 = iprot.readString() + _val1141 = iprot.readString() + self.partitionSpecs[_key1140] = _val1141 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27185,9 +27372,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1135,viter1136 in self.partitionSpecs.items(): - oprot.writeString(kiter1135) - oprot.writeString(viter1136) + for kiter1142,viter1143 in self.partitionSpecs.items(): + oprot.writeString(kiter1142) + oprot.writeString(viter1143) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27270,11 +27457,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1140, _size1137) = iprot.readListBegin() - for _i1141 in xrange(_size1137): - _elem1142 = Partition() - _elem1142.read(iprot) - self.success.append(_elem1142) + (_etype1147, _size1144) = iprot.readListBegin() + for _i1148 in xrange(_size1144): + _elem1149 = Partition() + _elem1149.read(iprot) + self.success.append(_elem1149) iprot.readListEnd() else: iprot.skip(ftype) @@ -27315,8 +27502,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1143 in self.success: - iter1143.write(oprot) + for iter1150 in self.success: + iter1150.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27410,10 +27597,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1147, _size1144) = iprot.readListBegin() - for _i1148 in xrange(_size1144): - _elem1149 = iprot.readString() - self.part_vals.append(_elem1149) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = iprot.readString() + self.part_vals.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -27425,10 +27612,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1153, _size1150) = iprot.readListBegin() - for _i1154 in xrange(_size1150): - _elem1155 = iprot.readString() - self.group_names.append(_elem1155) + (_etype1160, _size1157) = iprot.readListBegin() + for _i1161 in xrange(_size1157): + _elem1162 = iprot.readString() + self.group_names.append(_elem1162) iprot.readListEnd() else: iprot.skip(ftype) @@ -27453,8 +27640,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1156 in self.part_vals: - oprot.writeString(iter1156) + for iter1163 in self.part_vals: + oprot.writeString(iter1163) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -27464,8 +27651,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1157 in self.group_names: - oprot.writeString(iter1157) + for iter1164 in self.group_names: + oprot.writeString(iter1164) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27894,11 +28081,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1161, _size1158) = iprot.readListBegin() - for _i1162 in xrange(_size1158): - _elem1163 = Partition() - _elem1163.read(iprot) - self.success.append(_elem1163) + (_etype1168, _size1165) = iprot.readListBegin() + for _i1169 in xrange(_size1165): + _elem1170 = Partition() + _elem1170.read(iprot) + self.success.append(_elem1170) iprot.readListEnd() else: iprot.skip(ftype) @@ -27927,8 +28114,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1164 in self.success: - iter1164.write(oprot) + for iter1171 in self.success: + iter1171.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28022,10 +28209,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1168, _size1165) = iprot.readListBegin() - for _i1169 in xrange(_size1165): - _elem1170 = iprot.readString() - self.group_names.append(_elem1170) + (_etype1175, _size1172) = iprot.readListBegin() + for _i1176 in xrange(_size1172): + _elem1177 = iprot.readString() + self.group_names.append(_elem1177) iprot.readListEnd() else: iprot.skip(ftype) @@ -28058,8 +28245,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1171 in self.group_names: - oprot.writeString(iter1171) + for iter1178 in self.group_names: + oprot.writeString(iter1178) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28120,11 +28307,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1175, _size1172) = iprot.readListBegin() - for _i1176 in xrange(_size1172): - _elem1177 = Partition() - _elem1177.read(iprot) - self.success.append(_elem1177) + (_etype1182, _size1179) = iprot.readListBegin() + for _i1183 in xrange(_size1179): + _elem1184 = Partition() + _elem1184.read(iprot) + self.success.append(_elem1184) iprot.readListEnd() else: iprot.skip(ftype) @@ -28153,8 +28340,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1178 in self.success: - iter1178.write(oprot) + for iter1185 in self.success: + iter1185.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28312,11 +28499,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1182, _size1179) = iprot.readListBegin() - for _i1183 in xrange(_size1179): - _elem1184 = PartitionSpec() - _elem1184.read(iprot) - self.success.append(_elem1184) + (_etype1189, _size1186) = iprot.readListBegin() + for _i1190 in xrange(_size1186): + _elem1191 = PartitionSpec() + _elem1191.read(iprot) + self.success.append(_elem1191) iprot.readListEnd() else: iprot.skip(ftype) @@ -28345,8 +28532,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1185 in self.success: - iter1185.write(oprot) + for iter1192 in self.success: + iter1192.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28504,10 +28691,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1189, _size1186) = iprot.readListBegin() - for _i1190 in xrange(_size1186): - _elem1191 = iprot.readString() - self.success.append(_elem1191) + (_etype1196, _size1193) = iprot.readListBegin() + for _i1197 in xrange(_size1193): + _elem1198 = iprot.readString() + self.success.append(_elem1198) iprot.readListEnd() else: iprot.skip(ftype) @@ -28536,8 +28723,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1192 in self.success: - oprot.writeString(iter1192) + for iter1199 in self.success: + oprot.writeString(iter1199) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28777,10 +28964,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1196, _size1193) = iprot.readListBegin() - for _i1197 in xrange(_size1193): - _elem1198 = iprot.readString() - self.part_vals.append(_elem1198) + (_etype1203, _size1200) = iprot.readListBegin() + for _i1204 in xrange(_size1200): + _elem1205 = iprot.readString() + self.part_vals.append(_elem1205) iprot.readListEnd() else: iprot.skip(ftype) @@ -28810,8 +28997,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1199 in self.part_vals: - oprot.writeString(iter1199) + for iter1206 in self.part_vals: + oprot.writeString(iter1206) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28875,11 +29062,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1203, _size1200) = iprot.readListBegin() - for _i1204 in xrange(_size1200): - _elem1205 = Partition() - _elem1205.read(iprot) - self.success.append(_elem1205) + (_etype1210, _size1207) = iprot.readListBegin() + for _i1211 in xrange(_size1207): + _elem1212 = Partition() + _elem1212.read(iprot) + self.success.append(_elem1212) iprot.readListEnd() else: iprot.skip(ftype) @@ -28908,8 +29095,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1206 in self.success: - iter1206.write(oprot) + for iter1213 in self.success: + iter1213.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28996,10 +29183,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1210, _size1207) = iprot.readListBegin() - for _i1211 in xrange(_size1207): - _elem1212 = iprot.readString() - self.part_vals.append(_elem1212) + (_etype1217, _size1214) = iprot.readListBegin() + for _i1218 in xrange(_size1214): + _elem1219 = iprot.readString() + self.part_vals.append(_elem1219) iprot.readListEnd() else: iprot.skip(ftype) @@ -29016,10 +29203,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1216, _size1213) = iprot.readListBegin() - for _i1217 in xrange(_size1213): - _elem1218 = iprot.readString() - self.group_names.append(_elem1218) + (_etype1223, _size1220) = iprot.readListBegin() + for _i1224 in xrange(_size1220): + _elem1225 = iprot.readString() + self.group_names.append(_elem1225) iprot.readListEnd() else: iprot.skip(ftype) @@ -29044,8 +29231,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1219 in self.part_vals: - oprot.writeString(iter1219) + for iter1226 in self.part_vals: + oprot.writeString(iter1226) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29059,8 +29246,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1220 in self.group_names: - oprot.writeString(iter1220) + for iter1227 in self.group_names: + oprot.writeString(iter1227) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29122,11 +29309,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1224, _size1221) = iprot.readListBegin() - for _i1225 in xrange(_size1221): - _elem1226 = Partition() - _elem1226.read(iprot) - self.success.append(_elem1226) + (_etype1231, _size1228) = iprot.readListBegin() + for _i1232 in xrange(_size1228): + _elem1233 = Partition() + _elem1233.read(iprot) + self.success.append(_elem1233) iprot.readListEnd() else: iprot.skip(ftype) @@ -29155,8 +29342,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1227 in self.success: - iter1227.write(oprot) + for iter1234 in self.success: + iter1234.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29237,10 +29424,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1231, _size1228) = iprot.readListBegin() - for _i1232 in xrange(_size1228): - _elem1233 = iprot.readString() - self.part_vals.append(_elem1233) + (_etype1238, _size1235) = iprot.readListBegin() + for _i1239 in xrange(_size1235): + _elem1240 = iprot.readString() + self.part_vals.append(_elem1240) iprot.readListEnd() else: iprot.skip(ftype) @@ -29270,8 +29457,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1234 in self.part_vals: - oprot.writeString(iter1234) + for iter1241 in self.part_vals: + oprot.writeString(iter1241) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29335,10 +29522,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1238, _size1235) = iprot.readListBegin() - for _i1239 in xrange(_size1235): - _elem1240 = iprot.readString() - self.success.append(_elem1240) + (_etype1245, _size1242) = iprot.readListBegin() + for _i1246 in xrange(_size1242): + _elem1247 = iprot.readString() + self.success.append(_elem1247) iprot.readListEnd() else: iprot.skip(ftype) @@ -29367,8 +29554,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1241 in self.success: - oprot.writeString(iter1241) + for iter1248 in self.success: + oprot.writeString(iter1248) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29539,11 +29726,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1245, _size1242) = iprot.readListBegin() - for _i1246 in xrange(_size1242): - _elem1247 = Partition() - _elem1247.read(iprot) - self.success.append(_elem1247) + (_etype1252, _size1249) = iprot.readListBegin() + for _i1253 in xrange(_size1249): + _elem1254 = Partition() + _elem1254.read(iprot) + self.success.append(_elem1254) iprot.readListEnd() else: iprot.skip(ftype) @@ -29572,8 +29759,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1248 in self.success: - iter1248.write(oprot) + for iter1255 in self.success: + iter1255.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29744,11 +29931,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1252, _size1249) = iprot.readListBegin() - for _i1253 in xrange(_size1249): - _elem1254 = PartitionSpec() - _elem1254.read(iprot) - self.success.append(_elem1254) + (_etype1259, _size1256) = iprot.readListBegin() + for _i1260 in xrange(_size1256): + _elem1261 = PartitionSpec() + _elem1261.read(iprot) + self.success.append(_elem1261) iprot.readListEnd() else: iprot.skip(ftype) @@ -29777,8 +29964,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1255 in self.success: - iter1255.write(oprot) + for iter1262 in self.success: + iter1262.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30198,10 +30385,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1259, _size1256) = iprot.readListBegin() - for _i1260 in xrange(_size1256): - _elem1261 = iprot.readString() - self.names.append(_elem1261) + (_etype1266, _size1263) = iprot.readListBegin() + for _i1267 in xrange(_size1263): + _elem1268 = iprot.readString() + self.names.append(_elem1268) iprot.readListEnd() else: iprot.skip(ftype) @@ -30226,8 +30413,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter1262 in self.names: - oprot.writeString(iter1262) + for iter1269 in self.names: + oprot.writeString(iter1269) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30286,11 +30473,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1266, _size1263) = iprot.readListBegin() - for _i1267 in xrange(_size1263): - _elem1268 = Partition() - _elem1268.read(iprot) - self.success.append(_elem1268) + (_etype1273, _size1270) = iprot.readListBegin() + for _i1274 in xrange(_size1270): + _elem1275 = Partition() + _elem1275.read(iprot) + self.success.append(_elem1275) iprot.readListEnd() else: iprot.skip(ftype) @@ -30319,8 +30506,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1269 in self.success: - iter1269.write(oprot) + for iter1276 in self.success: + iter1276.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30729,11 +30916,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1273, _size1270) = iprot.readListBegin() - for _i1274 in xrange(_size1270): - _elem1275 = Partition() - _elem1275.read(iprot) - self.new_parts.append(_elem1275) + (_etype1280, _size1277) = iprot.readListBegin() + for _i1281 in xrange(_size1277): + _elem1282 = Partition() + _elem1282.read(iprot) + self.new_parts.append(_elem1282) iprot.readListEnd() else: iprot.skip(ftype) @@ -30758,8 +30945,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1276 in self.new_parts: - iter1276.write(oprot) + for iter1283 in self.new_parts: + iter1283.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30912,11 +31099,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1280, _size1277) = iprot.readListBegin() - for _i1281 in xrange(_size1277): - _elem1282 = Partition() - _elem1282.read(iprot) - self.new_parts.append(_elem1282) + (_etype1287, _size1284) = iprot.readListBegin() + for _i1288 in xrange(_size1284): + _elem1289 = Partition() + _elem1289.read(iprot) + self.new_parts.append(_elem1289) iprot.readListEnd() else: iprot.skip(ftype) @@ -30947,8 +31134,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1283 in self.new_parts: - iter1283.write(oprot) + for iter1290 in self.new_parts: + iter1290.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -31451,10 +31638,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1287, _size1284) = iprot.readListBegin() - for _i1288 in xrange(_size1284): - _elem1289 = iprot.readString() - self.part_vals.append(_elem1289) + (_etype1294, _size1291) = iprot.readListBegin() + for _i1295 in xrange(_size1291): + _elem1296 = iprot.readString() + self.part_vals.append(_elem1296) iprot.readListEnd() else: iprot.skip(ftype) @@ -31485,8 +31672,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1290 in self.part_vals: - oprot.writeString(iter1290) + for iter1297 in self.part_vals: + oprot.writeString(iter1297) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -31787,10 +31974,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1294, _size1291) = iprot.readListBegin() - for _i1295 in xrange(_size1291): - _elem1296 = iprot.readString() - self.part_vals.append(_elem1296) + (_etype1301, _size1298) = iprot.readListBegin() + for _i1302 in xrange(_size1298): + _elem1303 = iprot.readString() + self.part_vals.append(_elem1303) iprot.readListEnd() else: iprot.skip(ftype) @@ -31812,8 +31999,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1297 in self.part_vals: - oprot.writeString(iter1297) + for iter1304 in self.part_vals: + oprot.writeString(iter1304) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -32171,10 +32358,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1301, _size1298) = iprot.readListBegin() - for _i1302 in xrange(_size1298): - _elem1303 = iprot.readString() - self.success.append(_elem1303) + (_etype1308, _size1305) = iprot.readListBegin() + for _i1309 in xrange(_size1305): + _elem1310 = iprot.readString() + self.success.append(_elem1310) iprot.readListEnd() else: iprot.skip(ftype) @@ -32197,8 +32384,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1304 in self.success: - oprot.writeString(iter1304) + for iter1311 in self.success: + oprot.writeString(iter1311) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32322,11 +32509,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1306, _vtype1307, _size1305 ) = iprot.readMapBegin() - for _i1309 in xrange(_size1305): - _key1310 = iprot.readString() - _val1311 = iprot.readString() - self.success[_key1310] = _val1311 + (_ktype1313, _vtype1314, _size1312 ) = iprot.readMapBegin() + for _i1316 in xrange(_size1312): + _key1317 = iprot.readString() + _val1318 = iprot.readString() + self.success[_key1317] = _val1318 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32349,9 +32536,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter1312,viter1313 in self.success.items(): - oprot.writeString(kiter1312) - oprot.writeString(viter1313) + for kiter1319,viter1320 in self.success.items(): + oprot.writeString(kiter1319) + oprot.writeString(viter1320) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32427,11 +32614,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1315, _vtype1316, _size1314 ) = iprot.readMapBegin() - for _i1318 in xrange(_size1314): - _key1319 = iprot.readString() - _val1320 = iprot.readString() - self.part_vals[_key1319] = _val1320 + (_ktype1322, _vtype1323, _size1321 ) = iprot.readMapBegin() + for _i1325 in xrange(_size1321): + _key1326 = iprot.readString() + _val1327 = iprot.readString() + self.part_vals[_key1326] = _val1327 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32461,9 +32648,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1321,viter1322 in self.part_vals.items(): - oprot.writeString(kiter1321) - oprot.writeString(viter1322) + for kiter1328,viter1329 in self.part_vals.items(): + oprot.writeString(kiter1328) + oprot.writeString(viter1329) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32677,11 +32864,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1324, _vtype1325, _size1323 ) = iprot.readMapBegin() - for _i1327 in xrange(_size1323): - _key1328 = iprot.readString() - _val1329 = iprot.readString() - self.part_vals[_key1328] = _val1329 + (_ktype1331, _vtype1332, _size1330 ) = iprot.readMapBegin() + for _i1334 in xrange(_size1330): + _key1335 = iprot.readString() + _val1336 = iprot.readString() + self.part_vals[_key1335] = _val1336 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32711,9 +32898,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1330,viter1331 in self.part_vals.items(): - oprot.writeString(kiter1330) - oprot.writeString(viter1331) + for kiter1337,viter1338 in self.part_vals.items(): + oprot.writeString(kiter1337) + oprot.writeString(viter1338) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -36739,10 +36926,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1335, _size1332) = iprot.readListBegin() - for _i1336 in xrange(_size1332): - _elem1337 = iprot.readString() - self.success.append(_elem1337) + (_etype1342, _size1339) = iprot.readListBegin() + for _i1343 in xrange(_size1339): + _elem1344 = iprot.readString() + self.success.append(_elem1344) iprot.readListEnd() else: iprot.skip(ftype) @@ -36765,8 +36952,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1338 in self.success: - oprot.writeString(iter1338) + for iter1345 in self.success: + oprot.writeString(iter1345) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37454,10 +37641,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1342, _size1339) = iprot.readListBegin() - for _i1343 in xrange(_size1339): - _elem1344 = iprot.readString() - self.success.append(_elem1344) + (_etype1349, _size1346) = iprot.readListBegin() + for _i1350 in xrange(_size1346): + _elem1351 = iprot.readString() + self.success.append(_elem1351) iprot.readListEnd() else: iprot.skip(ftype) @@ -37480,8 +37667,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1345 in self.success: - oprot.writeString(iter1345) + for iter1352 in self.success: + oprot.writeString(iter1352) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37995,11 +38182,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1349, _size1346) = iprot.readListBegin() - for _i1350 in xrange(_size1346): - _elem1351 = Role() - _elem1351.read(iprot) - self.success.append(_elem1351) + (_etype1356, _size1353) = iprot.readListBegin() + for _i1357 in xrange(_size1353): + _elem1358 = Role() + _elem1358.read(iprot) + self.success.append(_elem1358) iprot.readListEnd() else: iprot.skip(ftype) @@ -38022,8 +38209,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1352 in self.success: - iter1352.write(oprot) + for iter1359 in self.success: + iter1359.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38532,10 +38719,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1356, _size1353) = iprot.readListBegin() - for _i1357 in xrange(_size1353): - _elem1358 = iprot.readString() - self.group_names.append(_elem1358) + (_etype1363, _size1360) = iprot.readListBegin() + for _i1364 in xrange(_size1360): + _elem1365 = iprot.readString() + self.group_names.append(_elem1365) iprot.readListEnd() else: iprot.skip(ftype) @@ -38560,8 +38747,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1359 in self.group_names: - oprot.writeString(iter1359) + for iter1366 in self.group_names: + oprot.writeString(iter1366) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38788,11 +38975,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1363, _size1360) = iprot.readListBegin() - for _i1364 in xrange(_size1360): - _elem1365 = HiveObjectPrivilege() - _elem1365.read(iprot) - self.success.append(_elem1365) + (_etype1370, _size1367) = iprot.readListBegin() + for _i1371 in xrange(_size1367): + _elem1372 = HiveObjectPrivilege() + _elem1372.read(iprot) + self.success.append(_elem1372) iprot.readListEnd() else: iprot.skip(ftype) @@ -38815,8 +39002,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1366 in self.success: - iter1366.write(oprot) + for iter1373 in self.success: + iter1373.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39486,10 +39673,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1370, _size1367) = iprot.readListBegin() - for _i1371 in xrange(_size1367): - _elem1372 = iprot.readString() - self.group_names.append(_elem1372) + (_etype1377, _size1374) = iprot.readListBegin() + for _i1378 in xrange(_size1374): + _elem1379 = iprot.readString() + self.group_names.append(_elem1379) iprot.readListEnd() else: iprot.skip(ftype) @@ -39510,8 +39697,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1373 in self.group_names: - oprot.writeString(iter1373) + for iter1380 in self.group_names: + oprot.writeString(iter1380) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39566,10 +39753,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1377, _size1374) = iprot.readListBegin() - for _i1378 in xrange(_size1374): - _elem1379 = iprot.readString() - self.success.append(_elem1379) + (_etype1384, _size1381) = iprot.readListBegin() + for _i1385 in xrange(_size1381): + _elem1386 = iprot.readString() + self.success.append(_elem1386) iprot.readListEnd() else: iprot.skip(ftype) @@ -39592,8 +39779,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1380 in self.success: - oprot.writeString(iter1380) + for iter1387 in self.success: + oprot.writeString(iter1387) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -40525,10 +40712,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1384, _size1381) = iprot.readListBegin() - for _i1385 in xrange(_size1381): - _elem1386 = iprot.readString() - self.success.append(_elem1386) + (_etype1391, _size1388) = iprot.readListBegin() + for _i1392 in xrange(_size1388): + _elem1393 = iprot.readString() + self.success.append(_elem1393) iprot.readListEnd() else: iprot.skip(ftype) @@ -40545,8 +40732,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1387 in self.success: - oprot.writeString(iter1387) + for iter1394 in self.success: + oprot.writeString(iter1394) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -41073,10 +41260,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1391, _size1388) = iprot.readListBegin() - for _i1392 in xrange(_size1388): - _elem1393 = iprot.readString() - self.success.append(_elem1393) + (_etype1398, _size1395) = iprot.readListBegin() + for _i1399 in xrange(_size1395): + _elem1400 = iprot.readString() + self.success.append(_elem1400) iprot.readListEnd() else: iprot.skip(ftype) @@ -41093,8 +41280,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1394 in self.success: - oprot.writeString(iter1394) + for iter1401 in self.success: + oprot.writeString(iter1401) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -44107,10 +44294,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1398, _size1395) = iprot.readListBegin() - for _i1399 in xrange(_size1395): - _elem1400 = iprot.readString() - self.success.append(_elem1400) + (_etype1405, _size1402) = iprot.readListBegin() + for _i1406 in xrange(_size1402): + _elem1407 = iprot.readString() + self.success.append(_elem1407) iprot.readListEnd() else: iprot.skip(ftype) @@ -44127,8 +44314,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1401 in self.success: - oprot.writeString(iter1401) + for iter1408 in self.success: + oprot.writeString(iter1408) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -50438,11 +50625,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1405, _size1402) = iprot.readListBegin() - for _i1406 in xrange(_size1402): - _elem1407 = SchemaVersion() - _elem1407.read(iprot) - self.success.append(_elem1407) + (_etype1412, _size1409) = iprot.readListBegin() + for _i1413 in xrange(_size1409): + _elem1414 = SchemaVersion() + _elem1414.read(iprot) + self.success.append(_elem1414) iprot.readListEnd() else: iprot.skip(ftype) @@ -50471,8 +50658,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1408 in self.success: - iter1408.write(oprot) + for iter1415 in self.success: + iter1415.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -51947,11 +52134,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1412, _size1409) = iprot.readListBegin() - for _i1413 in xrange(_size1409): - _elem1414 = RuntimeStat() - _elem1414.read(iprot) - self.success.append(_elem1414) + (_etype1419, _size1416) = iprot.readListBegin() + for _i1420 in xrange(_size1416): + _elem1421 = RuntimeStat() + _elem1421.read(iprot) + self.success.append(_elem1421) iprot.readListEnd() else: iprot.skip(ftype) @@ -51974,8 +52161,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1415 in self.success: - iter1415.write(oprot) + for iter1422 in self.success: + iter1422.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 39c671a6be..75d4de20bd 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -627,6 +627,22 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables_by_type failed: unknown result') end + def get_all_materialized_view_objects_for_rewriting() + send_get_all_materialized_view_objects_for_rewriting() + return recv_get_all_materialized_view_objects_for_rewriting() + end + + def send_get_all_materialized_view_objects_for_rewriting() + send_message('get_all_materialized_view_objects_for_rewriting', Get_all_materialized_view_objects_for_rewriting_args) + end + + def recv_get_all_materialized_view_objects_for_rewriting() + result = receive_message(Get_all_materialized_view_objects_for_rewriting_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_all_materialized_view_objects_for_rewriting failed: unknown result') + end + def get_materialized_views_for_rewriting(db_name) send_get_materialized_views_for_rewriting(db_name) return recv_get_materialized_views_for_rewriting() @@ -4211,6 +4227,17 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_tables_by_type', seqid) end + def process_get_all_materialized_view_objects_for_rewriting(seqid, iprot, oprot) + args = read_args(iprot, Get_all_materialized_view_objects_for_rewriting_args) + result = Get_all_materialized_view_objects_for_rewriting_result.new() + begin + result.success = @handler.get_all_materialized_view_objects_for_rewriting() + rescue ::MetaException => o1 + result.o1 = o1 + end + write_result(result, oprot, 'get_all_materialized_view_objects_for_rewriting', seqid) + end + def process_get_materialized_views_for_rewriting(seqid, iprot, oprot) args = read_args(iprot, Get_materialized_views_for_rewriting_args) result = Get_materialized_views_for_rewriting_result.new() @@ -7849,6 +7876,39 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_all_materialized_view_objects_for_rewriting_args + include ::Thrift::Struct, ::Thrift::Struct_Union + + FIELDS = { + + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_all_materialized_view_objects_for_rewriting_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Table}}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_materialized_views_for_rewriting_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_NAME = 1 diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 6357d06b5a..c55a6801a9 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2031,6 +2031,17 @@ public Type getType(String name) throws NoSuchObjectException, MetaException, TE return FilterUtils.filterTableNamesIfEnabled(isClientFilterEnabled, filterHook, catName, dbName, tables); } + @Override + public List
getAllMaterializedViewObjectsForRewriting() throws TException { + try { + List
views = client.get_all_materialized_view_objects_for_rewriting(); + return FilterUtils.filterTablesIfEnabled(isClientFilterEnabled, filterHook, views); + } catch (Exception e) { + MetaStoreUtils.logAndThrowMetaException(e); + } + return null; + } + @Override public List getMaterializedViewsForRewriting(String dbName) throws TException { return getMaterializedViewsForRewriting(getDefaultCatalog(conf), dbName); diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 7af9245cb7..8999d55905 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -334,6 +334,16 @@ void dropCatalog(String catName) List getTables(String catName, String dbName, String tablePattern, TableType tableType) throws MetaException, TException, UnknownDBException; + /** + * Retrieve all materialized views that have rewriting enabled. This will use the default catalog. + * @return List of materialized views. + * @throws MetaException error fetching from the RDBMS + * @throws TException thrift transport error + * @throws UnknownDBException no such database + */ + List
getAllMaterializedViewObjectsForRewriting() + throws MetaException, TException, UnknownDBException; + /** * Get materialized views that have rewriting enabled. This will use the default catalog. * @param dbName Name of the database to fetch materialized views from. diff --git a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 6b25b426d2..4e43fee209 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -1938,6 +1938,7 @@ service ThriftHiveMetastore extends fb303.FacebookService TruncateTableResponse truncate_table_req(1:TruncateTableRequest req) throws(1:MetaException o1) list get_tables(1: string db_name, 2: string pattern) throws (1: MetaException o1) list get_tables_by_type(1: string db_name, 2: string pattern, 3: string tableType) throws (1: MetaException o1) + list
get_all_materialized_view_objects_for_rewriting() throws (1:MetaException o1) list get_materialized_views_for_rewriting(1: string db_name) throws (1: MetaException o1) list get_table_meta(1: string db_patterns, 2: string tbl_patterns, 3: list tbl_types) throws (1: MetaException o1) diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index f1983c510d..1a694fb980 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5374,6 +5374,27 @@ private void alter_table_core(String catName, String dbname, String name, Table return ret; } + @Override + public List
get_all_materialized_view_objects_for_rewriting() + throws MetaException { + startFunction("get_all_materialized_view_objects_for_rewriting"); + + List
ret = null; + Exception ex = null; + try { + ret = getMS().getAllMaterializedViewObjectsForRewriting(DEFAULT_CATALOG_NAME); + } catch (MetaException e) { + ex = e; + throw e; + } catch (Exception e) { + ex = e; + throw newMetaException(e); + } finally { + endFunction("get_all_materialized_view_objects_for_rewriting", ret != null, ex); + } + return ret; + } + @Override public List get_materialized_views_for_rewriting(final String dbname) throws MetaException { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 391915a10f..61019c6a1a 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -1451,6 +1451,33 @@ protected String describeResult() { return tbls; } + @Override + public List
getAllMaterializedViewObjectsForRewriting(String catName) throws MetaException { + List
allMaterializedViews = new ArrayList<>(); + boolean commited = false; + Query query = null; + try { + openTransaction(); + catName = normalizeIdentifier(catName); + query = pm.newQuery(MTable.class); + query.setFilter("database.catalogName == catName && tableType == tt && rewriteEnabled == re"); + query.declareParameters("java.lang.String catName, java.lang.String tt, boolean re"); + Collection mTbls = (Collection) query.executeWithArray( + catName, TableType.MATERIALIZED_VIEW.toString(), true); + for (MTable mTbl : mTbls) { + Table tbl = convertToTable(mTbl); + tbl.setCreationMetadata( + convertToCreationMetadata( + getCreationMetadata(tbl.getCatName(), tbl.getDbName(), tbl.getTableName()))); + allMaterializedViews.add(tbl); + } + commited = commitTransaction(); + } finally { + rollbackAndCleanup(commited, query); + } + return allMaterializedViews; + } + @Override public List getMaterializedViewsForRewriting(String catName, String dbName) throws MetaException, NoSuchObjectException { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java index 8c1ab739de..6a93e264f1 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -398,6 +398,15 @@ void updateCreationMetadata(String catName, String dbname, String tablename, Cre List getTables(String catName, String dbName, String pattern, TableType tableType) throws MetaException; + /** + * Retrieve all materialized views. + * @return all materialized views in a catalog + * @throws MetaException error querying the RDBMS + * @throws NoSuchObjectException no such database + */ + List
getAllMaterializedViewObjectsForRewriting(String catName) + throws MetaException; + /** * Get list of materialized views in a database. * @param catName catalog name diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index 6ef9a19f52..9c2857afa0 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -1443,6 +1443,12 @@ public void updateCreationMetadata(String catName, String dbname, String tablena StringUtils.normalizeIdentifier(dbName), pattern, tableType); } + @Override + public List
getAllMaterializedViewObjectsForRewriting(String catName) throws MetaException { + // TODO fucntionCache + return rawStore.getAllMaterializedViewObjectsForRewriting(catName); + } + @Override public List getMaterializedViewsForRewriting(String catName, String dbName) throws MetaException, NoSuchObjectException { diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index c13e538bc4..f202832e0b 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -328,6 +328,11 @@ public void updateCreationMetadata(String catName, String dbname, String tablena return objectStore.getTables(catName, dbName, pattern, tableType); } + @Override + public List
getAllMaterializedViewObjectsForRewriting(String catName) throws MetaException { + return objectStore.getAllMaterializedViewObjectsForRewriting(catName); + } + @Override public List getMaterializedViewsForRewriting(String catName, String dbName) throws MetaException, NoSuchObjectException { diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index e943f17a36..1a7ce04630 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -312,6 +312,11 @@ public void updateCreationMetadata(String catName, String dbname, String tablena return Collections.emptyList(); } + @Override + public List
getAllMaterializedViewObjectsForRewriting(String catName) throws MetaException { + return Collections.emptyList(); + } + @Override public List getMaterializedViewsForRewriting(String catName, String dbName) throws MetaException, NoSuchObjectException { diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index e1450a5d54..459c7c23ff 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -1508,6 +1508,17 @@ public Type getType(String name) throws NoSuchObjectException, MetaException, TE return null; } + /** {@inheritDoc} */ + @Override + public List
getAllMaterializedViewObjectsForRewriting() throws MetaException { + try { + return filterHook.filterTables(client.get_all_materialized_view_objects_for_rewriting()); + } catch (Exception e) { + MetaStoreUtils.logAndThrowMetaException(e); + } + return null; + } + /** {@inheritDoc} */ @Override public List getMaterializedViewsForRewriting(String dbname) throws MetaException {