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 ofSqlMonitorinterface.- 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> Erun(SqlMonitor.Runner runner, Class<E> resultClass)The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngineandSqlCrudEngine.<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 inSqlQueryEnginedevoted only to SQL statement execution.<E> ErunSql(SqlMonitor.Runner runner, Class<E> resultClass)The SQLMonitor visitor method called from inside the main execution methods inSqlCrudEngineandSqlCrudEnginedevoted 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:
runListin 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 inSqlCrudEngineandSqlCrudEngine.- Specified by:
runin 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 inSqlQueryEnginedevoted only to SQL statement execution.- Specified by:
runListSqlin 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 inSqlCrudEngineandSqlCrudEnginedevoted only to SQL statement execution..- Specified by:
runSqlin 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
-
-