public abstract class DefaultQuery extends java.lang.Object implements Queryable
| Constructor and Description |
|---|
DefaultQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Integer |
_getLastExecutionId(KeplerLSID workflow)
Get the last execution id for a workflow.
|
protected abstract boolean |
_stringTokenValuesHaveSurroundingQuotes()
Returns true if getTokenValue() for StringTokens has
surrounding double-quotes. i.e., the value was saved
using StringToken.toString() (which adds double-quotes)
instead of StringToken.stringValue().
|
void |
close() |
void |
disconnect()
Disconnect from provenance store.
|
java.util.List<java.lang.Integer> |
getActorFiringForToken(int tokenId,
boolean read)
Get the firing id(s) of the actor(s) that read or wrote a token.
|
java.util.List<java.lang.Integer> |
getActorFiringIds(java.lang.String actorName,
java.lang.Integer wfExecId)
Get actor fire ids based on its full name and workflow exec ID.
|
java.util.List<java.lang.Integer> |
getActorFirings(int wfExecId)
Get all actor fire ids for a workflow exec ID.
|
java.lang.String |
getActorName(int fireId)
Get an actor's name for a firing id.
|
java.lang.String |
getActorType(int fireId)
Get an actor's type for a firing id.
|
java.util.List<byte[]> |
getAssociatedDataForExecution(int execId,
java.util.Map<java.lang.String,java.lang.String> metadataMap,
boolean matchAny)
Get a file associated with an execution.
|
java.util.Map<java.lang.String,java.lang.String> |
getAssociatedKeysValuesForExecution(int execId)
Get any associated keys-values for an execution.
|
java.lang.Integer |
getChannelForToken(int tokenId,
boolean read,
java.lang.Integer fireId)
Get the channel that a token was read or written on.
|
java.lang.Integer |
getEntityId(java.lang.String entityName,
KeplerLSID lsid)
Get the id of entity.
|
java.lang.Integer |
getEntityId(java.lang.String entityName,
java.lang.String workflowName)
Get the id of entity.
|
java.lang.String |
getEntityType(java.lang.Integer entityId)
Get the type of entity.
|
java.lang.Integer |
getEntityWorkflowId(java.lang.Integer entityId)
Get the workflow id of entity.
|
java.lang.String |
getErrorForExecution(KeplerLSID lsid)
Get the error for an execution.
|
java.lang.Integer |
getExecutionForExecutionLSID(KeplerLSID runLSID)
Get the execution for a specific run LSID.
|
java.lang.Integer |
getExecutionForExecutionLSIDWithoutRevision(java.lang.String execLSIDWithoutRevision)
Get execution id for an execution LSID without revision.
|
java.lang.Integer |
getExecutionForOldestReferralExecutionLSIDWithoutRevision(java.lang.String stringWithoutRevision)
Get execution id for execution that has the given LSID as its
oldest referral.
|
java.util.List<java.lang.Integer> |
getExecutionIdsForTags(java.lang.String tagsSearchString)
Get execution ids for %tagsSearchString% (case insensitive)
|
KeplerLSID |
getExecutionLSIDForExecution(java.lang.Integer execId)
Get the execution LSID for a specific execution id.
|
java.util.List<KeplerLSID> |
getExecutionLSIDs()
Get a list of all execution LSIDs.
|
java.util.List<KeplerLSID> |
getExecutionLSIDsForWorkflowRuns(java.lang.String workflowName,
java.lang.String userName,
java.util.Date after,
java.util.Date before,
int execIdAfter,
int execIdBefore) |
java.util.List<java.lang.Integer> |
getExecutions()
Get a list of all executions.
|
java.util.List<java.lang.Integer> |
getExecutionsForAnnotation(java.lang.String annotation)
Get a list of executions for a specific execution annotation.
|
java.util.List<java.lang.Integer> |
getExecutionsForTimespan(java.util.Date start,
java.util.Date end)
Get executions within a timespan.
|
java.util.List<KeplerLSID> |
getExecutionsForType(WorkflowRun.type type)
Get a list of executions corresponding to a specific type.
|
java.util.List<java.lang.Integer> |
getExecutionsForWorkflow(java.lang.String workflow)
Get a list of executions for a specific workflow.
|
java.util.List<java.lang.Integer> |
getExecutionsForWorkflowRuns(java.lang.String workflowName,
java.lang.String userName)
Get executions that have %workflowName% and %userName%.
|
java.util.List<java.lang.Integer> |
getExecutionsForWorkflowRuns(java.lang.String workflowName,
java.lang.String userName,
java.util.Date after,
java.util.Date before,
int execIdAfter,
int execIdBefore)
Get executions that have %workflowName% and %userName%. and
startTime >= after and startTime <= before.
|
java.util.List<java.lang.Integer> |
getExecutionsForWorkflowRunsAfter(java.lang.String workflowName,
java.lang.String userName,
java.util.Date after)
Get executions that have %workflowName% and %userName%. and
startTime > after.
|
java.util.List<java.lang.Integer> |
getExecutionsForWorkflowRunsBefore(java.lang.String workflowName,
java.lang.String userName,
java.util.Date before)
Get exections that have %workflowName% and %userName%, and
startTime < before.
|
java.util.Map<java.lang.String,java.lang.Long> |
getExecutionTimesForActor(KeplerLSID workflow,
KeplerLSID execLSID,
java.lang.String actor)
Get the execution times for an actor.
|
java.lang.String |
getHostIdForExecution(java.lang.Integer execId)
Get the host id for a specific execution id.
|
java.util.List<java.lang.Integer> |
getImmediateDependencies(int tokenId)
Get the token(s) that generated a token.
|
java.lang.String |
getInputRoleForTokenAndFireId(int tokenId,
int fireId)
Get the input role (port name) of a token.
|
java.util.Map<java.lang.Integer,java.lang.Integer> |
getIOBytesForPort(KeplerLSID workflow,
java.lang.Integer execId,
java.lang.String port,
boolean read)
Get the number of bytes read or written by a port.
|
java.lang.Integer |
getLastExecutionForWorkflow(KeplerLSID lsid)
Get the last execution for a workflow.
|
java.lang.Integer |
getLastExecutionForWorkflow(java.lang.String workflow)
Get the last execution for a workflow.
|
KeplerLSID |
getLastExecutionLSIDForWorkflow(KeplerLSID lsid)
Get the last execution LSID for a workflow.
|
KeplerLSID |
getLastExecutionLSIDForWorkflow(java.lang.String workflow)
Get the last execution LSID for a workflow.
|
java.lang.String |
getMoMLForExecution(int execId)
Get workflow MoML for an execution.
|
java.lang.String |
getMoMLForExecution(KeplerLSID lsid)
Get workflow MoML for an execution LSID
|
java.util.List<java.lang.String> |
getMoMLForExecutionLSIDs(java.util.List<KeplerLSID> lsids)
Get workflow MoMLs for a list of execution lsids.
|
java.lang.String |
getOutputRoleToken(int tokenId)
Get the output role (port name) of a token.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterAndPortParameterNameValuesForFiring(int fireId)
Get an actor's parameter and port parameter name value pairs for a firing id.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterNameValuesForExecution(int execId)
Get the parameter name value pairs for an execution.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterNameValuesForFiring(int fireId)
Get an actor's parameter name value pairs for a firing id.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterNameValuesOfSpecificTypeForExecution(int execId)
Get the parameter name value pairs for an execution, whose parameter type is
either '.Parameter' or '.StringParameter'
|
java.lang.String |
getParameterValueAtTime(java.util.Date timestamp,
java.lang.String parameter,
KeplerLSID lsid)
Get the value of a parameter at a specific time.
|
java.lang.String |
getParameterValueLatest(java.lang.String parameter,
KeplerLSID lsid)
Get the latest value of a parameter.
|
java.util.List<java.lang.String> |
getPortsForActor(KeplerLSID workflow,
java.lang.String actor)
Get the ports for an actor.
|
java.util.Map<NamedOntClass,java.lang.String> |
getTagClassesForExecutionId(int execId)
Get a map of tags and their types (context, or tagee, currently "run"
or "workflow") for an executionLSID
|
java.util.List<java.lang.String> |
getTagsForExecutionId(int execId)
Get tags for an execution LSID
|
java.util.Date |
getTimestampForTokenWrite(java.lang.Integer tokenId)
Get the timestamp when a token was written.
|
java.util.Date[] |
getTimestampsForActorFiring(int fireId)
Get the start and end timestamps of an actor firing.
|
java.util.Date[] |
getTimestampsForExecution(int execId)
Get the start and end timestamps of an execution.
|
java.util.Date[] |
getTimestampsForTokenRead(java.lang.Integer tokenId)
Get the timestamp(s) when a token was read.
|
Token |
getToken(int tokenId)
Get the Token.
|
java.util.List<java.lang.Integer> |
getTokensForExecution(int execId,
boolean last)
Get an sequence of tokens for an execution.
|
java.util.List<java.lang.Integer> |
getTokensForExecution(int execId,
java.lang.Integer portId,
boolean last)
Get an sequence of tokens for an execution.
|
java.util.List<java.lang.Integer> |
getTokensForFiring(int fireId,
boolean read)
Get tokens for a firing.
|
java.lang.String |
getTokenType(int tokenId)
Get the type of a token.
|
java.lang.String |
getTokenValue(int tokenId)
Get the value of a token.
|
long |
getTotalExecutionTimeForActor(KeplerLSID workflow,
KeplerLSID execLSID,
java.lang.String actor)
Get the total execution time for an actor.
|
java.lang.Integer |
getTotalIOBytesForActor(KeplerLSID workflow,
java.lang.Integer execId,
java.lang.String actor,
boolean read)
Get the total number of bytes read or or written by an actor over all its ports.
|
java.lang.String |
getTypeForTag(java.lang.String conceptId)
Get the type of a tag, null if none
|
java.lang.String |
getUserForExecution(java.lang.Integer execId)
Get the user for a specific execution id.
|
java.lang.String |
getUserForExecution(KeplerLSID execLSID)
Get the user for a specific execution LSID.
|
NamedObj |
getWorkflowForExecution(java.lang.Integer execId)
Get the workflow object for a execution id.
|
java.lang.String |
getWorkflowName(KeplerLSID lsid)
Get a workflow name.
|
java.lang.String |
getWorkflowNameForExecution(KeplerLSID lsid)
Get a workflow name for an execution LSID.
|
java.util.Map<KeplerLSID,WorkflowRun> |
getWorkflowRunsForExecutionLSIDs(java.util.List<KeplerLSID> executions)
Get "workflow runs" for a list of execution LSIDs.
|
java.util.List<WorkflowRun> |
getWorkflowRunsForUser(java.lang.String user)
Get workflow runs for a user.
|
java.util.List<java.lang.String> |
getWorkflows()
Get a list of workflow names.
|
boolean |
isErrorForExecution(KeplerLSID executionLSID)
Returns true if the execution had an error.
|
boolean |
isImportedExecution(KeplerLSID executionLSID)
See if an execution appears to be imported.
|
public DefaultQuery()
public void close() throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void disconnect() throws QueryException
Queryabledisconnect in interface QueryableQueryExceptionpublic java.util.List<java.lang.String> getWorkflows() throws QueryException
QueryablegetWorkflows in interface QueryableQueryExceptionpublic java.lang.String getWorkflowName(KeplerLSID lsid) throws QueryException
QueryablegetWorkflowName in interface Queryablelsid - the workflow's LSID.QueryExceptionpublic java.lang.String getWorkflowNameForExecution(KeplerLSID lsid) throws QueryException
QueryablegetWorkflowNameForExecution in interface Queryablelsid - the execution LSID.QueryExceptionpublic java.util.List<java.lang.Integer> getExecutions() throws QueryException
QueryablegetExecutions in interface QueryableQueryExceptionpublic java.util.List<KeplerLSID> getExecutionLSIDs() throws QueryException
QueryablegetExecutionLSIDs in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForWorkflow(java.lang.String workflow) throws QueryException
QueryablegetExecutionsForWorkflow in interface QueryableQueryExceptionpublic java.lang.Integer getExecutionForExecutionLSID(KeplerLSID runLSID) throws QueryException
QueryablegetExecutionForExecutionLSID in interface QueryableQueryExceptionpublic KeplerLSID getExecutionLSIDForExecution(java.lang.Integer execId) throws QueryException
QueryablegetExecutionLSIDForExecution in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForAnnotation(java.lang.String annotation) throws QueryException
QueryablegetExecutionsForAnnotation in interface QueryableQueryExceptionpublic java.util.Date[] getTimestampsForExecution(int execId) throws QueryException
QueryablegetTimestampsForExecution in interface QueryableexecId - the execution idQueryExceptionpublic java.lang.String getMoMLForExecution(int execId) throws QueryException
QueryablegetMoMLForExecution in interface QueryableQueryExceptionpublic java.lang.String getMoMLForExecution(KeplerLSID lsid) throws QueryException
QueryablegetMoMLForExecution in interface QueryableQueryExceptionpublic java.util.List<java.lang.String> getMoMLForExecutionLSIDs(java.util.List<KeplerLSID> lsids) throws QueryException
QueryablegetMoMLForExecutionLSIDs in interface QueryableQueryExceptionpublic NamedObj getWorkflowForExecution(java.lang.Integer execId) throws QueryException
getWorkflowForExecution in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForTimespan(java.util.Date start, java.util.Date end) throws QueryException
QueryablegetExecutionsForTimespan in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForWorkflowRuns(java.lang.String workflowName, java.lang.String userName) throws QueryException
QueryablegetExecutionsForWorkflowRuns in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForWorkflowRunsAfter(java.lang.String workflowName, java.lang.String userName, java.util.Date after) throws QueryException
QueryablegetExecutionsForWorkflowRunsAfter in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForWorkflowRuns(java.lang.String workflowName, java.lang.String userName, java.util.Date after, java.util.Date before, int execIdAfter, int execIdBefore) throws QueryException
QueryablegetExecutionsForWorkflowRuns in interface QueryableQueryExceptionpublic java.util.List<KeplerLSID> getExecutionLSIDsForWorkflowRuns(java.lang.String workflowName, java.lang.String userName, java.util.Date after, java.util.Date before, int execIdAfter, int execIdBefore) throws QueryException
getExecutionLSIDsForWorkflowRuns in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionsForWorkflowRunsBefore(java.lang.String workflowName, java.lang.String userName, java.util.Date before) throws QueryException
QueryablegetExecutionsForWorkflowRunsBefore in interface QueryableQueryExceptionpublic java.lang.Integer getLastExecutionForWorkflow(KeplerLSID lsid) throws QueryException
QueryablegetLastExecutionForWorkflow in interface Queryablelsid - the workflow lsid.QueryExceptionpublic java.lang.Integer getLastExecutionForWorkflow(java.lang.String workflow) throws QueryException
QueryablegetLastExecutionForWorkflow in interface Queryableworkflow - the workflow nameQueryExceptionpublic KeplerLSID getLastExecutionLSIDForWorkflow(java.lang.String workflow) throws QueryException
QueryablegetLastExecutionLSIDForWorkflow in interface Queryableworkflow - the workflow name.QueryExceptionpublic KeplerLSID getLastExecutionLSIDForWorkflow(KeplerLSID lsid) throws QueryException
QueryablegetLastExecutionLSIDForWorkflow in interface Queryablelsid - the workflow LSID.QueryExceptionpublic java.lang.String getErrorForExecution(KeplerLSID lsid) throws QueryException
QueryablegetErrorForExecution in interface Queryablelsid - the workflow execution lsid.QueryExceptionisErrorForExecutionpublic boolean isErrorForExecution(KeplerLSID executionLSID) throws QueryException
QueryableisErrorForExecution in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getTokensForExecution(int execId, boolean last) throws QueryException
getTokensForExecution in interface QueryableexecId - the execution idlast - if true, the sequence starts at the last token created
and goes backwards to the first; otherwise the sequence starts at
the first.QueryExceptionpublic java.util.List<java.lang.Integer> getTokensForExecution(int execId, java.lang.Integer portId, boolean last) throws QueryException
getTokensForExecution in interface QueryableexecId - the execution idportId - the port id. If null, returns the ids of
tokens read in entire execution.last - if true, the sequence starts at the last token created
and goes backwards to the first; otherwise the sequence starts at
the first.QueryExceptionpublic java.util.List<java.lang.Integer> getActorFiringForToken(int tokenId, boolean read) throws QueryException
getActorFiringForToken in interface QueryabletokenId - the token idread - If true, return the actor(s) firing id(s) that read
the token. Otherwise, return the actor firing that wrote the token.QueryExceptionpublic java.util.List<java.lang.Integer> getTokensForFiring(int fireId, boolean read) throws QueryException
QueryablegetTokensForFiring in interface QueryablefireId - the firing idread - if true, get the tokens read; otherwise get the tokens
written.QueryExceptionpublic Token getToken(int tokenId) throws QueryException
getToken in interface QueryableQueryExceptionpublic java.lang.String getTokenValue(int tokenId) throws QueryException
QueryablegetTokenValue in interface QueryableQueryExceptionpublic java.lang.String getTokenType(int tokenId) throws QueryException
QueryablegetTokenType in interface QueryableQueryExceptionpublic java.lang.Integer getChannelForToken(int tokenId, boolean read, java.lang.Integer fireId) throws QueryException
getChannelForToken in interface QueryabletokenId - the token idread - if true, return the channel the token was read on.
otherwise, return the channel the token was written on.fireId - the actor firing id. can be null for writes, but
must be specified for reads.QueryExceptionpublic java.lang.String getActorName(int fireId) throws QueryException
QueryablegetActorName in interface QueryableQueryExceptionpublic java.lang.String getActorType(int fireId) throws QueryException
QueryablegetActorType in interface QueryableQueryExceptionpublic java.lang.Integer getEntityId(java.lang.String entityName, KeplerLSID lsid) throws QueryException
QueryablegetEntityId in interface QueryableentityName - name of entity.lsid - the workflow LSID. NOTE: the revision is ignored.QueryExceptionpublic java.lang.Integer getEntityId(java.lang.String entityName, java.lang.String workflowName) throws QueryException
QueryablegetEntityId in interface QueryableentityName - the name of the entity.workflowName - the name of the workflow.QueryExceptionpublic java.lang.String getEntityType(java.lang.Integer entityId) throws QueryException
QueryablegetEntityType in interface QueryableQueryExceptionpublic java.lang.Integer getEntityWorkflowId(java.lang.Integer entityId) throws QueryException
QueryablegetEntityWorkflowId in interface QueryableQueryExceptionpublic java.util.Map<java.lang.String,java.lang.String> getParameterNameValuesForFiring(int fireId) throws QueryException
QueryablegetParameterNameValuesForFiring in interface QueryableQueryExceptionpublic java.util.Map<java.lang.String,java.lang.String> getParameterNameValuesForExecution(int execId) throws QueryException
QueryablegetParameterNameValuesForExecution in interface QueryableQueryExceptionpublic java.lang.String getParameterValueLatest(java.lang.String parameter, KeplerLSID lsid) throws QueryException
QueryablegetParameterValueLatest in interface Queryableparameter - the parameter name.lsid - the workflow lsidQueryExceptionpublic java.lang.String getParameterValueAtTime(java.util.Date timestamp, java.lang.String parameter, KeplerLSID lsid) throws QueryException
QueryablegetParameterValueAtTime in interface Queryabletimestamp - the timeparameter - the parameter namelsid - the workflow lsidQueryExceptionpublic java.util.List<java.lang.Integer> getImmediateDependencies(int tokenId) throws QueryException
QueryablegetImmediateDependencies in interface QueryableQueryExceptionpublic java.util.List<byte[]> getAssociatedDataForExecution(int execId, java.util.Map<java.lang.String,java.lang.String> metadataMap, boolean matchAny) throws QueryException
QueryablegetAssociatedDataForExecution in interface QueryableQueryExceptionpublic java.util.Map<java.lang.String,java.lang.String> getAssociatedKeysValuesForExecution(int execId) throws QueryException
getAssociatedKeysValuesForExecution in interface QueryableQueryExceptionpublic java.util.Map<KeplerLSID,WorkflowRun> getWorkflowRunsForExecutionLSIDs(java.util.List<KeplerLSID> executions) throws QueryException
QueryablegetWorkflowRunsForExecutionLSIDs in interface QueryableQueryExceptionpublic java.util.List<WorkflowRun> getWorkflowRunsForUser(java.lang.String user) throws QueryException
getWorkflowRunsForUser in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getExecutionIdsForTags(java.lang.String tagsSearchString) throws QueryException
QueryablegetExecutionIdsForTags in interface QueryableQueryExceptionpublic java.util.List<java.lang.String> getTagsForExecutionId(int execId) throws QueryException
QueryablegetTagsForExecutionId in interface QueryableQueryExceptionpublic java.lang.String getTypeForTag(java.lang.String conceptId)
QueryablegetTypeForTag in interface Queryablepublic java.util.Map<NamedOntClass,java.lang.String> getTagClassesForExecutionId(int execId) throws QueryException
QueryablegetTagClassesForExecutionId in interface QueryableQueryExceptionpublic java.lang.Integer getExecutionForExecutionLSIDWithoutRevision(java.lang.String execLSIDWithoutRevision) throws QueryException
QueryablegetExecutionForExecutionLSIDWithoutRevision in interface QueryableQueryExceptionpublic java.lang.Integer getExecutionForOldestReferralExecutionLSIDWithoutRevision(java.lang.String stringWithoutRevision) throws QueryException
QueryablegetExecutionForOldestReferralExecutionLSIDWithoutRevision in interface QueryableQueryExceptionpublic java.util.List<KeplerLSID> getExecutionsForType(WorkflowRun.type type) throws QueryException
QueryablegetExecutionsForType in interface QueryableQueryExceptionpublic boolean isImportedExecution(KeplerLSID executionLSID) throws QueryException
QueryableisImportedExecution in interface QueryableQueryExceptionpublic java.util.List<java.lang.String> getPortsForActor(KeplerLSID workflow, java.lang.String actor) throws QueryException
QueryablegetPortsForActor in interface Queryableworkflow - the LSID of the workflowactor - the fully-qualified name of the actorQueryExceptionpublic java.lang.String getUserForExecution(java.lang.Integer execId) throws QueryException
QueryablegetUserForExecution in interface QueryableQueryExceptionpublic java.lang.String getUserForExecution(KeplerLSID execLSID) throws QueryException
QueryablegetUserForExecution in interface QueryableQueryExceptionpublic java.lang.String getHostIdForExecution(java.lang.Integer execId) throws QueryException
QueryablegetHostIdForExecution in interface QueryableQueryExceptionpublic java.lang.String getOutputRoleToken(int tokenId) throws QueryException
QueryablegetOutputRoleToken in interface QueryableQueryExceptionpublic java.lang.String getInputRoleForTokenAndFireId(int tokenId, int fireId) throws QueryException
QueryablegetInputRoleForTokenAndFireId in interface QueryableQueryExceptionpublic java.util.Map<java.lang.String,java.lang.String> getParameterNameValuesOfSpecificTypeForExecution(int execId) throws QueryException
QueryablegetParameterNameValuesOfSpecificTypeForExecution in interface QueryableQueryExceptionpublic java.util.Date[] getTimestampsForActorFiring(int fireId) throws QueryException
QueryablegetTimestampsForActorFiring in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getActorFiringIds(java.lang.String actorName, java.lang.Integer wfExecId) throws QueryException
QueryablegetActorFiringIds in interface QueryableQueryExceptionpublic java.util.Map<java.lang.String,java.lang.String> getParameterAndPortParameterNameValuesForFiring(int fireId) throws QueryException
QueryablegetParameterAndPortParameterNameValuesForFiring in interface QueryableQueryExceptionpublic java.util.List<java.lang.Integer> getActorFirings(int wfExecId) throws QueryException
QueryablegetActorFirings in interface QueryableQueryExceptionpublic long getTotalExecutionTimeForActor(KeplerLSID workflow, KeplerLSID execLSID, java.lang.String actor) throws QueryException
getTotalExecutionTimeForActor in interface Queryableworkflow - the workflow LSID. If null, must specify execution id.execLSID - the execution id. If null, use the last execution of the workflow.actor - the full actor name.QueryExceptionpublic java.util.Map<java.lang.String,java.lang.Long> getExecutionTimesForActor(KeplerLSID workflow, KeplerLSID execLSID, java.lang.String actor) throws QueryException
getExecutionTimesForActor in interface Queryableworkflow - the workflow LSID. If null, must specify execution id.execLSID - the execution LSID. If null, the last execution of the workflow
is used.actor - the full actor name.QueryExceptionpublic java.util.Map<java.lang.Integer,java.lang.Integer> getIOBytesForPort(KeplerLSID workflow, java.lang.Integer execId, java.lang.String port, boolean read) throws QueryException
getIOBytesForPort in interface Queryableworkflow - the workflow LSID. If null, must specify execution id.execId - the execution id. If null, the last execution of the workflow
is used.port - the full port name.read - If true, get the bytes read. Otherwise, get the bytes written.QueryExceptionpublic java.lang.Integer getTotalIOBytesForActor(KeplerLSID workflow, java.lang.Integer execId, java.lang.String actor, boolean read) throws QueryException
getTotalIOBytesForActor in interface Queryableworkflow - the workflow LSID. If null, specify the execution id.execId - the execution id. If null, the last execution of the workflow
is used.actor - the full actor name.read - If true, get the bytes read. Otherwise, get the bytes written.QueryExceptionpublic java.util.Date[] getTimestampsForTokenRead(java.lang.Integer tokenId) throws QueryException
getTimestampsForTokenRead in interface QueryableQueryExceptionpublic java.util.Date getTimestampForTokenWrite(java.lang.Integer tokenId) throws QueryException
getTimestampForTokenWrite in interface QueryableQueryExceptionprotected java.lang.Integer _getLastExecutionId(KeplerLSID workflow) throws QueryException
QueryExceptionprotected abstract boolean _stringTokenValuesHaveSurroundingQuotes()