Skip to content

usage of typeobject #3587

Answered by MiguelCompany
xiayh1992 asked this question in Q&A
Jun 14, 2023 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

TopicDataType and TypeSupport have all information about the HelloWorld data

This is not true. TopicDataType does not have all the information about the HelloWorld data. It just knows how to do conversions between a serialized payload and a HelloWorld object, but it does not provide methods to allow querying the type of a member given its name, or the offset of a field in the serialized payload.

For the default SQL-like filter, having the TypeObject registered is a requirement, and it is documented as such in the documentation: "Different filter classes may impose different requirements on the related Topic, the expression, or the parameters. The default filter class, in particular, req…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@xiayh1992
Comment options

@MiguelCompany
Comment options

Answer selected by xiayh1992
@xiayh1992
Comment options

@MiguelCompany
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants