Class StringOutputRecordWriter

java.lang.Object
org.apache.drill.exec.store.AbstractRecordWriter
org.apache.drill.exec.store.StringOutputRecordWriter
All Implemented Interfaces:
RecordWriter
Direct Known Subclasses:
TextRecordWriter

public abstract class StringOutputRecordWriter extends AbstractRecordWriter
Abstract implementation of RecordWriter interface which exposes interface: startNewSchema(BatchSchema) addField(int,String) to output the data in string format instead of implementing addField for each type holder. This is useful for text format writers such as CSV, TSV etc. NB: Source code generated using FreeMarker template StringOutputRecordWriter.java