You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by br...@apache.org on 2014/09/08 06:38:26 UTC
svn commit: r1623263 [8/28] - in /hive/branches/spark: ./
accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/predicate/
ant/src/org/apache/hadoop/hive/ant/ beeline/src/java/org/apache/hive/beeline/
beeline/src/test/org/apache/hive/beeline/ bin/ ...
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java Mon Sep 8 04:38:17 2014
@@ -435,14 +435,14 @@ public class AggrStats implements org.ap
case 1: // COL_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
- struct.colStats = new ArrayList<ColumnStatisticsObj>(_list244.size);
- for (int _i245 = 0; _i245 < _list244.size; ++_i245)
+ org.apache.thrift.protocol.TList _list278 = iprot.readListBegin();
+ struct.colStats = new ArrayList<ColumnStatisticsObj>(_list278.size);
+ for (int _i279 = 0; _i279 < _list278.size; ++_i279)
{
- ColumnStatisticsObj _elem246; // required
- _elem246 = new ColumnStatisticsObj();
- _elem246.read(iprot);
- struct.colStats.add(_elem246);
+ ColumnStatisticsObj _elem280; // required
+ _elem280 = new ColumnStatisticsObj();
+ _elem280.read(iprot);
+ struct.colStats.add(_elem280);
}
iprot.readListEnd();
}
@@ -476,9 +476,9 @@ public class AggrStats implements org.ap
oprot.writeFieldBegin(COL_STATS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size()));
- for (ColumnStatisticsObj _iter247 : struct.colStats)
+ for (ColumnStatisticsObj _iter281 : struct.colStats)
{
- _iter247.write(oprot);
+ _iter281.write(oprot);
}
oprot.writeListEnd();
}
@@ -506,9 +506,9 @@ public class AggrStats implements org.ap
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.colStats.size());
- for (ColumnStatisticsObj _iter248 : struct.colStats)
+ for (ColumnStatisticsObj _iter282 : struct.colStats)
{
- _iter248.write(oprot);
+ _iter282.write(oprot);
}
}
oprot.writeI64(struct.partsFound);
@@ -518,14 +518,14 @@ public class AggrStats implements org.ap
public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.colStats = new ArrayList<ColumnStatisticsObj>(_list249.size);
- for (int _i250 = 0; _i250 < _list249.size; ++_i250)
+ org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.colStats = new ArrayList<ColumnStatisticsObj>(_list283.size);
+ for (int _i284 = 0; _i284 < _list283.size; ++_i284)
{
- ColumnStatisticsObj _elem251; // required
- _elem251 = new ColumnStatisticsObj();
- _elem251.read(iprot);
- struct.colStats.add(_elem251);
+ ColumnStatisticsObj _elem285; // required
+ _elem285 = new ColumnStatisticsObj();
+ _elem285.read(iprot);
+ struct.colStats.add(_elem285);
}
}
struct.setColStatsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java Mon Sep 8 04:38:17 2014
@@ -447,14 +447,14 @@ public class ColumnStatistics implements
case 2: // STATS_OBJ
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list236 = iprot.readListBegin();
- struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list236.size);
- for (int _i237 = 0; _i237 < _list236.size; ++_i237)
+ org.apache.thrift.protocol.TList _list270 = iprot.readListBegin();
+ struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list270.size);
+ for (int _i271 = 0; _i271 < _list270.size; ++_i271)
{
- ColumnStatisticsObj _elem238; // required
- _elem238 = new ColumnStatisticsObj();
- _elem238.read(iprot);
- struct.statsObj.add(_elem238);
+ ColumnStatisticsObj _elem272; // required
+ _elem272 = new ColumnStatisticsObj();
+ _elem272.read(iprot);
+ struct.statsObj.add(_elem272);
}
iprot.readListEnd();
}
@@ -485,9 +485,9 @@ public class ColumnStatistics implements
oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size()));
- for (ColumnStatisticsObj _iter239 : struct.statsObj)
+ for (ColumnStatisticsObj _iter273 : struct.statsObj)
{
- _iter239.write(oprot);
+ _iter273.write(oprot);
}
oprot.writeListEnd();
}
@@ -513,9 +513,9 @@ public class ColumnStatistics implements
struct.statsDesc.write(oprot);
{
oprot.writeI32(struct.statsObj.size());
- for (ColumnStatisticsObj _iter240 : struct.statsObj)
+ for (ColumnStatisticsObj _iter274 : struct.statsObj)
{
- _iter240.write(oprot);
+ _iter274.write(oprot);
}
}
}
@@ -527,14 +527,14 @@ public class ColumnStatistics implements
struct.statsDesc.read(iprot);
struct.setStatsDescIsSet(true);
{
- org.apache.thrift.protocol.TList _list241 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list241.size);
- for (int _i242 = 0; _i242 < _list241.size; ++_i242)
+ org.apache.thrift.protocol.TList _list275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list275.size);
+ for (int _i276 = 0; _i276 < _list275.size; ++_i276)
{
- ColumnStatisticsObj _elem243; // required
- _elem243 = new ColumnStatisticsObj();
- _elem243.read(iprot);
- struct.statsObj.add(_elem243);
+ ColumnStatisticsObj _elem277; // required
+ _elem277 = new ColumnStatisticsObj();
+ _elem277.read(iprot);
+ struct.statsObj.add(_elem277);
}
}
struct.setStatsObjIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java Mon Sep 8 04:38:17 2014
@@ -342,14 +342,14 @@ public class DropPartitionsResult implem
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list362 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list362.size);
- for (int _i363 = 0; _i363 < _list362.size; ++_i363)
+ org.apache.thrift.protocol.TList _list396 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list396.size);
+ for (int _i397 = 0; _i397 < _list396.size; ++_i397)
{
- Partition _elem364; // required
- _elem364 = new Partition();
- _elem364.read(iprot);
- struct.partitions.add(_elem364);
+ Partition _elem398; // required
+ _elem398 = new Partition();
+ _elem398.read(iprot);
+ struct.partitions.add(_elem398);
}
iprot.readListEnd();
}
@@ -376,9 +376,9 @@ public class DropPartitionsResult implem
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter365 : struct.partitions)
+ for (Partition _iter399 : struct.partitions)
{
- _iter365.write(oprot);
+ _iter399.write(oprot);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class DropPartitionsResult implem
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter366 : struct.partitions)
+ for (Partition _iter400 : struct.partitions)
{
- _iter366.write(oprot);
+ _iter400.write(oprot);
}
}
}
@@ -424,14 +424,14 @@ public class DropPartitionsResult implem
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list367.size);
- for (int _i368 = 0; _i368 < _list367.size; ++_i368)
+ org.apache.thrift.protocol.TList _list401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list401.size);
+ for (int _i402 = 0; _i402 < _list401.size; ++_i402)
{
- Partition _elem369; // required
- _elem369 = new Partition();
- _elem369.read(iprot);
- struct.partitions.add(_elem369);
+ Partition _elem403; // required
+ _elem403 = new Partition();
+ _elem403.read(iprot);
+ struct.partitions.add(_elem403);
}
}
struct.setPartitionsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java Mon Sep 8 04:38:17 2014
@@ -351,15 +351,15 @@ public class EnvironmentContext implemen
case 1: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map278 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map278.size);
- for (int _i279 = 0; _i279 < _map278.size; ++_i279)
+ org.apache.thrift.protocol.TMap _map312 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map312.size);
+ for (int _i313 = 0; _i313 < _map312.size; ++_i313)
{
- String _key280; // required
- String _val281; // required
- _key280 = iprot.readString();
- _val281 = iprot.readString();
- struct.properties.put(_key280, _val281);
+ String _key314; // required
+ String _val315; // required
+ _key314 = iprot.readString();
+ _val315 = iprot.readString();
+ struct.properties.put(_key314, _val315);
}
iprot.readMapEnd();
}
@@ -385,10 +385,10 @@ public class EnvironmentContext implemen
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> _iter282 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter316 : struct.properties.entrySet())
{
- oprot.writeString(_iter282.getKey());
- oprot.writeString(_iter282.getValue());
+ oprot.writeString(_iter316.getKey());
+ oprot.writeString(_iter316.getValue());
}
oprot.writeMapEnd();
}
@@ -419,10 +419,10 @@ public class EnvironmentContext implemen
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter283 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter317 : struct.properties.entrySet())
{
- oprot.writeString(_iter283.getKey());
- oprot.writeString(_iter283.getValue());
+ oprot.writeString(_iter317.getKey());
+ oprot.writeString(_iter317.getValue());
}
}
}
@@ -434,15 +434,15 @@ public class EnvironmentContext implemen
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map284 = 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*_map284.size);
- for (int _i285 = 0; _i285 < _map284.size; ++_i285)
+ 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);
+ for (int _i319 = 0; _i319 < _map318.size; ++_i319)
{
- String _key286; // required
- String _val287; // required
- _key286 = iprot.readString();
- _val287 = iprot.readString();
- struct.properties.put(_key286, _val287);
+ String _key320; // required
+ String _val321; // required
+ _key320 = iprot.readString();
+ _val321 = iprot.readString();
+ struct.properties.put(_key320, _val321);
}
}
struct.setPropertiesIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java Mon Sep 8 04:38:17 2014
@@ -135,9 +135,9 @@ public class FieldSchema implements org.
String comment)
{
this();
- this.name = name;
- this.type = type;
- this.comment = comment;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(name);
+ this.type = org.apache.hive.common.util.HiveStringUtils.intern(type);
+ this.comment = org.apache.hive.common.util.HiveStringUtils.intern(comment);
}
/**
@@ -145,13 +145,13 @@ public class FieldSchema implements org.
*/
public FieldSchema(FieldSchema other) {
if (other.isSetName()) {
- this.name = other.name;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(other.name);
}
if (other.isSetType()) {
- this.type = other.type;
+ this.type = org.apache.hive.common.util.HiveStringUtils.intern(other.type);
}
if (other.isSetComment()) {
- this.comment = other.comment;
+ this.comment = org.apache.hive.common.util.HiveStringUtils.intern(other.comment);
}
}
@@ -171,7 +171,7 @@ public class FieldSchema implements org.
}
public void setName(String name) {
- this.name = name;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(name);
}
public void unsetName() {
@@ -194,7 +194,7 @@ public class FieldSchema implements org.
}
public void setType(String type) {
- this.type = type;
+ this.type = org.apache.hive.common.util.HiveStringUtils.intern(type);
}
public void unsetType() {
@@ -217,7 +217,7 @@ public class FieldSchema implements org.
}
public void setComment(String comment) {
- this.comment = comment;
+ this.comment = org.apache.hive.common.util.HiveStringUtils.intern(comment);
}
public void unsetComment() {
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java Mon Sep 8 04:38:17 2014
@@ -993,14 +993,14 @@ public class Function implements org.apa
case 8: // RESOURCE_URIS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list386 = iprot.readListBegin();
- struct.resourceUris = new ArrayList<ResourceUri>(_list386.size);
- for (int _i387 = 0; _i387 < _list386.size; ++_i387)
+ org.apache.thrift.protocol.TList _list420 = iprot.readListBegin();
+ struct.resourceUris = new ArrayList<ResourceUri>(_list420.size);
+ for (int _i421 = 0; _i421 < _list420.size; ++_i421)
{
- ResourceUri _elem388; // required
- _elem388 = new ResourceUri();
- _elem388.read(iprot);
- struct.resourceUris.add(_elem388);
+ ResourceUri _elem422; // required
+ _elem422 = new ResourceUri();
+ _elem422.read(iprot);
+ struct.resourceUris.add(_elem422);
}
iprot.readListEnd();
}
@@ -1059,9 +1059,9 @@ public class Function implements org.apa
oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size()));
- for (ResourceUri _iter389 : struct.resourceUris)
+ for (ResourceUri _iter423 : struct.resourceUris)
{
- _iter389.write(oprot);
+ _iter423.write(oprot);
}
oprot.writeListEnd();
}
@@ -1134,9 +1134,9 @@ public class Function implements org.apa
if (struct.isSetResourceUris()) {
{
oprot.writeI32(struct.resourceUris.size());
- for (ResourceUri _iter390 : struct.resourceUris)
+ for (ResourceUri _iter424 : struct.resourceUris)
{
- _iter390.write(oprot);
+ _iter424.write(oprot);
}
}
}
@@ -1176,14 +1176,14 @@ public class Function implements org.apa
}
if (incoming.get(7)) {
{
- org.apache.thrift.protocol.TList _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.resourceUris = new ArrayList<ResourceUri>(_list391.size);
- for (int _i392 = 0; _i392 < _list391.size; ++_i392)
+ org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.resourceUris = new ArrayList<ResourceUri>(_list425.size);
+ for (int _i426 = 0; _i426 < _list425.size; ++_i426)
{
- ResourceUri _elem393; // required
- _elem393 = new ResourceUri();
- _elem393.read(iprot);
- struct.resourceUris.add(_elem393);
+ ResourceUri _elem427; // required
+ _elem427 = new ResourceUri();
+ _elem427.read(iprot);
+ struct.resourceUris.add(_elem427);
}
}
struct.setResourceUrisIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java Mon Sep 8 04:38:17 2014
@@ -443,14 +443,14 @@ public class GetOpenTxnsInfoResponse imp
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list394 = iprot.readListBegin();
- struct.open_txns = new ArrayList<TxnInfo>(_list394.size);
- for (int _i395 = 0; _i395 < _list394.size; ++_i395)
+ org.apache.thrift.protocol.TList _list428 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<TxnInfo>(_list428.size);
+ for (int _i429 = 0; _i429 < _list428.size; ++_i429)
{
- TxnInfo _elem396; // required
- _elem396 = new TxnInfo();
- _elem396.read(iprot);
- struct.open_txns.add(_elem396);
+ TxnInfo _elem430; // required
+ _elem430 = new TxnInfo();
+ _elem430.read(iprot);
+ struct.open_txns.add(_elem430);
}
iprot.readListEnd();
}
@@ -479,9 +479,9 @@ public class GetOpenTxnsInfoResponse imp
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size()));
- for (TxnInfo _iter397 : struct.open_txns)
+ for (TxnInfo _iter431 : struct.open_txns)
{
- _iter397.write(oprot);
+ _iter431.write(oprot);
}
oprot.writeListEnd();
}
@@ -507,9 +507,9 @@ public class GetOpenTxnsInfoResponse imp
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (TxnInfo _iter398 : struct.open_txns)
+ for (TxnInfo _iter432 : struct.open_txns)
{
- _iter398.write(oprot);
+ _iter432.write(oprot);
}
}
}
@@ -520,14 +520,14 @@ public class GetOpenTxnsInfoResponse imp
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.open_txns = new ArrayList<TxnInfo>(_list399.size);
- for (int _i400 = 0; _i400 < _list399.size; ++_i400)
+ org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.open_txns = new ArrayList<TxnInfo>(_list433.size);
+ for (int _i434 = 0; _i434 < _list433.size; ++_i434)
{
- TxnInfo _elem401; // required
- _elem401 = new TxnInfo();
- _elem401.read(iprot);
- struct.open_txns.add(_elem401);
+ TxnInfo _elem435; // required
+ _elem435 = new TxnInfo();
+ _elem435.read(iprot);
+ struct.open_txns.add(_elem435);
}
}
struct.setOpen_txnsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java Mon Sep 8 04:38:17 2014
@@ -443,13 +443,13 @@ public class GetOpenTxnsResponse impleme
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set402 = iprot.readSetBegin();
- struct.open_txns = new HashSet<Long>(2*_set402.size);
- for (int _i403 = 0; _i403 < _set402.size; ++_i403)
+ org.apache.thrift.protocol.TSet _set436 = iprot.readSetBegin();
+ struct.open_txns = new HashSet<Long>(2*_set436.size);
+ for (int _i437 = 0; _i437 < _set436.size; ++_i437)
{
- long _elem404; // required
- _elem404 = iprot.readI64();
- struct.open_txns.add(_elem404);
+ long _elem438; // required
+ _elem438 = iprot.readI64();
+ struct.open_txns.add(_elem438);
}
iprot.readSetEnd();
}
@@ -478,9 +478,9 @@ public class GetOpenTxnsResponse impleme
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.open_txns.size()));
- for (long _iter405 : struct.open_txns)
+ for (long _iter439 : struct.open_txns)
{
- oprot.writeI64(_iter405);
+ oprot.writeI64(_iter439);
}
oprot.writeSetEnd();
}
@@ -506,9 +506,9 @@ public class GetOpenTxnsResponse impleme
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (long _iter406 : struct.open_txns)
+ for (long _iter440 : struct.open_txns)
{
- oprot.writeI64(_iter406);
+ oprot.writeI64(_iter440);
}
}
}
@@ -519,13 +519,13 @@ public class GetOpenTxnsResponse impleme
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TSet _set407 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.open_txns = new HashSet<Long>(2*_set407.size);
- for (int _i408 = 0; _i408 < _set407.size; ++_i408)
+ org.apache.thrift.protocol.TSet _set441 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.open_txns = new HashSet<Long>(2*_set441.size);
+ for (int _i442 = 0; _i442 < _set441.size; ++_i442)
{
- long _elem409; // required
- _elem409 = iprot.readI64();
- struct.open_txns.add(_elem409);
+ long _elem443; // required
+ _elem443 = iprot.readI64();
+ struct.open_txns.add(_elem443);
}
}
struct.setOpen_txnsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java Mon Sep 8 04:38:17 2014
@@ -455,13 +455,13 @@ public class HeartbeatTxnRangeResponse i
case 1: // ABORTED
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set434 = iprot.readSetBegin();
- struct.aborted = new HashSet<Long>(2*_set434.size);
- for (int _i435 = 0; _i435 < _set434.size; ++_i435)
+ org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin();
+ struct.aborted = new HashSet<Long>(2*_set468.size);
+ for (int _i469 = 0; _i469 < _set468.size; ++_i469)
{
- long _elem436; // required
- _elem436 = iprot.readI64();
- struct.aborted.add(_elem436);
+ long _elem470; // required
+ _elem470 = iprot.readI64();
+ struct.aborted.add(_elem470);
}
iprot.readSetEnd();
}
@@ -473,13 +473,13 @@ public class HeartbeatTxnRangeResponse i
case 2: // NOSUCH
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set437 = iprot.readSetBegin();
- struct.nosuch = new HashSet<Long>(2*_set437.size);
- for (int _i438 = 0; _i438 < _set437.size; ++_i438)
+ org.apache.thrift.protocol.TSet _set471 = iprot.readSetBegin();
+ struct.nosuch = new HashSet<Long>(2*_set471.size);
+ for (int _i472 = 0; _i472 < _set471.size; ++_i472)
{
- long _elem439; // required
- _elem439 = iprot.readI64();
- struct.nosuch.add(_elem439);
+ long _elem473; // required
+ _elem473 = iprot.readI64();
+ struct.nosuch.add(_elem473);
}
iprot.readSetEnd();
}
@@ -505,9 +505,9 @@ public class HeartbeatTxnRangeResponse i
oprot.writeFieldBegin(ABORTED_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size()));
- for (long _iter440 : struct.aborted)
+ for (long _iter474 : struct.aborted)
{
- oprot.writeI64(_iter440);
+ oprot.writeI64(_iter474);
}
oprot.writeSetEnd();
}
@@ -517,9 +517,9 @@ public class HeartbeatTxnRangeResponse i
oprot.writeFieldBegin(NOSUCH_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size()));
- for (long _iter441 : struct.nosuch)
+ for (long _iter475 : struct.nosuch)
{
- oprot.writeI64(_iter441);
+ oprot.writeI64(_iter475);
}
oprot.writeSetEnd();
}
@@ -544,16 +544,16 @@ public class HeartbeatTxnRangeResponse i
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.aborted.size());
- for (long _iter442 : struct.aborted)
+ for (long _iter476 : struct.aborted)
{
- oprot.writeI64(_iter442);
+ oprot.writeI64(_iter476);
}
}
{
oprot.writeI32(struct.nosuch.size());
- for (long _iter443 : struct.nosuch)
+ for (long _iter477 : struct.nosuch)
{
- oprot.writeI64(_iter443);
+ oprot.writeI64(_iter477);
}
}
}
@@ -562,24 +562,24 @@ public class HeartbeatTxnRangeResponse i
public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TSet _set444 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.aborted = new HashSet<Long>(2*_set444.size);
- for (int _i445 = 0; _i445 < _set444.size; ++_i445)
- {
- long _elem446; // required
- _elem446 = iprot.readI64();
- struct.aborted.add(_elem446);
+ org.apache.thrift.protocol.TSet _set478 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.aborted = new HashSet<Long>(2*_set478.size);
+ for (int _i479 = 0; _i479 < _set478.size; ++_i479)
+ {
+ long _elem480; // required
+ _elem480 = iprot.readI64();
+ struct.aborted.add(_elem480);
}
}
struct.setAbortedIsSet(true);
{
- org.apache.thrift.protocol.TSet _set447 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.nosuch = new HashSet<Long>(2*_set447.size);
- for (int _i448 = 0; _i448 < _set447.size; ++_i448)
- {
- long _elem449; // required
- _elem449 = iprot.readI64();
- struct.nosuch.add(_elem449);
+ org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.nosuch = new HashSet<Long>(2*_set481.size);
+ for (int _i482 = 0; _i482 < _set481.size; ++_i482)
+ {
+ long _elem483; // required
+ _elem483 = iprot.readI64();
+ struct.nosuch.add(_elem483);
}
}
struct.setNosuchIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java Mon Sep 8 04:38:17 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 _map226 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map226.size);
- for (int _i227 = 0; _i227 < _map226.size; ++_i227)
+ org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map260.size);
+ for (int _i261 = 0; _i261 < _map260.size; ++_i261)
{
- String _key228; // required
- String _val229; // required
- _key228 = iprot.readString();
- _val229 = iprot.readString();
- struct.parameters.put(_key228, _val229);
+ String _key262; // required
+ String _val263; // required
+ _key262 = iprot.readString();
+ _val263 = iprot.readString();
+ struct.parameters.put(_key262, _val263);
}
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> _iter230 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter264 : struct.parameters.entrySet())
{
- oprot.writeString(_iter230.getKey());
- oprot.writeString(_iter230.getValue());
+ oprot.writeString(_iter264.getKey());
+ oprot.writeString(_iter264.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> _iter231 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter265 : struct.parameters.entrySet())
{
- oprot.writeString(_iter231.getKey());
- oprot.writeString(_iter231.getValue());
+ oprot.writeString(_iter265.getKey());
+ oprot.writeString(_iter265.getValue());
}
}
}
@@ -1357,15 +1357,15 @@ public class Index implements org.apache
}
if (incoming.get(8)) {
{
- 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)
+ org.apache.thrift.protocol.TMap _map266 = 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*_map266.size);
+ for (int _i267 = 0; _i267 < _map266.size; ++_i267)
{
- String _key234; // required
- String _val235; // required
- _key234 = iprot.readString();
- _val235 = iprot.readString();
- struct.parameters.put(_key234, _val235);
+ String _key268; // required
+ String _val269; // required
+ _key268 = iprot.readString();
+ _val269 = iprot.readString();
+ struct.parameters.put(_key268, _val269);
}
}
struct.setParametersIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java Mon Sep 8 04:38:17 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 _list418 = iprot.readListBegin();
- struct.component = new ArrayList<LockComponent>(_list418.size);
- for (int _i419 = 0; _i419 < _list418.size; ++_i419)
+ org.apache.thrift.protocol.TList _list452 = iprot.readListBegin();
+ struct.component = new ArrayList<LockComponent>(_list452.size);
+ for (int _i453 = 0; _i453 < _list452.size; ++_i453)
{
- LockComponent _elem420; // required
- _elem420 = new LockComponent();
- _elem420.read(iprot);
- struct.component.add(_elem420);
+ LockComponent _elem454; // required
+ _elem454 = new LockComponent();
+ _elem454.read(iprot);
+ struct.component.add(_elem454);
}
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 _iter421 : struct.component)
+ for (LockComponent _iter455 : struct.component)
{
- _iter421.write(oprot);
+ _iter455.write(oprot);
}
oprot.writeListEnd();
}
@@ -700,9 +700,9 @@ public class LockRequest implements org.
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.component.size());
- for (LockComponent _iter422 : struct.component)
+ for (LockComponent _iter456 : struct.component)
{
- _iter422.write(oprot);
+ _iter456.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 _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.component = new ArrayList<LockComponent>(_list423.size);
- for (int _i424 = 0; _i424 < _list423.size; ++_i424)
+ org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.component = new ArrayList<LockComponent>(_list457.size);
+ for (int _i458 = 0; _i458 < _list457.size; ++_i458)
{
- LockComponent _elem425; // required
- _elem425 = new LockComponent();
- _elem425.read(iprot);
- struct.component.add(_elem425);
+ LockComponent _elem459; // required
+ _elem459 = new LockComponent();
+ _elem459.read(iprot);
+ struct.component.add(_elem459);
}
}
struct.setComponentIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java Mon Sep 8 04:38:17 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 _list410 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list410.size);
- for (int _i411 = 0; _i411 < _list410.size; ++_i411)
+ org.apache.thrift.protocol.TList _list444 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list444.size);
+ for (int _i445 = 0; _i445 < _list444.size; ++_i445)
{
- long _elem412; // required
- _elem412 = iprot.readI64();
- struct.txn_ids.add(_elem412);
+ long _elem446; // required
+ _elem446 = iprot.readI64();
+ struct.txn_ids.add(_elem446);
}
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 _iter413 : struct.txn_ids)
+ for (long _iter447 : struct.txn_ids)
{
- oprot.writeI64(_iter413);
+ oprot.writeI64(_iter447);
}
oprot.writeListEnd();
}
@@ -409,9 +409,9 @@ public class OpenTxnsResponse implements
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter414 : struct.txn_ids)
+ for (long _iter448 : struct.txn_ids)
{
- oprot.writeI64(_iter414);
+ oprot.writeI64(_iter448);
}
}
}
@@ -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 _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list415.size);
- for (int _i416 = 0; _i416 < _list415.size; ++_i416)
+ org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list449.size);
+ for (int _i450 = 0; _i450 < _list449.size; ++_i450)
{
- long _elem417; // required
- _elem417 = iprot.readI64();
- struct.txn_ids.add(_elem417);
+ long _elem451; // required
+ _elem451 = iprot.readI64();
+ struct.txn_ids.add(_elem451);
}
}
struct.setTxn_idsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java Mon Sep 8 04:38:17 2014
@@ -182,14 +182,14 @@ public class Partition implements org.ap
{
this();
this.values = values;
- this.dbName = dbName;
- this.tableName = tableName;
+ this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName);
+ this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName);
this.createTime = createTime;
setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
this.sd = sd;
- this.parameters = parameters;
+ this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
}
/**
@@ -205,10 +205,10 @@ public class Partition implements org.ap
this.values = __this__values;
}
if (other.isSetDbName()) {
- this.dbName = other.dbName;
+ this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(other.dbName);
}
if (other.isSetTableName()) {
- this.tableName = other.tableName;
+ this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(other.tableName);
}
this.createTime = other.createTime;
this.lastAccessTime = other.lastAccessTime;
@@ -222,9 +222,9 @@ public class Partition implements org.ap
String other_element_key = other_element.getKey();
String other_element_value = other_element.getValue();
- String __this__parameters_copy_key = other_element_key;
+ String __this__parameters_copy_key = org.apache.hive.common.util.HiveStringUtils.intern(other_element_key);
- String __this__parameters_copy_value = other_element_value;
+ String __this__parameters_copy_value = org.apache.hive.common.util.HiveStringUtils.intern(other_element_value);
__this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value);
}
@@ -296,7 +296,7 @@ public class Partition implements org.ap
}
public void setDbName(String dbName) {
- this.dbName = dbName;
+ this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName);
}
public void unsetDbName() {
@@ -319,7 +319,7 @@ public class Partition implements org.ap
}
public void setTableName(String tableName) {
- this.tableName = tableName;
+ this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName);
}
public void unsetTableName() {
@@ -420,7 +420,7 @@ public class Partition implements org.ap
}
public void setParameters(Map<String,String> parameters) {
- this.parameters = parameters;
+ this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
}
public void unsetParameters() {
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java Mon Sep 8 04:38:17 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 _list288 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list288.size);
- for (int _i289 = 0; _i289 < _list288.size; ++_i289)
+ org.apache.thrift.protocol.TList _list322 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list322.size);
+ for (int _i323 = 0; _i323 < _list322.size; ++_i323)
{
- Partition _elem290; // required
- _elem290 = new Partition();
- _elem290.read(iprot);
- struct.partitions.add(_elem290);
+ Partition _elem324; // required
+ _elem324 = new Partition();
+ _elem324.read(iprot);
+ struct.partitions.add(_elem324);
}
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 _iter291 : struct.partitions)
+ for (Partition _iter325 : struct.partitions)
{
- _iter291.write(oprot);
+ _iter325.write(oprot);
}
oprot.writeListEnd();
}
@@ -506,9 +506,9 @@ public class PartitionsByExprResult impl
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter292 : struct.partitions)
+ for (Partition _iter326 : struct.partitions)
{
- _iter292.write(oprot);
+ _iter326.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 _list293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list293.size);
- for (int _i294 = 0; _i294 < _list293.size; ++_i294)
+ org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list327.size);
+ for (int _i328 = 0; _i328 < _list327.size; ++_i328)
{
- Partition _elem295; // required
- _elem295 = new Partition();
- _elem295.read(iprot);
- struct.partitions.add(_elem295);
+ Partition _elem329; // required
+ _elem329 = new Partition();
+ _elem329.read(iprot);
+ struct.partitions.add(_elem329);
}
}
struct.setPartitionsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java Mon Sep 8 04:38:17 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 _list330 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list330.size);
- for (int _i331 = 0; _i331 < _list330.size; ++_i331)
+ org.apache.thrift.protocol.TList _list364 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list364.size);
+ for (int _i365 = 0; _i365 < _list364.size; ++_i365)
{
- String _elem332; // required
- _elem332 = iprot.readString();
- struct.colNames.add(_elem332);
+ String _elem366; // required
+ _elem366 = iprot.readString();
+ struct.colNames.add(_elem366);
}
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 _list333 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list333.size);
- for (int _i334 = 0; _i334 < _list333.size; ++_i334)
+ org.apache.thrift.protocol.TList _list367 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list367.size);
+ for (int _i368 = 0; _i368 < _list367.size; ++_i368)
{
- String _elem335; // required
- _elem335 = iprot.readString();
- struct.partNames.add(_elem335);
+ String _elem369; // required
+ _elem369 = iprot.readString();
+ struct.partNames.add(_elem369);
}
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 _iter336 : struct.colNames)
+ for (String _iter370 : struct.colNames)
{
- oprot.writeString(_iter336);
+ oprot.writeString(_iter370);
}
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 _iter337 : struct.partNames)
+ for (String _iter371 : struct.partNames)
{
- oprot.writeString(_iter337);
+ oprot.writeString(_iter371);
}
oprot.writeListEnd();
}
@@ -742,16 +742,16 @@ public class PartitionsStatsRequest impl
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter338 : struct.colNames)
+ for (String _iter372 : struct.colNames)
{
- oprot.writeString(_iter338);
+ oprot.writeString(_iter372);
}
}
{
oprot.writeI32(struct.partNames.size());
- for (String _iter339 : struct.partNames)
+ for (String _iter373 : struct.partNames)
{
- oprot.writeString(_iter339);
+ oprot.writeString(_iter373);
}
}
}
@@ -764,24 +764,24 @@ public class PartitionsStatsRequest impl
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list340 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list340.size);
- for (int _i341 = 0; _i341 < _list340.size; ++_i341)
- {
- String _elem342; // required
- _elem342 = iprot.readString();
- struct.colNames.add(_elem342);
+ org.apache.thrift.protocol.TList _list374 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list374.size);
+ for (int _i375 = 0; _i375 < _list374.size; ++_i375)
+ {
+ String _elem376; // required
+ _elem376 = iprot.readString();
+ struct.colNames.add(_elem376);
}
}
struct.setColNamesIsSet(true);
{
- org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list343.size);
- for (int _i344 = 0; _i344 < _list343.size; ++_i344)
- {
- String _elem345; // required
- _elem345 = iprot.readString();
- struct.partNames.add(_elem345);
+ org.apache.thrift.protocol.TList _list377 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list377.size);
+ for (int _i378 = 0; _i378 < _list377.size; ++_i378)
+ {
+ String _elem379; // required
+ _elem379 = iprot.readString();
+ struct.partNames.add(_elem379);
}
}
struct.setPartNamesIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java Mon Sep 8 04:38:17 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 _map304 = iprot.readMapBegin();
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map304.size);
- for (int _i305 = 0; _i305 < _map304.size; ++_i305)
+ org.apache.thrift.protocol.TMap _map338 = iprot.readMapBegin();
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map338.size);
+ for (int _i339 = 0; _i339 < _map338.size; ++_i339)
{
- String _key306; // required
- List<ColumnStatisticsObj> _val307; // required
- _key306 = iprot.readString();
+ String _key340; // required
+ List<ColumnStatisticsObj> _val341; // required
+ _key340 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
- _val307 = new ArrayList<ColumnStatisticsObj>(_list308.size);
- for (int _i309 = 0; _i309 < _list308.size; ++_i309)
+ org.apache.thrift.protocol.TList _list342 = iprot.readListBegin();
+ _val341 = new ArrayList<ColumnStatisticsObj>(_list342.size);
+ for (int _i343 = 0; _i343 < _list342.size; ++_i343)
{
- ColumnStatisticsObj _elem310; // required
- _elem310 = new ColumnStatisticsObj();
- _elem310.read(iprot);
- _val307.add(_elem310);
+ ColumnStatisticsObj _elem344; // required
+ _elem344 = new ColumnStatisticsObj();
+ _elem344.read(iprot);
+ _val341.add(_elem344);
}
iprot.readListEnd();
}
- struct.partStats.put(_key306, _val307);
+ struct.partStats.put(_key340, _val341);
}
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>> _iter311 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter345 : struct.partStats.entrySet())
{
- oprot.writeString(_iter311.getKey());
+ oprot.writeString(_iter345.getKey());
{
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter311.getValue().size()));
- for (ColumnStatisticsObj _iter312 : _iter311.getValue())
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter345.getValue().size()));
+ for (ColumnStatisticsObj _iter346 : _iter345.getValue())
{
- _iter312.write(oprot);
+ _iter346.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>> _iter313 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter347 : struct.partStats.entrySet())
{
- oprot.writeString(_iter313.getKey());
+ oprot.writeString(_iter347.getKey());
{
- oprot.writeI32(_iter313.getValue().size());
- for (ColumnStatisticsObj _iter314 : _iter313.getValue())
+ oprot.writeI32(_iter347.getValue().size());
+ for (ColumnStatisticsObj _iter348 : _iter347.getValue())
{
- _iter314.write(oprot);
+ _iter348.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 _map315 = 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*_map315.size);
- for (int _i316 = 0; _i316 < _map315.size; ++_i316)
+ org.apache.thrift.protocol.TMap _map349 = 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*_map349.size);
+ for (int _i350 = 0; _i350 < _map349.size; ++_i350)
{
- String _key317; // required
- List<ColumnStatisticsObj> _val318; // required
- _key317 = iprot.readString();
+ String _key351; // required
+ List<ColumnStatisticsObj> _val352; // required
+ _key351 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- _val318 = new ArrayList<ColumnStatisticsObj>(_list319.size);
- for (int _i320 = 0; _i320 < _list319.size; ++_i320)
+ org.apache.thrift.protocol.TList _list353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ _val352 = new ArrayList<ColumnStatisticsObj>(_list353.size);
+ for (int _i354 = 0; _i354 < _list353.size; ++_i354)
{
- ColumnStatisticsObj _elem321; // required
- _elem321 = new ColumnStatisticsObj();
- _elem321.read(iprot);
- _val318.add(_elem321);
+ ColumnStatisticsObj _elem355; // required
+ _elem355 = new ColumnStatisticsObj();
+ _elem355.read(iprot);
+ _val352.add(_elem355);
}
}
- struct.partStats.put(_key317, _val318);
+ struct.partStats.put(_key351, _val352);
}
}
struct.setPartStatsIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java Mon Sep 8 04:38:17 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 _list370 = iprot.readListBegin();
- names = new ArrayList<String>(_list370.size);
- for (int _i371 = 0; _i371 < _list370.size; ++_i371)
+ org.apache.thrift.protocol.TList _list404 = iprot.readListBegin();
+ names = new ArrayList<String>(_list404.size);
+ for (int _i405 = 0; _i405 < _list404.size; ++_i405)
{
- String _elem372; // required
- _elem372 = iprot.readString();
- names.add(_elem372);
+ String _elem406; // required
+ _elem406 = iprot.readString();
+ names.add(_elem406);
}
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 _list373 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list373.size);
- for (int _i374 = 0; _i374 < _list373.size; ++_i374)
+ org.apache.thrift.protocol.TList _list407 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list407.size);
+ for (int _i408 = 0; _i408 < _list407.size; ++_i408)
{
- DropPartitionsExpr _elem375; // required
- _elem375 = new DropPartitionsExpr();
- _elem375.read(iprot);
- exprs.add(_elem375);
+ DropPartitionsExpr _elem409; // required
+ _elem409 = new DropPartitionsExpr();
+ _elem409.read(iprot);
+ exprs.add(_elem409);
}
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 _iter376 : names)
+ for (String _iter410 : names)
{
- oprot.writeString(_iter376);
+ oprot.writeString(_iter410);
}
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 _iter377 : exprs)
+ for (DropPartitionsExpr _iter411 : exprs)
{
- _iter377.write(oprot);
+ _iter411.write(oprot);
}
oprot.writeListEnd();
}
@@ -246,13 +246,13 @@ public class RequestPartsSpec extends or
case NAMES:
List<String> names;
{
- org.apache.thrift.protocol.TList _list378 = iprot.readListBegin();
- names = new ArrayList<String>(_list378.size);
- for (int _i379 = 0; _i379 < _list378.size; ++_i379)
+ org.apache.thrift.protocol.TList _list412 = iprot.readListBegin();
+ names = new ArrayList<String>(_list412.size);
+ for (int _i413 = 0; _i413 < _list412.size; ++_i413)
{
- String _elem380; // required
- _elem380 = iprot.readString();
- names.add(_elem380);
+ String _elem414; // required
+ _elem414 = iprot.readString();
+ names.add(_elem414);
}
iprot.readListEnd();
}
@@ -260,14 +260,14 @@ public class RequestPartsSpec extends or
case EXPRS:
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list381 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list381.size);
- for (int _i382 = 0; _i382 < _list381.size; ++_i382)
+ org.apache.thrift.protocol.TList _list415 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list415.size);
+ for (int _i416 = 0; _i416 < _list415.size; ++_i416)
{
- DropPartitionsExpr _elem383; // required
- _elem383 = new DropPartitionsExpr();
- _elem383.read(iprot);
- exprs.add(_elem383);
+ DropPartitionsExpr _elem417; // required
+ _elem417 = new DropPartitionsExpr();
+ _elem417.read(iprot);
+ exprs.add(_elem417);
}
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 _iter384 : names)
+ for (String _iter418 : names)
{
- oprot.writeString(_iter384);
+ oprot.writeString(_iter418);
}
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 _iter385 : exprs)
+ for (DropPartitionsExpr _iter419 : exprs)
{
- _iter385.write(oprot);
+ _iter419.write(oprot);
}
oprot.writeListEnd();
}
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java Mon Sep 8 04:38:17 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 _list260 = iprot.readListBegin();
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list260.size);
- for (int _i261 = 0; _i261 < _list260.size; ++_i261)
+ org.apache.thrift.protocol.TList _list294 = iprot.readListBegin();
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list294.size);
+ for (int _i295 = 0; _i295 < _list294.size; ++_i295)
{
- FieldSchema _elem262; // required
- _elem262 = new FieldSchema();
- _elem262.read(iprot);
- struct.fieldSchemas.add(_elem262);
+ FieldSchema _elem296; // required
+ _elem296 = new FieldSchema();
+ _elem296.read(iprot);
+ struct.fieldSchemas.add(_elem296);
}
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 _map263 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map263.size);
- for (int _i264 = 0; _i264 < _map263.size; ++_i264)
+ org.apache.thrift.protocol.TMap _map297 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map297.size);
+ for (int _i298 = 0; _i298 < _map297.size; ++_i298)
{
- String _key265; // required
- String _val266; // required
- _key265 = iprot.readString();
- _val266 = iprot.readString();
- struct.properties.put(_key265, _val266);
+ String _key299; // required
+ String _val300; // required
+ _key299 = iprot.readString();
+ _val300 = iprot.readString();
+ struct.properties.put(_key299, _val300);
}
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 _iter267 : struct.fieldSchemas)
+ for (FieldSchema _iter301 : struct.fieldSchemas)
{
- _iter267.write(oprot);
+ _iter301.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> _iter268 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter302 : struct.properties.entrySet())
{
- oprot.writeString(_iter268.getKey());
- oprot.writeString(_iter268.getValue());
+ oprot.writeString(_iter302.getKey());
+ oprot.writeString(_iter302.getValue());
}
oprot.writeMapEnd();
}
@@ -554,19 +554,19 @@ public class Schema implements org.apach
if (struct.isSetFieldSchemas()) {
{
oprot.writeI32(struct.fieldSchemas.size());
- for (FieldSchema _iter269 : struct.fieldSchemas)
+ for (FieldSchema _iter303 : struct.fieldSchemas)
{
- _iter269.write(oprot);
+ _iter303.write(oprot);
}
}
}
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter270 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter304 : struct.properties.entrySet())
{
- oprot.writeString(_iter270.getKey());
- oprot.writeString(_iter270.getValue());
+ oprot.writeString(_iter304.getKey());
+ oprot.writeString(_iter304.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 _list271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list271.size);
- for (int _i272 = 0; _i272 < _list271.size; ++_i272)
- {
- FieldSchema _elem273; // required
- _elem273 = new FieldSchema();
- _elem273.read(iprot);
- struct.fieldSchemas.add(_elem273);
+ 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);
+ for (int _i306 = 0; _i306 < _list305.size; ++_i306)
+ {
+ FieldSchema _elem307; // required
+ _elem307 = new FieldSchema();
+ _elem307.read(iprot);
+ struct.fieldSchemas.add(_elem307);
}
}
struct.setFieldSchemasIsSet(true);
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TMap _map274 = 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*_map274.size);
- for (int _i275 = 0; _i275 < _map274.size; ++_i275)
- {
- String _key276; // required
- String _val277; // required
- _key276 = iprot.readString();
- _val277 = iprot.readString();
- struct.properties.put(_key276, _val277);
+ 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);
+ for (int _i309 = 0; _i309 < _map308.size; ++_i309)
+ {
+ String _key310; // required
+ String _val311; // required
+ _key310 = iprot.readString();
+ _val311 = iprot.readString();
+ struct.properties.put(_key310, _val311);
}
}
struct.setPropertiesIsSet(true);
Modified: hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java?rev=1623263&r1=1623262&r2=1623263&view=diff
==============================================================================
--- hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java (original)
+++ hive/branches/spark/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java Mon Sep 8 04:38:17 2014
@@ -137,9 +137,9 @@ public class SerDeInfo implements org.ap
Map<String,String> parameters)
{
this();
- this.name = name;
- this.serializationLib = serializationLib;
- this.parameters = parameters;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(name);
+ this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(serializationLib);
+ this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
}
/**
@@ -147,10 +147,10 @@ public class SerDeInfo implements org.ap
*/
public SerDeInfo(SerDeInfo other) {
if (other.isSetName()) {
- this.name = other.name;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(other.name);
}
if (other.isSetSerializationLib()) {
- this.serializationLib = other.serializationLib;
+ this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(other.serializationLib);
}
if (other.isSetParameters()) {
Map<String,String> __this__parameters = new HashMap<String,String>();
@@ -159,9 +159,9 @@ public class SerDeInfo implements org.ap
String other_element_key = other_element.getKey();
String other_element_value = other_element.getValue();
- String __this__parameters_copy_key = other_element_key;
+ String __this__parameters_copy_key = org.apache.hive.common.util.HiveStringUtils.intern(other_element_key);
- String __this__parameters_copy_value = other_element_value;
+ String __this__parameters_copy_value = org.apache.hive.common.util.HiveStringUtils.intern(other_element_value);
__this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value);
}
@@ -185,7 +185,7 @@ public class SerDeInfo implements org.ap
}
public void setName(String name) {
- this.name = name;
+ this.name = org.apache.hive.common.util.HiveStringUtils.intern(name);
}
public void unsetName() {
@@ -208,7 +208,7 @@ public class SerDeInfo implements org.ap
}
public void setSerializationLib(String serializationLib) {
- this.serializationLib = serializationLib;
+ this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(serializationLib);
}
public void unsetSerializationLib() {
@@ -242,7 +242,7 @@ public class SerDeInfo implements org.ap
}
public void setParameters(Map<String,String> parameters) {
- this.parameters = parameters;
+ this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
}
public void unsetParameters() {