RTI Connext Traditional C++ API Version 7.1.0
DDS_ExpressionProperty Struct Reference

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

Public Attributes

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 DDSWriterContentFilter::writer_compile .

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

Member Data 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 DDSDataReader. Instead, it will rely on the filter implementation to provide appropriate results.