Class ImportIntoTemporaryTableQueryRewriter

    • Field Detail

      • connectionFactory

        protected final ConnectionFactory connectionFactory
        JDBC connection factory
    • Method Detail

      • generateImportStatement

        protected String generateImportStatement​(String connectionDefinition,
                                                 String pushdownQuery)
                                          throws SQLException
        Description copied from class: AbstractQueryRewriter
        Generate an IMPORT statement to be executed in the Exasol database, using the passed pushdown query to be executed in the external source be as source data.
        Specified by:
        generateImportStatement in class AbstractQueryRewriter
        Parameters:
        connectionDefinition - connection definition to be used when connecting to the external source
        pushdownQuery - source data for the `IMPORT...FROM` statement
        Returns:
        IMPORT statement to be executed on the Exasol database
        Throws:
        SQLException - if any problem occurs