public class ActiveQueryImpl extends java.lang.Object implements ActiveQuery
ActiveQuery.StatementType| Constructor and Description |
|---|
ActiveQueryImpl(ActiveQuery copy) |
ActiveQueryImpl(java.lang.String query,
long startTime,
ActiveQuery.StatementType statementType,
java.util.UUID statementId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
java.lang.String |
getQuery()
Returns the query that is being run
|
long |
getStartTime()
Returns the system time in millis that this query started running at.
|
java.util.UUID |
getStatementId()
Returns a UUID of the statement for later lookup
|
ActiveQuery.StatementType |
getStatementType()
What kind of statement is this query executing in?
|
int |
hashCode() |
public ActiveQueryImpl(java.lang.String query,
long startTime,
ActiveQuery.StatementType statementType,
java.util.UUID statementId)
public ActiveQueryImpl(ActiveQuery copy)
public java.lang.String getQuery()
ActiveQuerygetQuery in interface ActiveQuerypublic long getStartTime()
ActiveQuerygetStartTime in interface ActiveQuerypublic ActiveQuery.StatementType getStatementType()
ActiveQuerygetStatementType in interface ActiveQuerypublic java.util.UUID getStatementId()
ActiveQuerygetStatementId in interface ActiveQuerypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object that)
equals in class java.lang.Object