Class TagQuery
java.lang.Object
com.inductiveautomation.ignition.common.alarming.query.AbstractFilter<TagQueryTarget>
com.inductiveautomation.ignition.common.tags.query.TagQuery
- All Implemented Interfaces:
Condition<TagQueryTarget>
,Filter<TagQueryTarget>
,Serializable
A Tag Query is a set of conditions for querying tags.
The target of the query and conditions is a
TagQueryTarget
. This is a way to bridge between a little
special knowledge about the nature of the target, and the fact that the "tag" object is not defined in Common.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
protected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Field<TagQueryTarget,
Set<NodeAttribute>, SetCondition<NodeAttribute>> Node Attributes are traits of a tag.static final Field<TagQueryTarget,
String, NodeIdCondition> static final Field<TagQueryTarget,
TagPath, TagPathWithoutSourceCondition> static final Field<TagQueryTarget,
PropertySet, PropertyCondition> static final Field<TagQueryTarget,
QualityCode, ValueQualityCondition> Allows filtering based on the tag's current quality.static final Field<TagQueryTarget,
TagObjectType, AnyOfCondition<TagObjectType>> Tag type is the core type of tag- udt, folder, atomic, etc.Type Hierarchy is used to filter UDTs based on a relationship to a type.static final Field<TagQueryTarget,
String, AnyOfCondition<String>> The value source is the "type" of atomic tag it is- memory, query, etc. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected LoggerEx
int
hashCode()
static TagQuery.Builder
Methods inherited from class com.inductiveautomation.ignition.common.alarming.query.AbstractFilter
addRawCondition, and, getConditionFor, getRawConditions, hasConditionFor, isOptimized, logCondition, markOptimized, passes, removeCondition, resetOptimized, toString
-
Field Details
-
PATH
-
QUALITY
Allows filtering based on the tag's current quality. -
VALUE_SOURCE
The value source is the "type" of atomic tag it is- memory, query, etc. -
TAG_TYPE
Tag type is the core type of tag- udt, folder, atomic, etc. -
TYPE_HIERARCHY
public static final Field<TagQueryTarget,TypeHierarchyContext, TYPE_HIERARCHYTypeHierarchyCondition.TypeHierarchyClause> Type Hierarchy is used to filter UDTs based on a relationship to a type. Searches can be a single level if the "direct" relationships are used, or deep if the non-direct variation is used. -
NODE_ATTRIBUTES
public static final Field<TagQueryTarget,Set<NodeAttribute>, NODE_ATTRIBUTESSetCondition<NodeAttribute>> Node Attributes are traits of a tag. They are typically indicative of functionality defined on a tag, but could also be current state. SeeCommonTagAttributes
-
PROPERTIES
-
NODE_ID
-
-
Constructor Details
-
TagQuery
public TagQuery()
-
-
Method Details
-
getOptions
-
newBuilder
-
getReturnProperties
-
getLogger
- Specified by:
getLogger
in classAbstractFilter<TagQueryTarget>
-
equals
- Overrides:
equals
in classAbstractFilter<TagQueryTarget>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractFilter<TagQueryTarget>
-