Class FileReader

  • All Implemented Interfaces:
    Iterable<org.jsoup.select.Elements>

    public class FileReader
    extends Object
    implements Iterable<org.jsoup.select.Elements>
    Scrapes HTML tables from URLs using Jsoup.
    • Constructor Detail

      • FileReader

        public FileReader​(Source source,
                          String selector,
                          Integer index)
                   throws org.apache.calcite.adapter.file.FileReaderException
        Throws:
        org.apache.calcite.adapter.file.FileReaderException
      • FileReader

        public FileReader​(Source source,
                          String selector)
                   throws org.apache.calcite.adapter.file.FileReaderException
        Throws:
        org.apache.calcite.adapter.file.FileReaderException
      • FileReader

        public FileReader​(Source source)
                   throws org.apache.calcite.adapter.file.FileReaderException
        Throws:
        org.apache.calcite.adapter.file.FileReaderException
    • Method Detail

      • iterator

        public org.apache.calcite.adapter.file.FileReader.FileReaderIterator iterator()
        Specified by:
        iterator in interface Iterable<org.jsoup.select.Elements>
      • close

        public void close()