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()
ActiveQuery
getQuery
in interface ActiveQuery
public long getStartTime()
ActiveQuery
getStartTime
in interface ActiveQuery
public ActiveQuery.StatementType getStatementType()
ActiveQuery
getStatementType
in interface ActiveQuery
public java.util.UUID getStatementId()
ActiveQuery
getStatementId
in interface ActiveQuery
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object