Class PushDownTesting


  • public class PushDownTesting
    extends Object
    This class contains helper functions for testing virtual schema push down queries.
    • Method Detail

      • getPushDownSql

        public static String getPushDownSql​(Statement statement,
                                            String query)
                                     throws SQLException
        Get the push-down SQL query generated by a Virtual Schema adapter call.
        Parameters:
        statement - SQL statement
        query - query to a Virtual Schema table
        Returns:
        generated push down query
        Throws:
        SQLException - if execution fails
      • getSelectionThatIsSentToTheAdapter

        public static String getSelectionThatIsSentToTheAdapter​(Statement statement,
                                                                String query)
                                                         throws SQLException
        Get the selection (where clause) that the Exasol database passed to the Virtual Schema adapter.
        Parameters:
        statement - SQL statement
        query - query to a Virtual Schema table
        Returns:
        selection (where clause)
        Throws:
        SQLException - if SQL statement fails