Package com.exasol.udfdebugging
Class PushDownTesting
- java.lang.Object
-
- com.exasol.udfdebugging.PushDownTesting
-
public class PushDownTesting extends Object
This class contains helper functions for testing virtual schema push down queries.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPushDownSql(Statement statement, String query)Get the push-down SQL query generated by a Virtual Schema adapter call.static StringgetSelectionThatIsSentToTheAdapter(Statement statement, String query)Get the selection (where clause) that the Exasol database passed to the Virtual Schema adapter.
-
-
-
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 statementquery- 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 statementquery- query to a Virtual Schema table- Returns:
- selection (where clause)
- Throws:
SQLException- if SQL statement fails
-
-