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 2017/05/25 10:29:09 UTC
[14/21] hive git commit: HIVE-16575: Support for 'UNIQUE' and 'NOT
NULL' constraints (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
new file mode 100644
index 0000000..b49895b
--- /dev/null
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
@@ -0,0 +1,443 @@
+/**
+ * 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)")
+public class NotNullConstraintsResponse implements org.apache.thrift.TBase<NotNullConstraintsResponse, NotNullConstraintsResponse._Fields>, java.io.Serializable, Cloneable, Comparable<NotNullConstraintsResponse> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotNullConstraintsResponse");
+
+ private static final org.apache.thrift.protocol.TField NOT_NULL_CONSTRAINTS_FIELD_DESC = new org.apache.thrift.protocol.TField("notNullConstraints", org.apache.thrift.protocol.TType.LIST, (short)1);
+
+ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+ static {
+ schemes.put(StandardScheme.class, new NotNullConstraintsResponseStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new NotNullConstraintsResponseTupleSchemeFactory());
+ }
+
+ private List<SQLNotNullConstraint> notNullConstraints; // 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 {
+ NOT_NULL_CONSTRAINTS((short)1, "notNullConstraints");
+
+ 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: // NOT_NULL_CONSTRAINTS
+ return NOT_NULL_CONSTRAINTS;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.NOT_NULL_CONSTRAINTS, new org.apache.thrift.meta_data.FieldMetaData("notNullConstraints", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SQLNotNullConstraint.class))));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(NotNullConstraintsResponse.class, metaDataMap);
+ }
+
+ public NotNullConstraintsResponse() {
+ }
+
+ public NotNullConstraintsResponse(
+ List<SQLNotNullConstraint> notNullConstraints)
+ {
+ this();
+ this.notNullConstraints = notNullConstraints;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public NotNullConstraintsResponse(NotNullConstraintsResponse other) {
+ if (other.isSetNotNullConstraints()) {
+ List<SQLNotNullConstraint> __this__notNullConstraints = new ArrayList<SQLNotNullConstraint>(other.notNullConstraints.size());
+ for (SQLNotNullConstraint other_element : other.notNullConstraints) {
+ __this__notNullConstraints.add(new SQLNotNullConstraint(other_element));
+ }
+ this.notNullConstraints = __this__notNullConstraints;
+ }
+ }
+
+ public NotNullConstraintsResponse deepCopy() {
+ return new NotNullConstraintsResponse(this);
+ }
+
+ @Override
+ public void clear() {
+ this.notNullConstraints = null;
+ }
+
+ public int getNotNullConstraintsSize() {
+ return (this.notNullConstraints == null) ? 0 : this.notNullConstraints.size();
+ }
+
+ public java.util.Iterator<SQLNotNullConstraint> getNotNullConstraintsIterator() {
+ return (this.notNullConstraints == null) ? null : this.notNullConstraints.iterator();
+ }
+
+ public void addToNotNullConstraints(SQLNotNullConstraint elem) {
+ if (this.notNullConstraints == null) {
+ this.notNullConstraints = new ArrayList<SQLNotNullConstraint>();
+ }
+ this.notNullConstraints.add(elem);
+ }
+
+ public List<SQLNotNullConstraint> getNotNullConstraints() {
+ return this.notNullConstraints;
+ }
+
+ public void setNotNullConstraints(List<SQLNotNullConstraint> notNullConstraints) {
+ this.notNullConstraints = notNullConstraints;
+ }
+
+ public void unsetNotNullConstraints() {
+ this.notNullConstraints = null;
+ }
+
+ /** Returns true if field notNullConstraints is set (has been assigned a value) and false otherwise */
+ public boolean isSetNotNullConstraints() {
+ return this.notNullConstraints != null;
+ }
+
+ public void setNotNullConstraintsIsSet(boolean value) {
+ if (!value) {
+ this.notNullConstraints = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case NOT_NULL_CONSTRAINTS:
+ if (value == null) {
+ unsetNotNullConstraints();
+ } else {
+ setNotNullConstraints((List<SQLNotNullConstraint>)value);
+ }
+ break;
+
+ }
+ }
+
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case NOT_NULL_CONSTRAINTS:
+ return getNotNullConstraints();
+
+ }
+ 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 NOT_NULL_CONSTRAINTS:
+ return isSetNotNullConstraints();
+ }
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof NotNullConstraintsResponse)
+ return this.equals((NotNullConstraintsResponse)that);
+ return false;
+ }
+
+ public boolean equals(NotNullConstraintsResponse that) {
+ if (that == null)
+ return false;
+
+ boolean this_present_notNullConstraints = true && this.isSetNotNullConstraints();
+ boolean that_present_notNullConstraints = true && that.isSetNotNullConstraints();
+ if (this_present_notNullConstraints || that_present_notNullConstraints) {
+ if (!(this_present_notNullConstraints && that_present_notNullConstraints))
+ return false;
+ if (!this.notNullConstraints.equals(that.notNullConstraints))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_notNullConstraints = true && (isSetNotNullConstraints());
+ list.add(present_notNullConstraints);
+ if (present_notNullConstraints)
+ list.add(notNullConstraints);
+
+ return list.hashCode();
+ }
+
+ @Override
+ public int compareTo(NotNullConstraintsResponse other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = Boolean.valueOf(isSetNotNullConstraints()).compareTo(other.isSetNotNullConstraints());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetNotNullConstraints()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.notNullConstraints, other.notNullConstraints);
+ 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("NotNullConstraintsResponse(");
+ boolean first = true;
+
+ sb.append("notNullConstraints:");
+ if (this.notNullConstraints == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.notNullConstraints);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ if (!isSetNotNullConstraints()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'notNullConstraints' 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 NotNullConstraintsResponseStandardSchemeFactory implements SchemeFactory {
+ public NotNullConstraintsResponseStandardScheme getScheme() {
+ return new NotNullConstraintsResponseStandardScheme();
+ }
+ }
+
+ private static class NotNullConstraintsResponseStandardScheme extends StandardScheme<NotNullConstraintsResponse> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, NotNullConstraintsResponse 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: // NOT_NULL_CONSTRAINTS
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list346 = iprot.readListBegin();
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list346.size);
+ SQLNotNullConstraint _elem347;
+ for (int _i348 = 0; _i348 < _list346.size; ++_i348)
+ {
+ _elem347 = new SQLNotNullConstraint();
+ _elem347.read(iprot);
+ struct.notNullConstraints.add(_elem347);
+ }
+ iprot.readListEnd();
+ }
+ struct.setNotNullConstraintsIsSet(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, NotNullConstraintsResponse struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.notNullConstraints != null) {
+ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size()));
+ for (SQLNotNullConstraint _iter349 : struct.notNullConstraints)
+ {
+ _iter349.write(oprot);
+ }
+ oprot.writeListEnd();
+ }
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class NotNullConstraintsResponseTupleSchemeFactory implements SchemeFactory {
+ public NotNullConstraintsResponseTupleScheme getScheme() {
+ return new NotNullConstraintsResponseTupleScheme();
+ }
+ }
+
+ private static class NotNullConstraintsResponseTupleScheme extends TupleScheme<NotNullConstraintsResponse> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsResponse struct) throws org.apache.thrift.TException {
+ TTupleProtocol oprot = (TTupleProtocol) prot;
+ {
+ oprot.writeI32(struct.notNullConstraints.size());
+ for (SQLNotNullConstraint _iter350 : struct.notNullConstraints)
+ {
+ _iter350.write(oprot);
+ }
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsResponse struct) throws org.apache.thrift.TException {
+ TTupleProtocol iprot = (TTupleProtocol) prot;
+ {
+ org.apache.thrift.protocol.TList _list351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list351.size);
+ SQLNotNullConstraint _elem352;
+ for (int _i353 = 0; _i353 < _list351.size; ++_i353)
+ {
+ _elem352 = new SQLNotNullConstraint();
+ _elem352.read(iprot);
+ struct.notNullConstraints.add(_elem352);
+ }
+ }
+ struct.setNotNullConstraintsIsSet(true);
+ }
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
index edc548a..bcfc75b 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
@@ -354,14 +354,14 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
case 1: // EVENTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list550 = iprot.readListBegin();
- struct.events = new ArrayList<NotificationEvent>(_list550.size);
- NotificationEvent _elem551;
- for (int _i552 = 0; _i552 < _list550.size; ++_i552)
+ org.apache.thrift.protocol.TList _list582 = iprot.readListBegin();
+ struct.events = new ArrayList<NotificationEvent>(_list582.size);
+ NotificationEvent _elem583;
+ for (int _i584 = 0; _i584 < _list582.size; ++_i584)
{
- _elem551 = new NotificationEvent();
- _elem551.read(iprot);
- struct.events.add(_elem551);
+ _elem583 = new NotificationEvent();
+ _elem583.read(iprot);
+ struct.events.add(_elem583);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
oprot.writeFieldBegin(EVENTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size()));
- for (NotificationEvent _iter553 : struct.events)
+ for (NotificationEvent _iter585 : struct.events)
{
- _iter553.write(oprot);
+ _iter585.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.events.size());
- for (NotificationEvent _iter554 : struct.events)
+ for (NotificationEvent _iter586 : struct.events)
{
- _iter554.write(oprot);
+ _iter586.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.events = new ArrayList<NotificationEvent>(_list555.size);
- NotificationEvent _elem556;
- for (int _i557 = 0; _i557 < _list555.size; ++_i557)
+ org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.events = new ArrayList<NotificationEvent>(_list587.size);
+ NotificationEvent _elem588;
+ for (int _i589 = 0; _i589 < _list587.size; ++_i589)
{
- _elem556 = new NotificationEvent();
- _elem556.read(iprot);
- struct.events.add(_elem556);
+ _elem588 = new NotificationEvent();
+ _elem588.read(iprot);
+ struct.events.add(_elem588);
}
}
struct.setEventsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
index a8af71b..c23482a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
@@ -351,13 +351,13 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
case 1: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list476 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list476.size);
- long _elem477;
- for (int _i478 = 0; _i478 < _list476.size; ++_i478)
+ org.apache.thrift.protocol.TList _list508 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list508.size);
+ long _elem509;
+ for (int _i510 = 0; _i510 < _list508.size; ++_i510)
{
- _elem477 = iprot.readI64();
- struct.txn_ids.add(_elem477);
+ _elem509 = iprot.readI64();
+ struct.txn_ids.add(_elem509);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
oprot.writeFieldBegin(TXN_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size()));
- for (long _iter479 : struct.txn_ids)
+ for (long _iter511 : struct.txn_ids)
{
- oprot.writeI64(_iter479);
+ oprot.writeI64(_iter511);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter480 : struct.txn_ids)
+ for (long _iter512 : struct.txn_ids)
{
- oprot.writeI64(_iter480);
+ oprot.writeI64(_iter512);
}
}
}
@@ -421,13 +421,13 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list481.size);
- long _elem482;
- for (int _i483 = 0; _i483 < _list481.size; ++_i483)
+ org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list513.size);
+ long _elem514;
+ for (int _i515 = 0; _i515 < _list513.size; ++_i515)
{
- _elem482 = iprot.readI64();
- struct.txn_ids.add(_elem482);
+ _elem514 = iprot.readI64();
+ struct.txn_ids.add(_elem514);
}
}
struct.setTxn_idsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
index 0533053..7df156f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
@@ -439,14 +439,14 @@ public class PartitionsByExprResult implements org.apache.thrift.TBase<Partition
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list354 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list354.size);
- Partition _elem355;
- for (int _i356 = 0; _i356 < _list354.size; ++_i356)
+ org.apache.thrift.protocol.TList _list386 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list386.size);
+ Partition _elem387;
+ for (int _i388 = 0; _i388 < _list386.size; ++_i388)
{
- _elem355 = new Partition();
- _elem355.read(iprot);
- struct.partitions.add(_elem355);
+ _elem387 = new Partition();
+ _elem387.read(iprot);
+ struct.partitions.add(_elem387);
}
iprot.readListEnd();
}
@@ -480,9 +480,9 @@ public class PartitionsByExprResult implements org.apache.thrift.TBase<Partition
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter357 : struct.partitions)
+ for (Partition _iter389 : struct.partitions)
{
- _iter357.write(oprot);
+ _iter389.write(oprot);
}
oprot.writeListEnd();
}
@@ -510,9 +510,9 @@ public class PartitionsByExprResult implements org.apache.thrift.TBase<Partition
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter358 : struct.partitions)
+ for (Partition _iter390 : struct.partitions)
{
- _iter358.write(oprot);
+ _iter390.write(oprot);
}
}
oprot.writeBool(struct.hasUnknownPartitions);
@@ -522,14 +522,14 @@ public class PartitionsByExprResult implements org.apache.thrift.TBase<Partition
public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list359.size);
- Partition _elem360;
- for (int _i361 = 0; _i361 < _list359.size; ++_i361)
+ org.apache.thrift.protocol.TList _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list391.size);
+ Partition _elem392;
+ for (int _i393 = 0; _i393 < _list391.size; ++_i393)
{
- _elem360 = new Partition();
- _elem360.read(iprot);
- struct.partitions.add(_elem360);
+ _elem392 = new Partition();
+ _elem392.read(iprot);
+ struct.partitions.add(_elem392);
}
}
struct.setPartitionsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
index 65b8a54..b43f6c0 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
@@ -639,13 +639,13 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
case 3: // COL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list396 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list396.size);
- String _elem397;
- for (int _i398 = 0; _i398 < _list396.size; ++_i398)
+ org.apache.thrift.protocol.TList _list428 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list428.size);
+ String _elem429;
+ for (int _i430 = 0; _i430 < _list428.size; ++_i430)
{
- _elem397 = iprot.readString();
- struct.colNames.add(_elem397);
+ _elem429 = iprot.readString();
+ struct.colNames.add(_elem429);
}
iprot.readListEnd();
}
@@ -657,13 +657,13 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
case 4: // PART_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list399 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list399.size);
- String _elem400;
- for (int _i401 = 0; _i401 < _list399.size; ++_i401)
+ org.apache.thrift.protocol.TList _list431 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list431.size);
+ String _elem432;
+ for (int _i433 = 0; _i433 < _list431.size; ++_i433)
{
- _elem400 = iprot.readString();
- struct.partNames.add(_elem400);
+ _elem432 = iprot.readString();
+ struct.partNames.add(_elem432);
}
iprot.readListEnd();
}
@@ -699,9 +699,9 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
oprot.writeFieldBegin(COL_NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size()));
- for (String _iter402 : struct.colNames)
+ for (String _iter434 : struct.colNames)
{
- oprot.writeString(_iter402);
+ oprot.writeString(_iter434);
}
oprot.writeListEnd();
}
@@ -711,9 +711,9 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
oprot.writeFieldBegin(PART_NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size()));
- for (String _iter403 : struct.partNames)
+ for (String _iter435 : struct.partNames)
{
- oprot.writeString(_iter403);
+ oprot.writeString(_iter435);
}
oprot.writeListEnd();
}
@@ -740,16 +740,16 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter404 : struct.colNames)
+ for (String _iter436 : struct.colNames)
{
- oprot.writeString(_iter404);
+ oprot.writeString(_iter436);
}
}
{
oprot.writeI32(struct.partNames.size());
- for (String _iter405 : struct.partNames)
+ for (String _iter437 : struct.partNames)
{
- oprot.writeString(_iter405);
+ oprot.writeString(_iter437);
}
}
}
@@ -762,24 +762,24 @@ public class PartitionsStatsRequest implements org.apache.thrift.TBase<Partition
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list406 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list406.size);
- String _elem407;
- for (int _i408 = 0; _i408 < _list406.size; ++_i408)
+ org.apache.thrift.protocol.TList _list438 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list438.size);
+ String _elem439;
+ for (int _i440 = 0; _i440 < _list438.size; ++_i440)
{
- _elem407 = iprot.readString();
- struct.colNames.add(_elem407);
+ _elem439 = iprot.readString();
+ struct.colNames.add(_elem439);
}
}
struct.setColNamesIsSet(true);
{
- org.apache.thrift.protocol.TList _list409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list409.size);
- String _elem410;
- for (int _i411 = 0; _i411 < _list409.size; ++_i411)
+ org.apache.thrift.protocol.TList _list441 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list441.size);
+ String _elem442;
+ for (int _i443 = 0; _i443 < _list441.size; ++_i443)
{
- _elem410 = iprot.readString();
- struct.partNames.add(_elem410);
+ _elem442 = iprot.readString();
+ struct.partNames.add(_elem442);
}
}
struct.setPartNamesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
index 1d5e6ce..63ed662 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
@@ -363,26 +363,26 @@ public class PartitionsStatsResult implements org.apache.thrift.TBase<Partitions
case 1: // PART_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map370 = iprot.readMapBegin();
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map370.size);
- String _key371;
- List<ColumnStatisticsObj> _val372;
- for (int _i373 = 0; _i373 < _map370.size; ++_i373)
+ org.apache.thrift.protocol.TMap _map402 = iprot.readMapBegin();
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map402.size);
+ String _key403;
+ List<ColumnStatisticsObj> _val404;
+ for (int _i405 = 0; _i405 < _map402.size; ++_i405)
{
- _key371 = iprot.readString();
+ _key403 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list374 = iprot.readListBegin();
- _val372 = new ArrayList<ColumnStatisticsObj>(_list374.size);
- ColumnStatisticsObj _elem375;
- for (int _i376 = 0; _i376 < _list374.size; ++_i376)
+ org.apache.thrift.protocol.TList _list406 = iprot.readListBegin();
+ _val404 = new ArrayList<ColumnStatisticsObj>(_list406.size);
+ ColumnStatisticsObj _elem407;
+ for (int _i408 = 0; _i408 < _list406.size; ++_i408)
{
- _elem375 = new ColumnStatisticsObj();
- _elem375.read(iprot);
- _val372.add(_elem375);
+ _elem407 = new ColumnStatisticsObj();
+ _elem407.read(iprot);
+ _val404.add(_elem407);
}
iprot.readListEnd();
}
- struct.partStats.put(_key371, _val372);
+ struct.partStats.put(_key403, _val404);
}
iprot.readMapEnd();
}
@@ -408,14 +408,14 @@ public class PartitionsStatsResult implements org.apache.thrift.TBase<Partitions
oprot.writeFieldBegin(PART_STATS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.partStats.size()));
- for (Map.Entry<String, List<ColumnStatisticsObj>> _iter377 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter409 : struct.partStats.entrySet())
{
- oprot.writeString(_iter377.getKey());
+ oprot.writeString(_iter409.getKey());
{
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter377.getValue().size()));
- for (ColumnStatisticsObj _iter378 : _iter377.getValue())
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter409.getValue().size()));
+ for (ColumnStatisticsObj _iter410 : _iter409.getValue())
{
- _iter378.write(oprot);
+ _iter410.write(oprot);
}
oprot.writeListEnd();
}
@@ -443,14 +443,14 @@ public class PartitionsStatsResult implements org.apache.thrift.TBase<Partitions
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partStats.size());
- for (Map.Entry<String, List<ColumnStatisticsObj>> _iter379 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter411 : struct.partStats.entrySet())
{
- oprot.writeString(_iter379.getKey());
+ oprot.writeString(_iter411.getKey());
{
- oprot.writeI32(_iter379.getValue().size());
- for (ColumnStatisticsObj _iter380 : _iter379.getValue())
+ oprot.writeI32(_iter411.getValue().size());
+ for (ColumnStatisticsObj _iter412 : _iter411.getValue())
{
- _iter380.write(oprot);
+ _iter412.write(oprot);
}
}
}
@@ -461,25 +461,25 @@ public class PartitionsStatsResult implements org.apache.thrift.TBase<Partitions
public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TMap _map381 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map381.size);
- String _key382;
- List<ColumnStatisticsObj> _val383;
- for (int _i384 = 0; _i384 < _map381.size; ++_i384)
+ org.apache.thrift.protocol.TMap _map413 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map413.size);
+ String _key414;
+ List<ColumnStatisticsObj> _val415;
+ for (int _i416 = 0; _i416 < _map413.size; ++_i416)
{
- _key382 = iprot.readString();
+ _key414 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- _val383 = new ArrayList<ColumnStatisticsObj>(_list385.size);
- ColumnStatisticsObj _elem386;
- for (int _i387 = 0; _i387 < _list385.size; ++_i387)
+ org.apache.thrift.protocol.TList _list417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ _val415 = new ArrayList<ColumnStatisticsObj>(_list417.size);
+ ColumnStatisticsObj _elem418;
+ for (int _i419 = 0; _i419 < _list417.size; ++_i419)
{
- _elem386 = new ColumnStatisticsObj();
- _elem386.read(iprot);
- _val383.add(_elem386);
+ _elem418 = new ColumnStatisticsObj();
+ _elem418.read(iprot);
+ _val415.add(_elem418);
}
}
- struct.partStats.put(_key382, _val383);
+ struct.partStats.put(_key414, _val415);
}
}
struct.setPartStatsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
index 0a1302f..0c06ff3 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
@@ -547,13 +547,13 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list618 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list618.size);
- long _elem619;
- for (int _i620 = 0; _i620 < _list618.size; ++_i620)
+ org.apache.thrift.protocol.TList _list650 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list650.size);
+ long _elem651;
+ for (int _i652 = 0; _i652 < _list650.size; ++_i652)
{
- _elem619 = iprot.readI64();
- struct.fileIds.add(_elem619);
+ _elem651 = iprot.readI64();
+ struct.fileIds.add(_elem651);
}
iprot.readListEnd();
}
@@ -565,13 +565,13 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
case 2: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list621 = iprot.readListBegin();
- struct.metadata = new ArrayList<ByteBuffer>(_list621.size);
- ByteBuffer _elem622;
- for (int _i623 = 0; _i623 < _list621.size; ++_i623)
+ org.apache.thrift.protocol.TList _list653 = iprot.readListBegin();
+ struct.metadata = new ArrayList<ByteBuffer>(_list653.size);
+ ByteBuffer _elem654;
+ for (int _i655 = 0; _i655 < _list653.size; ++_i655)
{
- _elem622 = iprot.readBinary();
- struct.metadata.add(_elem622);
+ _elem654 = iprot.readBinary();
+ struct.metadata.add(_elem654);
}
iprot.readListEnd();
}
@@ -605,9 +605,9 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
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 _iter624 : struct.fileIds)
+ for (long _iter656 : struct.fileIds)
{
- oprot.writeI64(_iter624);
+ oprot.writeI64(_iter656);
}
oprot.writeListEnd();
}
@@ -617,9 +617,9 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size()));
- for (ByteBuffer _iter625 : struct.metadata)
+ for (ByteBuffer _iter657 : struct.metadata)
{
- oprot.writeBinary(_iter625);
+ oprot.writeBinary(_iter657);
}
oprot.writeListEnd();
}
@@ -651,16 +651,16 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter626 : struct.fileIds)
+ for (long _iter658 : struct.fileIds)
{
- oprot.writeI64(_iter626);
+ oprot.writeI64(_iter658);
}
}
{
oprot.writeI32(struct.metadata.size());
- for (ByteBuffer _iter627 : struct.metadata)
+ for (ByteBuffer _iter659 : struct.metadata)
{
- oprot.writeBinary(_iter627);
+ oprot.writeBinary(_iter659);
}
}
BitSet optionals = new BitSet();
@@ -677,24 +677,24 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list628 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list628.size);
- long _elem629;
- for (int _i630 = 0; _i630 < _list628.size; ++_i630)
+ org.apache.thrift.protocol.TList _list660 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list660.size);
+ long _elem661;
+ for (int _i662 = 0; _i662 < _list660.size; ++_i662)
{
- _elem629 = iprot.readI64();
- struct.fileIds.add(_elem629);
+ _elem661 = iprot.readI64();
+ struct.fileIds.add(_elem661);
}
}
struct.setFileIdsIsSet(true);
{
- org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.metadata = new ArrayList<ByteBuffer>(_list631.size);
- ByteBuffer _elem632;
- for (int _i633 = 0; _i633 < _list631.size; ++_i633)
+ org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.metadata = new ArrayList<ByteBuffer>(_list663.size);
+ ByteBuffer _elem664;
+ for (int _i665 = 0; _i665 < _list663.size; ++_i665)
{
- _elem632 = iprot.readBinary();
- struct.metadata.add(_elem632);
+ _elem664 = iprot.readBinary();
+ struct.metadata.add(_elem664);
}
}
struct.setMetadataIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/696be9f5/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
index 7368e9a..77067c6 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
@@ -168,13 +168,13 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
if (field.type == NAMES_FIELD_DESC.type) {
List<String> names;
{
- org.apache.thrift.protocol.TList _list436 = iprot.readListBegin();
- names = new ArrayList<String>(_list436.size);
- String _elem437;
- for (int _i438 = 0; _i438 < _list436.size; ++_i438)
+ org.apache.thrift.protocol.TList _list468 = iprot.readListBegin();
+ names = new ArrayList<String>(_list468.size);
+ String _elem469;
+ for (int _i470 = 0; _i470 < _list468.size; ++_i470)
{
- _elem437 = iprot.readString();
- names.add(_elem437);
+ _elem469 = iprot.readString();
+ names.add(_elem469);
}
iprot.readListEnd();
}
@@ -187,14 +187,14 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
if (field.type == EXPRS_FIELD_DESC.type) {
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list439 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list439.size);
- DropPartitionsExpr _elem440;
- for (int _i441 = 0; _i441 < _list439.size; ++_i441)
+ org.apache.thrift.protocol.TList _list471 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list471.size);
+ DropPartitionsExpr _elem472;
+ for (int _i473 = 0; _i473 < _list471.size; ++_i473)
{
- _elem440 = new DropPartitionsExpr();
- _elem440.read(iprot);
- exprs.add(_elem440);
+ _elem472 = new DropPartitionsExpr();
+ _elem472.read(iprot);
+ exprs.add(_elem472);
}
iprot.readListEnd();
}
@@ -219,9 +219,9 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter442 : names)
+ for (String _iter474 : names)
{
- oprot.writeString(_iter442);
+ oprot.writeString(_iter474);
}
oprot.writeListEnd();
}
@@ -230,9 +230,9 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter443 : exprs)
+ for (DropPartitionsExpr _iter475 : exprs)
{
- _iter443.write(oprot);
+ _iter475.write(oprot);
}
oprot.writeListEnd();
}
@@ -250,13 +250,13 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
case NAMES:
List<String> names;
{
- org.apache.thrift.protocol.TList _list444 = iprot.readListBegin();
- names = new ArrayList<String>(_list444.size);
- String _elem445;
- for (int _i446 = 0; _i446 < _list444.size; ++_i446)
+ org.apache.thrift.protocol.TList _list476 = iprot.readListBegin();
+ names = new ArrayList<String>(_list476.size);
+ String _elem477;
+ for (int _i478 = 0; _i478 < _list476.size; ++_i478)
{
- _elem445 = iprot.readString();
- names.add(_elem445);
+ _elem477 = iprot.readString();
+ names.add(_elem477);
}
iprot.readListEnd();
}
@@ -264,14 +264,14 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
case EXPRS:
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list447 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list447.size);
- DropPartitionsExpr _elem448;
- for (int _i449 = 0; _i449 < _list447.size; ++_i449)
+ org.apache.thrift.protocol.TList _list479 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list479.size);
+ DropPartitionsExpr _elem480;
+ for (int _i481 = 0; _i481 < _list479.size; ++_i481)
{
- _elem448 = new DropPartitionsExpr();
- _elem448.read(iprot);
- exprs.add(_elem448);
+ _elem480 = new DropPartitionsExpr();
+ _elem480.read(iprot);
+ exprs.add(_elem480);
}
iprot.readListEnd();
}
@@ -291,9 +291,9 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter450 : names)
+ for (String _iter482 : names)
{
- oprot.writeString(_iter450);
+ oprot.writeString(_iter482);
}
oprot.writeListEnd();
}
@@ -302,9 +302,9 @@ public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter451 : exprs)
+ for (DropPartitionsExpr _iter483 : exprs)
{
- _iter451.write(oprot);
+ _iter483.write(oprot);
}
oprot.writeListEnd();
}