org.sqlproc.engine.impl
Class SqlEmptyMonitor
java.lang.Object
org.sqlproc.engine.impl.SqlEmptyMonitor
- All Implemented Interfaces:
- SqlMonitor
public class SqlEmptyMonitor
- extends Object
- implements SqlMonitor
The empty implementation of SqlMonitor
interface.
- Author:
- Vladimir Hudec
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlEmptyMonitor
public SqlEmptyMonitor()
runList
public <E> List<E> runList(SqlMonitor.Runner runner,
Class<E> resultClass)
- The SQLMonitor visitor method called from inside the main execution methods in
SqlQueryEngine
.
- Specified by:
runList
in interface SqlMonitor
- Parameters:
runner
- the anonymous instance of SqlMonitor.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 in
SqlCrudEngine
and
SqlCrudEngine
.
- Specified by:
run
in interface SqlMonitor
- Parameters:
runner
- the anonymous instance of SqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return value of the query execution output
- Returns:
- the instance of the resultClass
Copyright © 2011. All Rights Reserved.