/** * Autogenerated by Thrift Compiler (0.7.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING */ package org.apache.hadoop.hive.ql.plan.api; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; import java.util.EnumMap; import java.util.Set; import java.util.HashSet; import java.util.EnumSet; import java.util.Collections; import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Operator implements org.apache.thrift.TBase<Operator, Operator._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Operator"); private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField OPERATOR_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorType", org.apache.thrift.protocol.TType.I32, (short)2); private static final org.apache.thrift.protocol.TField OPERATOR_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorAttributes", org.apache.thrift.protocol.TType.MAP, (short)3); private static final org.apache.thrift.protocol.TField OPERATOR_COUNTERS_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorCounters", org.apache.thrift.protocol.TType.MAP, (short)4); private static final org.apache.thrift.protocol.TField DONE_FIELD_DESC = new org.apache.thrift.protocol.TField("done", org.apache.thrift.protocol.TType.BOOL, (short)5); private static final org.apache.thrift.protocol.TField STARTED_FIELD_DESC = new org.apache.thrift.protocol.TField("started", org.apache.thrift.protocol.TType.BOOL, (short)6); private String operatorId; // required private OperatorType operatorType; // required private Map<String,String> operatorAttributes; // required private Map<String,Long> operatorCounters; // required private boolean done; // required private boolean started; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { OPERATOR_ID((short)1, "operatorId"), /** * * @see OperatorType */ OPERATOR_TYPE((short)2, "operatorType"), OPERATOR_ATTRIBUTES((short)3, "operatorAttributes"), OPERATOR_COUNTERS((short)4, "operatorCounters"), DONE((short)5, "done"), STARTED((short)6, "started"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // OPERATOR_ID return OPERATOR_ID; case 2: // OPERATOR_TYPE return OPERATOR_TYPE; case 3: // OPERATOR_ATTRIBUTES return OPERATOR_ATTRIBUTES; case 4: // OPERATOR_COUNTERS return OPERATOR_COUNTERS; case 5: // DONE return DONE; case 6: // STARTED return STARTED; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __DONE_ISSET_ID = 0; private static final int __STARTED_ISSET_ID = 1; private BitSet __isset_bit_vector = new BitSet(2); 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); tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.OPERATOR_TYPE, new org.apache.thrift.meta_data.FieldMetaData("operatorType", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OperatorType.class))); tmpMap.put(_Fields.OPERATOR_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("operatorAttributes", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.OPERATOR_COUNTERS, new org.apache.thrift.meta_data.FieldMetaData("operatorCounters", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.DONE, new org.apache.thrift.meta_data.FieldMetaData("done", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.STARTED, new org.apache.thrift.meta_data.FieldMetaData("started", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Operator.class, metaDataMap); } public Operator() { } public Operator( String operatorId, OperatorType operatorType, Map<String,String> operatorAttributes, Map<String,Long> operatorCounters, boolean done, boolean started) { this(); this.operatorId = operatorId; this.operatorType = operatorType; this.operatorAttributes = operatorAttributes; this.operatorCounters = operatorCounters; this.done = done; setDoneIsSet(true); this.started = started; setStartedIsSet(true); } /** * Performs a deep copy on <i>other</i>. */ public Operator(Operator other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetOperatorId()) { this.operatorId = other.operatorId; } if (other.isSetOperatorType()) { this.operatorType = other.operatorType; } if (other.isSetOperatorAttributes()) { Map<String,String> __this__operatorAttributes = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.operatorAttributes.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__operatorAttributes_copy_key = other_element_key; String __this__operatorAttributes_copy_value = other_element_value; __this__operatorAttributes.put(__this__operatorAttributes_copy_key, __this__operatorAttributes_copy_value); } this.operatorAttributes = __this__operatorAttributes; } if (other.isSetOperatorCounters()) { Map<String,Long> __this__operatorCounters = new HashMap<String,Long>(); for (Map.Entry<String, Long> other_element : other.operatorCounters.entrySet()) { String other_element_key = other_element.getKey(); Long other_element_value = other_element.getValue(); String __this__operatorCounters_copy_key = other_element_key; Long __this__operatorCounters_copy_value = other_element_value; __this__operatorCounters.put(__this__operatorCounters_copy_key, __this__operatorCounters_copy_value); } this.operatorCounters = __this__operatorCounters; } this.done = other.done; this.started = other.started; } public Operator deepCopy() { return new Operator(this); } @Override public void clear() { this.operatorId = null; this.operatorType = null; this.operatorAttributes = null; this.operatorCounters = null; setDoneIsSet(false); this.done = false; setStartedIsSet(false); this.started = false; } public String getOperatorId() { return this.operatorId; } public void setOperatorId(String operatorId) { this.operatorId = operatorId; } public void unsetOperatorId() { this.operatorId = null; } /** Returns true if field operatorId is set (has been assigned a value) and false otherwise */ public boolean isSetOperatorId() { return this.operatorId != null; } public void setOperatorIdIsSet(boolean value) { if (!value) { this.operatorId = null; } } /** * * @see OperatorType */ public OperatorType getOperatorType() { return this.operatorType; } /** * * @see OperatorType */ public void setOperatorType(OperatorType operatorType) { this.operatorType = operatorType; } public void unsetOperatorType() { this.operatorType = null; } /** Returns true if field operatorType is set (has been assigned a value) and false otherwise */ public boolean isSetOperatorType() { return this.operatorType != null; } public void setOperatorTypeIsSet(boolean value) { if (!value) { this.operatorType = null; } } public int getOperatorAttributesSize() { return (this.operatorAttributes == null) ? 0 : this.operatorAttributes.size(); } public void putToOperatorAttributes(String key, String val) { if (this.operatorAttributes == null) { this.operatorAttributes = new HashMap<String,String>(); } this.operatorAttributes.put(key, val); } public Map<String,String> getOperatorAttributes() { return this.operatorAttributes; } public void setOperatorAttributes(Map<String,String> operatorAttributes) { this.operatorAttributes = operatorAttributes; } public void unsetOperatorAttributes() { this.operatorAttributes = null; } /** Returns true if field operatorAttributes is set (has been assigned a value) and false otherwise */ public boolean isSetOperatorAttributes() { return this.operatorAttributes != null; } public void setOperatorAttributesIsSet(boolean value) { if (!value) { this.operatorAttributes = null; } } public int getOperatorCountersSize() { return (this.operatorCounters == null) ? 0 : this.operatorCounters.size(); } public void putToOperatorCounters(String key, long val) { if (this.operatorCounters == null) { this.operatorCounters = new HashMap<String,Long>(); } this.operatorCounters.put(key, val); } public Map<String,Long> getOperatorCounters() { return this.operatorCounters; } public void setOperatorCounters(Map<String,Long> operatorCounters) { this.operatorCounters = operatorCounters; } public void unsetOperatorCounters() { this.operatorCounters = null; } /** Returns true if field operatorCounters is set (has been assigned a value) and false otherwise */ public boolean isSetOperatorCounters() { return this.operatorCounters != null; } public void setOperatorCountersIsSet(boolean value) { if (!value) { this.operatorCounters = null; } } public boolean isDone() { return this.done; } public void setDone(boolean done) { this.done = done; setDoneIsSet(true); } public void unsetDone() { __isset_bit_vector.clear(__DONE_ISSET_ID); } /** Returns true if field done is set (has been assigned a value) and false otherwise */ public boolean isSetDone() { return __isset_bit_vector.get(__DONE_ISSET_ID); } public void setDoneIsSet(boolean value) { __isset_bit_vector.set(__DONE_ISSET_ID, value); } public boolean isStarted() { return this.started; } public void setStarted(boolean started) { this.started = started; setStartedIsSet(true); } public void unsetStarted() { __isset_bit_vector.clear(__STARTED_ISSET_ID); } /** Returns true if field started is set (has been assigned a value) and false otherwise */ public boolean isSetStarted() { return __isset_bit_vector.get(__STARTED_ISSET_ID); } public void setStartedIsSet(boolean value) { __isset_bit_vector.set(__STARTED_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case OPERATOR_ID: if (value == null) { unsetOperatorId(); } else { setOperatorId((String)value); } break; case OPERATOR_TYPE: if (value == null) { unsetOperatorType(); } else { setOperatorType((OperatorType)value); } break; case OPERATOR_ATTRIBUTES: if (value == null) { unsetOperatorAttributes(); } else { setOperatorAttributes((Map<String,String>)value); } break; case OPERATOR_COUNTERS: if (value == null) { unsetOperatorCounters(); } else { setOperatorCounters((Map<String,Long>)value); } break; case DONE: if (value == null) { unsetDone(); } else { setDone((Boolean)value); } break; case STARTED: if (value == null) { unsetStarted(); } else { setStarted((Boolean)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case OPERATOR_ID: return getOperatorId(); case OPERATOR_TYPE: return getOperatorType(); case OPERATOR_ATTRIBUTES: return getOperatorAttributes(); case OPERATOR_COUNTERS: return getOperatorCounters(); case DONE: return Boolean.valueOf(isDone()); case STARTED: return Boolean.valueOf(isStarted()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case OPERATOR_ID: return isSetOperatorId(); case OPERATOR_TYPE: return isSetOperatorType(); case OPERATOR_ATTRIBUTES: return isSetOperatorAttributes(); case OPERATOR_COUNTERS: return isSetOperatorCounters(); case DONE: return isSetDone(); case STARTED: return isSetStarted(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Operator) return this.equals((Operator)that); return false; } public boolean equals(Operator that) { if (that == null) return false; boolean this_present_operatorId = true && this.isSetOperatorId(); boolean that_present_operatorId = true && that.isSetOperatorId(); if (this_present_operatorId || that_present_operatorId) { if (!(this_present_operatorId && that_present_operatorId)) return false; if (!this.operatorId.equals(that.operatorId)) return false; } boolean this_present_operatorType = true && this.isSetOperatorType(); boolean that_present_operatorType = true && that.isSetOperatorType(); if (this_present_operatorType || that_present_operatorType) { if (!(this_present_operatorType && that_present_operatorType)) return false; if (!this.operatorType.equals(that.operatorType)) return false; } boolean this_present_operatorAttributes = true && this.isSetOperatorAttributes(); boolean that_present_operatorAttributes = true && that.isSetOperatorAttributes(); if (this_present_operatorAttributes || that_present_operatorAttributes) { if (!(this_present_operatorAttributes && that_present_operatorAttributes)) return false; if (!this.operatorAttributes.equals(that.operatorAttributes)) return false; } boolean this_present_operatorCounters = true && this.isSetOperatorCounters(); boolean that_present_operatorCounters = true && that.isSetOperatorCounters(); if (this_present_operatorCounters || that_present_operatorCounters) { if (!(this_present_operatorCounters && that_present_operatorCounters)) return false; if (!this.operatorCounters.equals(that.operatorCounters)) return false; } boolean this_present_done = true; boolean that_present_done = true; if (this_present_done || that_present_done) { if (!(this_present_done && that_present_done)) return false; if (this.done != that.done) return false; } boolean this_present_started = true; boolean that_present_started = true; if (this_present_started || that_present_started) { if (!(this_present_started && that_present_started)) return false; if (this.started != that.started) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(Operator other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; Operator typedOther = (Operator)other; lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(typedOther.isSetOperatorId()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOperatorType()).compareTo(typedOther.isSetOperatorType()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorType, typedOther.operatorType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOperatorAttributes()).compareTo(typedOther.isSetOperatorAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorAttributes()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorAttributes, typedOther.operatorAttributes); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOperatorCounters()).compareTo(typedOther.isSetOperatorCounters()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorCounters()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorCounters, typedOther.operatorCounters); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField field; iprot.readStructBegin(); while (true) { field = iprot.readFieldBegin(); if (field.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (field.id) { case 1: // OPERATOR_ID if (field.type == org.apache.thrift.protocol.TType.STRING) { this.operatorId = iprot.readString(); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 2: // OPERATOR_TYPE if (field.type == org.apache.thrift.protocol.TType.I32) { this.operatorType = OperatorType.findByValue(iprot.readI32()); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 3: // OPERATOR_ATTRIBUTES if (field.type == org.apache.thrift.protocol.TType.MAP) { { org.apache.thrift.protocol.TMap _map12 = iprot.readMapBegin(); this.operatorAttributes = new HashMap<String,String>(2*_map12.size); for (int _i13 = 0; _i13 < _map12.size; ++_i13) { String _key14; // required String _val15; // required _key14 = iprot.readString(); _val15 = iprot.readString(); this.operatorAttributes.put(_key14, _val15); } iprot.readMapEnd(); } } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 4: // OPERATOR_COUNTERS if (field.type == org.apache.thrift.protocol.TType.MAP) { { org.apache.thrift.protocol.TMap _map16 = iprot.readMapBegin(); this.operatorCounters = new HashMap<String,Long>(2*_map16.size); for (int _i17 = 0; _i17 < _map16.size; ++_i17) { String _key18; // required long _val19; // required _key18 = iprot.readString(); _val19 = iprot.readI64(); this.operatorCounters.put(_key18, _val19); } iprot.readMapEnd(); } } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 5: // DONE if (field.type == org.apache.thrift.protocol.TType.BOOL) { this.done = iprot.readBool(); setDoneIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 6: // STARTED if (field.type == org.apache.thrift.protocol.TType.BOOL) { this.started = iprot.readBool(); setStartedIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.operatorId != null) { oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC); oprot.writeString(this.operatorId); oprot.writeFieldEnd(); } if (this.operatorType != null) { oprot.writeFieldBegin(OPERATOR_TYPE_FIELD_DESC); oprot.writeI32(this.operatorType.getValue()); oprot.writeFieldEnd(); } if (this.operatorAttributes != null) { oprot.writeFieldBegin(OPERATOR_ATTRIBUTES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.operatorAttributes.size())); for (Map.Entry<String, String> _iter20 : this.operatorAttributes.entrySet()) { oprot.writeString(_iter20.getKey()); oprot.writeString(_iter20.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } if (this.operatorCounters != null) { oprot.writeFieldBegin(OPERATOR_COUNTERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, this.operatorCounters.size())); for (Map.Entry<String, Long> _iter21 : this.operatorCounters.entrySet()) { oprot.writeString(_iter21.getKey()); oprot.writeI64(_iter21.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldBegin(DONE_FIELD_DESC); oprot.writeBool(this.done); oprot.writeFieldEnd(); oprot.writeFieldBegin(STARTED_FIELD_DESC); oprot.writeBool(this.started); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } @Override public String toString() { StringBuilder sb = new StringBuilder("Operator("); boolean first = true; sb.append("operatorId:"); if (this.operatorId == null) { sb.append("null"); } else { sb.append(this.operatorId); } first = false; if (!first) sb.append(", "); sb.append("operatorType:"); if (this.operatorType == null) { sb.append("null"); } else { sb.append(this.operatorType); } first = false; if (!first) sb.append(", "); sb.append("operatorAttributes:"); if (this.operatorAttributes == null) { sb.append("null"); } else { sb.append(this.operatorAttributes); } first = false; if (!first) sb.append(", "); sb.append("operatorCounters:"); if (this.operatorCounters == null) { sb.append("null"); } else { sb.append(this.operatorCounters); } first = false; if (!first) sb.append(", "); sb.append("done:"); sb.append(this.done); first = false; if (!first) sb.append(", "); sb.append("started:"); sb.append(this.started); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bit_vector = new BitSet(1); read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } }