Interface DBExpressionFunctionProvider
-
- All Known Implementing Classes:
DefaultDBExpressionFunctionProvider
public interface DBExpressionFunctionProviderThe designer must check the DB function signatures, but the gateway is where the functions are really executed. So, this interface provides the contract for the db functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatasetexecuteQuery(java.lang.String query, java.lang.String dsName)java.lang.ObjectexecuteScalarQuery(java.lang.String query, java.lang.String dsName)intexecuteUpdateQuery(java.lang.String query, java.lang.String dsName)intgetCachedDataCount(java.lang.String dsName, boolean quarantined)booleanisConnectionAvailable(java.lang.String dsName)
-
-
-
Method Detail
-
isConnectionAvailable
boolean isConnectionAvailable(java.lang.String dsName)
-
getCachedDataCount
int getCachedDataCount(java.lang.String dsName, boolean quarantined)
-
executeQuery
Dataset executeQuery(java.lang.String query, java.lang.String dsName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeScalarQuery
java.lang.Object executeScalarQuery(java.lang.String query, java.lang.String dsName) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeUpdateQuery
int executeUpdateQuery(java.lang.String query, java.lang.String dsName) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-