You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2014/03/29 00:33:08 UTC
svn commit: r1582911 [6/13] - in /hive/trunk: metastore/if/
metastore/src/gen/thrift/gen-cpp/
metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/
metastore/src/gen/thrift/gen-php/metastore/
metastore/src/gen/thrift/gen-py/hive_m...
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java Fri Mar 28 23:33:07 2014
@@ -1140,15 +1140,15 @@ public class Index implements org.apache
case 9: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map218 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map218.size);
- for (int _i219 = 0; _i219 < _map218.size; ++_i219)
+ org.apache.thrift.protocol.TMap _map226 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map226.size);
+ for (int _i227 = 0; _i227 < _map226.size; ++_i227)
{
- String _key220; // required
- String _val221; // required
- _key220 = iprot.readString();
- _val221 = iprot.readString();
- struct.parameters.put(_key220, _val221);
+ String _key228; // required
+ String _val229; // required
+ _key228 = iprot.readString();
+ _val229 = iprot.readString();
+ struct.parameters.put(_key228, _val229);
}
iprot.readMapEnd();
}
@@ -1218,10 +1218,10 @@ public class Index implements org.apache
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> _iter222 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter230 : struct.parameters.entrySet())
{
- oprot.writeString(_iter222.getKey());
- oprot.writeString(_iter222.getValue());
+ oprot.writeString(_iter230.getKey());
+ oprot.writeString(_iter230.getValue());
}
oprot.writeMapEnd();
}
@@ -1306,10 +1306,10 @@ public class Index implements org.apache
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter223 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter231 : struct.parameters.entrySet())
{
- oprot.writeString(_iter223.getKey());
- oprot.writeString(_iter223.getValue());
+ oprot.writeString(_iter231.getKey());
+ oprot.writeString(_iter231.getValue());
}
}
}
@@ -1357,15 +1357,15 @@ public class Index implements org.apache
}
if (incoming.get(8)) {
{
- org.apache.thrift.protocol.TMap _map224 = 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*_map224.size);
- for (int _i225 = 0; _i225 < _map224.size; ++_i225)
+ org.apache.thrift.protocol.TMap _map232 = 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*_map232.size);
+ for (int _i233 = 0; _i233 < _map232.size; ++_i233)
{
- String _key226; // required
- String _val227; // required
- _key226 = iprot.readString();
- _val227 = iprot.readString();
- struct.parameters.put(_key226, _val227);
+ String _key234; // required
+ String _val235; // required
+ _key234 = iprot.readString();
+ _val235 = iprot.readString();
+ struct.parameters.put(_key234, _val235);
}
}
struct.setParametersIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java Fri Mar 28 23:33:07 2014
@@ -601,14 +601,14 @@ public class LockRequest implements org.
case 1: // COMPONENT
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list394 = iprot.readListBegin();
- struct.component = new ArrayList<LockComponent>(_list394.size);
- for (int _i395 = 0; _i395 < _list394.size; ++_i395)
+ org.apache.thrift.protocol.TList _list402 = iprot.readListBegin();
+ struct.component = new ArrayList<LockComponent>(_list402.size);
+ for (int _i403 = 0; _i403 < _list402.size; ++_i403)
{
- LockComponent _elem396; // optional
- _elem396 = new LockComponent();
- _elem396.read(iprot);
- struct.component.add(_elem396);
+ LockComponent _elem404; // optional
+ _elem404 = new LockComponent();
+ _elem404.read(iprot);
+ struct.component.add(_elem404);
}
iprot.readListEnd();
}
@@ -658,9 +658,9 @@ public class LockRequest implements org.
oprot.writeFieldBegin(COMPONENT_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size()));
- for (LockComponent _iter397 : struct.component)
+ for (LockComponent _iter405 : struct.component)
{
- _iter397.write(oprot);
+ _iter405.write(oprot);
}
oprot.writeListEnd();
}
@@ -700,9 +700,9 @@ public class LockRequest implements org.
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.component.size());
- for (LockComponent _iter398 : struct.component)
+ for (LockComponent _iter406 : struct.component)
{
- _iter398.write(oprot);
+ _iter406.write(oprot);
}
}
oprot.writeString(struct.user);
@@ -721,14 +721,14 @@ public class LockRequest implements org.
public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.component = new ArrayList<LockComponent>(_list399.size);
- for (int _i400 = 0; _i400 < _list399.size; ++_i400)
+ org.apache.thrift.protocol.TList _list407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.component = new ArrayList<LockComponent>(_list407.size);
+ for (int _i408 = 0; _i408 < _list407.size; ++_i408)
{
- LockComponent _elem401; // optional
- _elem401 = new LockComponent();
- _elem401.read(iprot);
- struct.component.add(_elem401);
+ LockComponent _elem409; // optional
+ _elem409 = new LockComponent();
+ _elem409.read(iprot);
+ struct.component.add(_elem409);
}
}
struct.setComponentIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java Fri Mar 28 23:33:07 2014
@@ -350,13 +350,13 @@ public class OpenTxnsResponse implements
case 1: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list386 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list386.size);
- for (int _i387 = 0; _i387 < _list386.size; ++_i387)
+ org.apache.thrift.protocol.TList _list394 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list394.size);
+ for (int _i395 = 0; _i395 < _list394.size; ++_i395)
{
- long _elem388; // optional
- _elem388 = iprot.readI64();
- struct.txn_ids.add(_elem388);
+ long _elem396; // optional
+ _elem396 = iprot.readI64();
+ struct.txn_ids.add(_elem396);
}
iprot.readListEnd();
}
@@ -382,9 +382,9 @@ public class OpenTxnsResponse implements
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 _iter389 : struct.txn_ids)
+ for (long _iter397 : struct.txn_ids)
{
- oprot.writeI64(_iter389);
+ oprot.writeI64(_iter397);
}
oprot.writeListEnd();
}
@@ -409,9 +409,9 @@ public class OpenTxnsResponse implements
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter390 : struct.txn_ids)
+ for (long _iter398 : struct.txn_ids)
{
- oprot.writeI64(_iter390);
+ oprot.writeI64(_iter398);
}
}
}
@@ -420,13 +420,13 @@ public class OpenTxnsResponse implements
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 _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list391.size);
- for (int _i392 = 0; _i392 < _list391.size; ++_i392)
+ org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list399.size);
+ for (int _i400 = 0; _i400 < _list399.size; ++_i400)
{
- long _elem393; // optional
- _elem393 = iprot.readI64();
- struct.txn_ids.add(_elem393);
+ long _elem401; // optional
+ _elem401 = iprot.readI64();
+ struct.txn_ids.add(_elem401);
}
}
struct.setTxn_idsIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java Fri Mar 28 23:33:07 2014
@@ -941,13 +941,13 @@ public class Partition implements org.ap
case 1: // VALUES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
- struct.values = new ArrayList<String>(_list200.size);
- for (int _i201 = 0; _i201 < _list200.size; ++_i201)
+ org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
+ struct.values = new ArrayList<String>(_list208.size);
+ for (int _i209 = 0; _i209 < _list208.size; ++_i209)
{
- String _elem202; // optional
- _elem202 = iprot.readString();
- struct.values.add(_elem202);
+ String _elem210; // optional
+ _elem210 = iprot.readString();
+ struct.values.add(_elem210);
}
iprot.readListEnd();
}
@@ -1000,15 +1000,15 @@ public class Partition implements org.ap
case 7: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map203 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map203.size);
- for (int _i204 = 0; _i204 < _map203.size; ++_i204)
+ org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map211.size);
+ for (int _i212 = 0; _i212 < _map211.size; ++_i212)
{
- String _key205; // required
- String _val206; // required
- _key205 = iprot.readString();
- _val206 = iprot.readString();
- struct.parameters.put(_key205, _val206);
+ String _key213; // required
+ String _val214; // required
+ _key213 = iprot.readString();
+ _val214 = iprot.readString();
+ struct.parameters.put(_key213, _val214);
}
iprot.readMapEnd();
}
@@ -1043,9 +1043,9 @@ public class Partition implements org.ap
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size()));
- for (String _iter207 : struct.values)
+ for (String _iter215 : struct.values)
{
- oprot.writeString(_iter207);
+ oprot.writeString(_iter215);
}
oprot.writeListEnd();
}
@@ -1076,10 +1076,10 @@ public class Partition implements org.ap
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> _iter208 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter216 : struct.parameters.entrySet())
{
- oprot.writeString(_iter208.getKey());
- oprot.writeString(_iter208.getValue());
+ oprot.writeString(_iter216.getKey());
+ oprot.writeString(_iter216.getValue());
}
oprot.writeMapEnd();
}
@@ -1138,9 +1138,9 @@ public class Partition implements org.ap
if (struct.isSetValues()) {
{
oprot.writeI32(struct.values.size());
- for (String _iter209 : struct.values)
+ for (String _iter217 : struct.values)
{
- oprot.writeString(_iter209);
+ oprot.writeString(_iter217);
}
}
}
@@ -1162,10 +1162,10 @@ public class Partition implements org.ap
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter210 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter218 : struct.parameters.entrySet())
{
- oprot.writeString(_iter210.getKey());
- oprot.writeString(_iter210.getValue());
+ oprot.writeString(_iter218.getKey());
+ oprot.writeString(_iter218.getValue());
}
}
}
@@ -1180,13 +1180,13 @@ public class Partition implements org.ap
BitSet incoming = iprot.readBitSet(8);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.values = new ArrayList<String>(_list211.size);
- for (int _i212 = 0; _i212 < _list211.size; ++_i212)
+ org.apache.thrift.protocol.TList _list219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.values = new ArrayList<String>(_list219.size);
+ for (int _i220 = 0; _i220 < _list219.size; ++_i220)
{
- String _elem213; // optional
- _elem213 = iprot.readString();
- struct.values.add(_elem213);
+ String _elem221; // optional
+ _elem221 = iprot.readString();
+ struct.values.add(_elem221);
}
}
struct.setValuesIsSet(true);
@@ -1214,15 +1214,15 @@ public class Partition implements org.ap
}
if (incoming.get(6)) {
{
- org.apache.thrift.protocol.TMap _map214 = 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*_map214.size);
- for (int _i215 = 0; _i215 < _map214.size; ++_i215)
+ org.apache.thrift.protocol.TMap _map222 = 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*_map222.size);
+ for (int _i223 = 0; _i223 < _map222.size; ++_i223)
{
- String _key216; // required
- String _val217; // required
- _key216 = iprot.readString();
- _val217 = iprot.readString();
- struct.parameters.put(_key216, _val217);
+ String _key224; // required
+ String _val225; // required
+ _key224 = iprot.readString();
+ _val225 = iprot.readString();
+ struct.parameters.put(_key224, _val225);
}
}
struct.setParametersIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java Fri Mar 28 23:33:07 2014
@@ -435,14 +435,14 @@ public class PartitionsByExprResult impl
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list264 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list264.size);
- for (int _i265 = 0; _i265 < _list264.size; ++_i265)
+ org.apache.thrift.protocol.TList _list272 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list272.size);
+ for (int _i273 = 0; _i273 < _list272.size; ++_i273)
{
- Partition _elem266; // optional
- _elem266 = new Partition();
- _elem266.read(iprot);
- struct.partitions.add(_elem266);
+ Partition _elem274; // optional
+ _elem274 = new Partition();
+ _elem274.read(iprot);
+ struct.partitions.add(_elem274);
}
iprot.readListEnd();
}
@@ -476,9 +476,9 @@ public class PartitionsByExprResult impl
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter267 : struct.partitions)
+ for (Partition _iter275 : struct.partitions)
{
- _iter267.write(oprot);
+ _iter275.write(oprot);
}
oprot.writeListEnd();
}
@@ -506,9 +506,9 @@ public class PartitionsByExprResult impl
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter268 : struct.partitions)
+ for (Partition _iter276 : struct.partitions)
{
- _iter268.write(oprot);
+ _iter276.write(oprot);
}
}
oprot.writeBool(struct.hasUnknownPartitions);
@@ -518,14 +518,14 @@ public class PartitionsByExprResult impl
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 _list269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list269.size);
- for (int _i270 = 0; _i270 < _list269.size; ++_i270)
+ org.apache.thrift.protocol.TList _list277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list277.size);
+ for (int _i278 = 0; _i278 < _list277.size; ++_i278)
{
- Partition _elem271; // optional
- _elem271 = new Partition();
- _elem271.read(iprot);
- struct.partitions.add(_elem271);
+ Partition _elem279; // optional
+ _elem279 = new Partition();
+ _elem279.read(iprot);
+ struct.partitions.add(_elem279);
}
}
struct.setPartitionsIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java Fri Mar 28 23:33:07 2014
@@ -641,13 +641,13 @@ public class PartitionsStatsRequest impl
case 3: // COL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list306 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list306.size);
- for (int _i307 = 0; _i307 < _list306.size; ++_i307)
+ org.apache.thrift.protocol.TList _list314 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list314.size);
+ for (int _i315 = 0; _i315 < _list314.size; ++_i315)
{
- String _elem308; // optional
- _elem308 = iprot.readString();
- struct.colNames.add(_elem308);
+ String _elem316; // optional
+ _elem316 = iprot.readString();
+ struct.colNames.add(_elem316);
}
iprot.readListEnd();
}
@@ -659,13 +659,13 @@ public class PartitionsStatsRequest impl
case 4: // PART_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list309 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list309.size);
- for (int _i310 = 0; _i310 < _list309.size; ++_i310)
+ org.apache.thrift.protocol.TList _list317 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list317.size);
+ for (int _i318 = 0; _i318 < _list317.size; ++_i318)
{
- String _elem311; // optional
- _elem311 = iprot.readString();
- struct.partNames.add(_elem311);
+ String _elem319; // optional
+ _elem319 = iprot.readString();
+ struct.partNames.add(_elem319);
}
iprot.readListEnd();
}
@@ -701,9 +701,9 @@ public class PartitionsStatsRequest impl
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 _iter312 : struct.colNames)
+ for (String _iter320 : struct.colNames)
{
- oprot.writeString(_iter312);
+ oprot.writeString(_iter320);
}
oprot.writeListEnd();
}
@@ -713,9 +713,9 @@ public class PartitionsStatsRequest impl
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 _iter313 : struct.partNames)
+ for (String _iter321 : struct.partNames)
{
- oprot.writeString(_iter313);
+ oprot.writeString(_iter321);
}
oprot.writeListEnd();
}
@@ -742,16 +742,16 @@ public class PartitionsStatsRequest impl
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter314 : struct.colNames)
+ for (String _iter322 : struct.colNames)
{
- oprot.writeString(_iter314);
+ oprot.writeString(_iter322);
}
}
{
oprot.writeI32(struct.partNames.size());
- for (String _iter315 : struct.partNames)
+ for (String _iter323 : struct.partNames)
{
- oprot.writeString(_iter315);
+ oprot.writeString(_iter323);
}
}
}
@@ -764,24 +764,24 @@ public class PartitionsStatsRequest impl
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list316 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list316.size);
- for (int _i317 = 0; _i317 < _list316.size; ++_i317)
- {
- String _elem318; // optional
- _elem318 = iprot.readString();
- struct.colNames.add(_elem318);
+ org.apache.thrift.protocol.TList _list324 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list324.size);
+ for (int _i325 = 0; _i325 < _list324.size; ++_i325)
+ {
+ String _elem326; // optional
+ _elem326 = iprot.readString();
+ struct.colNames.add(_elem326);
}
}
struct.setColNamesIsSet(true);
{
- org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list319.size);
- for (int _i320 = 0; _i320 < _list319.size; ++_i320)
- {
- String _elem321; // optional
- _elem321 = iprot.readString();
- struct.partNames.add(_elem321);
+ org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list327.size);
+ for (int _i328 = 0; _i328 < _list327.size; ++_i328)
+ {
+ String _elem329; // optional
+ _elem329 = iprot.readString();
+ struct.partNames.add(_elem329);
}
}
struct.setPartNamesIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java Fri Mar 28 23:33:07 2014
@@ -359,26 +359,26 @@ public class PartitionsStatsResult imple
case 1: // PART_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map280 = iprot.readMapBegin();
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map280.size);
- for (int _i281 = 0; _i281 < _map280.size; ++_i281)
+ org.apache.thrift.protocol.TMap _map288 = iprot.readMapBegin();
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map288.size);
+ for (int _i289 = 0; _i289 < _map288.size; ++_i289)
{
- String _key282; // required
- List<ColumnStatisticsObj> _val283; // required
- _key282 = iprot.readString();
+ String _key290; // required
+ List<ColumnStatisticsObj> _val291; // required
+ _key290 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
- _val283 = new ArrayList<ColumnStatisticsObj>(_list284.size);
- for (int _i285 = 0; _i285 < _list284.size; ++_i285)
+ org.apache.thrift.protocol.TList _list292 = iprot.readListBegin();
+ _val291 = new ArrayList<ColumnStatisticsObj>(_list292.size);
+ for (int _i293 = 0; _i293 < _list292.size; ++_i293)
{
- ColumnStatisticsObj _elem286; // optional
- _elem286 = new ColumnStatisticsObj();
- _elem286.read(iprot);
- _val283.add(_elem286);
+ ColumnStatisticsObj _elem294; // optional
+ _elem294 = new ColumnStatisticsObj();
+ _elem294.read(iprot);
+ _val291.add(_elem294);
}
iprot.readListEnd();
}
- struct.partStats.put(_key282, _val283);
+ struct.partStats.put(_key290, _val291);
}
iprot.readMapEnd();
}
@@ -404,14 +404,14 @@ public class PartitionsStatsResult imple
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>> _iter287 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter295 : struct.partStats.entrySet())
{
- oprot.writeString(_iter287.getKey());
+ oprot.writeString(_iter295.getKey());
{
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter287.getValue().size()));
- for (ColumnStatisticsObj _iter288 : _iter287.getValue())
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter295.getValue().size()));
+ for (ColumnStatisticsObj _iter296 : _iter295.getValue())
{
- _iter288.write(oprot);
+ _iter296.write(oprot);
}
oprot.writeListEnd();
}
@@ -439,14 +439,14 @@ public class PartitionsStatsResult imple
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partStats.size());
- for (Map.Entry<String, List<ColumnStatisticsObj>> _iter289 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter297 : struct.partStats.entrySet())
{
- oprot.writeString(_iter289.getKey());
+ oprot.writeString(_iter297.getKey());
{
- oprot.writeI32(_iter289.getValue().size());
- for (ColumnStatisticsObj _iter290 : _iter289.getValue())
+ oprot.writeI32(_iter297.getValue().size());
+ for (ColumnStatisticsObj _iter298 : _iter297.getValue())
{
- _iter290.write(oprot);
+ _iter298.write(oprot);
}
}
}
@@ -457,25 +457,25 @@ public class PartitionsStatsResult imple
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 _map291 = 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*_map291.size);
- for (int _i292 = 0; _i292 < _map291.size; ++_i292)
+ org.apache.thrift.protocol.TMap _map299 = 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*_map299.size);
+ for (int _i300 = 0; _i300 < _map299.size; ++_i300)
{
- String _key293; // required
- List<ColumnStatisticsObj> _val294; // required
- _key293 = iprot.readString();
+ String _key301; // required
+ List<ColumnStatisticsObj> _val302; // required
+ _key301 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- _val294 = new ArrayList<ColumnStatisticsObj>(_list295.size);
- for (int _i296 = 0; _i296 < _list295.size; ++_i296)
+ org.apache.thrift.protocol.TList _list303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ _val302 = new ArrayList<ColumnStatisticsObj>(_list303.size);
+ for (int _i304 = 0; _i304 < _list303.size; ++_i304)
{
- ColumnStatisticsObj _elem297; // optional
- _elem297 = new ColumnStatisticsObj();
- _elem297.read(iprot);
- _val294.add(_elem297);
+ ColumnStatisticsObj _elem305; // optional
+ _elem305 = new ColumnStatisticsObj();
+ _elem305.read(iprot);
+ _val302.add(_elem305);
}
}
- struct.partStats.put(_key293, _val294);
+ struct.partStats.put(_key301, _val302);
}
}
struct.setPartStatsIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java Fri Mar 28 23:33:07 2014
@@ -165,13 +165,13 @@ public class RequestPartsSpec extends or
if (field.type == NAMES_FIELD_DESC.type) {
List<String> names;
{
- org.apache.thrift.protocol.TList _list346 = iprot.readListBegin();
- names = new ArrayList<String>(_list346.size);
- for (int _i347 = 0; _i347 < _list346.size; ++_i347)
+ org.apache.thrift.protocol.TList _list354 = iprot.readListBegin();
+ names = new ArrayList<String>(_list354.size);
+ for (int _i355 = 0; _i355 < _list354.size; ++_i355)
{
- String _elem348; // optional
- _elem348 = iprot.readString();
- names.add(_elem348);
+ String _elem356; // optional
+ _elem356 = iprot.readString();
+ names.add(_elem356);
}
iprot.readListEnd();
}
@@ -184,14 +184,14 @@ public class RequestPartsSpec extends or
if (field.type == EXPRS_FIELD_DESC.type) {
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list349 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list349.size);
- for (int _i350 = 0; _i350 < _list349.size; ++_i350)
+ org.apache.thrift.protocol.TList _list357 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list357.size);
+ for (int _i358 = 0; _i358 < _list357.size; ++_i358)
{
- DropPartitionsExpr _elem351; // optional
- _elem351 = new DropPartitionsExpr();
- _elem351.read(iprot);
- exprs.add(_elem351);
+ DropPartitionsExpr _elem359; // optional
+ _elem359 = new DropPartitionsExpr();
+ _elem359.read(iprot);
+ exprs.add(_elem359);
}
iprot.readListEnd();
}
@@ -215,9 +215,9 @@ public class RequestPartsSpec extends or
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter352 : names)
+ for (String _iter360 : names)
{
- oprot.writeString(_iter352);
+ oprot.writeString(_iter360);
}
oprot.writeListEnd();
}
@@ -226,9 +226,9 @@ public class RequestPartsSpec extends or
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter353 : exprs)
+ for (DropPartitionsExpr _iter361 : exprs)
{
- _iter353.write(oprot);
+ _iter361.write(oprot);
}
oprot.writeListEnd();
}
@@ -246,13 +246,13 @@ public class RequestPartsSpec extends or
case NAMES:
List<String> names;
{
- org.apache.thrift.protocol.TList _list354 = iprot.readListBegin();
- names = new ArrayList<String>(_list354.size);
- for (int _i355 = 0; _i355 < _list354.size; ++_i355)
+ org.apache.thrift.protocol.TList _list362 = iprot.readListBegin();
+ names = new ArrayList<String>(_list362.size);
+ for (int _i363 = 0; _i363 < _list362.size; ++_i363)
{
- String _elem356; // optional
- _elem356 = iprot.readString();
- names.add(_elem356);
+ String _elem364; // optional
+ _elem364 = iprot.readString();
+ names.add(_elem364);
}
iprot.readListEnd();
}
@@ -260,14 +260,14 @@ public class RequestPartsSpec extends or
case EXPRS:
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list357 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list357.size);
- for (int _i358 = 0; _i358 < _list357.size; ++_i358)
+ org.apache.thrift.protocol.TList _list365 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list365.size);
+ for (int _i366 = 0; _i366 < _list365.size; ++_i366)
{
- DropPartitionsExpr _elem359; // optional
- _elem359 = new DropPartitionsExpr();
- _elem359.read(iprot);
- exprs.add(_elem359);
+ DropPartitionsExpr _elem367; // optional
+ _elem367 = new DropPartitionsExpr();
+ _elem367.read(iprot);
+ exprs.add(_elem367);
}
iprot.readListEnd();
}
@@ -287,9 +287,9 @@ public class RequestPartsSpec extends or
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter360 : names)
+ for (String _iter368 : names)
{
- oprot.writeString(_iter360);
+ oprot.writeString(_iter368);
}
oprot.writeListEnd();
}
@@ -298,9 +298,9 @@ public class RequestPartsSpec extends or
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter361 : exprs)
+ for (DropPartitionsExpr _iter369 : exprs)
{
- _iter361.write(oprot);
+ _iter369.write(oprot);
}
oprot.writeListEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java Fri Mar 28 23:33:07 2014
@@ -37,11 +37,6 @@ public class Role implements org.apache.
private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("roleName", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField CREATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("createTime", org.apache.thrift.protocol.TType.I32, (short)2);
private static final org.apache.thrift.protocol.TField OWNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("ownerName", org.apache.thrift.protocol.TType.STRING, (short)3);
- private static final org.apache.thrift.protocol.TField PRINCIPAL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("principalName", org.apache.thrift.protocol.TType.STRING, (short)4);
- private static final org.apache.thrift.protocol.TField PRINCIPAL_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("principalType", org.apache.thrift.protocol.TType.STRING, (short)5);
- private static final org.apache.thrift.protocol.TField GRANT_OPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("grantOption", org.apache.thrift.protocol.TType.BOOL, (short)6);
- private static final org.apache.thrift.protocol.TField GRANT_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("grantTime", org.apache.thrift.protocol.TType.I32, (short)7);
- private static final org.apache.thrift.protocol.TField GRANTOR_FIELD_DESC = new org.apache.thrift.protocol.TField("grantor", org.apache.thrift.protocol.TType.STRING, (short)8);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@@ -52,22 +47,12 @@ public class Role implements org.apache.
private String roleName; // required
private int createTime; // required
private String ownerName; // required
- private String principalName; // optional
- private String principalType; // optional
- private boolean grantOption; // optional
- private int grantTime; // optional
- private String grantor; // 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 {
ROLE_NAME((short)1, "roleName"),
CREATE_TIME((short)2, "createTime"),
- OWNER_NAME((short)3, "ownerName"),
- PRINCIPAL_NAME((short)4, "principalName"),
- PRINCIPAL_TYPE((short)5, "principalType"),
- GRANT_OPTION((short)6, "grantOption"),
- GRANT_TIME((short)7, "grantTime"),
- GRANTOR((short)8, "grantor");
+ OWNER_NAME((short)3, "ownerName");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -88,16 +73,6 @@ public class Role implements org.apache.
return CREATE_TIME;
case 3: // OWNER_NAME
return OWNER_NAME;
- case 4: // PRINCIPAL_NAME
- return PRINCIPAL_NAME;
- case 5: // PRINCIPAL_TYPE
- return PRINCIPAL_TYPE;
- case 6: // GRANT_OPTION
- return GRANT_OPTION;
- case 7: // GRANT_TIME
- return GRANT_TIME;
- case 8: // GRANTOR
- return GRANTOR;
default:
return null;
}
@@ -139,10 +114,7 @@ public class Role implements org.apache.
// isset id assignments
private static final int __CREATETIME_ISSET_ID = 0;
- private static final int __GRANTOPTION_ISSET_ID = 1;
- private static final int __GRANTTIME_ISSET_ID = 2;
private byte __isset_bitfield = 0;
- private _Fields optionals[] = {_Fields.PRINCIPAL_NAME,_Fields.PRINCIPAL_TYPE,_Fields.GRANT_OPTION,_Fields.GRANT_TIME,_Fields.GRANTOR};
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);
@@ -152,16 +124,6 @@ public class Role implements org.apache.
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
tmpMap.put(_Fields.OWNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("ownerName", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.PRINCIPAL_NAME, new org.apache.thrift.meta_data.FieldMetaData("principalName", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.PRINCIPAL_TYPE, new org.apache.thrift.meta_data.FieldMetaData("principalType", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.GRANT_OPTION, new org.apache.thrift.meta_data.FieldMetaData("grantOption", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
- tmpMap.put(_Fields.GRANT_TIME, new org.apache.thrift.meta_data.FieldMetaData("grantTime", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
- tmpMap.put(_Fields.GRANTOR, new org.apache.thrift.meta_data.FieldMetaData("grantor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Role.class, metaDataMap);
}
@@ -193,17 +155,6 @@ public class Role implements org.apache.
if (other.isSetOwnerName()) {
this.ownerName = other.ownerName;
}
- if (other.isSetPrincipalName()) {
- this.principalName = other.principalName;
- }
- if (other.isSetPrincipalType()) {
- this.principalType = other.principalType;
- }
- this.grantOption = other.grantOption;
- this.grantTime = other.grantTime;
- if (other.isSetGrantor()) {
- this.grantor = other.grantor;
- }
}
public Role deepCopy() {
@@ -216,13 +167,6 @@ public class Role implements org.apache.
setCreateTimeIsSet(false);
this.createTime = 0;
this.ownerName = null;
- this.principalName = null;
- this.principalType = null;
- setGrantOptionIsSet(false);
- this.grantOption = false;
- setGrantTimeIsSet(false);
- this.grantTime = 0;
- this.grantor = null;
}
public String getRoleName() {
@@ -293,119 +237,6 @@ public class Role implements org.apache.
}
}
- public String getPrincipalName() {
- return this.principalName;
- }
-
- public void setPrincipalName(String principalName) {
- this.principalName = principalName;
- }
-
- public void unsetPrincipalName() {
- this.principalName = null;
- }
-
- /** Returns true if field principalName is set (has been assigned a value) and false otherwise */
- public boolean isSetPrincipalName() {
- return this.principalName != null;
- }
-
- public void setPrincipalNameIsSet(boolean value) {
- if (!value) {
- this.principalName = null;
- }
- }
-
- public String getPrincipalType() {
- return this.principalType;
- }
-
- public void setPrincipalType(String principalType) {
- this.principalType = principalType;
- }
-
- public void unsetPrincipalType() {
- this.principalType = null;
- }
-
- /** Returns true if field principalType is set (has been assigned a value) and false otherwise */
- public boolean isSetPrincipalType() {
- return this.principalType != null;
- }
-
- public void setPrincipalTypeIsSet(boolean value) {
- if (!value) {
- this.principalType = null;
- }
- }
-
- public boolean isGrantOption() {
- return this.grantOption;
- }
-
- public void setGrantOption(boolean grantOption) {
- this.grantOption = grantOption;
- setGrantOptionIsSet(true);
- }
-
- public void unsetGrantOption() {
- __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GRANTOPTION_ISSET_ID);
- }
-
- /** Returns true if field grantOption is set (has been assigned a value) and false otherwise */
- public boolean isSetGrantOption() {
- return EncodingUtils.testBit(__isset_bitfield, __GRANTOPTION_ISSET_ID);
- }
-
- public void setGrantOptionIsSet(boolean value) {
- __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GRANTOPTION_ISSET_ID, value);
- }
-
- public int getGrantTime() {
- return this.grantTime;
- }
-
- public void setGrantTime(int grantTime) {
- this.grantTime = grantTime;
- setGrantTimeIsSet(true);
- }
-
- public void unsetGrantTime() {
- __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GRANTTIME_ISSET_ID);
- }
-
- /** Returns true if field grantTime is set (has been assigned a value) and false otherwise */
- public boolean isSetGrantTime() {
- return EncodingUtils.testBit(__isset_bitfield, __GRANTTIME_ISSET_ID);
- }
-
- public void setGrantTimeIsSet(boolean value) {
- __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GRANTTIME_ISSET_ID, value);
- }
-
- public String getGrantor() {
- return this.grantor;
- }
-
- public void setGrantor(String grantor) {
- this.grantor = grantor;
- }
-
- public void unsetGrantor() {
- this.grantor = null;
- }
-
- /** Returns true if field grantor is set (has been assigned a value) and false otherwise */
- public boolean isSetGrantor() {
- return this.grantor != null;
- }
-
- public void setGrantorIsSet(boolean value) {
- if (!value) {
- this.grantor = null;
- }
- }
-
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case ROLE_NAME:
@@ -432,46 +263,6 @@ public class Role implements org.apache.
}
break;
- case PRINCIPAL_NAME:
- if (value == null) {
- unsetPrincipalName();
- } else {
- setPrincipalName((String)value);
- }
- break;
-
- case PRINCIPAL_TYPE:
- if (value == null) {
- unsetPrincipalType();
- } else {
- setPrincipalType((String)value);
- }
- break;
-
- case GRANT_OPTION:
- if (value == null) {
- unsetGrantOption();
- } else {
- setGrantOption((Boolean)value);
- }
- break;
-
- case GRANT_TIME:
- if (value == null) {
- unsetGrantTime();
- } else {
- setGrantTime((Integer)value);
- }
- break;
-
- case GRANTOR:
- if (value == null) {
- unsetGrantor();
- } else {
- setGrantor((String)value);
- }
- break;
-
}
}
@@ -486,21 +277,6 @@ public class Role implements org.apache.
case OWNER_NAME:
return getOwnerName();
- case PRINCIPAL_NAME:
- return getPrincipalName();
-
- case PRINCIPAL_TYPE:
- return getPrincipalType();
-
- case GRANT_OPTION:
- return Boolean.valueOf(isGrantOption());
-
- case GRANT_TIME:
- return Integer.valueOf(getGrantTime());
-
- case GRANTOR:
- return getGrantor();
-
}
throw new IllegalStateException();
}
@@ -518,16 +294,6 @@ public class Role implements org.apache.
return isSetCreateTime();
case OWNER_NAME:
return isSetOwnerName();
- case PRINCIPAL_NAME:
- return isSetPrincipalName();
- case PRINCIPAL_TYPE:
- return isSetPrincipalType();
- case GRANT_OPTION:
- return isSetGrantOption();
- case GRANT_TIME:
- return isSetGrantTime();
- case GRANTOR:
- return isSetGrantor();
}
throw new IllegalStateException();
}
@@ -572,51 +338,6 @@ public class Role implements org.apache.
return false;
}
- boolean this_present_principalName = true && this.isSetPrincipalName();
- boolean that_present_principalName = true && that.isSetPrincipalName();
- if (this_present_principalName || that_present_principalName) {
- if (!(this_present_principalName && that_present_principalName))
- return false;
- if (!this.principalName.equals(that.principalName))
- return false;
- }
-
- boolean this_present_principalType = true && this.isSetPrincipalType();
- boolean that_present_principalType = true && that.isSetPrincipalType();
- if (this_present_principalType || that_present_principalType) {
- if (!(this_present_principalType && that_present_principalType))
- return false;
- if (!this.principalType.equals(that.principalType))
- return false;
- }
-
- boolean this_present_grantOption = true && this.isSetGrantOption();
- boolean that_present_grantOption = true && that.isSetGrantOption();
- if (this_present_grantOption || that_present_grantOption) {
- if (!(this_present_grantOption && that_present_grantOption))
- return false;
- if (this.grantOption != that.grantOption)
- return false;
- }
-
- boolean this_present_grantTime = true && this.isSetGrantTime();
- boolean that_present_grantTime = true && that.isSetGrantTime();
- if (this_present_grantTime || that_present_grantTime) {
- if (!(this_present_grantTime && that_present_grantTime))
- return false;
- if (this.grantTime != that.grantTime)
- return false;
- }
-
- boolean this_present_grantor = true && this.isSetGrantor();
- boolean that_present_grantor = true && that.isSetGrantor();
- if (this_present_grantor || that_present_grantor) {
- if (!(this_present_grantor && that_present_grantor))
- return false;
- if (!this.grantor.equals(that.grantor))
- return false;
- }
-
return true;
}
@@ -639,31 +360,6 @@ public class Role implements org.apache.
if (present_ownerName)
builder.append(ownerName);
- boolean present_principalName = true && (isSetPrincipalName());
- builder.append(present_principalName);
- if (present_principalName)
- builder.append(principalName);
-
- boolean present_principalType = true && (isSetPrincipalType());
- builder.append(present_principalType);
- if (present_principalType)
- builder.append(principalType);
-
- boolean present_grantOption = true && (isSetGrantOption());
- builder.append(present_grantOption);
- if (present_grantOption)
- builder.append(grantOption);
-
- boolean present_grantTime = true && (isSetGrantTime());
- builder.append(present_grantTime);
- if (present_grantTime)
- builder.append(grantTime);
-
- boolean present_grantor = true && (isSetGrantor());
- builder.append(present_grantor);
- if (present_grantor)
- builder.append(grantor);
-
return builder.toHashCode();
}
@@ -705,56 +401,6 @@ public class Role implements org.apache.
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(typedOther.isSetPrincipalName());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetPrincipalName()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, typedOther.principalName);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(typedOther.isSetPrincipalType());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetPrincipalType()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, typedOther.principalType);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetGrantOption()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = Boolean.valueOf(isSetGrantTime()).compareTo(typedOther.isSetGrantTime());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetGrantTime()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantTime, typedOther.grantTime);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(typedOther.isSetGrantor());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetGrantor()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, typedOther.grantor);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
return 0;
}
@@ -794,48 +440,6 @@ public class Role implements org.apache.
sb.append(this.ownerName);
}
first = false;
- if (isSetPrincipalName()) {
- if (!first) sb.append(", ");
- sb.append("principalName:");
- if (this.principalName == null) {
- sb.append("null");
- } else {
- sb.append(this.principalName);
- }
- first = false;
- }
- if (isSetPrincipalType()) {
- if (!first) sb.append(", ");
- sb.append("principalType:");
- if (this.principalType == null) {
- sb.append("null");
- } else {
- sb.append(this.principalType);
- }
- first = false;
- }
- if (isSetGrantOption()) {
- if (!first) sb.append(", ");
- sb.append("grantOption:");
- sb.append(this.grantOption);
- first = false;
- }
- if (isSetGrantTime()) {
- if (!first) sb.append(", ");
- sb.append("grantTime:");
- sb.append(this.grantTime);
- first = false;
- }
- if (isSetGrantor()) {
- if (!first) sb.append(", ");
- sb.append("grantor:");
- if (this.grantor == null) {
- sb.append("null");
- } else {
- sb.append(this.grantor);
- }
- first = false;
- }
sb.append(")");
return sb.toString();
}
@@ -905,46 +509,6 @@ public class Role implements org.apache.
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 4: // PRINCIPAL_NAME
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.principalName = iprot.readString();
- struct.setPrincipalNameIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 5: // PRINCIPAL_TYPE
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.principalType = iprot.readString();
- struct.setPrincipalTypeIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 6: // GRANT_OPTION
- if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
- struct.grantOption = iprot.readBool();
- struct.setGrantOptionIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 7: // GRANT_TIME
- if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
- struct.grantTime = iprot.readI32();
- struct.setGrantTimeIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 8: // GRANTOR
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.grantor = iprot.readString();
- struct.setGrantorIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -971,37 +535,6 @@ public class Role implements org.apache.
oprot.writeString(struct.ownerName);
oprot.writeFieldEnd();
}
- if (struct.principalName != null) {
- if (struct.isSetPrincipalName()) {
- oprot.writeFieldBegin(PRINCIPAL_NAME_FIELD_DESC);
- oprot.writeString(struct.principalName);
- oprot.writeFieldEnd();
- }
- }
- if (struct.principalType != null) {
- if (struct.isSetPrincipalType()) {
- oprot.writeFieldBegin(PRINCIPAL_TYPE_FIELD_DESC);
- oprot.writeString(struct.principalType);
- oprot.writeFieldEnd();
- }
- }
- if (struct.isSetGrantOption()) {
- oprot.writeFieldBegin(GRANT_OPTION_FIELD_DESC);
- oprot.writeBool(struct.grantOption);
- oprot.writeFieldEnd();
- }
- if (struct.isSetGrantTime()) {
- oprot.writeFieldBegin(GRANT_TIME_FIELD_DESC);
- oprot.writeI32(struct.grantTime);
- oprot.writeFieldEnd();
- }
- if (struct.grantor != null) {
- if (struct.isSetGrantor()) {
- oprot.writeFieldBegin(GRANTOR_FIELD_DESC);
- oprot.writeString(struct.grantor);
- oprot.writeFieldEnd();
- }
- }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@@ -1029,22 +562,7 @@ public class Role implements org.apache.
if (struct.isSetOwnerName()) {
optionals.set(2);
}
- if (struct.isSetPrincipalName()) {
- optionals.set(3);
- }
- if (struct.isSetPrincipalType()) {
- optionals.set(4);
- }
- if (struct.isSetGrantOption()) {
- optionals.set(5);
- }
- if (struct.isSetGrantTime()) {
- optionals.set(6);
- }
- if (struct.isSetGrantor()) {
- optionals.set(7);
- }
- oprot.writeBitSet(optionals, 8);
+ oprot.writeBitSet(optionals, 3);
if (struct.isSetRoleName()) {
oprot.writeString(struct.roleName);
}
@@ -1054,27 +572,12 @@ public class Role implements org.apache.
if (struct.isSetOwnerName()) {
oprot.writeString(struct.ownerName);
}
- if (struct.isSetPrincipalName()) {
- oprot.writeString(struct.principalName);
- }
- if (struct.isSetPrincipalType()) {
- oprot.writeString(struct.principalType);
- }
- if (struct.isSetGrantOption()) {
- oprot.writeBool(struct.grantOption);
- }
- if (struct.isSetGrantTime()) {
- oprot.writeI32(struct.grantTime);
- }
- if (struct.isSetGrantor()) {
- oprot.writeString(struct.grantor);
- }
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, Role struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
- BitSet incoming = iprot.readBitSet(8);
+ BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
struct.roleName = iprot.readString();
struct.setRoleNameIsSet(true);
@@ -1087,26 +590,6 @@ public class Role implements org.apache.
struct.ownerName = iprot.readString();
struct.setOwnerNameIsSet(true);
}
- if (incoming.get(3)) {
- struct.principalName = iprot.readString();
- struct.setPrincipalNameIsSet(true);
- }
- if (incoming.get(4)) {
- struct.principalType = iprot.readString();
- struct.setPrincipalTypeIsSet(true);
- }
- if (incoming.get(5)) {
- struct.grantOption = iprot.readBool();
- struct.setGrantOptionIsSet(true);
- }
- if (incoming.get(6)) {
- struct.grantTime = iprot.readI32();
- struct.setGrantTimeIsSet(true);
- }
- if (incoming.get(7)) {
- struct.grantor = iprot.readString();
- struct.setGrantorIsSet(true);
- }
}
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java Fri Mar 28 23:33:07 2014
@@ -452,14 +452,14 @@ public class Schema implements org.apach
case 1: // FIELD_SCHEMAS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list236 = iprot.readListBegin();
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list236.size);
- for (int _i237 = 0; _i237 < _list236.size; ++_i237)
+ org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list244.size);
+ for (int _i245 = 0; _i245 < _list244.size; ++_i245)
{
- FieldSchema _elem238; // optional
- _elem238 = new FieldSchema();
- _elem238.read(iprot);
- struct.fieldSchemas.add(_elem238);
+ FieldSchema _elem246; // optional
+ _elem246 = new FieldSchema();
+ _elem246.read(iprot);
+ struct.fieldSchemas.add(_elem246);
}
iprot.readListEnd();
}
@@ -471,15 +471,15 @@ public class Schema implements org.apach
case 2: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map239.size);
- for (int _i240 = 0; _i240 < _map239.size; ++_i240)
+ org.apache.thrift.protocol.TMap _map247 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map247.size);
+ for (int _i248 = 0; _i248 < _map247.size; ++_i248)
{
- String _key241; // required
- String _val242; // required
- _key241 = iprot.readString();
- _val242 = iprot.readString();
- struct.properties.put(_key241, _val242);
+ String _key249; // required
+ String _val250; // required
+ _key249 = iprot.readString();
+ _val250 = iprot.readString();
+ struct.properties.put(_key249, _val250);
}
iprot.readMapEnd();
}
@@ -505,9 +505,9 @@ public class Schema implements org.apach
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 _iter243 : struct.fieldSchemas)
+ for (FieldSchema _iter251 : struct.fieldSchemas)
{
- _iter243.write(oprot);
+ _iter251.write(oprot);
}
oprot.writeListEnd();
}
@@ -517,10 +517,10 @@ public class Schema implements org.apach
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> _iter244 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter252 : struct.properties.entrySet())
{
- oprot.writeString(_iter244.getKey());
- oprot.writeString(_iter244.getValue());
+ oprot.writeString(_iter252.getKey());
+ oprot.writeString(_iter252.getValue());
}
oprot.writeMapEnd();
}
@@ -554,19 +554,19 @@ public class Schema implements org.apach
if (struct.isSetFieldSchemas()) {
{
oprot.writeI32(struct.fieldSchemas.size());
- for (FieldSchema _iter245 : struct.fieldSchemas)
+ for (FieldSchema _iter253 : struct.fieldSchemas)
{
- _iter245.write(oprot);
+ _iter253.write(oprot);
}
}
}
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter246 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter254 : struct.properties.entrySet())
{
- oprot.writeString(_iter246.getKey());
- oprot.writeString(_iter246.getValue());
+ oprot.writeString(_iter254.getKey());
+ oprot.writeString(_iter254.getValue());
}
}
}
@@ -578,29 +578,29 @@ public class Schema implements org.apach
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list247.size);
- for (int _i248 = 0; _i248 < _list247.size; ++_i248)
- {
- FieldSchema _elem249; // optional
- _elem249 = new FieldSchema();
- _elem249.read(iprot);
- struct.fieldSchemas.add(_elem249);
+ org.apache.thrift.protocol.TList _list255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list255.size);
+ for (int _i256 = 0; _i256 < _list255.size; ++_i256)
+ {
+ FieldSchema _elem257; // optional
+ _elem257 = new FieldSchema();
+ _elem257.read(iprot);
+ struct.fieldSchemas.add(_elem257);
}
}
struct.setFieldSchemasIsSet(true);
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TMap _map250 = 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*_map250.size);
- for (int _i251 = 0; _i251 < _map250.size; ++_i251)
- {
- String _key252; // required
- String _val253; // required
- _key252 = iprot.readString();
- _val253 = iprot.readString();
- struct.properties.put(_key252, _val253);
+ org.apache.thrift.protocol.TMap _map258 = 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*_map258.size);
+ for (int _i259 = 0; _i259 < _map258.size; ++_i259)
+ {
+ String _key260; // required
+ String _val261; // required
+ _key260 = iprot.readString();
+ _val261 = iprot.readString();
+ struct.properties.put(_key260, _val261);
}
}
struct.setPropertiesIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java Fri Mar 28 23:33:07 2014
@@ -529,15 +529,15 @@ public class SerDeInfo implements org.ap
case 3: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map96 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map96.size);
- for (int _i97 = 0; _i97 < _map96.size; ++_i97)
+ org.apache.thrift.protocol.TMap _map104 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map104.size);
+ for (int _i105 = 0; _i105 < _map104.size; ++_i105)
{
- String _key98; // required
- String _val99; // required
- _key98 = iprot.readString();
- _val99 = iprot.readString();
- struct.parameters.put(_key98, _val99);
+ String _key106; // required
+ String _val107; // required
+ _key106 = iprot.readString();
+ _val107 = iprot.readString();
+ struct.parameters.put(_key106, _val107);
}
iprot.readMapEnd();
}
@@ -573,10 +573,10 @@ public class SerDeInfo implements org.ap
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> _iter100 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter108 : struct.parameters.entrySet())
{
- oprot.writeString(_iter100.getKey());
- oprot.writeString(_iter100.getValue());
+ oprot.writeString(_iter108.getKey());
+ oprot.writeString(_iter108.getValue());
}
oprot.writeMapEnd();
}
@@ -619,10 +619,10 @@ public class SerDeInfo implements org.ap
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter101 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter109 : struct.parameters.entrySet())
{
- oprot.writeString(_iter101.getKey());
- oprot.writeString(_iter101.getValue());
+ oprot.writeString(_iter109.getKey());
+ oprot.writeString(_iter109.getValue());
}
}
}
@@ -642,15 +642,15 @@ public class SerDeInfo implements org.ap
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TMap _map102 = 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*_map102.size);
- for (int _i103 = 0; _i103 < _map102.size; ++_i103)
+ org.apache.thrift.protocol.TMap _map110 = 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*_map110.size);
+ for (int _i111 = 0; _i111 < _map110.size; ++_i111)
{
- String _key104; // required
- String _val105; // required
- _key104 = iprot.readString();
- _val105 = iprot.readString();
- struct.parameters.put(_key104, _val105);
+ String _key112; // required
+ String _val113; // required
+ _key112 = iprot.readString();
+ _val113 = iprot.readString();
+ struct.parameters.put(_key112, _val113);
}
}
struct.setParametersIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java Fri Mar 28 23:33:07 2014
@@ -350,14 +350,14 @@ public class ShowCompactResponse impleme
case 1: // COMPACTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list410 = iprot.readListBegin();
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list410.size);
- for (int _i411 = 0; _i411 < _list410.size; ++_i411)
+ org.apache.thrift.protocol.TList _list418 = iprot.readListBegin();
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list418.size);
+ for (int _i419 = 0; _i419 < _list418.size; ++_i419)
{
- ShowCompactResponseElement _elem412; // optional
- _elem412 = new ShowCompactResponseElement();
- _elem412.read(iprot);
- struct.compacts.add(_elem412);
+ ShowCompactResponseElement _elem420; // optional
+ _elem420 = new ShowCompactResponseElement();
+ _elem420.read(iprot);
+ struct.compacts.add(_elem420);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ public class ShowCompactResponse impleme
oprot.writeFieldBegin(COMPACTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size()));
- for (ShowCompactResponseElement _iter413 : struct.compacts)
+ for (ShowCompactResponseElement _iter421 : struct.compacts)
{
- _iter413.write(oprot);
+ _iter421.write(oprot);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class ShowCompactResponse impleme
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.compacts.size());
- for (ShowCompactResponseElement _iter414 : struct.compacts)
+ for (ShowCompactResponseElement _iter422 : struct.compacts)
{
- _iter414.write(oprot);
+ _iter422.write(oprot);
}
}
}
@@ -421,14 +421,14 @@ public class ShowCompactResponse impleme
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 _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list415.size);
- for (int _i416 = 0; _i416 < _list415.size; ++_i416)
+ org.apache.thrift.protocol.TList _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list423.size);
+ for (int _i424 = 0; _i424 < _list423.size; ++_i424)
{
- ShowCompactResponseElement _elem417; // optional
- _elem417 = new ShowCompactResponseElement();
- _elem417.read(iprot);
- struct.compacts.add(_elem417);
+ ShowCompactResponseElement _elem425; // optional
+ _elem425 = new ShowCompactResponseElement();
+ _elem425.read(iprot);
+ struct.compacts.add(_elem425);
}
}
struct.setCompactsIsSet(true);
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java?rev=1582911&r1=1582910&r2=1582911&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java Fri Mar 28 23:33:07 2014
@@ -346,14 +346,14 @@ public class ShowLocksResponse implement
case 1: // LOCKS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list402 = iprot.readListBegin();
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list402.size);
- for (int _i403 = 0; _i403 < _list402.size; ++_i403)
+ org.apache.thrift.protocol.TList _list410 = iprot.readListBegin();
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list410.size);
+ for (int _i411 = 0; _i411 < _list410.size; ++_i411)
{
- ShowLocksResponseElement _elem404; // optional
- _elem404 = new ShowLocksResponseElement();
- _elem404.read(iprot);
- struct.locks.add(_elem404);
+ ShowLocksResponseElement _elem412; // optional
+ _elem412 = new ShowLocksResponseElement();
+ _elem412.read(iprot);
+ struct.locks.add(_elem412);
}
iprot.readListEnd();
}
@@ -379,9 +379,9 @@ public class ShowLocksResponse implement
oprot.writeFieldBegin(LOCKS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size()));
- for (ShowLocksResponseElement _iter405 : struct.locks)
+ for (ShowLocksResponseElement _iter413 : struct.locks)
{
- _iter405.write(oprot);
+ _iter413.write(oprot);
}
oprot.writeListEnd();
}
@@ -412,9 +412,9 @@ public class ShowLocksResponse implement
if (struct.isSetLocks()) {
{
oprot.writeI32(struct.locks.size());
- for (ShowLocksResponseElement _iter406 : struct.locks)
+ for (ShowLocksResponseElement _iter414 : struct.locks)
{
- _iter406.write(oprot);
+ _iter414.write(oprot);
}
}
}
@@ -426,14 +426,14 @@ public class ShowLocksResponse implement
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list407.size);
- for (int _i408 = 0; _i408 < _list407.size; ++_i408)
+ org.apache.thrift.protocol.TList _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list415.size);
+ for (int _i416 = 0; _i416 < _list415.size; ++_i416)
{
- ShowLocksResponseElement _elem409; // optional
- _elem409 = new ShowLocksResponseElement();
- _elem409.read(iprot);
- struct.locks.add(_elem409);
+ ShowLocksResponseElement _elem417; // optional
+ _elem417 = new ShowLocksResponseElement();
+ _elem417.read(iprot);
+ struct.locks.add(_elem417);
}
}
struct.setLocksIsSet(true);