Returns the number of items (Data Records or Template Records) in the Set.
Appends this IpfixSet to a buffer for writing to an IPFIX stream.
Appends this IpfixSet to a buffer for writing to an IPFIX stream.
java.nio.BufferOverflowException if there is not enough
room in the buffer for all items in the Set. The buffer's
position when an error is thrown unknown.
The identifier for this Set, which is a Template identifier if the Set is RecordSet.
Returns an Iterator over the Records in this IpfixSet, returning an empty Iterator if this is a TemplateSet.
The Session which the Set was read from or will be written to.
Returns an Iterator over the Templates in this IpfixSet, returning an empty Iterator if this is a RecordSet.
Returns a String representation the Set.
Returns a String representation the Set.
The IpfixSet class represents an IPFIX Set. (The name is "IpfixSet" to avoid conflicts with the standard Scala Set).
A Set is a generic term for a collection of records that have a similar structure. A Set consists of a 4-byte Set Header and one or more records.
There are three types of Sets: (1)Data Sets contain IPFIX flow records and are represented by the RecordSet class. (2)Template Sets and (3)Option Template Sets contain templates (or schemas) that describe the representation of the data in Data Sets. They are represented by the TemplateSet class.
To create a Set from IPFIX data stored in a ByteBuffer that was read as part of message, use
val set = IpfixSet.fromBuffer(buffer, message)1.3.1 This class was previously called
Set.The companion object for more details