Class AbstractCsvInputFormat<T>

    • Field Detail

      • csvSchema

        protected final org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema csvSchema
      • csvInputStream

        protected transient InputStream csvInputStream
    • Constructor Detail

      • AbstractCsvInputFormat

        public AbstractCsvInputFormat​(Path[] filePaths,
                                      org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema csvSchema)
    • Method Detail

      • open

        public void open​(FileInputSplit split)
                  throws IOException
        Description copied from class: FileInputFormat
        Opens an input stream to the file defined in the input format. The stream is positioned at the beginning of the given split.

        The stream is actually opened in an asynchronous thread to make sure any interruptions to the thread working on the input format do not reach the file system.

        Specified by:
        open in interface InputFormat<T,​FileInputSplit>
        Overrides:
        open in class FileInputFormat<T>
        Parameters:
        split - The split to be opened.
        Throws:
        IOException - Thrown, if the spit could not be opened due to an I/O problem.