Interval NotationΒΆ
Numeric dimensions can use interval notation to specify a range of values. Place range interval notation in the value key of the criterion.
Square brackets, “[” (lower bound) and “]” (upper bound) indicate that that the adjacent value is inclusive. Parentheses indicate that the adjacent value is not included.
If one of the values in the range is unbounded, use a question mark (?) in place, or do not include any value at all.
pattern | meaning |
---|---|
a | x = a |
[a,b] | a <= x <= b |
[a,b) | a <= x < b |
(a,b) | a < x < b |
(a,b] | a < x <= b |
(a,?] (a,?) (a,] (a,) | x > a |
[a,?] [a,?) [a,] [a,) | x >= a |
[?,a] (?,a] [,a] (,a] | x <= a |
[?,a) (?,a) [,a) (,a) | x < a |