}else if(type == String.class){
w = new StringWriter(f, output.getManagedBuffer());
}else if (type == Timestamp.class) {
w = new NTimeStampWriter(f);
}else{
throw new ExecutionSetupException(String.format("PojoRecord reader doesn't yet support conversions from type [%s].", type));
}
writers.add(w);
w.init(output);
}
this.writers = writers.toArray(new PojoWriter[writers.size()]);
}catch(SchemaChangeException e){
throw new ExecutionSetupException("Failure while setting up schema for PojoRecordReader.", e);
}
}