Package org.sqlproc.engine.impl
Class SqlEmptyMonitor
java.lang.Object
org.sqlproc.engine.impl.SqlEmptyMonitor
- All Implemented Interfaces:
SqlExtendedMonitor
,SqlMonitor
The empty implementation of
SqlMonitor
interface.- Author:
- Vladimir Hudec
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sqlproc.engine.SqlMonitor
SqlMonitor.Runner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> E
run
(SqlMonitor.Runner runner, Class<E> resultClass) The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngine
andSqlCrudEngine
.<E> List
<E> runList
(SqlMonitor.Runner runner, Class<E> resultClass) The SQLMonitor visitor method called from inside the main execution methods inSqlQueryEngine
.<E> List
<E> runListSql
(SqlMonitor.Runner runner, Class<E> resultClass) The SQLMonitor visitor method called from inside the main execution methods inSqlQueryEngine
devoted only to SQL statement execution.<E> E
runSql
(SqlMonitor.Runner runner, Class<E> resultClass) The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngine
andSqlCrudEngine
devoted only to SQL statement execution..
-
Constructor Details
-
SqlEmptyMonitor
public SqlEmptyMonitor()
-
-
Method Details
-
runList
The SQLMonitor visitor method called from inside the main execution methods inSqlQueryEngine
.- Specified by:
runList
in interfaceSqlMonitor
- Parameters:
runner
- the anonymous instance ofSqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return values of the query execution output- Returns:
- the list of the resultClass instances
-
run
The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngine
andSqlCrudEngine
.- Specified by:
run
in interfaceSqlMonitor
- Parameters:
runner
- the anonymous instance ofSqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return value of the query execution output- Returns:
- the instance of the resultClass
-
runListSql
The SQLMonitor visitor method called from inside the main execution methods inSqlQueryEngine
devoted only to SQL statement execution.- Specified by:
runListSql
in interfaceSqlExtendedMonitor
- Parameters:
runner
- the anonymous instance ofSqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return values of the query execution output- Returns:
- the list of the resultClass instances
-
runSql
The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngine
andSqlCrudEngine
devoted only to SQL statement execution..- Specified by:
runSql
in interfaceSqlExtendedMonitor
- Parameters:
runner
- the anonymous instance ofSqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return value of the query execution output- Returns:
- the instance of the resultClass
-