}
}
@Override
public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, Metric struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
struct.name = iprot.readString();
struct.setNameIsSet(true);
}
if (incoming.get(1)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map186 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.strMap = new HashMap<String,String>(2*_map186.size);
for (int _i187 = 0; _i187 < _map186.size; ++_i187)
{
String _key188; // required
String _val189; // optional
_key188 = iprot.readString();
_val189 = iprot.readString();
struct.strMap.put(_key188, _val189);
}
}
struct.setStrMapIsSet(true);
}
if (incoming.get(2)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map190 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, iprot.readI32());
struct.longMap = new HashMap<String,Long>(2*_map190.size);
for (int _i191 = 0; _i191 < _map190.size; ++_i191)
{
String _key192; // required
long _val193; // optional
_key192 = iprot.readString();
_val193 = iprot.readI64();
struct.longMap.put(_key192, _val193);
}
}
struct.setLongMapIsSet(true);
}
if (incoming.get(3)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map194 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.DOUBLE, iprot.readI32());
struct.doubleMap = new HashMap<String,Double>(2*_map194.size);
for (int _i195 = 0; _i195 < _map194.size; ++_i195)
{
String _key196; // required
double _val197; // optional
_key196 = iprot.readString();
_val197 = iprot.readDouble();
struct.doubleMap.put(_key196, _val197);
}
}
struct.setDoubleMapIsSet(true);
}