RTI Connext Java API  Version 6.1.1

<<extension>> Specifies the data query that defines a com.rti.dds.subscription.TopicQuery More...

Inheritance diagram for TopicQuerySelection:
Copyable

Public Member Functions

Object copy_from (Object src)
 

Public Attributes

String filter_class_name = null
 The name of the filter to use. More...
 
String filter_expression = null
 The filter expression. More...
 
StringSeq filter_parameters = new StringSeq()
 The query parameters. More...
 
TopicQuerySelectionKind kind
 Indicates whether the sample selection is limited to cached samples or not. More...
 

Detailed Description

Member Function Documentation

◆ copy_from()

Object copy_from ( Object  src)

This is the implementation of the Copyable interface. This method will perform a deep copy of src This method could be placed into TopicQuerySelectionTypeSupport rather than here by using the -noCopyable option to rtiddsgen.

Parameters
srcThe Object which contains the data to be copied.
Returns
Returns this.
Exceptions
NullPointerExceptionIf src is null.
ClassCastExceptionIf src is not the same type as this.
See also
com.rti.dds.infrastructure.Copyable::copy_from(java.lang.Object)

Implements Copyable.

References StringSeq.copy_from(), TopicQuerySelection.filter_class_name, TopicQuerySelection.filter_expression, TopicQuerySelection.filter_parameters, TopicQuerySelection.kind, and Enum.ordinal().

Referenced by TopicQueryData.copy_from().

Member Data Documentation

◆ filter_class_name

String filter_class_name = null

The name of the filter to use.

Name of content filter to use. Must be one of the built-in filter names or previously registered with com.rti.dds.domain.DomainParticipant.register_contentfilter on the same com.rti.dds.domain.DomainParticipant.

Built-in filter names are com.rti.dds.domain.DomainParticipant.SQLFILTER_NAME and com.rti.dds.domain.DomainParticipant.STRINGMATCHFILTER_NAME.

[default] See com.rti.dds.subscription.DataReader.TOPIC_QUERY_SELECTION_USE_READER_CONTENT_FILTER

Referenced by TopicQuerySelection.copy_from().

◆ filter_expression

String filter_expression = null

The filter expression.

The expression to filter samples in the DataWriters. It follows the format described in Queries and Filters Syntax.

[default] See com.rti.dds.subscription.DataReader.TOPIC_QUERY_SELECTION_USE_READER_CONTENT_FILTER

See also
Queries and Filters Syntax

Referenced by TopicQuerySelection.copy_from().

◆ filter_parameters

◆ kind

Initial value:
=
TopicQuerySelectionKind.HISTORY_SNAPSHOT

Indicates whether the sample selection is limited to cached samples or not.

[default] com.rti.dds.subscription.TopicQuerySelectionKind.HISTORY_SNAPSHOT

Referenced by TopicQuerySelection.copy_from().