public void read(org.apache.thrift.protocol.TProtocol iprot, Credentials struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map194 = iprot.readMapBegin(); struct.creds = new HashMap<String,String>(2*_map194.size); String _key195; struct.creds.put(_key195, _val196); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
@Override public Map<Object, Object> deserialize(Object reuse, TProtocol iprot) throws SerDeException, TException, IllegalAccessException { Map<Object, Object> deserializeReuse; if (reuse != null && reuse.getClass() == LinkedHashMap.class) { deserializeReuse = (Map<Object, Object>) reuse; deserializeReuse.clear(); } else { deserializeReuse = new LinkedHashMap<Object, Object>(); } TMap themap = iprot.readMapBegin(); if (themap == null) { return null; } // themap might be reused by the Protocol. int mapSize = themap.size; for (int i = 0; i < mapSize; i++) { Object key = getKeyType().deserialize(null, iprot); Object value = getValueType().deserialize(null, iprot); deserializeReuse.put(key, value); } // in theory, the below call isn't needed in non thrift_mode, but let's not // get too crazy iprot.readMapEnd(); return deserializeReuse; }
return intValue; } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; return longValue; } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; return stringValue; } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; Map<String,String> unionMStringString; org.apache.thrift.protocol.TMap _map3 = iprot.readMapBegin(); unionMStringString = new HashMap<String,String>(2*_map3.size); String _key4; unionMStringString.put(_key4, _val5); iprot.readMapEnd();
public void read(org.apache.thrift.protocol.TProtocol iprot, EnvironmentContext struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map318 = iprot.readMapBegin(); struct.properties = new HashMap<String,String>(2*_map318.size); String _key319; struct.properties.put(_key319, _val320); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
Map<String,String> unionMStringString; org.apache.thrift.protocol.TMap _map12 = iprot.readMapBegin(); unionMStringString = new HashMap<String,String>(2*_map12.size); String _key13; unionMStringString.put(_key13, _val14); iprot.readMapEnd();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; struct.setNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); struct.configuration = new HashMap<String,String>(2*_map180.size); String _key181; struct.configuration.put(_key181, _val182); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd();
public void read(org.apache.thrift.protocol.TProtocol iprot, LocalStateData struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map204 = iprot.readMapBegin(); struct.serialized_parts = new HashMap<String,ThriftSerializedObject>(2*_map204.size); String _key205; _val206 = new ThriftSerializedObject(); _val206.read(iprot); struct.serialized_parts.put(_key205, _val206); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, MetricWindow struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map106 = iprot.readMapBegin(); struct.metricWindow = new HashMap<Integer,Double>(2*_map106.size); int _key107; struct.metricWindow.put(_key107, _val108); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, TUnionTypeEntry struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map20 = iprot.readMapBegin(); struct.nameToTypePtr = new HashMap<String,Integer>(2*_map20.size); String _key21; struct.nameToTypePtr.put(_key21, _val22); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, TStructTypeEntry struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin(); struct.nameToTypePtr = new HashMap<String,Integer>(2*_map10.size); String _key11; struct.nameToTypePtr.put(_key11, _val12); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
field = iprot.readFieldBegin(); if (field.type == TType.STOP) { break; if (field.type == TType.MAP) { TMap _map8 = iprot.readMapBegin(); this.ownerships = new HashMap<String,String>(2*_map8.size); for (int _i9 = 0; _i9 < _map8.size; ++_i9) _key10 = iprot.readString(); _val11 = iprot.readString(); this.ownerships.put(_key10, _val11); iprot.readMapEnd(); TProtocolUtil.skip(iprot, field.type); this.serverStatus = ServerStatus.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, field.type); TProtocolUtil.skip(iprot, field.type); iprot.readFieldEnd(); iprot.readStructEnd();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map116 = iprot.readMapBegin(); struct.metrics = new HashMap<String,Map<Integer,MetricSnapshot>>(2*_map116.size); String _key117; org.apache.thrift.protocol.TMap _map120 = iprot.readMapBegin(); _val118 = new HashMap<Integer,MetricSnapshot>(2*_map120.size); int _key121; iprot.readMapEnd(); struct.metrics.put(_key117, _val118); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, TTypeQualifiers struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin(); struct.qualifiers = new HashMap<String,TTypeQualifierValue>(2*_map0.size); String _key1; _val2 = new TTypeQualifierValue(); _val2.read(iprot); struct.qualifiers.put(_key1, _val2); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; struct.setNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); struct.configuration = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map180.size); @org.apache.thrift.annotation.Nullable java.lang.String _key181; struct.configuration.put(_key181, _val182); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; struct.setIntpGroupIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); struct.setSessionIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map18 = iprot.readMapBegin(); struct.properties = new HashMap<String,String>(2*_map18.size); String _key19; struct.properties.put(_key19, _val20); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin(); struct.headers = new HashMap<String,String>(2*_map0.size); String _key1; struct.headers.put(_key1, _val2); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); struct.setBodyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; struct.setSessionHandleIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin(); struct.configuration = new HashMap<String,String>(2*_map162.size); String _key163; struct.configuration.put(_key163, _val164); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, FilterQueryMap struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map16 = iprot.readMapBegin(); struct.filterQueryMap = new HashMap<Integer,FilterQuery>(2*_map16.size); int _key17; _val18 = new FilterQuery(); _val18.read(iprot); struct.filterQueryMap.put(_key17, _val18); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; struct.setAggregationTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map52 = iprot.readMapBegin(); struct.aggregationParams = new HashMap<String,String>(2*_map52.size); String _key53; struct.aggregationParams.put(_key53, _val54); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.thrift.protocol.TProtocol iprot, HavingFilterQueryMap struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { org.apache.thrift.protocol.TMap _map42 = iprot.readMapBegin(); struct.filterQueryMap = new HashMap<Integer,HavingFilterQuery>(2*_map42.size); int _key43; _val44 = new HavingFilterQuery(); _val44.read(iprot); struct.filterQueryMap.put(_key43, _val44); iprot.readMapEnd(); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();