Skip to main content
Pentaho Documentation

IFilter

pentaho.type.filter.spec.IFilter

The spec.IFilter interface describes the information associated with a filter.

Source: doc-js/pentaho/type/filter/spec/IAbstract.jsdoc, line 17

See also:  pentaho.type.filter.Abstract

Extends

Example

The following is the JSON specification of a filter that selects books whose country of origin is USA and from one of two possible authors.

{
 "_": "pentaho/type/filter/and",
 "operands": [
 {
 "_": "pentaho/type/filter/isEqual",
 "property": "country",
 "value": {_: "string", v: "USA"}
 },
 {
 "_": "pentaho/type/filter/isIn",
 "property": "author",
 "values": [
 {_: "string", v: "Mark Twain"},
 {_: "string", v: "F. Scott Fitzgerald"}
 ]
 }
 ]
}

Members

Name Description
_ : pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

Members Details

_: pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

Source: doc-js/pentaho/type/spec/IInstance.jsdoc, line 27

Inherited From: pentaho.type.spec.IInstance#_