Open topic with navigation

# Field Access: Names and References

The APIs provide two versions of each message field accessor call: one accepts a field name, while the other accepts a field reference object.

Accessing a field by name involves string comparison operations, which can increase processing latency.

Access by field reference is more efficient than access by name. Field reference objects contain a field name, along with internal information that facilitates efficient access.

Programs can repeatedly use a field reference object to efficiently access a field, even across messages of different formats. For example, if formats A and B both have a field named `foo`, then a field reference object with field name `foo` accesses the correct field in messages of either format.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.