Filter

Java Class: com.spotify.heroic.filter.Filter

The structure of a filter is explained in detail in the Query Language documentation. This will only be a brief, syntactical overview.

Structure Purpose
["and", <filter>, ...] A boolean 'and' operation, evaluates to true if all of the nested <filter>'s are true, otherwise true.
["or", <filter>, ...] A boolean 'or' operation, evaluates to true if any of the nested <filter>'s are true, otherwise false.
["not", <filter>] A boolean 'not' operation, evaluates to true if the nested <filter> is false.