Class TagQueryFilter
java.lang.Object
com.inductiveautomation.ignition.common.tags.query.TagQueryFilter
- All Implemented Interfaces:
Condition<TagQueryTarget>
,Filter<TagQueryTarget>
,Serializable
The TagQueryFilter wraps a query to add on additional temporal data, such as current continuation point, offset, etc.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V,
C extends Condition<V>>
CgetConditionFor
(Field<TagQueryTarget, V, C> field) Returns the condition for the field, or null if it doesn't exist.int
getQuery()
boolean
hasConditionFor
(Field<TagQueryTarget, ?, ?> field) Returns whether the filter has a condition for the field.static TagQueryFilter
newContinuation
(String continuationPoint) static TagQueryFilter
boolean
passes
(TagQueryTarget value) Returns whether the provided value passes the condition.void
setMaxResults
(int maxResults) void
toString()
-
Field Details
-
NOT_SPECIFIED
public static final int NOT_SPECIFIED- See Also:
-
-
Constructor Details
-
TagQueryFilter
public TagQueryFilter()
-
-
Method Details
-
newQuery
-
newContinuation
-
getContinuationPoint
-
getQuery
-
setQuery
-
setMaxResults
public void setMaxResults(int maxResults) -
getMaxResults
public int getMaxResults() -
hasConditionFor
Description copied from interface:Filter
Returns whether the filter has a condition for the field.- Specified by:
hasConditionFor
in interfaceFilter<TagQueryTarget>
-
getConditionFor
Description copied from interface:Filter
Returns the condition for the field, or null if it doesn't exist.- Specified by:
getConditionFor
in interfaceFilter<TagQueryTarget>
-
passes
Description copied from interface:Condition
Returns whether the provided value passes the condition.- Specified by:
passes
in interfaceCondition<TagQueryTarget>
-
toString
-