You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2018/02/04 22:07:38 UTC
[11/16] hive git commit: HIVE-18546: Remove unnecessary code
introduced in HIVE-14498 (Jesus Camacho Rodriguez,
reviewed by Ashutosh Chauhan)
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
new file mode 100644
index 0000000..74cfce6
--- /dev/null
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
@@ -0,0 +1,750 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ * @generated
+ */
+package org.apache.hadoop.hive.metastore.api;
+
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import javax.annotation.Generated;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class CreationMetadata implements org.apache.thrift.TBase<CreationMetadata, CreationMetadata._Fields>, java.io.Serializable, Cloneable, Comparable<CreationMetadata> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CreationMetadata");
+
+ private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)3);
+ private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)4);
+
+ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+ static {
+ schemes.put(StandardScheme.class, new CreationMetadataStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new CreationMetadataTupleSchemeFactory());
+ }
+
+ private String dbName; // required
+ private String tblName; // required
+ private Set<String> tablesUsed; // required
+ private String validTxnList; // optional
+
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ DB_NAME((short)1, "dbName"),
+ TBL_NAME((short)2, "tblName"),
+ TABLES_USED((short)3, "tablesUsed"),
+ VALID_TXN_LIST((short)4, "validTxnList");
+
+ private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+ 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_NAME
+ return DB_NAME;
+ case 2: // TBL_NAME
+ return TBL_NAME;
+ case 3: // TABLES_USED
+ return TABLES_USED;
+ case 4: // VALID_TXN_LIST
+ return VALID_TXN_LIST;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST};
+ 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("dbName", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tblName", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.TABLES_USED, new org.apache.thrift.meta_data.FieldMetaData("tablesUsed", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+ tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CreationMetadata.class, metaDataMap);
+ }
+
+ public CreationMetadata() {
+ }
+
+ public CreationMetadata(
+ String dbName,
+ String tblName,
+ Set<String> tablesUsed)
+ {
+ this();
+ this.dbName = dbName;
+ this.tblName = tblName;
+ this.tablesUsed = tablesUsed;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public CreationMetadata(CreationMetadata other) {
+ if (other.isSetDbName()) {
+ this.dbName = other.dbName;
+ }
+ if (other.isSetTblName()) {
+ this.tblName = other.tblName;
+ }
+ if (other.isSetTablesUsed()) {
+ Set<String> __this__tablesUsed = new HashSet<String>(other.tablesUsed);
+ this.tablesUsed = __this__tablesUsed;
+ }
+ if (other.isSetValidTxnList()) {
+ this.validTxnList = other.validTxnList;
+ }
+ }
+
+ public CreationMetadata deepCopy() {
+ return new CreationMetadata(this);
+ }
+
+ @Override
+ public void clear() {
+ this.dbName = null;
+ this.tblName = null;
+ this.tablesUsed = null;
+ this.validTxnList = null;
+ }
+
+ public String getDbName() {
+ return this.dbName;
+ }
+
+ public void setDbName(String dbName) {
+ this.dbName = dbName;
+ }
+
+ public void unsetDbName() {
+ this.dbName = null;
+ }
+
+ /** Returns true if field dbName is set (has been assigned a value) and false otherwise */
+ public boolean isSetDbName() {
+ return this.dbName != null;
+ }
+
+ public void setDbNameIsSet(boolean value) {
+ if (!value) {
+ this.dbName = null;
+ }
+ }
+
+ public String getTblName() {
+ return this.tblName;
+ }
+
+ public void setTblName(String tblName) {
+ this.tblName = tblName;
+ }
+
+ public void unsetTblName() {
+ this.tblName = null;
+ }
+
+ /** Returns true if field tblName is set (has been assigned a value) and false otherwise */
+ public boolean isSetTblName() {
+ return this.tblName != null;
+ }
+
+ public void setTblNameIsSet(boolean value) {
+ if (!value) {
+ this.tblName = null;
+ }
+ }
+
+ public int getTablesUsedSize() {
+ return (this.tablesUsed == null) ? 0 : this.tablesUsed.size();
+ }
+
+ public java.util.Iterator<String> getTablesUsedIterator() {
+ return (this.tablesUsed == null) ? null : this.tablesUsed.iterator();
+ }
+
+ public void addToTablesUsed(String elem) {
+ if (this.tablesUsed == null) {
+ this.tablesUsed = new HashSet<String>();
+ }
+ this.tablesUsed.add(elem);
+ }
+
+ public Set<String> getTablesUsed() {
+ return this.tablesUsed;
+ }
+
+ public void setTablesUsed(Set<String> tablesUsed) {
+ this.tablesUsed = tablesUsed;
+ }
+
+ public void unsetTablesUsed() {
+ this.tablesUsed = null;
+ }
+
+ /** Returns true if field tablesUsed is set (has been assigned a value) and false otherwise */
+ public boolean isSetTablesUsed() {
+ return this.tablesUsed != null;
+ }
+
+ public void setTablesUsedIsSet(boolean value) {
+ if (!value) {
+ this.tablesUsed = null;
+ }
+ }
+
+ public String getValidTxnList() {
+ return this.validTxnList;
+ }
+
+ public void setValidTxnList(String validTxnList) {
+ this.validTxnList = validTxnList;
+ }
+
+ public void unsetValidTxnList() {
+ this.validTxnList = null;
+ }
+
+ /** Returns true if field validTxnList is set (has been assigned a value) and false otherwise */
+ public boolean isSetValidTxnList() {
+ return this.validTxnList != null;
+ }
+
+ public void setValidTxnListIsSet(boolean value) {
+ if (!value) {
+ this.validTxnList = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case DB_NAME:
+ if (value == null) {
+ unsetDbName();
+ } else {
+ setDbName((String)value);
+ }
+ break;
+
+ case TBL_NAME:
+ if (value == null) {
+ unsetTblName();
+ } else {
+ setTblName((String)value);
+ }
+ break;
+
+ case TABLES_USED:
+ if (value == null) {
+ unsetTablesUsed();
+ } else {
+ setTablesUsed((Set<String>)value);
+ }
+ break;
+
+ case VALID_TXN_LIST:
+ if (value == null) {
+ unsetValidTxnList();
+ } else {
+ setValidTxnList((String)value);
+ }
+ break;
+
+ }
+ }
+
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case DB_NAME:
+ return getDbName();
+
+ case TBL_NAME:
+ return getTblName();
+
+ case TABLES_USED:
+ return getTablesUsed();
+
+ case VALID_TXN_LIST:
+ return getValidTxnList();
+
+ }
+ 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_NAME:
+ return isSetDbName();
+ case TBL_NAME:
+ return isSetTblName();
+ case TABLES_USED:
+ return isSetTablesUsed();
+ case VALID_TXN_LIST:
+ return isSetValidTxnList();
+ }
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof CreationMetadata)
+ return this.equals((CreationMetadata)that);
+ return false;
+ }
+
+ public boolean equals(CreationMetadata that) {
+ if (that == null)
+ return false;
+
+ boolean this_present_dbName = true && this.isSetDbName();
+ boolean that_present_dbName = true && that.isSetDbName();
+ if (this_present_dbName || that_present_dbName) {
+ if (!(this_present_dbName && that_present_dbName))
+ return false;
+ if (!this.dbName.equals(that.dbName))
+ return false;
+ }
+
+ boolean this_present_tblName = true && this.isSetTblName();
+ boolean that_present_tblName = true && that.isSetTblName();
+ if (this_present_tblName || that_present_tblName) {
+ if (!(this_present_tblName && that_present_tblName))
+ return false;
+ if (!this.tblName.equals(that.tblName))
+ return false;
+ }
+
+ boolean this_present_tablesUsed = true && this.isSetTablesUsed();
+ boolean that_present_tablesUsed = true && that.isSetTablesUsed();
+ if (this_present_tablesUsed || that_present_tablesUsed) {
+ if (!(this_present_tablesUsed && that_present_tablesUsed))
+ return false;
+ if (!this.tablesUsed.equals(that.tablesUsed))
+ return false;
+ }
+
+ boolean this_present_validTxnList = true && this.isSetValidTxnList();
+ boolean that_present_validTxnList = true && that.isSetValidTxnList();
+ if (this_present_validTxnList || that_present_validTxnList) {
+ if (!(this_present_validTxnList && that_present_validTxnList))
+ return false;
+ if (!this.validTxnList.equals(that.validTxnList))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_dbName = true && (isSetDbName());
+ list.add(present_dbName);
+ if (present_dbName)
+ list.add(dbName);
+
+ boolean present_tblName = true && (isSetTblName());
+ list.add(present_tblName);
+ if (present_tblName)
+ list.add(tblName);
+
+ boolean present_tablesUsed = true && (isSetTablesUsed());
+ list.add(present_tablesUsed);
+ if (present_tablesUsed)
+ list.add(tablesUsed);
+
+ boolean present_validTxnList = true && (isSetValidTxnList());
+ list.add(present_validTxnList);
+ if (present_validTxnList)
+ list.add(validTxnList);
+
+ return list.hashCode();
+ }
+
+ @Override
+ public int compareTo(CreationMetadata other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetDbName()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetTblName()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetTablesUsed()).compareTo(other.isSetTablesUsed());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetTablesUsed()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablesUsed, other.tablesUsed);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetValidTxnList()).compareTo(other.isSetValidTxnList());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetValidTxnList()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validTxnList, other.validTxnList);
+ 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("CreationMetadata(");
+ boolean first = true;
+
+ sb.append("dbName:");
+ if (this.dbName == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.dbName);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("tblName:");
+ if (this.tblName == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.tblName);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("tablesUsed:");
+ if (this.tablesUsed == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.tablesUsed);
+ }
+ first = false;
+ if (isSetValidTxnList()) {
+ if (!first) sb.append(", ");
+ sb.append("validTxnList:");
+ if (this.validTxnList == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.validTxnList);
+ }
+ first = false;
+ }
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ if (!isSetDbName()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString());
+ }
+
+ if (!isSetTblName()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString());
+ }
+
+ if (!isSetTablesUsed()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablesUsed' is unset! Struct:" + toString());
+ }
+
+ // check for sub-struct validity
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+ try {
+ write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+ try {
+ read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private static class CreationMetadataStandardSchemeFactory implements SchemeFactory {
+ public CreationMetadataStandardScheme getScheme() {
+ return new CreationMetadataStandardScheme();
+ }
+ }
+
+ private static class CreationMetadataStandardScheme extends StandardScheme<CreationMetadata> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.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_NAME
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.dbName = iprot.readString();
+ struct.setDbNameIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // TBL_NAME
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.tblName = iprot.readString();
+ struct.setTblNameIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 3: // TABLES_USED
+ if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
+ {
+ org.apache.thrift.protocol.TSet _set614 = iprot.readSetBegin();
+ struct.tablesUsed = new HashSet<String>(2*_set614.size);
+ String _elem615;
+ for (int _i616 = 0; _i616 < _set614.size; ++_i616)
+ {
+ _elem615 = iprot.readString();
+ struct.tablesUsed.add(_elem615);
+ }
+ iprot.readSetEnd();
+ }
+ struct.setTablesUsedIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 4: // VALID_TXN_LIST
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.validTxnList = iprot.readString();
+ struct.setValidTxnListIsSet(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, CreationMetadata struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.dbName != null) {
+ oprot.writeFieldBegin(DB_NAME_FIELD_DESC);
+ oprot.writeString(struct.dbName);
+ oprot.writeFieldEnd();
+ }
+ if (struct.tblName != null) {
+ oprot.writeFieldBegin(TBL_NAME_FIELD_DESC);
+ oprot.writeString(struct.tblName);
+ oprot.writeFieldEnd();
+ }
+ if (struct.tablesUsed != null) {
+ oprot.writeFieldBegin(TABLES_USED_FIELD_DESC);
+ {
+ oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size()));
+ for (String _iter617 : struct.tablesUsed)
+ {
+ oprot.writeString(_iter617);
+ }
+ oprot.writeSetEnd();
+ }
+ oprot.writeFieldEnd();
+ }
+ if (struct.validTxnList != null) {
+ if (struct.isSetValidTxnList()) {
+ oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC);
+ oprot.writeString(struct.validTxnList);
+ oprot.writeFieldEnd();
+ }
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class CreationMetadataTupleSchemeFactory implements SchemeFactory {
+ public CreationMetadataTupleScheme getScheme() {
+ return new CreationMetadataTupleScheme();
+ }
+ }
+
+ private static class CreationMetadataTupleScheme extends TupleScheme<CreationMetadata> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata struct) throws org.apache.thrift.TException {
+ TTupleProtocol oprot = (TTupleProtocol) prot;
+ oprot.writeString(struct.dbName);
+ oprot.writeString(struct.tblName);
+ {
+ oprot.writeI32(struct.tablesUsed.size());
+ for (String _iter618 : struct.tablesUsed)
+ {
+ oprot.writeString(_iter618);
+ }
+ }
+ BitSet optionals = new BitSet();
+ if (struct.isSetValidTxnList()) {
+ optionals.set(0);
+ }
+ oprot.writeBitSet(optionals, 1);
+ if (struct.isSetValidTxnList()) {
+ oprot.writeString(struct.validTxnList);
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata struct) throws org.apache.thrift.TException {
+ TTupleProtocol iprot = (TTupleProtocol) prot;
+ struct.dbName = iprot.readString();
+ struct.setDbNameIsSet(true);
+ struct.tblName = iprot.readString();
+ struct.setTblNameIsSet(true);
+ {
+ org.apache.thrift.protocol.TSet _set619 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tablesUsed = new HashSet<String>(2*_set619.size);
+ String _elem620;
+ for (int _i621 = 0; _i621 < _set619.size; ++_i621)
+ {
+ _elem620 = iprot.readString();
+ struct.tablesUsed.add(_elem620);
+ }
+ }
+ struct.setTablesUsedIsSet(true);
+ BitSet incoming = iprot.readBitSet(1);
+ if (incoming.get(0)) {
+ struct.validTxnList = iprot.readString();
+ struct.setValidTxnListIsSet(true);
+ }
+ }
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
index 83ff494..b9dc04a 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
@@ -346,14 +346,14 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list470 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list470.size);
- Partition _elem471;
- for (int _i472 = 0; _i472 < _list470.size; ++_i472)
+ org.apache.thrift.protocol.TList _list460 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list460.size);
+ Partition _elem461;
+ for (int _i462 = 0; _i462 < _list460.size; ++_i462)
{
- _elem471 = new Partition();
- _elem471.read(iprot);
- struct.partitions.add(_elem471);
+ _elem461 = new Partition();
+ _elem461.read(iprot);
+ struct.partitions.add(_elem461);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter473 : struct.partitions)
+ for (Partition _iter463 : struct.partitions)
{
- _iter473.write(oprot);
+ _iter463.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter474 : struct.partitions)
+ for (Partition _iter464 : struct.partitions)
{
- _iter474.write(oprot);
+ _iter464.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list475.size);
- Partition _elem476;
- for (int _i477 = 0; _i477 < _list475.size; ++_i477)
+ org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list465.size);
+ Partition _elem466;
+ for (int _i467 = 0; _i467 < _list465.size; ++_i467)
{
- _elem476 = new Partition();
- _elem476.read(iprot);
- struct.partitions.add(_elem476);
+ _elem466 = new Partition();
+ _elem466.read(iprot);
+ struct.partitions.add(_elem466);
}
}
struct.setPartitionsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
index d7c4feb..6829cfe 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
@@ -344,15 +344,15 @@ import org.slf4j.LoggerFactory;
case 1: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map322 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map322.size);
- String _key323;
- String _val324;
- for (int _i325 = 0; _i325 < _map322.size; ++_i325)
+ org.apache.thrift.protocol.TMap _map312 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map312.size);
+ String _key313;
+ String _val314;
+ for (int _i315 = 0; _i315 < _map312.size; ++_i315)
{
- _key323 = iprot.readString();
- _val324 = iprot.readString();
- struct.properties.put(_key323, _val324);
+ _key313 = iprot.readString();
+ _val314 = iprot.readString();
+ struct.properties.put(_key313, _val314);
}
iprot.readMapEnd();
}
@@ -378,10 +378,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PROPERTIES_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size()));
- for (Map.Entry<String, String> _iter326 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter316 : struct.properties.entrySet())
{
- oprot.writeString(_iter326.getKey());
- oprot.writeString(_iter326.getValue());
+ oprot.writeString(_iter316.getKey());
+ oprot.writeString(_iter316.getValue());
}
oprot.writeMapEnd();
}
@@ -412,10 +412,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter327 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter317 : struct.properties.entrySet())
{
- oprot.writeString(_iter327.getKey());
- oprot.writeString(_iter327.getValue());
+ oprot.writeString(_iter317.getKey());
+ oprot.writeString(_iter317.getValue());
}
}
}
@@ -427,15 +427,15 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map328 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.properties = new HashMap<String,String>(2*_map328.size);
- String _key329;
- String _val330;
- for (int _i331 = 0; _i331 < _map328.size; ++_i331)
+ org.apache.thrift.protocol.TMap _map318 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.properties = new HashMap<String,String>(2*_map318.size);
+ String _key319;
+ String _val320;
+ for (int _i321 = 0; _i321 < _map318.size; ++_i321)
{
- _key329 = iprot.readString();
- _val330 = iprot.readString();
- struct.properties.put(_key329, _val330);
+ _key319 = iprot.readString();
+ _val320 = iprot.readString();
+ struct.properties.put(_key319, _val320);
}
}
struct.setPropertiesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
index 4efec9d..7cc201b 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
@@ -713,13 +713,13 @@ import org.slf4j.LoggerFactory;
case 5: // PARTITION_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list656 = iprot.readListBegin();
- struct.partitionVals = new ArrayList<String>(_list656.size);
- String _elem657;
- for (int _i658 = 0; _i658 < _list656.size; ++_i658)
+ org.apache.thrift.protocol.TList _list646 = iprot.readListBegin();
+ struct.partitionVals = new ArrayList<String>(_list646.size);
+ String _elem647;
+ for (int _i648 = 0; _i648 < _list646.size; ++_i648)
{
- _elem657 = iprot.readString();
- struct.partitionVals.add(_elem657);
+ _elem647 = iprot.readString();
+ struct.partitionVals.add(_elem647);
}
iprot.readListEnd();
}
@@ -768,9 +768,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size()));
- for (String _iter659 : struct.partitionVals)
+ for (String _iter649 : struct.partitionVals)
{
- oprot.writeString(_iter659);
+ oprot.writeString(_iter649);
}
oprot.writeListEnd();
}
@@ -816,9 +816,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitionVals()) {
{
oprot.writeI32(struct.partitionVals.size());
- for (String _iter660 : struct.partitionVals)
+ for (String _iter650 : struct.partitionVals)
{
- oprot.writeString(_iter660);
+ oprot.writeString(_iter650);
}
}
}
@@ -843,13 +843,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list661 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partitionVals = new ArrayList<String>(_list661.size);
- String _elem662;
- for (int _i663 = 0; _i663 < _list661.size; ++_i663)
+ org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partitionVals = new ArrayList<String>(_list651.size);
+ String _elem652;
+ for (int _i653 = 0; _i653 < _list651.size; ++_i653)
{
- _elem662 = iprot.readString();
- struct.partitionVals.add(_elem662);
+ _elem652 = iprot.readString();
+ struct.partitionVals.add(_elem652);
}
}
struct.setPartitionValsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
index 2b921c5..75b2404 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // FOREIGN_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list340.size);
- SQLForeignKey _elem341;
- for (int _i342 = 0; _i342 < _list340.size; ++_i342)
+ org.apache.thrift.protocol.TList _list330 = iprot.readListBegin();
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list330.size);
+ SQLForeignKey _elem331;
+ for (int _i332 = 0; _i332 < _list330.size; ++_i332)
{
- _elem341 = new SQLForeignKey();
- _elem341.read(iprot);
- struct.foreignKeys.add(_elem341);
+ _elem331 = new SQLForeignKey();
+ _elem331.read(iprot);
+ struct.foreignKeys.add(_elem331);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size()));
- for (SQLForeignKey _iter343 : struct.foreignKeys)
+ for (SQLForeignKey _iter333 : struct.foreignKeys)
{
- _iter343.write(oprot);
+ _iter333.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.foreignKeys.size());
- for (SQLForeignKey _iter344 : struct.foreignKeys)
+ for (SQLForeignKey _iter334 : struct.foreignKeys)
{
- _iter344.write(oprot);
+ _iter334.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list345 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list345.size);
- SQLForeignKey _elem346;
- for (int _i347 = 0; _i347 < _list345.size; ++_i347)
+ org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list335.size);
+ SQLForeignKey _elem336;
+ for (int _i337 = 0; _i337 < _list335.size; ++_i337)
{
- _elem346 = new SQLForeignKey();
- _elem346.read(iprot);
- struct.foreignKeys.add(_elem346);
+ _elem336 = new SQLForeignKey();
+ _elem336.read(iprot);
+ struct.foreignKeys.add(_elem336);
}
}
struct.setForeignKeysIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
index 0f5d5eb..ca62b88 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
@@ -997,14 +997,14 @@ import org.slf4j.LoggerFactory;
case 8: // RESOURCE_URIS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list526 = iprot.readListBegin();
- struct.resourceUris = new ArrayList<ResourceUri>(_list526.size);
- ResourceUri _elem527;
- for (int _i528 = 0; _i528 < _list526.size; ++_i528)
+ org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
+ struct.resourceUris = new ArrayList<ResourceUri>(_list516.size);
+ ResourceUri _elem517;
+ for (int _i518 = 0; _i518 < _list516.size; ++_i518)
{
- _elem527 = new ResourceUri();
- _elem527.read(iprot);
- struct.resourceUris.add(_elem527);
+ _elem517 = new ResourceUri();
+ _elem517.read(iprot);
+ struct.resourceUris.add(_elem517);
}
iprot.readListEnd();
}
@@ -1063,9 +1063,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size()));
- for (ResourceUri _iter529 : struct.resourceUris)
+ for (ResourceUri _iter519 : struct.resourceUris)
{
- _iter529.write(oprot);
+ _iter519.write(oprot);
}
oprot.writeListEnd();
}
@@ -1138,9 +1138,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetResourceUris()) {
{
oprot.writeI32(struct.resourceUris.size());
- for (ResourceUri _iter530 : struct.resourceUris)
+ for (ResourceUri _iter520 : struct.resourceUris)
{
- _iter530.write(oprot);
+ _iter520.write(oprot);
}
}
}
@@ -1180,14 +1180,14 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(7)) {
{
- org.apache.thrift.protocol.TList _list531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.resourceUris = new ArrayList<ResourceUri>(_list531.size);
- ResourceUri _elem532;
- for (int _i533 = 0; _i533 < _list531.size; ++_i533)
+ org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.resourceUris = new ArrayList<ResourceUri>(_list521.size);
+ ResourceUri _elem522;
+ for (int _i523 = 0; _i523 < _list521.size; ++_i523)
{
- _elem532 = new ResourceUri();
- _elem532.read(iprot);
- struct.resourceUris.add(_elem532);
+ _elem522 = new ResourceUri();
+ _elem522.read(iprot);
+ struct.resourceUris.add(_elem522);
}
}
struct.setResourceUrisIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
index bff424f..2b4883d 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
@@ -346,14 +346,14 @@ import org.slf4j.LoggerFactory;
case 1: // FUNCTIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list724 = iprot.readListBegin();
- struct.functions = new ArrayList<Function>(_list724.size);
- Function _elem725;
- for (int _i726 = 0; _i726 < _list724.size; ++_i726)
+ org.apache.thrift.protocol.TList _list714 = iprot.readListBegin();
+ struct.functions = new ArrayList<Function>(_list714.size);
+ Function _elem715;
+ for (int _i716 = 0; _i716 < _list714.size; ++_i716)
{
- _elem725 = new Function();
- _elem725.read(iprot);
- struct.functions.add(_elem725);
+ _elem715 = new Function();
+ _elem715.read(iprot);
+ struct.functions.add(_elem715);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size()));
- for (Function _iter727 : struct.functions)
+ for (Function _iter717 : struct.functions)
{
- _iter727.write(oprot);
+ _iter717.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetFunctions()) {
{
oprot.writeI32(struct.functions.size());
- for (Function _iter728 : struct.functions)
+ for (Function _iter718 : struct.functions)
{
- _iter728.write(oprot);
+ _iter718.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.functions = new ArrayList<Function>(_list729.size);
- Function _elem730;
- for (int _i731 = 0; _i731 < _list729.size; ++_i731)
+ org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.functions = new ArrayList<Function>(_list719.size);
+ Function _elem720;
+ for (int _i721 = 0; _i721 < _list719.size; ++_i721)
{
- _elem730 = new Function();
- _elem730.read(iprot);
- struct.functions.add(_elem730);
+ _elem720 = new Function();
+ _elem720.read(iprot);
+ struct.functions.add(_elem720);
}
}
struct.setFunctionsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
index 38a5ed9..5a371c4 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
@@ -619,13 +619,13 @@ import org.slf4j.LoggerFactory;
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list674 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list674.size);
- long _elem675;
- for (int _i676 = 0; _i676 < _list674.size; ++_i676)
+ org.apache.thrift.protocol.TList _list664 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list664.size);
+ long _elem665;
+ for (int _i666 = 0; _i666 < _list664.size; ++_i666)
{
- _elem675 = iprot.readI64();
- struct.fileIds.add(_elem675);
+ _elem665 = iprot.readI64();
+ struct.fileIds.add(_elem665);
}
iprot.readListEnd();
}
@@ -675,9 +675,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FILE_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size()));
- for (long _iter677 : struct.fileIds)
+ for (long _iter667 : struct.fileIds)
{
- oprot.writeI64(_iter677);
+ oprot.writeI64(_iter667);
}
oprot.writeListEnd();
}
@@ -719,9 +719,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter678 : struct.fileIds)
+ for (long _iter668 : struct.fileIds)
{
- oprot.writeI64(_iter678);
+ oprot.writeI64(_iter668);
}
}
oprot.writeBinary(struct.expr);
@@ -745,13 +745,13 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list679.size);
- long _elem680;
- for (int _i681 = 0; _i681 < _list679.size; ++_i681)
+ org.apache.thrift.protocol.TList _list669 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list669.size);
+ long _elem670;
+ for (int _i671 = 0; _i671 < _list669.size; ++_i671)
{
- _elem680 = iprot.readI64();
- struct.fileIds.add(_elem680);
+ _elem670 = iprot.readI64();
+ struct.fileIds.add(_elem670);
}
}
struct.setFileIdsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
index a3dc743..6eb6eee 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
@@ -444,16 +444,16 @@ import org.slf4j.LoggerFactory;
case 1: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map664 = iprot.readMapBegin();
- struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map664.size);
- long _key665;
- MetadataPpdResult _val666;
- for (int _i667 = 0; _i667 < _map664.size; ++_i667)
+ org.apache.thrift.protocol.TMap _map654 = iprot.readMapBegin();
+ struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map654.size);
+ long _key655;
+ MetadataPpdResult _val656;
+ for (int _i657 = 0; _i657 < _map654.size; ++_i657)
{
- _key665 = iprot.readI64();
- _val666 = new MetadataPpdResult();
- _val666.read(iprot);
- struct.metadata.put(_key665, _val666);
+ _key655 = iprot.readI64();
+ _val656 = new MetadataPpdResult();
+ _val656.read(iprot);
+ struct.metadata.put(_key655, _val656);
}
iprot.readMapEnd();
}
@@ -487,10 +487,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size()));
- for (Map.Entry<Long, MetadataPpdResult> _iter668 : struct.metadata.entrySet())
+ for (Map.Entry<Long, MetadataPpdResult> _iter658 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter668.getKey());
- _iter668.getValue().write(oprot);
+ oprot.writeI64(_iter658.getKey());
+ _iter658.getValue().write(oprot);
}
oprot.writeMapEnd();
}
@@ -518,10 +518,10 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.metadata.size());
- for (Map.Entry<Long, MetadataPpdResult> _iter669 : struct.metadata.entrySet())
+ for (Map.Entry<Long, MetadataPpdResult> _iter659 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter669.getKey());
- _iter669.getValue().write(oprot);
+ oprot.writeI64(_iter659.getKey());
+ _iter659.getValue().write(oprot);
}
}
oprot.writeBool(struct.isSupported);
@@ -531,16 +531,16 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TMap _map670 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map670.size);
- long _key671;
- MetadataPpdResult _val672;
- for (int _i673 = 0; _i673 < _map670.size; ++_i673)
+ org.apache.thrift.protocol.TMap _map660 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map660.size);
+ long _key661;
+ MetadataPpdResult _val662;
+ for (int _i663 = 0; _i663 < _map660.size; ++_i663)
{
- _key671 = iprot.readI64();
- _val672 = new MetadataPpdResult();
- _val672.read(iprot);
- struct.metadata.put(_key671, _val672);
+ _key661 = iprot.readI64();
+ _val662 = new MetadataPpdResult();
+ _val662.read(iprot);
+ struct.metadata.put(_key661, _val662);
}
}
struct.setMetadataIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
index 53603af..0404358 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
@@ -351,13 +351,13 @@ import org.slf4j.LoggerFactory;
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list692 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list692.size);
- long _elem693;
- for (int _i694 = 0; _i694 < _list692.size; ++_i694)
+ org.apache.thrift.protocol.TList _list682 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list682.size);
+ long _elem683;
+ for (int _i684 = 0; _i684 < _list682.size; ++_i684)
{
- _elem693 = iprot.readI64();
- struct.fileIds.add(_elem693);
+ _elem683 = iprot.readI64();
+ struct.fileIds.add(_elem683);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FILE_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size()));
- for (long _iter695 : struct.fileIds)
+ for (long _iter685 : struct.fileIds)
{
- oprot.writeI64(_iter695);
+ oprot.writeI64(_iter685);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter696 : struct.fileIds)
+ for (long _iter686 : struct.fileIds)
{
- oprot.writeI64(_iter696);
+ oprot.writeI64(_iter686);
}
}
}
@@ -421,13 +421,13 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list697.size);
- long _elem698;
- for (int _i699 = 0; _i699 < _list697.size; ++_i699)
+ org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list687.size);
+ long _elem688;
+ for (int _i689 = 0; _i689 < _list687.size; ++_i689)
{
- _elem698 = iprot.readI64();
- struct.fileIds.add(_elem698);
+ _elem688 = iprot.readI64();
+ struct.fileIds.add(_elem688);
}
}
struct.setFileIdsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
index 440965e..3858890 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
@@ -433,15 +433,15 @@ import org.slf4j.LoggerFactory;
case 1: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map682 = iprot.readMapBegin();
- struct.metadata = new HashMap<Long,ByteBuffer>(2*_map682.size);
- long _key683;
- ByteBuffer _val684;
- for (int _i685 = 0; _i685 < _map682.size; ++_i685)
+ org.apache.thrift.protocol.TMap _map672 = iprot.readMapBegin();
+ struct.metadata = new HashMap<Long,ByteBuffer>(2*_map672.size);
+ long _key673;
+ ByteBuffer _val674;
+ for (int _i675 = 0; _i675 < _map672.size; ++_i675)
{
- _key683 = iprot.readI64();
- _val684 = iprot.readBinary();
- struct.metadata.put(_key683, _val684);
+ _key673 = iprot.readI64();
+ _val674 = iprot.readBinary();
+ struct.metadata.put(_key673, _val674);
}
iprot.readMapEnd();
}
@@ -475,10 +475,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size()));
- for (Map.Entry<Long, ByteBuffer> _iter686 : struct.metadata.entrySet())
+ for (Map.Entry<Long, ByteBuffer> _iter676 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter686.getKey());
- oprot.writeBinary(_iter686.getValue());
+ oprot.writeI64(_iter676.getKey());
+ oprot.writeBinary(_iter676.getValue());
}
oprot.writeMapEnd();
}
@@ -506,10 +506,10 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.metadata.size());
- for (Map.Entry<Long, ByteBuffer> _iter687 : struct.metadata.entrySet())
+ for (Map.Entry<Long, ByteBuffer> _iter677 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter687.getKey());
- oprot.writeBinary(_iter687.getValue());
+ oprot.writeI64(_iter677.getKey());
+ oprot.writeBinary(_iter677.getValue());
}
}
oprot.writeBool(struct.isSupported);
@@ -519,15 +519,15 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TMap _map688 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.metadata = new HashMap<Long,ByteBuffer>(2*_map688.size);
- long _key689;
- ByteBuffer _val690;
- for (int _i691 = 0; _i691 < _map688.size; ++_i691)
+ org.apache.thrift.protocol.TMap _map678 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.metadata = new HashMap<Long,ByteBuffer>(2*_map678.size);
+ long _key679;
+ ByteBuffer _val680;
+ for (int _i681 = 0; _i681 < _map678.size; ++_i681)
{
- _key689 = iprot.readI64();
- _val690 = iprot.readBinary();
- struct.metadata.put(_key689, _val690);
+ _key679 = iprot.readI64();
+ _val680 = iprot.readBinary();
+ struct.metadata.put(_key679, _val680);
}
}
struct.setMetadataIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
index a77f661..ae644df 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
@@ -447,14 +447,14 @@ import org.slf4j.LoggerFactory;
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list534 = iprot.readListBegin();
- struct.open_txns = new ArrayList<TxnInfo>(_list534.size);
- TxnInfo _elem535;
- for (int _i536 = 0; _i536 < _list534.size; ++_i536)
+ org.apache.thrift.protocol.TList _list524 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<TxnInfo>(_list524.size);
+ TxnInfo _elem525;
+ for (int _i526 = 0; _i526 < _list524.size; ++_i526)
{
- _elem535 = new TxnInfo();
- _elem535.read(iprot);
- struct.open_txns.add(_elem535);
+ _elem525 = new TxnInfo();
+ _elem525.read(iprot);
+ struct.open_txns.add(_elem525);
}
iprot.readListEnd();
}
@@ -483,9 +483,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size()));
- for (TxnInfo _iter537 : struct.open_txns)
+ for (TxnInfo _iter527 : struct.open_txns)
{
- _iter537.write(oprot);
+ _iter527.write(oprot);
}
oprot.writeListEnd();
}
@@ -511,9 +511,9 @@ import org.slf4j.LoggerFactory;
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (TxnInfo _iter538 : struct.open_txns)
+ for (TxnInfo _iter528 : struct.open_txns)
{
- _iter538.write(oprot);
+ _iter528.write(oprot);
}
}
}
@@ -524,14 +524,14 @@ import org.slf4j.LoggerFactory;
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.open_txns = new ArrayList<TxnInfo>(_list539.size);
- TxnInfo _elem540;
- for (int _i541 = 0; _i541 < _list539.size; ++_i541)
+ org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.open_txns = new ArrayList<TxnInfo>(_list529.size);
+ TxnInfo _elem530;
+ for (int _i531 = 0; _i531 < _list529.size; ++_i531)
{
- _elem540 = new TxnInfo();
- _elem540.read(iprot);
- struct.open_txns.add(_elem540);
+ _elem530 = new TxnInfo();
+ _elem530.read(iprot);
+ struct.open_txns.add(_elem530);
}
}
struct.setOpen_txnsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
index 70ea1de..662c093 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
@@ -615,13 +615,13 @@ import org.slf4j.LoggerFactory;
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list542 = iprot.readListBegin();
- struct.open_txns = new ArrayList<Long>(_list542.size);
- long _elem543;
- for (int _i544 = 0; _i544 < _list542.size; ++_i544)
+ org.apache.thrift.protocol.TList _list532 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<Long>(_list532.size);
+ long _elem533;
+ for (int _i534 = 0; _i534 < _list532.size; ++_i534)
{
- _elem543 = iprot.readI64();
- struct.open_txns.add(_elem543);
+ _elem533 = iprot.readI64();
+ struct.open_txns.add(_elem533);
}
iprot.readListEnd();
}
@@ -666,9 +666,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size()));
- for (long _iter545 : struct.open_txns)
+ for (long _iter535 : struct.open_txns)
{
- oprot.writeI64(_iter545);
+ oprot.writeI64(_iter535);
}
oprot.writeListEnd();
}
@@ -704,9 +704,9 @@ import org.slf4j.LoggerFactory;
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (long _iter546 : struct.open_txns)
+ for (long _iter536 : struct.open_txns)
{
- oprot.writeI64(_iter546);
+ oprot.writeI64(_iter536);
}
}
oprot.writeBinary(struct.abortedBits);
@@ -726,13 +726,13 @@ import org.slf4j.LoggerFactory;
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.open_txns = new ArrayList<Long>(_list547.size);
- long _elem548;
- for (int _i549 = 0; _i549 < _list547.size; ++_i549)
+ org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.open_txns = new ArrayList<Long>(_list537.size);
+ long _elem538;
+ for (int _i539 = 0; _i539 < _list537.size; ++_i539)
{
- _elem548 = iprot.readI64();
- struct.open_txns.add(_elem548);
+ _elem538 = iprot.readI64();
+ struct.open_txns.add(_elem538);
}
}
struct.setOpen_txnsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
index 575737d..680ce86 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
@@ -525,13 +525,13 @@ import org.slf4j.LoggerFactory;
case 2: // TBL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
- struct.tblNames = new ArrayList<String>(_list740.size);
- String _elem741;
- for (int _i742 = 0; _i742 < _list740.size; ++_i742)
+ org.apache.thrift.protocol.TList _list730 = iprot.readListBegin();
+ struct.tblNames = new ArrayList<String>(_list730.size);
+ String _elem731;
+ for (int _i732 = 0; _i732 < _list730.size; ++_i732)
{
- _elem741 = iprot.readString();
- struct.tblNames.add(_elem741);
+ _elem731 = iprot.readString();
+ struct.tblNames.add(_elem731);
}
iprot.readListEnd();
}
@@ -572,9 +572,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size()));
- for (String _iter743 : struct.tblNames)
+ for (String _iter733 : struct.tblNames)
{
- oprot.writeString(_iter743);
+ oprot.writeString(_iter733);
}
oprot.writeListEnd();
}
@@ -617,9 +617,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTblNames()) {
{
oprot.writeI32(struct.tblNames.size());
- for (String _iter744 : struct.tblNames)
+ for (String _iter734 : struct.tblNames)
{
- oprot.writeString(_iter744);
+ oprot.writeString(_iter734);
}
}
}
@@ -636,13 +636,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.tblNames = new ArrayList<String>(_list745.size);
- String _elem746;
- for (int _i747 = 0; _i747 < _list745.size; ++_i747)
+ org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tblNames = new ArrayList<String>(_list735.size);
+ String _elem736;
+ for (int _i737 = 0; _i737 < _list735.size; ++_i737)
{
- _elem746 = iprot.readString();
- struct.tblNames.add(_elem746);
+ _elem736 = iprot.readString();
+ struct.tblNames.add(_elem736);
}
}
struct.setTblNamesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
index 050d093..ccd85c4 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // TABLES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list748 = iprot.readListBegin();
- struct.tables = new ArrayList<Table>(_list748.size);
- Table _elem749;
- for (int _i750 = 0; _i750 < _list748.size; ++_i750)
+ org.apache.thrift.protocol.TList _list738 = iprot.readListBegin();
+ struct.tables = new ArrayList<Table>(_list738.size);
+ Table _elem739;
+ for (int _i740 = 0; _i740 < _list738.size; ++_i740)
{
- _elem749 = new Table();
- _elem749.read(iprot);
- struct.tables.add(_elem749);
+ _elem739 = new Table();
+ _elem739.read(iprot);
+ struct.tables.add(_elem739);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TABLES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size()));
- for (Table _iter751 : struct.tables)
+ for (Table _iter741 : struct.tables)
{
- _iter751.write(oprot);
+ _iter741.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.tables.size());
- for (Table _iter752 : struct.tables)
+ for (Table _iter742 : struct.tables)
{
- _iter752.write(oprot);
+ _iter742.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.tables = new ArrayList<Table>(_list753.size);
- Table _elem754;
- for (int _i755 = 0; _i755 < _list753.size; ++_i755)
+ org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.tables = new ArrayList<Table>(_list743.size);
+ Table _elem744;
+ for (int _i745 = 0; _i745 < _list743.size; ++_i745)
{
- _elem754 = new Table();
- _elem754.read(iprot);
- struct.tables.add(_elem754);
+ _elem744 = new Table();
+ _elem744.read(iprot);
+ struct.tables.add(_elem744);
}
}
struct.setTablesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
index 828e94e..762f465 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
@@ -453,13 +453,13 @@ import org.slf4j.LoggerFactory;
case 1: // ABORTED
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set582 = iprot.readSetBegin();
- struct.aborted = new HashSet<Long>(2*_set582.size);
- long _elem583;
- for (int _i584 = 0; _i584 < _set582.size; ++_i584)
+ org.apache.thrift.protocol.TSet _set572 = iprot.readSetBegin();
+ struct.aborted = new HashSet<Long>(2*_set572.size);
+ long _elem573;
+ for (int _i574 = 0; _i574 < _set572.size; ++_i574)
{
- _elem583 = iprot.readI64();
- struct.aborted.add(_elem583);
+ _elem573 = iprot.readI64();
+ struct.aborted.add(_elem573);
}
iprot.readSetEnd();
}
@@ -471,13 +471,13 @@ import org.slf4j.LoggerFactory;
case 2: // NOSUCH
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set585 = iprot.readSetBegin();
- struct.nosuch = new HashSet<Long>(2*_set585.size);
- long _elem586;
- for (int _i587 = 0; _i587 < _set585.size; ++_i587)
+ org.apache.thrift.protocol.TSet _set575 = iprot.readSetBegin();
+ struct.nosuch = new HashSet<Long>(2*_set575.size);
+ long _elem576;
+ for (int _i577 = 0; _i577 < _set575.size; ++_i577)
{
- _elem586 = iprot.readI64();
- struct.nosuch.add(_elem586);
+ _elem576 = iprot.readI64();
+ struct.nosuch.add(_elem576);
}
iprot.readSetEnd();
}
@@ -503,9 +503,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(ABORTED_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size()));
- for (long _iter588 : struct.aborted)
+ for (long _iter578 : struct.aborted)
{
- oprot.writeI64(_iter588);
+ oprot.writeI64(_iter578);
}
oprot.writeSetEnd();
}
@@ -515,9 +515,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(NOSUCH_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size()));
- for (long _iter589 : struct.nosuch)
+ for (long _iter579 : struct.nosuch)
{
- oprot.writeI64(_iter589);
+ oprot.writeI64(_iter579);
}
oprot.writeSetEnd();
}
@@ -542,16 +542,16 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.aborted.size());
- for (long _iter590 : struct.aborted)
+ for (long _iter580 : struct.aborted)
{
- oprot.writeI64(_iter590);
+ oprot.writeI64(_iter580);
}
}
{
oprot.writeI32(struct.nosuch.size());
- for (long _iter591 : struct.nosuch)
+ for (long _iter581 : struct.nosuch)
{
- oprot.writeI64(_iter591);
+ oprot.writeI64(_iter581);
}
}
}
@@ -560,24 +560,24 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TSet _set592 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.aborted = new HashSet<Long>(2*_set592.size);
- long _elem593;
- for (int _i594 = 0; _i594 < _set592.size; ++_i594)
+ org.apache.thrift.protocol.TSet _set582 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.aborted = new HashSet<Long>(2*_set582.size);
+ long _elem583;
+ for (int _i584 = 0; _i584 < _set582.size; ++_i584)
{
- _elem593 = iprot.readI64();
- struct.aborted.add(_elem593);
+ _elem583 = iprot.readI64();
+ struct.aborted.add(_elem583);
}
}
struct.setAbortedIsSet(true);
{
- org.apache.thrift.protocol.TSet _set595 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.nosuch = new HashSet<Long>(2*_set595.size);
- long _elem596;
- for (int _i597 = 0; _i597 < _set595.size; ++_i597)
+ org.apache.thrift.protocol.TSet _set585 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.nosuch = new HashSet<Long>(2*_set585.size);
+ long _elem586;
+ for (int _i587 = 0; _i587 < _set585.size; ++_i587)
{
- _elem596 = iprot.readI64();
- struct.nosuch.add(_elem596);
+ _elem586 = iprot.readI64();
+ struct.nosuch.add(_elem586);
}
}
struct.setNosuchIsSet(true);