Adds a Template to the TemplateSet.
Adds a Template to the TemplateSet. The Option setting of the Template must match that of the Template Set.
MessageTooLongException when adding the Template would
cause the size of the exported Template Set to exceed the maximum
IPFIX message size.
RuntimeException when either the Template Set is
read-only or the isOptionsTemplate setting of the Template does
not match that of the Template Set.
The identifier for this Set, which is a Template identifier if the Set is RecordSet.
Indicates whether this template set holds option templates.
Returns an Iterator over the Templates in the Set.
Returns an Iterator over the Templates in the Set.
Returns the total octetLength of this TemplateSet when reading from or writing to a buffer.
Returns an Iterator over the Records in this IpfixSet, returning an empty Iterator if this is a TemplateSet.
Returns an Iterator over the Records in this IpfixSet, returning an empty Iterator if this is a TemplateSet.
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
The Session which the Set was read from or will be written to.
Returns the number of Templates in the Set.
Returns the number of Templates in the Set.
Returns an Iterator over the Templates in this IpfixSet, returning an empty Iterator if this is a RecordSet.
Returns an Iterator over the Templates in this IpfixSet, returning an empty Iterator if this is a RecordSet.
Appends the TemplateSet to a buffer for writing to an IPFIX stream.
Appends the TemplateSet to a buffer for writing to an IPFIX stream.
java.nio.BufferOverflowException if there is not enough
room in the buffer for all Templates in the TemplateSet.
Because the method makes multiple writes to the buffer, the
buffer's position is unknown if an error is thrown.
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
A TemplateSet represents a IpfixSet that contains one or more Templates or Option Templates.
To create a TemplateSet from an input ByteBuffer, call IpfixSet.fromBuffer().
To create a TemplateSet for export, use TemplateSet].empty() to create an empty TemplateSet and then call addTemplate() to add Templates to it.
The companion object for more details.