Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence of message body elements #32

Closed
adkapur opened this issue Sep 24, 2016 · 1 comment
Closed

Sequence of message body elements #32

adkapur opened this issue Sep 24, 2016 · 1 comment
Labels

Comments

@adkapur
Copy link

adkapur commented Sep 24, 2016

As per the SBE specification:

To maximize deterministic field positions, message schemas must be specified with this sequence of message body elements:

  1. Fixed-length fields that reside at the root level of the message (that is, not members of repeating groups), including any of the following, in the order specified by the message schema::
    a. Fixed-length scalar fields, such as integers
    b. Fixed-length character arrays
    c. Fixed-length composite types, such as MonthYear
  2. Repeating groups, if any.
  3. Data fields, including raw data and variable-length strings, if any.

Do the fixed length fields refer to both required fields as well as optional fields?

@donmendelson
Copy link
Member

Yes, fixed-length fields may be required or optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants