RTI Connext C API Version 7.3.0
DDS_ExpressionProperty Struct Reference

Provides additional information about the filter expression passed to DDS_ContentFilter::writer_compile. More...

Data Fields

DDS_Boolean key_only_filter
 Indicates if the filter expression is based only on key fields. In this case, RTI Connext itself can cache the filtering results. More...
 
DDS_Boolean writer_side_filter_optimization
 Indicates if the filter implementation can cache the filtering result for the provided expression. More...
 

Detailed Description

Provides additional information about the filter expression passed to DDS_ContentFilter::writer_compile.

It is used by the filter implementation to indicate to the middleware whether or not the DDS_ContentFilter will cache the result of filter evaluation.

Field Documentation

◆ key_only_filter

DDS_Boolean DDS_ExpressionProperty::key_only_filter

Indicates if the filter expression is based only on key fields. In this case, RTI Connext itself can cache the filtering results.

When this field is set to DDS_BOOLEAN_TRUE, it indicates to RTI Connext that the filter expression is based only on key fields.

◆ writer_side_filter_optimization

DDS_Boolean DDS_ExpressionProperty::writer_side_filter_optimization

Indicates if the filter implementation can cache the filtering result for the provided expression.

When this field is set to DDS_BOOLEAN_TRUE, RTI Connext will do no caching or explicit filter evaluation for the associated DDS_DataReader. Instead, it will rely on the filter implementation to provide appropriate results.