Package org.sqlproc.engine.impl
Class SqlEmptyMonitor
- java.lang.Object
-
- org.sqlproc.engine.impl.SqlEmptyMonitor
-
- All Implemented Interfaces:
SqlExtendedMonitor
,SqlMonitor
public class SqlEmptyMonitor extends Object implements SqlExtendedMonitor
The empty implementation ofSqlMonitor
interface.- Author:
- Vladimir Hudec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sqlproc.engine.SqlMonitor
SqlMonitor.Runner
-
-
Constructor Summary
Constructors Constructor Description SqlEmptyMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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..
-
-
-
Method Detail
-
runList
public <E> List<E> runList(SqlMonitor.Runner runner, Class<E> resultClass)
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
public <E> E run(SqlMonitor.Runner runner, Class<E> resultClass)
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
public <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.- 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
public <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..- 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
-
-