this.inputTypeSerializerFactory = this.config.getInputSerializer(0, this.userCodeClassLoader);
if (this.inputTypeSerializerFactory.getDataType() == Record.class) {
// record specific deserialization
MutableReader<Record> reader = (MutableReader<Record>) inputReader;
this.reader = (MutableObjectIterator<IT>)new RecordReaderIterator(reader);
} else {
// generic data type serialization
MutableReader<DeserializationDelegate<?>> reader = (MutableReader<DeserializationDelegate<?>>) inputReader;
@SuppressWarnings({ "rawtypes" })
final MutableObjectIterator<?> iter = new ReaderIterator(reader, this.inputTypeSerializerFactory.getSerializer());