Package org.jooq

Interface LoaderSourceStep<R extends Record>

  • All Known Subinterfaces:
    LoaderOptionsStep<R>

    public interface LoaderSourceStep<R extends Record>
    The Loader API is used for configuring data loads.

    The step in constructing the Loader object where you can specify the load type and data source.

    Author:
    Lukas Eder, Johannes Bühler
    • Method Detail

      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.File file)
                          throws java.io.FileNotFoundException
        Load CSV data.
        Throws:
        java.io.FileNotFoundException
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.File file,
                                 java.lang.String charsetName)
                          throws java.io.FileNotFoundException,
                                 java.io.UnsupportedEncodingException
        Load CSV data.
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.File file,
                                 java.nio.charset.Charset cs)
                          throws java.io.FileNotFoundException
        Load CSV data.
        Throws:
        java.io.FileNotFoundException
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.File file,
                                 java.nio.charset.CharsetDecoder dec)
                          throws java.io.FileNotFoundException
        Load CSV data.
        Throws:
        java.io.FileNotFoundException
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.InputStream stream,
                                 java.lang.String charsetName)
                          throws java.io.UnsupportedEncodingException
        Load CSV data.
        Throws:
        java.io.UnsupportedEncodingException
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.InputStream stream,
                                 java.nio.charset.Charset cs)
        Load CSV data.
      • loadCSV

        @Support
        LoaderCSVStep<R> loadCSV​(java.io.InputStream stream,
                                 java.nio.charset.CharsetDecoder dec)
        Load CSV data.
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.File file)
                          throws java.io.FileNotFoundException
        Load XML data.
        Throws:
        java.io.FileNotFoundException
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.File file,
                                 java.lang.String charsetName)
                          throws java.io.FileNotFoundException,
                                 java.io.UnsupportedEncodingException
        Load XML data.
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.File file,
                                 java.nio.charset.Charset cs)
                          throws java.io.FileNotFoundException
        Load XML data.
        Throws:
        java.io.FileNotFoundException
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.File file,
                                 java.nio.charset.CharsetDecoder dec)
                          throws java.io.FileNotFoundException
        Load XML data.
        Throws:
        java.io.FileNotFoundException
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.InputStream stream,
                                 java.lang.String charsetName)
                          throws java.io.UnsupportedEncodingException
        Load XML data.
        Throws:
        java.io.UnsupportedEncodingException
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.InputStream stream,
                                 java.nio.charset.Charset cs)
        Load XML data.
      • loadXML

        @Support
        LoaderXMLStep<R> loadXML​(java.io.InputStream stream,
                                 java.nio.charset.CharsetDecoder dec)
        Load XML data.
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.File file)
                            throws java.io.FileNotFoundException
        Load JSON data.
        Throws:
        java.io.FileNotFoundException
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.File file,
                                   java.lang.String charsetName)
                            throws java.io.FileNotFoundException,
                                   java.io.UnsupportedEncodingException
        Load JSON data.
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.File file,
                                   java.nio.charset.Charset cs)
                            throws java.io.FileNotFoundException
        Load JSON data.
        Throws:
        java.io.FileNotFoundException
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.File file,
                                   java.nio.charset.CharsetDecoder dec)
                            throws java.io.FileNotFoundException
        Load JSON data.
        Throws:
        java.io.FileNotFoundException
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.InputStream stream,
                                   java.lang.String charsetName)
                            throws java.io.UnsupportedEncodingException
        Load JSON data.
        Throws:
        java.io.UnsupportedEncodingException
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.InputStream stream,
                                   java.nio.charset.Charset cs)
        Load JSON data.
      • loadJSON

        @Support
        LoaderJSONStep<R> loadJSON​(java.io.InputStream stream,
                                   java.nio.charset.CharsetDecoder dec)
        Load JSON data.