public void read(org.apache.storm.thrift.protocol.TProtocol iprot, NullStruct struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, ExecutorInfo struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(TASK_START_FIELD_DESC); oprot.writeI32(struct.task_start); oprot.writeFieldEnd(); oprot.writeFieldBegin(TASK_END_FIELD_DESC); oprot.writeI32(struct.task_end); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, TopologyHistoryInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.storm.thrift.protocol.TType.LIST) { org.apache.storm.thrift.protocol.TList _list862 = iprot.readListBegin(); struct.topo_ids = new java.util.ArrayList<java.lang.String>(_list862.size); java.lang.String _elem863; for (int _i864 = 0; _i864 < _list862.size; ++_i864) _elem863 = iprot.readString(); struct.topo_ids.add(_elem863); iprot.readListEnd(); org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, LSApprovedWorkers struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.storm.thrift.protocol.TType.MAP) { org.apache.storm.thrift.protocol.TMap _map800 = iprot.readMapBegin(); struct.approved_workers = new java.util.HashMap<java.lang.String,java.lang.Integer>(2*_map800.size); java.lang.String _key801; for (int _i803 = 0; _i803 < _map800.size; ++_i803) _key801 = iprot.readString(); _val802 = iprot.readI32(); struct.approved_workers.put(_key801, _val802); iprot.readMapEnd(); org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
case INT_ARG: java.lang.Integer int_arg; int_arg = iprot.readI32(); return int_arg; case LONG_ARG: java.lang.Long long_arg; long_arg = iprot.readI64(); return long_arg; case STRING_ARG: java.lang.String string_arg; string_arg = iprot.readString(); return string_arg; case BOOL_ARG: java.lang.Boolean bool_arg; bool_arg = iprot.readBool(); return bool_arg; case BINARY_ARG: java.nio.ByteBuffer binary_arg; binary_arg = iprot.readBinary(); return binary_arg; case DOUBLE_ARG: java.lang.Double double_arg; double_arg = iprot.readDouble(); return double_arg; default:
private static <S extends org.apache.storm.thrift.scheme.IScheme> S scheme(org.apache.storm.thrift.protocol.TProtocol proto) { return (org.apache.storm.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, HBNodes struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.storm.thrift.protocol.TType.LIST) { org.apache.storm.thrift.protocol.TList _list912 = iprot.readListBegin(); struct.pulseIds = new java.util.ArrayList<java.lang.String>(_list912.size); java.lang.String _elem913; for (int _i914 = 0; _i914 < _list912.size; ++_i914) _elem913 = iprot.readString(); struct.pulseIds.add(_elem913); iprot.readListEnd(); org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, LSSupervisorAssignments struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.storm.thrift.protocol.TType.MAP) { org.apache.storm.thrift.protocol.TMap _map810 = iprot.readMapBegin(); struct.assignments = new java.util.HashMap<java.lang.Integer,LocalAssignment>(2*_map810.size); int _key811; for (int _i813 = 0; _i813 < _map810.size; ++_i813) _key811 = iprot.readI32(); _val812 = new LocalAssignment(); _val812.read(iprot); struct.assignments.put(_key811, _val812); iprot.readMapEnd(); iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
private static <S extends org.apache.storm.thrift.scheme.IScheme> S scheme(org.apache.storm.thrift.protocol.TProtocol proto) { return (org.apache.storm.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, IllegalStateException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // MSG if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRING) { struct.msg = iprot.readString(); struct.set_msg_isSet(true); } else { org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, AlreadyAliveException struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.msg != null) { oprot.writeFieldBegin(MSG_FIELD_DESC); oprot.writeString(struct.msg); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, SettableBlobMeta struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; if (schemeField.type == org.apache.storm.thrift.protocol.TType.LIST) { org.apache.storm.thrift.protocol.TList _list606 = iprot.readListBegin(); struct.acl = new java.util.ArrayList<AccessControl>(_list606.size); AccessControl _elem607; struct.acl.add(_elem607); iprot.readListEnd(); case 2: // REPLICATION_FACTOR if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.replication_factor = iprot.readI32(); struct.set_replication_factor_isSet(true); } else { iprot.readFieldEnd(); iprot.readStructEnd(); struct.validate();
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, ComponentCommon struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; org.apache.storm.thrift.protocol.TMap _map24 = iprot.readMapBegin(); struct.inputs = new java.util.HashMap<GlobalStreamId,Grouping>(2*_map24.size); GlobalStreamId _key25; iprot.readMapEnd(); org.apache.storm.thrift.protocol.TMap _map28 = iprot.readMapBegin(); struct.streams = new java.util.HashMap<java.lang.String,StreamInfo>(2*_map28.size); java.lang.String _key29; _key29 = iprot.readString(); _val30 = new StreamInfo(); _val30.read(iprot); struct.streams.put(_key29, _val30); iprot.readMapEnd(); case 3: // PARALLELISM_HINT if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.parallelism_hint = iprot.readI32(); struct.set_parallelism_hint_isSet(true);
private static <S extends org.apache.storm.thrift.scheme.IScheme> S scheme(org.apache.storm.thrift.protocol.TProtocol proto) { return (org.apache.storm.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, NotAliveException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // MSG if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRING) { struct.msg = iprot.readString(); struct.set_msg_isSet(true); } else { org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, AuthorizationException struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.msg != null) { oprot.writeFieldBegin(MSG_FIELD_DESC); oprot.writeString(struct.msg); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, SupervisorWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; case 1: // STORM_ID if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRING) { struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); } else { org.apache.storm.thrift.protocol.TList _list870 = iprot.readListBegin(); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list870.size); ExecutorInfo _elem871; iprot.readListEnd(); case 3: // TIME_SECS if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); } else { iprot.readFieldEnd(); iprot.readStructEnd();
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, ClusterWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; case 1: // STORM_ID if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRING) { struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); } else { org.apache.storm.thrift.protocol.TMap _map772 = iprot.readMapBegin(); struct.executor_stats = new java.util.HashMap<ExecutorInfo,ExecutorStats>(2*_map772.size); ExecutorInfo _key773; iprot.readMapEnd(); case 3: // TIME_SECS if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); } else { case 4: // UPTIME_SECS if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.uptime_secs = iprot.readI32();
private static <S extends org.apache.storm.thrift.scheme.IScheme> S scheme(org.apache.storm.thrift.protocol.TProtocol proto) { return (org.apache.storm.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); } }
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, HBExecutionException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // MSG if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRING) { struct.msg = iprot.readString(); struct.set_msg_isSet(true); } else { org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }