Filters & Relationships

<< Click to Display Table of Contents >>

Navigation:  Web UI >

Filters & Relationships

 

For DTS, Filters and Relationships are manifestations of the same underlying objects - Predicates. However, differences in how they are used warrant treating them separately.

 

Filters

 

Filters are used to define complex query clauses on DTS resources, generally used to limit which records from those resources DTS will provide to its consumers.

 

Filter dialog

Filter dialog

 

Information-icon_16px The available operations are: AND, OR, EQUALS, LIKE, GREATER, LOWER, GREATER or EQUAL, LOWER or EQUAL.

 

Information-icon_16px To save your changes, click on the Accept button.

 

Operations can be compounded using the AND and OR operators to virtually no limit of complexity.

The Negated checkbox controls whether the particular clause in the filter will be negated, for example:

EQUALS + Negated = NOT EQUALS

GREATER + Negated = LOWER or EQUAL

OR + Negated = NOR

 

Information-icon_16px Please see the Predicates Technical Guide for more information regarding filter composition.

 

 

Relationships

 

The same mechanism that is used for defining Filters is used to define Aggregate Relationships, with a few notable differences.

Aggregate relationship

Aggregate relationship

 

Firstly, the Relationship Editor provides a choice of Parent. This sets the Aggregate source to target with the relationship.

Secondly, since for a relationship we need to compare two attributes from resource records, rather than an attribute to a constant value, the Value box from Filter is replaced with a Parent Field dropdown which presents the attributes available in the Parent resource.

Lastly, since relationships are used to simulate Foreign Keys or to feed routine inputs, the Operation can only be EQUALS.

 

Information-icon_16px Please see the Aggregation Technical Guide for more information on Relationships.

 

Information-icon_16px To save your changes, click on the Accept button.