Construct a JavaScript filter for a given dimension

Usage

druid.filter.javascript(dimension, predicate)

Arguments

dimension
dimension to match
predicate
Javascript predicate function used to filter the dimension

Description

Construct a JavaScript filter for a given dimension