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 boolean
equals(java.lang.Object that)
java.lang.String
getQuery()
Returns the query that is being runlong
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 lookupActiveQuery.StatementType
getStatementType()
What kind of statement is this query executing in?int
hashCode()
-
-
-
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:ActiveQuery
Returns the query that is being run- Specified by:
getQuery
in interfaceActiveQuery
-
getStartTime
public long getStartTime()
Description copied from interface:ActiveQuery
Returns the system time in millis that this query started running at.- Specified by:
getStartTime
in interfaceActiveQuery
-
getStatementType
public ActiveQuery.StatementType getStatementType()
Description copied from interface:ActiveQuery
What kind of statement is this query executing in?- Specified by:
getStatementType
in interfaceActiveQuery
-
getStatementId
public java.util.UUID getStatementId()
Description copied from interface:ActiveQuery
Returns a UUID of the statement for later lookup- Specified by:
getStatementId
in interfaceActiveQuery
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
-