Class TextFormatPlugin

java.lang.Object
org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin<TextFormatConfig>
org.apache.drill.exec.store.easy.text.TextFormatPlugin
All Implemented Interfaces:
FormatPlugin

public class TextFormatPlugin extends EasyFormatPlugin<TextFormatConfig>
Text format plugin for CSV and other delimited text formats. Allows use of a "provided schema", including using table properties on that schema to override "static" ("or default") properties defined in the plugin config. Allows, say, having ".csv" files in which some have no headers (the default) and some do have headers (as specified via table properties in the provided schema.)

Makes use of the scan framework and the result set loader mechanism to allow tight control of the size of produced batches (as well as to support provided schema.)