org.eclipse.datatools.sqltools.result.internal.model
Class ResultInstanceFactory
java.lang.Object
   org.eclipse.datatools.sqltools.result.internal.model.ResultInstanceFactory
org.eclipse.datatools.sqltools.result.internal.model.ResultInstanceFactory
- public class ResultInstanceFactory 
- extends java.lang.Object
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
INSTANCE
public static ResultInstanceFactory INSTANCE
createNewInstance
public IResultInstance createNewInstance(OperationCommand cmd,
                                         java.lang.Runnable terminateHandler)
- Creates a new result instance given the OperationCommandinstance
 
- 
- Parameters:
- cmd- the operation request, can not be null
- terminateHandler- handler used to terminate this item, can be null
- Returns:
- IResultInstance instance
 
createNewInstance
public IResultInstance createNewInstance(OperationCommand cmd,
                                         java.lang.Runnable terminateHandler,
                                         IResultInstance parentInstance)
- Creates a new result instance given the OperationCommandinstance
 
- 
- Parameters:
- cmd- the operation request, can not be null
- terminateHandler- handler used to terminate this item, can be null
- parentInstance- the parent result instance, can be null
- Returns:
- IResultInstance instance
 
createResultSetObject
public IResultSetObject createResultSetObject(java.sql.ResultSet resultset)
                                       throws java.sql.SQLException
- Creates a new result set object instance
 
- 
- Parameters:
- resultset-
- Returns:
- 
- Throws:
- java.sql.SQLException