Class
caplin.streamlink

ContainerFilterFactory

A factory for creating FilterExpressions for use in the caplin.streamlink.ContainerSubscriptionParameters select method.

ContainerSubscriptionParameters parameters = streamlink.createContainerSubscriptionParameters();
FilterExpression fe1 = ContainerFilterFactory.create("FIELD1", FilterExpressionOperator.GREATER_THAN, "0.1");FilterExpression fe2 = ContainerFilterFactory.create("FIELD3", FilterExpressionOperator.EQUAL, "a a");
FilterExpression fe3 = ContainerFilterFactory.createLogical(FilterExpressionLogicalOperator.AND, fe1, fe2);
parameters.select(fe3.toFilterString(), null, null);

Constructor Summary

Attributes Name and Description
caplin.streamlink.ContainerFilterFactory()

Method Summary

Attributes Name and Description
<static> caplin.streamlink.FilterExpression create(String field, caplin.streamlink.FilterExpressionOperator oper, String value)

Creates a new field filter expression.

<static> caplin.streamlink.FilterExpression createCustom(String field, String fieldType, caplin.streamlink.FilterExpressionOperator oper, String value)

Creates a new custom field filter expression.

<static> caplin.streamlink.FilterExpression createLogical(caplin.streamlink.FilterExpressionLogicalOperator oper, caplin.streamlink.FilterExpression expressions)

Creates a new logical filter expression.

Constructor Detail

caplin.streamlink.ContainerFilterFactory()

Method Detail

<static> caplin.streamlink.FilterExpression create(String field, caplin.streamlink.FilterExpressionOperator oper, String value)

Creates a new field filter expression.

Parameters
String field The field.
caplin.streamlink.FilterExpressionOperator oper The comparison operator.
String value The value.
Returns
{caplin.streamlink.FilterExpression} A new FilterExpression.

<static> caplin.streamlink.FilterExpression createCustom(String field, String fieldType, caplin.streamlink.FilterExpressionOperator oper, String value)

Creates a new custom field filter expression.

Parameters
String field The field.
String fieldType The custom type of this field e.g. Tenor.
caplin.streamlink.FilterExpressionOperator oper The operator.
String value The value.
Returns
{caplin.streamlink.FilterExpression} A new FilterExpression.

<static> caplin.streamlink.FilterExpression createLogical(caplin.streamlink.FilterExpressionLogicalOperator oper, caplin.streamlink.FilterExpression expressions)

Creates a new logical filter expression.

Parameters
caplin.streamlink.FilterExpressionLogicalOperator oper The logical operator.
caplin.streamlink.FilterExpression expressions A list of FilterExpressions.
Returns
{caplin.streamlink.FilterExpression} A new FilterExpression.