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/01/11 21:54:48 UTC
[08/22] hive git commit: HIVE-14498: Freshness period for query
rewriting using materialized views (Jesus Camacho Rodriguez,
reviewed by Ashutosh Chauhan)
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java
new file mode 100644
index 0000000..5600bda
--- /dev/null
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java
@@ -0,0 +1,537 @@
+/**
+ * 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 TxnsSnapshot implements org.apache.thrift.TBase<TxnsSnapshot, TxnsSnapshot._Fields>, java.io.Serializable, Cloneable, Comparable<TxnsSnapshot> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnsSnapshot");
+
+ private static final org.apache.thrift.protocol.TField TXN_HIGH_WATER_MARK_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_high_water_mark", org.apache.thrift.protocol.TType.I64, (short)1);
+ private static final org.apache.thrift.protocol.TField OPEN_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("open_txns", org.apache.thrift.protocol.TType.LIST, (short)2);
+
+ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+ static {
+ schemes.put(StandardScheme.class, new TxnsSnapshotStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new TxnsSnapshotTupleSchemeFactory());
+ }
+
+ private long txn_high_water_mark; // required
+ private List<Long> open_txns; // 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 {
+ TXN_HIGH_WATER_MARK((short)1, "txn_high_water_mark"),
+ OPEN_TXNS((short)2, "open_txns");
+
+ 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: // TXN_HIGH_WATER_MARK
+ return TXN_HIGH_WATER_MARK;
+ case 2: // OPEN_TXNS
+ return OPEN_TXNS;
+ 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 int __TXN_HIGH_WATER_MARK_ISSET_ID = 0;
+ private byte __isset_bitfield = 0;
+ 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.TXN_HIGH_WATER_MARK, new org.apache.thrift.meta_data.FieldMetaData("txn_high_water_mark", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+ tmpMap.put(_Fields.OPEN_TXNS, new org.apache.thrift.meta_data.FieldMetaData("open_txns", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ 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.I64))));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TxnsSnapshot.class, metaDataMap);
+ }
+
+ public TxnsSnapshot() {
+ }
+
+ public TxnsSnapshot(
+ long txn_high_water_mark,
+ List<Long> open_txns)
+ {
+ this();
+ this.txn_high_water_mark = txn_high_water_mark;
+ setTxn_high_water_markIsSet(true);
+ this.open_txns = open_txns;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public TxnsSnapshot(TxnsSnapshot other) {
+ __isset_bitfield = other.__isset_bitfield;
+ this.txn_high_water_mark = other.txn_high_water_mark;
+ if (other.isSetOpen_txns()) {
+ List<Long> __this__open_txns = new ArrayList<Long>(other.open_txns);
+ this.open_txns = __this__open_txns;
+ }
+ }
+
+ public TxnsSnapshot deepCopy() {
+ return new TxnsSnapshot(this);
+ }
+
+ @Override
+ public void clear() {
+ setTxn_high_water_markIsSet(false);
+ this.txn_high_water_mark = 0;
+ this.open_txns = null;
+ }
+
+ public long getTxn_high_water_mark() {
+ return this.txn_high_water_mark;
+ }
+
+ public void setTxn_high_water_mark(long txn_high_water_mark) {
+ this.txn_high_water_mark = txn_high_water_mark;
+ setTxn_high_water_markIsSet(true);
+ }
+
+ public void unsetTxn_high_water_mark() {
+ __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID);
+ }
+
+ /** Returns true if field txn_high_water_mark is set (has been assigned a value) and false otherwise */
+ public boolean isSetTxn_high_water_mark() {
+ return EncodingUtils.testBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID);
+ }
+
+ public void setTxn_high_water_markIsSet(boolean value) {
+ __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID, value);
+ }
+
+ public int getOpen_txnsSize() {
+ return (this.open_txns == null) ? 0 : this.open_txns.size();
+ }
+
+ public java.util.Iterator<Long> getOpen_txnsIterator() {
+ return (this.open_txns == null) ? null : this.open_txns.iterator();
+ }
+
+ public void addToOpen_txns(long elem) {
+ if (this.open_txns == null) {
+ this.open_txns = new ArrayList<Long>();
+ }
+ this.open_txns.add(elem);
+ }
+
+ public List<Long> getOpen_txns() {
+ return this.open_txns;
+ }
+
+ public void setOpen_txns(List<Long> open_txns) {
+ this.open_txns = open_txns;
+ }
+
+ public void unsetOpen_txns() {
+ this.open_txns = null;
+ }
+
+ /** Returns true if field open_txns is set (has been assigned a value) and false otherwise */
+ public boolean isSetOpen_txns() {
+ return this.open_txns != null;
+ }
+
+ public void setOpen_txnsIsSet(boolean value) {
+ if (!value) {
+ this.open_txns = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case TXN_HIGH_WATER_MARK:
+ if (value == null) {
+ unsetTxn_high_water_mark();
+ } else {
+ setTxn_high_water_mark((Long)value);
+ }
+ break;
+
+ case OPEN_TXNS:
+ if (value == null) {
+ unsetOpen_txns();
+ } else {
+ setOpen_txns((List<Long>)value);
+ }
+ break;
+
+ }
+ }
+
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case TXN_HIGH_WATER_MARK:
+ return getTxn_high_water_mark();
+
+ case OPEN_TXNS:
+ return getOpen_txns();
+
+ }
+ 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 TXN_HIGH_WATER_MARK:
+ return isSetTxn_high_water_mark();
+ case OPEN_TXNS:
+ return isSetOpen_txns();
+ }
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof TxnsSnapshot)
+ return this.equals((TxnsSnapshot)that);
+ return false;
+ }
+
+ public boolean equals(TxnsSnapshot that) {
+ if (that == null)
+ return false;
+
+ boolean this_present_txn_high_water_mark = true;
+ boolean that_present_txn_high_water_mark = true;
+ if (this_present_txn_high_water_mark || that_present_txn_high_water_mark) {
+ if (!(this_present_txn_high_water_mark && that_present_txn_high_water_mark))
+ return false;
+ if (this.txn_high_water_mark != that.txn_high_water_mark)
+ return false;
+ }
+
+ boolean this_present_open_txns = true && this.isSetOpen_txns();
+ boolean that_present_open_txns = true && that.isSetOpen_txns();
+ if (this_present_open_txns || that_present_open_txns) {
+ if (!(this_present_open_txns && that_present_open_txns))
+ return false;
+ if (!this.open_txns.equals(that.open_txns))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_txn_high_water_mark = true;
+ list.add(present_txn_high_water_mark);
+ if (present_txn_high_water_mark)
+ list.add(txn_high_water_mark);
+
+ boolean present_open_txns = true && (isSetOpen_txns());
+ list.add(present_open_txns);
+ if (present_open_txns)
+ list.add(open_txns);
+
+ return list.hashCode();
+ }
+
+ @Override
+ public int compareTo(TxnsSnapshot other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(other.isSetTxn_high_water_mark());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetTxn_high_water_mark()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, other.txn_high_water_mark);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(other.isSetOpen_txns());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetOpen_txns()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, other.open_txns);
+ 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("TxnsSnapshot(");
+ boolean first = true;
+
+ sb.append("txn_high_water_mark:");
+ sb.append(this.txn_high_water_mark);
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("open_txns:");
+ if (this.open_txns == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.open_txns);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ if (!isSetTxn_high_water_mark()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'txn_high_water_mark' is unset! Struct:" + toString());
+ }
+
+ if (!isSetOpen_txns()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'open_txns' 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 {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bitfield = 0;
+ read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private static class TxnsSnapshotStandardSchemeFactory implements SchemeFactory {
+ public TxnsSnapshotStandardScheme getScheme() {
+ return new TxnsSnapshotStandardScheme();
+ }
+ }
+
+ private static class TxnsSnapshotStandardScheme extends StandardScheme<TxnsSnapshot> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, TxnsSnapshot 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: // TXN_HIGH_WATER_MARK
+ if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+ struct.txn_high_water_mark = iprot.readI64();
+ struct.setTxn_high_water_markIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // OPEN_TXNS
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list624 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<Long>(_list624.size);
+ long _elem625;
+ for (int _i626 = 0; _i626 < _list624.size; ++_i626)
+ {
+ _elem625 = iprot.readI64();
+ struct.open_txns.add(_elem625);
+ }
+ iprot.readListEnd();
+ }
+ struct.setOpen_txnsIsSet(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, TxnsSnapshot struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ oprot.writeFieldBegin(TXN_HIGH_WATER_MARK_FIELD_DESC);
+ oprot.writeI64(struct.txn_high_water_mark);
+ oprot.writeFieldEnd();
+ if (struct.open_txns != null) {
+ 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 _iter627 : struct.open_txns)
+ {
+ oprot.writeI64(_iter627);
+ }
+ oprot.writeListEnd();
+ }
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class TxnsSnapshotTupleSchemeFactory implements SchemeFactory {
+ public TxnsSnapshotTupleScheme getScheme() {
+ return new TxnsSnapshotTupleScheme();
+ }
+ }
+
+ private static class TxnsSnapshotTupleScheme extends TupleScheme<TxnsSnapshot> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, TxnsSnapshot struct) throws org.apache.thrift.TException {
+ TTupleProtocol oprot = (TTupleProtocol) prot;
+ oprot.writeI64(struct.txn_high_water_mark);
+ {
+ oprot.writeI32(struct.open_txns.size());
+ for (long _iter628 : struct.open_txns)
+ {
+ oprot.writeI64(_iter628);
+ }
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, TxnsSnapshot struct) throws org.apache.thrift.TException {
+ TTupleProtocol iprot = (TTupleProtocol) prot;
+ struct.txn_high_water_mark = iprot.readI64();
+ struct.setTxn_high_water_markIsSet(true);
+ {
+ org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.open_txns = new ArrayList<Long>(_list629.size);
+ long _elem630;
+ for (int _i631 = 0; _i631 < _list629.size; ++_i631)
+ {
+ _elem630 = iprot.readI64();
+ struct.open_txns.add(_elem630);
+ }
+ }
+ struct.setOpen_txnsIsSet(true);
+ }
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
index d545e66..342e6b0 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // UNIQUE_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list338 = iprot.readListBegin();
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list338.size);
- SQLUniqueConstraint _elem339;
- for (int _i340 = 0; _i340 < _list338.size; ++_i340)
+ org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list348.size);
+ SQLUniqueConstraint _elem349;
+ for (int _i350 = 0; _i350 < _list348.size; ++_i350)
{
- _elem339 = new SQLUniqueConstraint();
- _elem339.read(iprot);
- struct.uniqueConstraints.add(_elem339);
+ _elem349 = new SQLUniqueConstraint();
+ _elem349.read(iprot);
+ struct.uniqueConstraints.add(_elem349);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size()));
- for (SQLUniqueConstraint _iter341 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter351 : struct.uniqueConstraints)
{
- _iter341.write(oprot);
+ _iter351.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.uniqueConstraints.size());
- for (SQLUniqueConstraint _iter342 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter352 : struct.uniqueConstraints)
{
- _iter342.write(oprot);
+ _iter352.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list343.size);
- SQLUniqueConstraint _elem344;
- for (int _i345 = 0; _i345 < _list343.size; ++_i345)
+ org.apache.thrift.protocol.TList _list353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list353.size);
+ SQLUniqueConstraint _elem354;
+ for (int _i355 = 0; _i355 < _list353.size; ++_i355)
{
- _elem344 = new SQLUniqueConstraint();
- _elem344.read(iprot);
- struct.uniqueConstraints.add(_elem344);
+ _elem354 = new SQLUniqueConstraint();
+ _elem354.read(iprot);
+ struct.uniqueConstraints.add(_elem354);
}
}
struct.setUniqueConstraintsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java
index 1d21908..c9988c0 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java
@@ -755,14 +755,14 @@ import org.slf4j.LoggerFactory;
case 2: // POOLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list738 = iprot.readListBegin();
- struct.pools = new ArrayList<WMPool>(_list738.size);
- WMPool _elem739;
- for (int _i740 = 0; _i740 < _list738.size; ++_i740)
+ org.apache.thrift.protocol.TList _list764 = iprot.readListBegin();
+ struct.pools = new ArrayList<WMPool>(_list764.size);
+ WMPool _elem765;
+ for (int _i766 = 0; _i766 < _list764.size; ++_i766)
{
- _elem739 = new WMPool();
- _elem739.read(iprot);
- struct.pools.add(_elem739);
+ _elem765 = new WMPool();
+ _elem765.read(iprot);
+ struct.pools.add(_elem765);
}
iprot.readListEnd();
}
@@ -774,14 +774,14 @@ import org.slf4j.LoggerFactory;
case 3: // MAPPINGS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list741 = iprot.readListBegin();
- struct.mappings = new ArrayList<WMMapping>(_list741.size);
- WMMapping _elem742;
- for (int _i743 = 0; _i743 < _list741.size; ++_i743)
+ org.apache.thrift.protocol.TList _list767 = iprot.readListBegin();
+ struct.mappings = new ArrayList<WMMapping>(_list767.size);
+ WMMapping _elem768;
+ for (int _i769 = 0; _i769 < _list767.size; ++_i769)
{
- _elem742 = new WMMapping();
- _elem742.read(iprot);
- struct.mappings.add(_elem742);
+ _elem768 = new WMMapping();
+ _elem768.read(iprot);
+ struct.mappings.add(_elem768);
}
iprot.readListEnd();
}
@@ -793,14 +793,14 @@ import org.slf4j.LoggerFactory;
case 4: // TRIGGERS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list744 = iprot.readListBegin();
- struct.triggers = new ArrayList<WMTrigger>(_list744.size);
- WMTrigger _elem745;
- for (int _i746 = 0; _i746 < _list744.size; ++_i746)
+ org.apache.thrift.protocol.TList _list770 = iprot.readListBegin();
+ struct.triggers = new ArrayList<WMTrigger>(_list770.size);
+ WMTrigger _elem771;
+ for (int _i772 = 0; _i772 < _list770.size; ++_i772)
{
- _elem745 = new WMTrigger();
- _elem745.read(iprot);
- struct.triggers.add(_elem745);
+ _elem771 = new WMTrigger();
+ _elem771.read(iprot);
+ struct.triggers.add(_elem771);
}
iprot.readListEnd();
}
@@ -812,14 +812,14 @@ import org.slf4j.LoggerFactory;
case 5: // POOL_TRIGGERS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list747 = iprot.readListBegin();
- struct.poolTriggers = new ArrayList<WMPoolTrigger>(_list747.size);
- WMPoolTrigger _elem748;
- for (int _i749 = 0; _i749 < _list747.size; ++_i749)
+ org.apache.thrift.protocol.TList _list773 = iprot.readListBegin();
+ struct.poolTriggers = new ArrayList<WMPoolTrigger>(_list773.size);
+ WMPoolTrigger _elem774;
+ for (int _i775 = 0; _i775 < _list773.size; ++_i775)
{
- _elem748 = new WMPoolTrigger();
- _elem748.read(iprot);
- struct.poolTriggers.add(_elem748);
+ _elem774 = new WMPoolTrigger();
+ _elem774.read(iprot);
+ struct.poolTriggers.add(_elem774);
}
iprot.readListEnd();
}
@@ -850,9 +850,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(POOLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size()));
- for (WMPool _iter750 : struct.pools)
+ for (WMPool _iter776 : struct.pools)
{
- _iter750.write(oprot);
+ _iter776.write(oprot);
}
oprot.writeListEnd();
}
@@ -863,9 +863,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(MAPPINGS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size()));
- for (WMMapping _iter751 : struct.mappings)
+ for (WMMapping _iter777 : struct.mappings)
{
- _iter751.write(oprot);
+ _iter777.write(oprot);
}
oprot.writeListEnd();
}
@@ -877,9 +877,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TRIGGERS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size()));
- for (WMTrigger _iter752 : struct.triggers)
+ for (WMTrigger _iter778 : struct.triggers)
{
- _iter752.write(oprot);
+ _iter778.write(oprot);
}
oprot.writeListEnd();
}
@@ -891,9 +891,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size()));
- for (WMPoolTrigger _iter753 : struct.poolTriggers)
+ for (WMPoolTrigger _iter779 : struct.poolTriggers)
{
- _iter753.write(oprot);
+ _iter779.write(oprot);
}
oprot.writeListEnd();
}
@@ -920,9 +920,9 @@ import org.slf4j.LoggerFactory;
struct.plan.write(oprot);
{
oprot.writeI32(struct.pools.size());
- for (WMPool _iter754 : struct.pools)
+ for (WMPool _iter780 : struct.pools)
{
- _iter754.write(oprot);
+ _iter780.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -939,27 +939,27 @@ import org.slf4j.LoggerFactory;
if (struct.isSetMappings()) {
{
oprot.writeI32(struct.mappings.size());
- for (WMMapping _iter755 : struct.mappings)
+ for (WMMapping _iter781 : struct.mappings)
{
- _iter755.write(oprot);
+ _iter781.write(oprot);
}
}
}
if (struct.isSetTriggers()) {
{
oprot.writeI32(struct.triggers.size());
- for (WMTrigger _iter756 : struct.triggers)
+ for (WMTrigger _iter782 : struct.triggers)
{
- _iter756.write(oprot);
+ _iter782.write(oprot);
}
}
}
if (struct.isSetPoolTriggers()) {
{
oprot.writeI32(struct.poolTriggers.size());
- for (WMPoolTrigger _iter757 : struct.poolTriggers)
+ for (WMPoolTrigger _iter783 : struct.poolTriggers)
{
- _iter757.write(oprot);
+ _iter783.write(oprot);
}
}
}
@@ -972,56 +972,56 @@ import org.slf4j.LoggerFactory;
struct.plan.read(iprot);
struct.setPlanIsSet(true);
{
- org.apache.thrift.protocol.TList _list758 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.pools = new ArrayList<WMPool>(_list758.size);
- WMPool _elem759;
- for (int _i760 = 0; _i760 < _list758.size; ++_i760)
+ org.apache.thrift.protocol.TList _list784 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.pools = new ArrayList<WMPool>(_list784.size);
+ WMPool _elem785;
+ for (int _i786 = 0; _i786 < _list784.size; ++_i786)
{
- _elem759 = new WMPool();
- _elem759.read(iprot);
- struct.pools.add(_elem759);
+ _elem785 = new WMPool();
+ _elem785.read(iprot);
+ struct.pools.add(_elem785);
}
}
struct.setPoolsIsSet(true);
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.mappings = new ArrayList<WMMapping>(_list761.size);
- WMMapping _elem762;
- for (int _i763 = 0; _i763 < _list761.size; ++_i763)
+ org.apache.thrift.protocol.TList _list787 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.mappings = new ArrayList<WMMapping>(_list787.size);
+ WMMapping _elem788;
+ for (int _i789 = 0; _i789 < _list787.size; ++_i789)
{
- _elem762 = new WMMapping();
- _elem762.read(iprot);
- struct.mappings.add(_elem762);
+ _elem788 = new WMMapping();
+ _elem788.read(iprot);
+ struct.mappings.add(_elem788);
}
}
struct.setMappingsIsSet(true);
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TList _list764 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.triggers = new ArrayList<WMTrigger>(_list764.size);
- WMTrigger _elem765;
- for (int _i766 = 0; _i766 < _list764.size; ++_i766)
+ org.apache.thrift.protocol.TList _list790 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.triggers = new ArrayList<WMTrigger>(_list790.size);
+ WMTrigger _elem791;
+ for (int _i792 = 0; _i792 < _list790.size; ++_i792)
{
- _elem765 = new WMTrigger();
- _elem765.read(iprot);
- struct.triggers.add(_elem765);
+ _elem791 = new WMTrigger();
+ _elem791.read(iprot);
+ struct.triggers.add(_elem791);
}
}
struct.setTriggersIsSet(true);
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list767 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.poolTriggers = new ArrayList<WMPoolTrigger>(_list767.size);
- WMPoolTrigger _elem768;
- for (int _i769 = 0; _i769 < _list767.size; ++_i769)
+ org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.poolTriggers = new ArrayList<WMPoolTrigger>(_list793.size);
+ WMPoolTrigger _elem794;
+ for (int _i795 = 0; _i795 < _list793.size; ++_i795)
{
- _elem768 = new WMPoolTrigger();
- _elem768.read(iprot);
- struct.poolTriggers.add(_elem768);
+ _elem794 = new WMPoolTrigger();
+ _elem794.read(iprot);
+ struct.poolTriggers.add(_elem794);
}
}
struct.setPoolTriggersIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java
index b160357..fb96ad9 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java
@@ -346,14 +346,14 @@ import org.slf4j.LoggerFactory;
case 1: // RESOURCE_PLANS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list770 = iprot.readListBegin();
- struct.resourcePlans = new ArrayList<WMResourcePlan>(_list770.size);
- WMResourcePlan _elem771;
- for (int _i772 = 0; _i772 < _list770.size; ++_i772)
+ org.apache.thrift.protocol.TList _list796 = iprot.readListBegin();
+ struct.resourcePlans = new ArrayList<WMResourcePlan>(_list796.size);
+ WMResourcePlan _elem797;
+ for (int _i798 = 0; _i798 < _list796.size; ++_i798)
{
- _elem771 = new WMResourcePlan();
- _elem771.read(iprot);
- struct.resourcePlans.add(_elem771);
+ _elem797 = new WMResourcePlan();
+ _elem797.read(iprot);
+ struct.resourcePlans.add(_elem797);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size()));
- for (WMResourcePlan _iter773 : struct.resourcePlans)
+ for (WMResourcePlan _iter799 : struct.resourcePlans)
{
- _iter773.write(oprot);
+ _iter799.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetResourcePlans()) {
{
oprot.writeI32(struct.resourcePlans.size());
- for (WMResourcePlan _iter774 : struct.resourcePlans)
+ for (WMResourcePlan _iter800 : struct.resourcePlans)
{
- _iter774.write(oprot);
+ _iter800.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.resourcePlans = new ArrayList<WMResourcePlan>(_list775.size);
- WMResourcePlan _elem776;
- for (int _i777 = 0; _i777 < _list775.size; ++_i777)
+ org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.resourcePlans = new ArrayList<WMResourcePlan>(_list801.size);
+ WMResourcePlan _elem802;
+ for (int _i803 = 0; _i803 < _list801.size; ++_i803)
{
- _elem776 = new WMResourcePlan();
- _elem776.read(iprot);
- struct.resourcePlans.add(_elem776);
+ _elem802 = new WMResourcePlan();
+ _elem802.read(iprot);
+ struct.resourcePlans.add(_elem802);
}
}
struct.setResourcePlansIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
index b274250..9b09603 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
@@ -346,14 +346,14 @@ import org.slf4j.LoggerFactory;
case 1: // TRIGGERS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list786 = iprot.readListBegin();
- struct.triggers = new ArrayList<WMTrigger>(_list786.size);
- WMTrigger _elem787;
- for (int _i788 = 0; _i788 < _list786.size; ++_i788)
+ org.apache.thrift.protocol.TList _list812 = iprot.readListBegin();
+ struct.triggers = new ArrayList<WMTrigger>(_list812.size);
+ WMTrigger _elem813;
+ for (int _i814 = 0; _i814 < _list812.size; ++_i814)
{
- _elem787 = new WMTrigger();
- _elem787.read(iprot);
- struct.triggers.add(_elem787);
+ _elem813 = new WMTrigger();
+ _elem813.read(iprot);
+ struct.triggers.add(_elem813);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TRIGGERS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size()));
- for (WMTrigger _iter789 : struct.triggers)
+ for (WMTrigger _iter815 : struct.triggers)
{
- _iter789.write(oprot);
+ _iter815.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTriggers()) {
{
oprot.writeI32(struct.triggers.size());
- for (WMTrigger _iter790 : struct.triggers)
+ for (WMTrigger _iter816 : struct.triggers)
{
- _iter790.write(oprot);
+ _iter816.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.triggers = new ArrayList<WMTrigger>(_list791.size);
- WMTrigger _elem792;
- for (int _i793 = 0; _i793 < _list791.size; ++_i793)
+ org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.triggers = new ArrayList<WMTrigger>(_list817.size);
+ WMTrigger _elem818;
+ for (int _i819 = 0; _i819 < _list817.size; ++_i819)
{
- _elem792 = new WMTrigger();
- _elem792.read(iprot);
- struct.triggers.add(_elem792);
+ _elem818 = new WMTrigger();
+ _elem818.read(iprot);
+ struct.triggers.add(_elem818);
}
}
struct.setTriggersIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/57d909c3/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
index b69cd4c..a8781b8 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
@@ -343,13 +343,13 @@ import org.slf4j.LoggerFactory;
case 1: // ERRORS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list778 = iprot.readListBegin();
- struct.errors = new ArrayList<String>(_list778.size);
- String _elem779;
- for (int _i780 = 0; _i780 < _list778.size; ++_i780)
+ org.apache.thrift.protocol.TList _list804 = iprot.readListBegin();
+ struct.errors = new ArrayList<String>(_list804.size);
+ String _elem805;
+ for (int _i806 = 0; _i806 < _list804.size; ++_i806)
{
- _elem779 = iprot.readString();
- struct.errors.add(_elem779);
+ _elem805 = iprot.readString();
+ struct.errors.add(_elem805);
}
iprot.readListEnd();
}
@@ -376,9 +376,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(ERRORS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size()));
- for (String _iter781 : struct.errors)
+ for (String _iter807 : struct.errors)
{
- oprot.writeString(_iter781);
+ oprot.writeString(_iter807);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetErrors()) {
{
oprot.writeI32(struct.errors.size());
- for (String _iter782 : struct.errors)
+ for (String _iter808 : struct.errors)
{
- oprot.writeString(_iter782);
+ oprot.writeString(_iter808);
}
}
}
@@ -424,13 +424,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.errors = new ArrayList<String>(_list783.size);
- String _elem784;
- for (int _i785 = 0; _i785 < _list783.size; ++_i785)
+ org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.errors = new ArrayList<String>(_list809.size);
+ String _elem810;
+ for (int _i811 = 0; _i811 < _list809.size; ++_i811)
{
- _elem784 = iprot.readString();
- struct.errors.add(_elem784);
+ _elem810 = iprot.readString();
+ struct.errors.add(_elem810);
}
}
struct.setErrorsIsSet(true);