Class TagQuery.Builder
java.lang.Object
com.inductiveautomation.ignition.common.tags.query.TagQuery.Builder
- Enclosing class:
- TagQuery
-
Method Summary
Modifier and TypeMethodDescriptionandProperty
(Property<?> property, ComparisonOperator op, Object v) andProperty
(String propertyName, ComparisonOperator op, Object v) attributes
(NodeAttribute... attributes) build()
protected PropertyCondition
inheritanceHierarchy
(String typeId, InheritanceRelationship relationship) nodeId
(String nodeId, ComparisonOperator op) options
(TagQuery.Options options) orProperty
(Property<?> property, ComparisonOperator op, Object v) orProperty
(String propertyName, ComparisonOperator op, Object v) Expects a single tag path style string, with or without wildcards (*).propertyDefined
(Property<?> property) propertyDefined
(String propertyName) propertyNotDefined
(Property<?> property) propertyNotDefined
(String propertyName) propertyOverridden
(Property<?> property) propertyOverridden
(String propertyName) protected TagQuery.Builder
quality
(QualityCode quality, boolean exact) qualityIs
(QualityCode code) Creates a condition where the quality must be the exactly specified sub-code.qualityLevelIs
(QualityCode level) returnProperties
(Property<?>... properties) This adds a filter that will find instances that descend from the specified type id.tagObjectType
(TagObjectType type) Adds a new allowed TagObjectType.valueSource
(String id) Adds a new allowed values source id.
-
Method Details
-
options
-
path
Expects a single tag path style string, with or without wildcards (*). If the tag provider is included in the path, it will be stripped out- path conditions are relative to the overall provider the query is being executed on. -
qualityIs
Creates a condition where the quality must be the exactly specified sub-code. -
qualityLevelIs
-
quality
-
tagObjectType
Adds a new allowed TagObjectType. Values of this type are treated as "or" alternatives. -
nodeId
-
valueSource
Adds a new allowed values source id. Values of this type are treated as "or" alternatives. -
attributes
-
superType
This adds a filter that will find instances that descend from the specified type id. This is a shortcut for calling inheritanceHierarchy(typeId, InheritanceRelationship.SuperType).- Parameters:
typeId
- UDT tag type id.
-
inheritanceHierarchy
-
getPropertyCondition
-
andProperty
-
andProperty
-
orProperty
-
orProperty
-
propertyDefined
-
propertyDefined
-
propertyNotDefined
-
propertyNotDefined
-
propertyOverridden
-
propertyOverridden
-
returnProperties
-
propertyGroup
-
build
-