Interface DBExpressionFunctionProvider
-
- All Known Implementing Classes:
DefaultDBExpressionFunctionProvider
public interface DBExpressionFunctionProvider
The 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 Dataset
executeQuery(java.lang.String query, java.lang.String dsName)
java.lang.Object
executeScalarQuery(java.lang.String query, java.lang.String dsName)
int
executeUpdateQuery(java.lang.String query, java.lang.String dsName)
int
getCachedDataCount(java.lang.String dsName, boolean quarantined)
boolean
isConnectionAvailable(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
-
-