Class ActiveQueryImpl
- java.lang.Object
-
- com.inductiveautomation.ignition.common.datasource.ActiveQueryImpl
-
- All Implemented Interfaces:
ActiveQuery,java.io.Serializable
public class ActiveQueryImpl extends java.lang.Object implements ActiveQuery
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.common.datasource.ActiveQuery
ActiveQuery.StatementType
-
-
Constructor Summary
Constructors Constructor Description ActiveQueryImpl(ActiveQuery copy)ActiveQueryImpl(java.lang.String query, long startTime, ActiveQuery.StatementType statementType, java.util.UUID statementId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object that)java.lang.StringgetQuery()Returns the query that is being runlonggetStartTime()Returns the system time in millis that this query started running at.java.util.UUIDgetStatementId()Returns a UUID of the statement for later lookupActiveQuery.StatementTypegetStatementType()What kind of statement is this query executing in?inthashCode()
-
-
-
Constructor Detail
-
ActiveQueryImpl
public ActiveQueryImpl(java.lang.String query, long startTime, ActiveQuery.StatementType statementType, java.util.UUID statementId)
-
ActiveQueryImpl
public ActiveQueryImpl(ActiveQuery copy)
-
-
Method Detail
-
getQuery
public java.lang.String getQuery()
Description copied from interface:ActiveQueryReturns the query that is being run- Specified by:
getQueryin interfaceActiveQuery
-
getStartTime
public long getStartTime()
Description copied from interface:ActiveQueryReturns the system time in millis that this query started running at.- Specified by:
getStartTimein interfaceActiveQuery
-
getStatementType
public ActiveQuery.StatementType getStatementType()
Description copied from interface:ActiveQueryWhat kind of statement is this query executing in?- Specified by:
getStatementTypein interfaceActiveQuery
-
getStatementId
public java.util.UUID getStatementId()
Description copied from interface:ActiveQueryReturns a UUID of the statement for later lookup- Specified by:
getStatementIdin interfaceActiveQuery
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
-