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:36 UTC
[09/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/PutFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
index 5896fd9..4bdca8c 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
@@ -547,13 +547,13 @@ import org.slf4j.LoggerFactory;
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list700 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list700.size);
- long _elem701;
- for (int _i702 = 0; _i702 < _list700.size; ++_i702)
+ org.apache.thrift.protocol.TList _list690 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list690.size);
+ long _elem691;
+ for (int _i692 = 0; _i692 < _list690.size; ++_i692)
{
- _elem701 = iprot.readI64();
- struct.fileIds.add(_elem701);
+ _elem691 = iprot.readI64();
+ struct.fileIds.add(_elem691);
}
iprot.readListEnd();
}
@@ -565,13 +565,13 @@ import org.slf4j.LoggerFactory;
case 2: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list703 = iprot.readListBegin();
- struct.metadata = new ArrayList<ByteBuffer>(_list703.size);
- ByteBuffer _elem704;
- for (int _i705 = 0; _i705 < _list703.size; ++_i705)
+ org.apache.thrift.protocol.TList _list693 = iprot.readListBegin();
+ struct.metadata = new ArrayList<ByteBuffer>(_list693.size);
+ ByteBuffer _elem694;
+ for (int _i695 = 0; _i695 < _list693.size; ++_i695)
{
- _elem704 = iprot.readBinary();
- struct.metadata.add(_elem704);
+ _elem694 = iprot.readBinary();
+ struct.metadata.add(_elem694);
}
iprot.readListEnd();
}
@@ -605,9 +605,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 _iter706 : struct.fileIds)
+ for (long _iter696 : struct.fileIds)
{
- oprot.writeI64(_iter706);
+ oprot.writeI64(_iter696);
}
oprot.writeListEnd();
}
@@ -617,9 +617,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size()));
- for (ByteBuffer _iter707 : struct.metadata)
+ for (ByteBuffer _iter697 : struct.metadata)
{
- oprot.writeBinary(_iter707);
+ oprot.writeBinary(_iter697);
}
oprot.writeListEnd();
}
@@ -651,16 +651,16 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter708 : struct.fileIds)
+ for (long _iter698 : struct.fileIds)
{
- oprot.writeI64(_iter708);
+ oprot.writeI64(_iter698);
}
}
{
oprot.writeI32(struct.metadata.size());
- for (ByteBuffer _iter709 : struct.metadata)
+ for (ByteBuffer _iter699 : struct.metadata)
{
- oprot.writeBinary(_iter709);
+ oprot.writeBinary(_iter699);
}
}
BitSet optionals = new BitSet();
@@ -677,24 +677,24 @@ import org.slf4j.LoggerFactory;
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 _list710 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list710.size);
- long _elem711;
- for (int _i712 = 0; _i712 < _list710.size; ++_i712)
+ org.apache.thrift.protocol.TList _list700 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list700.size);
+ long _elem701;
+ for (int _i702 = 0; _i702 < _list700.size; ++_i702)
{
- _elem711 = iprot.readI64();
- struct.fileIds.add(_elem711);
+ _elem701 = iprot.readI64();
+ struct.fileIds.add(_elem701);
}
}
struct.setFileIdsIsSet(true);
{
- org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.metadata = new ArrayList<ByteBuffer>(_list713.size);
- ByteBuffer _elem714;
- for (int _i715 = 0; _i715 < _list713.size; ++_i715)
+ org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.metadata = new ArrayList<ByteBuffer>(_list703.size);
+ ByteBuffer _elem704;
+ for (int _i705 = 0; _i705 < _list703.size; ++_i705)
{
- _elem714 = iprot.readBinary();
- struct.metadata.add(_elem714);
+ _elem704 = iprot.readBinary();
+ struct.metadata.add(_elem704);
}
}
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/RequestPartsSpec.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
index f9c2370..d1b5247 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
@@ -168,13 +168,13 @@ import org.slf4j.LoggerFactory;
if (field.type == NAMES_FIELD_DESC.type) {
List<String> names;
{
- org.apache.thrift.protocol.TList _list478 = iprot.readListBegin();
- names = new ArrayList<String>(_list478.size);
- String _elem479;
- for (int _i480 = 0; _i480 < _list478.size; ++_i480)
+ org.apache.thrift.protocol.TList _list468 = iprot.readListBegin();
+ names = new ArrayList<String>(_list468.size);
+ String _elem469;
+ for (int _i470 = 0; _i470 < _list468.size; ++_i470)
{
- _elem479 = iprot.readString();
- names.add(_elem479);
+ _elem469 = iprot.readString();
+ names.add(_elem469);
}
iprot.readListEnd();
}
@@ -187,14 +187,14 @@ import org.slf4j.LoggerFactory;
if (field.type == EXPRS_FIELD_DESC.type) {
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list481 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list481.size);
- DropPartitionsExpr _elem482;
- for (int _i483 = 0; _i483 < _list481.size; ++_i483)
+ org.apache.thrift.protocol.TList _list471 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list471.size);
+ DropPartitionsExpr _elem472;
+ for (int _i473 = 0; _i473 < _list471.size; ++_i473)
{
- _elem482 = new DropPartitionsExpr();
- _elem482.read(iprot);
- exprs.add(_elem482);
+ _elem472 = new DropPartitionsExpr();
+ _elem472.read(iprot);
+ exprs.add(_elem472);
}
iprot.readListEnd();
}
@@ -219,9 +219,9 @@ import org.slf4j.LoggerFactory;
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter484 : names)
+ for (String _iter474 : names)
{
- oprot.writeString(_iter484);
+ oprot.writeString(_iter474);
}
oprot.writeListEnd();
}
@@ -230,9 +230,9 @@ import org.slf4j.LoggerFactory;
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter485 : exprs)
+ for (DropPartitionsExpr _iter475 : exprs)
{
- _iter485.write(oprot);
+ _iter475.write(oprot);
}
oprot.writeListEnd();
}
@@ -250,13 +250,13 @@ import org.slf4j.LoggerFactory;
case NAMES:
List<String> names;
{
- org.apache.thrift.protocol.TList _list486 = iprot.readListBegin();
- names = new ArrayList<String>(_list486.size);
- String _elem487;
- for (int _i488 = 0; _i488 < _list486.size; ++_i488)
+ org.apache.thrift.protocol.TList _list476 = iprot.readListBegin();
+ names = new ArrayList<String>(_list476.size);
+ String _elem477;
+ for (int _i478 = 0; _i478 < _list476.size; ++_i478)
{
- _elem487 = iprot.readString();
- names.add(_elem487);
+ _elem477 = iprot.readString();
+ names.add(_elem477);
}
iprot.readListEnd();
}
@@ -264,14 +264,14 @@ import org.slf4j.LoggerFactory;
case EXPRS:
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list489 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list489.size);
- DropPartitionsExpr _elem490;
- for (int _i491 = 0; _i491 < _list489.size; ++_i491)
+ org.apache.thrift.protocol.TList _list479 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list479.size);
+ DropPartitionsExpr _elem480;
+ for (int _i481 = 0; _i481 < _list479.size; ++_i481)
{
- _elem490 = new DropPartitionsExpr();
- _elem490.read(iprot);
- exprs.add(_elem490);
+ _elem480 = new DropPartitionsExpr();
+ _elem480.read(iprot);
+ exprs.add(_elem480);
}
iprot.readListEnd();
}
@@ -291,9 +291,9 @@ import org.slf4j.LoggerFactory;
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter492 : names)
+ for (String _iter482 : names)
{
- oprot.writeString(_iter492);
+ oprot.writeString(_iter482);
}
oprot.writeListEnd();
}
@@ -302,9 +302,9 @@ import org.slf4j.LoggerFactory;
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter493 : exprs)
+ for (DropPartitionsExpr _iter483 : exprs)
{
- _iter493.write(oprot);
+ _iter483.write(oprot);
}
oprot.writeListEnd();
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0a328f03/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
index c95216f..eaae445 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
@@ -445,14 +445,14 @@ import org.slf4j.LoggerFactory;
case 1: // FIELD_SCHEMAS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list304 = iprot.readListBegin();
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list304.size);
- FieldSchema _elem305;
- for (int _i306 = 0; _i306 < _list304.size; ++_i306)
+ org.apache.thrift.protocol.TList _list294 = iprot.readListBegin();
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list294.size);
+ FieldSchema _elem295;
+ for (int _i296 = 0; _i296 < _list294.size; ++_i296)
{
- _elem305 = new FieldSchema();
- _elem305.read(iprot);
- struct.fieldSchemas.add(_elem305);
+ _elem295 = new FieldSchema();
+ _elem295.read(iprot);
+ struct.fieldSchemas.add(_elem295);
}
iprot.readListEnd();
}
@@ -464,15 +464,15 @@ import org.slf4j.LoggerFactory;
case 2: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map307 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map307.size);
- String _key308;
- String _val309;
- for (int _i310 = 0; _i310 < _map307.size; ++_i310)
+ org.apache.thrift.protocol.TMap _map297 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map297.size);
+ String _key298;
+ String _val299;
+ for (int _i300 = 0; _i300 < _map297.size; ++_i300)
{
- _key308 = iprot.readString();
- _val309 = iprot.readString();
- struct.properties.put(_key308, _val309);
+ _key298 = iprot.readString();
+ _val299 = iprot.readString();
+ struct.properties.put(_key298, _val299);
}
iprot.readMapEnd();
}
@@ -498,9 +498,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fieldSchemas.size()));
- for (FieldSchema _iter311 : struct.fieldSchemas)
+ for (FieldSchema _iter301 : struct.fieldSchemas)
{
- _iter311.write(oprot);
+ _iter301.write(oprot);
}
oprot.writeListEnd();
}
@@ -510,10 +510,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> _iter312 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter302 : struct.properties.entrySet())
{
- oprot.writeString(_iter312.getKey());
- oprot.writeString(_iter312.getValue());
+ oprot.writeString(_iter302.getKey());
+ oprot.writeString(_iter302.getValue());
}
oprot.writeMapEnd();
}
@@ -547,19 +547,19 @@ import org.slf4j.LoggerFactory;
if (struct.isSetFieldSchemas()) {
{
oprot.writeI32(struct.fieldSchemas.size());
- for (FieldSchema _iter313 : struct.fieldSchemas)
+ for (FieldSchema _iter303 : struct.fieldSchemas)
{
- _iter313.write(oprot);
+ _iter303.write(oprot);
}
}
}
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter314 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter304 : struct.properties.entrySet())
{
- oprot.writeString(_iter314.getKey());
- oprot.writeString(_iter314.getValue());
+ oprot.writeString(_iter304.getKey());
+ oprot.writeString(_iter304.getValue());
}
}
}
@@ -571,29 +571,29 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list315.size);
- FieldSchema _elem316;
- for (int _i317 = 0; _i317 < _list315.size; ++_i317)
+ org.apache.thrift.protocol.TList _list305 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list305.size);
+ FieldSchema _elem306;
+ for (int _i307 = 0; _i307 < _list305.size; ++_i307)
{
- _elem316 = new FieldSchema();
- _elem316.read(iprot);
- struct.fieldSchemas.add(_elem316);
+ _elem306 = new FieldSchema();
+ _elem306.read(iprot);
+ struct.fieldSchemas.add(_elem306);
}
}
struct.setFieldSchemasIsSet(true);
}
if (incoming.get(1)) {
{
- 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)
+ org.apache.thrift.protocol.TMap _map308 = 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*_map308.size);
+ String _key309;
+ String _val310;
+ for (int _i311 = 0; _i311 < _map308.size; ++_i311)
{
- _key319 = iprot.readString();
- _val320 = iprot.readString();
- struct.properties.put(_key319, _val320);
+ _key309 = iprot.readString();
+ _val310 = iprot.readString();
+ struct.properties.put(_key309, _val310);
}
}
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/SetPartitionsStatsRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
index f4a66ed..ae0fbb4 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
@@ -435,14 +435,14 @@ import org.slf4j.LoggerFactory;
case 1: // COL_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list296 = iprot.readListBegin();
- struct.colStats = new ArrayList<ColumnStatistics>(_list296.size);
- ColumnStatistics _elem297;
- for (int _i298 = 0; _i298 < _list296.size; ++_i298)
+ org.apache.thrift.protocol.TList _list286 = iprot.readListBegin();
+ struct.colStats = new ArrayList<ColumnStatistics>(_list286.size);
+ ColumnStatistics _elem287;
+ for (int _i288 = 0; _i288 < _list286.size; ++_i288)
{
- _elem297 = new ColumnStatistics();
- _elem297.read(iprot);
- struct.colStats.add(_elem297);
+ _elem287 = new ColumnStatistics();
+ _elem287.read(iprot);
+ struct.colStats.add(_elem287);
}
iprot.readListEnd();
}
@@ -476,9 +476,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COL_STATS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size()));
- for (ColumnStatistics _iter299 : struct.colStats)
+ for (ColumnStatistics _iter289 : struct.colStats)
{
- _iter299.write(oprot);
+ _iter289.write(oprot);
}
oprot.writeListEnd();
}
@@ -508,9 +508,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.colStats.size());
- for (ColumnStatistics _iter300 : struct.colStats)
+ for (ColumnStatistics _iter290 : struct.colStats)
{
- _iter300.write(oprot);
+ _iter290.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -527,14 +527,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.colStats = new ArrayList<ColumnStatistics>(_list301.size);
- ColumnStatistics _elem302;
- for (int _i303 = 0; _i303 < _list301.size; ++_i303)
+ org.apache.thrift.protocol.TList _list291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.colStats = new ArrayList<ColumnStatistics>(_list291.size);
+ ColumnStatistics _elem292;
+ for (int _i293 = 0; _i293 < _list291.size; ++_i293)
{
- _elem302 = new ColumnStatistics();
- _elem302.read(iprot);
- struct.colStats.add(_elem302);
+ _elem292 = new ColumnStatistics();
+ _elem292.read(iprot);
+ struct.colStats.add(_elem292);
}
}
struct.setColStatsIsSet(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/ShowCompactResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
index 1b50602..5687b19 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // COMPACTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list608 = iprot.readListBegin();
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list608.size);
- ShowCompactResponseElement _elem609;
- for (int _i610 = 0; _i610 < _list608.size; ++_i610)
+ org.apache.thrift.protocol.TList _list598 = iprot.readListBegin();
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list598.size);
+ ShowCompactResponseElement _elem599;
+ for (int _i600 = 0; _i600 < _list598.size; ++_i600)
{
- _elem609 = new ShowCompactResponseElement();
- _elem609.read(iprot);
- struct.compacts.add(_elem609);
+ _elem599 = new ShowCompactResponseElement();
+ _elem599.read(iprot);
+ struct.compacts.add(_elem599);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COMPACTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size()));
- for (ShowCompactResponseElement _iter611 : struct.compacts)
+ for (ShowCompactResponseElement _iter601 : struct.compacts)
{
- _iter611.write(oprot);
+ _iter601.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.compacts.size());
- for (ShowCompactResponseElement _iter612 : struct.compacts)
+ for (ShowCompactResponseElement _iter602 : struct.compacts)
{
- _iter612.write(oprot);
+ _iter602.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list613 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list613.size);
- ShowCompactResponseElement _elem614;
- for (int _i615 = 0; _i615 < _list613.size; ++_i615)
+ org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list603.size);
+ ShowCompactResponseElement _elem604;
+ for (int _i605 = 0; _i605 < _list603.size; ++_i605)
{
- _elem614 = new ShowCompactResponseElement();
- _elem614.read(iprot);
- struct.compacts.add(_elem614);
+ _elem604 = new ShowCompactResponseElement();
+ _elem604.read(iprot);
+ struct.compacts.add(_elem604);
}
}
struct.setCompactsIsSet(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/ShowLocksResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
index a21a191..f22deb2 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
@@ -350,14 +350,14 @@ import org.slf4j.LoggerFactory;
case 1: // LOCKS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list574 = iprot.readListBegin();
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list574.size);
- ShowLocksResponseElement _elem575;
- for (int _i576 = 0; _i576 < _list574.size; ++_i576)
+ org.apache.thrift.protocol.TList _list564 = iprot.readListBegin();
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list564.size);
+ ShowLocksResponseElement _elem565;
+ for (int _i566 = 0; _i566 < _list564.size; ++_i566)
{
- _elem575 = new ShowLocksResponseElement();
- _elem575.read(iprot);
- struct.locks.add(_elem575);
+ _elem565 = new ShowLocksResponseElement();
+ _elem565.read(iprot);
+ struct.locks.add(_elem565);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(LOCKS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size()));
- for (ShowLocksResponseElement _iter577 : struct.locks)
+ for (ShowLocksResponseElement _iter567 : struct.locks)
{
- _iter577.write(oprot);
+ _iter567.write(oprot);
}
oprot.writeListEnd();
}
@@ -416,9 +416,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetLocks()) {
{
oprot.writeI32(struct.locks.size());
- for (ShowLocksResponseElement _iter578 : struct.locks)
+ for (ShowLocksResponseElement _iter568 : struct.locks)
{
- _iter578.write(oprot);
+ _iter568.write(oprot);
}
}
}
@@ -430,14 +430,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list579.size);
- ShowLocksResponseElement _elem580;
- for (int _i581 = 0; _i581 < _list579.size; ++_i581)
+ org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list569.size);
+ ShowLocksResponseElement _elem570;
+ for (int _i571 = 0; _i571 < _list569.size; ++_i571)
{
- _elem580 = new ShowLocksResponseElement();
- _elem580.read(iprot);
- struct.locks.add(_elem580);
+ _elem570 = new ShowLocksResponseElement();
+ _elem570.read(iprot);
+ struct.locks.add(_elem570);
}
}
struct.setLocksIsSet(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/Table.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
index f317b03..a132e5e 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
@@ -53,7 +53,7 @@ import org.slf4j.LoggerFactory;
private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)13);
private static final org.apache.thrift.protocol.TField TEMPORARY_FIELD_DESC = new org.apache.thrift.protocol.TField("temporary", org.apache.thrift.protocol.TType.BOOL, (short)14);
private static final org.apache.thrift.protocol.TField REWRITE_ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("rewriteEnabled", org.apache.thrift.protocol.TType.BOOL, (short)15);
- private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creationMetadata", org.apache.thrift.protocol.TType.MAP, (short)16);
+ private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creationMetadata", org.apache.thrift.protocol.TType.STRUCT, (short)16);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@@ -76,7 +76,7 @@ import org.slf4j.LoggerFactory;
private PrincipalPrivilegeSet privileges; // optional
private boolean temporary; // optional
private boolean rewriteEnabled; // optional
- private Map<String,BasicTxnInfo> creationMetadata; // optional
+ private CreationMetadata creationMetadata; // 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 {
@@ -226,9 +226,7 @@ import org.slf4j.LoggerFactory;
tmpMap.put(_Fields.REWRITE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("rewriteEnabled", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
tmpMap.put(_Fields.CREATION_METADATA, new org.apache.thrift.meta_data.FieldMetaData("creationMetadata", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "BasicTxnInfo"))));
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "CreationMetadata")));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Table.class, metaDataMap);
}
@@ -316,19 +314,7 @@ import org.slf4j.LoggerFactory;
this.temporary = other.temporary;
this.rewriteEnabled = other.rewriteEnabled;
if (other.isSetCreationMetadata()) {
- Map<String,BasicTxnInfo> __this__creationMetadata = new HashMap<String,BasicTxnInfo>(other.creationMetadata.size());
- for (Map.Entry<String, BasicTxnInfo> other_element : other.creationMetadata.entrySet()) {
-
- String other_element_key = other_element.getKey();
- BasicTxnInfo other_element_value = other_element.getValue();
-
- String __this__creationMetadata_copy_key = other_element_key;
-
- BasicTxnInfo __this__creationMetadata_copy_value = other_element_value;
-
- __this__creationMetadata.put(__this__creationMetadata_copy_key, __this__creationMetadata_copy_value);
- }
- this.creationMetadata = __this__creationMetadata;
+ this.creationMetadata = other.creationMetadata;
}
}
@@ -727,22 +713,11 @@ import org.slf4j.LoggerFactory;
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REWRITEENABLED_ISSET_ID, value);
}
- public int getCreationMetadataSize() {
- return (this.creationMetadata == null) ? 0 : this.creationMetadata.size();
- }
-
- public void putToCreationMetadata(String key, BasicTxnInfo val) {
- if (this.creationMetadata == null) {
- this.creationMetadata = new HashMap<String,BasicTxnInfo>();
- }
- this.creationMetadata.put(key, val);
- }
-
- public Map<String,BasicTxnInfo> getCreationMetadata() {
+ public CreationMetadata getCreationMetadata() {
return this.creationMetadata;
}
- public void setCreationMetadata(Map<String,BasicTxnInfo> creationMetadata) {
+ public void setCreationMetadata(CreationMetadata creationMetadata) {
this.creationMetadata = creationMetadata;
}
@@ -887,7 +862,7 @@ import org.slf4j.LoggerFactory;
if (value == null) {
unsetCreationMetadata();
} else {
- setCreationMetadata((Map<String,BasicTxnInfo>)value);
+ setCreationMetadata((CreationMetadata)value);
}
break;
@@ -1738,21 +1713,9 @@ import org.slf4j.LoggerFactory;
}
break;
case 16: // CREATION_METADATA
- if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
- {
- org.apache.thrift.protocol.TMap _map197 = iprot.readMapBegin();
- struct.creationMetadata = new HashMap<String,BasicTxnInfo>(2*_map197.size);
- String _key198;
- BasicTxnInfo _val199;
- for (int _i200 = 0; _i200 < _map197.size; ++_i200)
- {
- _key198 = iprot.readString();
- _val199 = new BasicTxnInfo();
- _val199.read(iprot);
- struct.creationMetadata.put(_key198, _val199);
- }
- iprot.readMapEnd();
- }
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.creationMetadata = new CreationMetadata();
+ struct.creationMetadata.read(iprot);
struct.setCreationMetadataIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -1804,9 +1767,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionKeys.size()));
- for (FieldSchema _iter201 : struct.partitionKeys)
+ for (FieldSchema _iter197 : struct.partitionKeys)
{
- _iter201.write(oprot);
+ _iter197.write(oprot);
}
oprot.writeListEnd();
}
@@ -1816,10 +1779,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size()));
- for (Map.Entry<String, String> _iter202 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter198 : struct.parameters.entrySet())
{
- oprot.writeString(_iter202.getKey());
- oprot.writeString(_iter202.getValue());
+ oprot.writeString(_iter198.getKey());
+ oprot.writeString(_iter198.getValue());
}
oprot.writeMapEnd();
}
@@ -1860,15 +1823,7 @@ import org.slf4j.LoggerFactory;
if (struct.creationMetadata != null) {
if (struct.isSetCreationMetadata()) {
oprot.writeFieldBegin(CREATION_METADATA_FIELD_DESC);
- {
- oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.creationMetadata.size()));
- for (Map.Entry<String, BasicTxnInfo> _iter203 : struct.creationMetadata.entrySet())
- {
- oprot.writeString(_iter203.getKey());
- _iter203.getValue().write(oprot);
- }
- oprot.writeMapEnd();
- }
+ struct.creationMetadata.write(oprot);
oprot.writeFieldEnd();
}
}
@@ -1963,19 +1918,19 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitionKeys()) {
{
oprot.writeI32(struct.partitionKeys.size());
- for (FieldSchema _iter204 : struct.partitionKeys)
+ for (FieldSchema _iter199 : struct.partitionKeys)
{
- _iter204.write(oprot);
+ _iter199.write(oprot);
}
}
}
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter205 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter200 : struct.parameters.entrySet())
{
- oprot.writeString(_iter205.getKey());
- oprot.writeString(_iter205.getValue());
+ oprot.writeString(_iter200.getKey());
+ oprot.writeString(_iter200.getValue());
}
}
}
@@ -1998,14 +1953,7 @@ import org.slf4j.LoggerFactory;
oprot.writeBool(struct.rewriteEnabled);
}
if (struct.isSetCreationMetadata()) {
- {
- oprot.writeI32(struct.creationMetadata.size());
- for (Map.Entry<String, BasicTxnInfo> _iter206 : struct.creationMetadata.entrySet())
- {
- oprot.writeString(_iter206.getKey());
- _iter206.getValue().write(oprot);
- }
- }
+ struct.creationMetadata.write(oprot);
}
}
@@ -2044,29 +1992,29 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(7)) {
{
- org.apache.thrift.protocol.TList _list207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitionKeys = new ArrayList<FieldSchema>(_list207.size);
- FieldSchema _elem208;
- for (int _i209 = 0; _i209 < _list207.size; ++_i209)
+ org.apache.thrift.protocol.TList _list201 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitionKeys = new ArrayList<FieldSchema>(_list201.size);
+ FieldSchema _elem202;
+ for (int _i203 = 0; _i203 < _list201.size; ++_i203)
{
- _elem208 = new FieldSchema();
- _elem208.read(iprot);
- struct.partitionKeys.add(_elem208);
+ _elem202 = new FieldSchema();
+ _elem202.read(iprot);
+ struct.partitionKeys.add(_elem202);
}
}
struct.setPartitionKeysIsSet(true);
}
if (incoming.get(8)) {
{
- org.apache.thrift.protocol.TMap _map210 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.parameters = new HashMap<String,String>(2*_map210.size);
- String _key211;
- String _val212;
- for (int _i213 = 0; _i213 < _map210.size; ++_i213)
+ org.apache.thrift.protocol.TMap _map204 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.parameters = new HashMap<String,String>(2*_map204.size);
+ String _key205;
+ String _val206;
+ for (int _i207 = 0; _i207 < _map204.size; ++_i207)
{
- _key211 = iprot.readString();
- _val212 = iprot.readString();
- struct.parameters.put(_key211, _val212);
+ _key205 = iprot.readString();
+ _val206 = iprot.readString();
+ struct.parameters.put(_key205, _val206);
}
}
struct.setParametersIsSet(true);
@@ -2097,19 +2045,8 @@ import org.slf4j.LoggerFactory;
struct.setRewriteEnabledIsSet(true);
}
if (incoming.get(15)) {
- {
- org.apache.thrift.protocol.TMap _map214 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.creationMetadata = new HashMap<String,BasicTxnInfo>(2*_map214.size);
- String _key215;
- BasicTxnInfo _val216;
- for (int _i217 = 0; _i217 < _map214.size; ++_i217)
- {
- _key215 = iprot.readString();
- _val216 = new BasicTxnInfo();
- _val216.read(iprot);
- struct.creationMetadata.put(_key215, _val216);
- }
- }
+ struct.creationMetadata = new CreationMetadata();
+ struct.creationMetadata.read(iprot);
struct.setCreationMetadataIsSet(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/TableStatsRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
index 575fa9f..69be837 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
@@ -537,13 +537,13 @@ import org.slf4j.LoggerFactory;
case 3: // COL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list430 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list430.size);
- String _elem431;
- for (int _i432 = 0; _i432 < _list430.size; ++_i432)
+ org.apache.thrift.protocol.TList _list420 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list420.size);
+ String _elem421;
+ for (int _i422 = 0; _i422 < _list420.size; ++_i422)
{
- _elem431 = iprot.readString();
- struct.colNames.add(_elem431);
+ _elem421 = iprot.readString();
+ struct.colNames.add(_elem421);
}
iprot.readListEnd();
}
@@ -579,9 +579,9 @@ import org.slf4j.LoggerFactory;
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 _iter433 : struct.colNames)
+ for (String _iter423 : struct.colNames)
{
- oprot.writeString(_iter433);
+ oprot.writeString(_iter423);
}
oprot.writeListEnd();
}
@@ -608,9 +608,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter434 : struct.colNames)
+ for (String _iter424 : struct.colNames)
{
- oprot.writeString(_iter434);
+ oprot.writeString(_iter424);
}
}
}
@@ -623,13 +623,13 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list435.size);
- String _elem436;
- for (int _i437 = 0; _i437 < _list435.size; ++_i437)
+ org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list425.size);
+ String _elem426;
+ for (int _i427 = 0; _i427 < _list425.size; ++_i427)
{
- _elem436 = iprot.readString();
- struct.colNames.add(_elem436);
+ _elem426 = iprot.readString();
+ struct.colNames.add(_elem426);
}
}
struct.setColNamesIsSet(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/TableStatsResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
index 32aeb9d..e65166e 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // TABLE_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list404 = iprot.readListBegin();
- struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list404.size);
- ColumnStatisticsObj _elem405;
- for (int _i406 = 0; _i406 < _list404.size; ++_i406)
+ org.apache.thrift.protocol.TList _list394 = iprot.readListBegin();
+ struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list394.size);
+ ColumnStatisticsObj _elem395;
+ for (int _i396 = 0; _i396 < _list394.size; ++_i396)
{
- _elem405 = new ColumnStatisticsObj();
- _elem405.read(iprot);
- struct.tableStats.add(_elem405);
+ _elem395 = new ColumnStatisticsObj();
+ _elem395.read(iprot);
+ struct.tableStats.add(_elem395);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TABLE_STATS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tableStats.size()));
- for (ColumnStatisticsObj _iter407 : struct.tableStats)
+ for (ColumnStatisticsObj _iter397 : struct.tableStats)
{
- _iter407.write(oprot);
+ _iter397.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.tableStats.size());
- for (ColumnStatisticsObj _iter408 : struct.tableStats)
+ for (ColumnStatisticsObj _iter398 : struct.tableStats)
{
- _iter408.write(oprot);
+ _iter398.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list409.size);
- ColumnStatisticsObj _elem410;
- for (int _i411 = 0; _i411 < _list409.size; ++_i411)
+ org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list399.size);
+ ColumnStatisticsObj _elem400;
+ for (int _i401 = 0; _i401 < _list399.size; ++_i401)
{
- _elem410 = new ColumnStatisticsObj();
- _elem410.read(iprot);
- struct.tableStats.add(_elem410);
+ _elem400 = new ColumnStatisticsObj();
+ _elem400.read(iprot);
+ struct.tableStats.add(_elem400);
}
}
struct.setTableStatsIsSet(true);