Caplin Trader 5.1.0

Interface: module:ct-grid/filter/FilterExpression

module:ct-grid/filter/FilterExpression

The interface that must be implemented by any class that wants to define a particular filtering rule that can be applied to a set of record data.

Methods

getRttpState() → {String}

Gets a serialized representation of this FilterExpression to send via RTTP to the Liberator which will apply it. This format must be understood by the DataSource, such as the Container Filtering Module used by the Transformer, that will apply the filter.

Returns:

A serialized representation of this expression that can be sent over RTTP.

Type
String

getSerializedState()

See:

toMap() → {Map}

Combine nested filters into a map representation.

Returns:

A map representation of the filters contained

Type
Map