public class SQLRecordingV7 extends SQLRecording
SQLRecording.PortDirection| Modifier and Type | Field and Description |
|---|---|
protected int |
_evolId
ID of current change to workflow structure.
|
protected java.sql.PreparedStatement |
_psParameterValueQuery |
protected java.sql.PreparedStatement |
_psWorkflowChangeInsert |
protected java.util.Stack<java.sql.Timestamp> |
_workflowChangeTimeStack
Timestamp of current change to workflow structure.
|
_dbParams, _dbType, _entityCacheTable, _fireStateTable, _maxDataSize, _maxParameterValueSize, _needReconnectDB, _needReconnectWF, _params, _psActionInsert, _psActorFireStart, _psActorFireStop, _psActorInsert, _psDirectorInsert, _psEntityInsert, _psEntityQuery, _psLinkInsert, _psParameterInsert, _psPortInsert, _psRelationInsert, _psTokenFlowInsert, _psWorkflowExecStart, _psWorkflowExecStop, _psWorkflowInsert, _psWorkflowQuery, _schema, _wfExecId, _wfId, _wfNameStr, _wfUserStr, DATA_NONE, DATA_TRUNCATED, DATA_VALID, SUCCESS, WORKFLOW_ALREADY_EXISTS, WORKFLOW_DOES_NOT_EXIST_containerFullName, _containerLSID, _containerName, _debugPrint, _debugWriter, _machineStr, _recorder, _recorderContainer, _stateSerializer| Constructor and Description |
|---|
SQLRecordingV7() |
| Modifier and Type | Method and Description |
|---|---|
protected org.kepler.provenance.sql.RegEntity |
_addEntity(int containerId,
RegEntity.EntityType type,
java.lang.String fullName,
java.lang.String displayName,
int prevId)
Add a new row to the entity table.
|
protected void |
_addWorkflow()
Add a new row to the workflow table.
|
protected void |
_addWorkflowChange()
Create a new row in the workflow_change table.
|
protected void |
_createPreparedStatements()
Initialize the prepared statements.
|
protected Schema |
_createSchema()
Create a Schema to reflect the v7 schema.
|
protected void |
_errorReset()
Reset when we encounter an error.
|
protected void |
_nullPreparedStatements()
Set our prepared statements to null.
|
protected void |
_possibleWorkflowChangeStart()
A workflow change may be starting.
|
protected void |
_possibleWorkflowChangeStop()
A possible workflow change is stopping.
|
protected void |
_wfReset()
Reset when we use a different workflow.
|
void |
evolutionStart()
Start an evolution.
|
void |
evolutionStop()
Stop an evolution.
|
boolean |
regParameter(NamedObj parameter)
Register a parameter.
|
void |
specificationStart()
Called before registering workflow contents.
|
void |
specificationStop()
Called when finished registering workflow contents.
|
_changeEntityFullName, _checkConnection, _checkEntity, _checkParameters, _checkWorkflowName, _dbReset, _getContainerId, _getMaxParameterValueSize, _getMaxTokenDataSize, _getWorkflowId, _getWorkflowId, _reconnectDatabase, _reconnectWorkflow, _recordFiringEvent, _recordPortEvent, _regActorDirector, _regParameterReal, _regPortReal, _updateWorkflowID, actorFire, attributeChanged, disconnect, executionImported, executionStart, executionStop, generateParameters, portEvent, regActor, regDirector, regLink, regPort, regRelation_debug, _debug, _debugWrite, _debugWrite, _error, _getExceptionMessage, _getNameableFullName, _needWorkflowContents, _updateContainerName, _warn, actorFire, addFileForLastExecution, changeExecutionLSID, customProvEvent, executionError, executionError, executionImported, executionStart, executionStart, executionStart, executionStop, executionStop, executionStop, getContainer, getQueryable, portEvent, refillPortEvent, regContents, remove, removeLink, removeStateSerializer, rename, renamedWorkflow, setContainer, setContainerLSID, setContainerName, setDebugWriter, setStateSerializer, tagAdded, tagRemovedprotected java.sql.PreparedStatement _psWorkflowChangeInsert
protected java.sql.PreparedStatement _psParameterValueQuery
protected java.util.Stack<java.sql.Timestamp> _workflowChangeTimeStack
protected int _evolId
public SQLRecordingV7() throws RecordingException
RecordingExceptionpublic void specificationStart() throws RecordingException
specificationStart in class SQLRecordingRecordingExceptionpublic void specificationStop() throws RecordingException
specificationStop in class RecordingRecordingExceptionpublic boolean regParameter(NamedObj parameter) throws RecordingException
regNNN() method. This can be user-level
parameters (e.g., Parameter, StringParameter, etc.) or
internal to Kepler (e.g., _location, semanticType000, etc.).
(A "parameter" corresponds to a property in the MoML).regParameter in class SQLRecordingRecordingExceptionpublic void evolutionStart() throws RecordingException
evolutionStart in class RecordingRecordingExceptionpublic void evolutionStop() throws RecordingException
evolutionStop in class RecordingRecordingExceptionprotected org.kepler.provenance.sql.RegEntity _addEntity(int containerId, RegEntity.EntityType type, java.lang.String fullName, java.lang.String displayName, int prevId) throws RecordingException, java.sql.SQLException
_addEntity in class SQLRecordingRecordingExceptionjava.sql.SQLExceptionprotected void _addWorkflow() throws RecordingException
_addWorkflow in class SQLRecordingRecordingExceptionprotected void _addWorkflowChange() throws RecordingException
RecordingExceptionprotected void _createPreparedStatements() throws java.sql.SQLException
_createPreparedStatements in class SQLRecordingjava.sql.SQLExceptionprotected Schema _createSchema()
_createSchema in class SQLRecordingprotected void _errorReset() throws RecordingException
_errorReset in class SQLRecordingRecordingExceptionprotected void _nullPreparedStatements()
_nullPreparedStatements in class SQLRecordingprotected void _wfReset()
_wfReset in class SQLRecordingprotected void _possibleWorkflowChangeStart() throws RecordingException
RecordingExceptionprotected void _possibleWorkflowChangeStop() throws RecordingException
RecordingException