Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In my client program, can I reuse Schema.Field objects across tuples?

0
Posted

In my client program, can I reuse Schema.Field objects across tuples?

0

No – as a general rule, you can’t reuse tuples that were created from separate schema objects. In fact, you also cannot reuse Schema.Field objects. You need to “re-get” the Schema.Field objects after Schema creation. If you try to do these, you’ll see an ArrayIndexOutOfBoundsException thrown by the StreamBase client libarary.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.