Gets a Set containing the InfoElement used by any basic list on the
record and by the record's ListElements.
Gets a Set containing the InfoElement used by any basic list on the
record and by the record's ListElements.
Gets a Set containing the Template used by the record and the
Templates used by any ListElements in the
record.
Gets a Set containing the Template used by the record and the
Templates used by any ListElements in the
record.
Gets the value within the record for the given field by field position within the Template.
Gets the value within the record for the given field by field position within the Template.
The index of the field whose value to return.
The value for the referenced field.
if the index is out of range
(idx < 0 || idx >= template.size())
Gets the value within the record for the given field by finding the field matching an InfoElement within the Template.
Gets the value within the record for the given field by finding the field matching an InfoElement within the Template.
The InfoElement to find with the record's Template in order to get its position.
The value for the referenced field.
1.3.1
java.lang.IndexOutOfBoundsException if the Template does not
contain the InfoElement.
Gets the value within the record for the given field by finding the field matching a FieldSpec within the Template.
Gets the value within the record for the given field by finding the field matching a FieldSpec within the Template.
The field to find with the record's Template in order to get its position.
The value for the referenced field.
1.3.1
java.lang.IndexOutOfBoundsException if the Template does not
contain the FieldSpec.
Gets the value within the record for the field referenced by the extractor as an Option.
Gets the value within the record for the field referenced by the extractor as an Option.
The result type of the extractor.
A field extractor.
The value for the referenced field, or scala.None if the extractor does not match a field in this record.
Copies fields from source to this by position.
Copies fields from source to this by position.
Calls
update(i, source.apply(i))
for all i less than the
minimum of either size or source.size.
update(i, source.apply(i))
}}}
minimum of either size or source.size.
Modifies the current record so that it carries as little data as necessary to exist by itself.
Modifies the current record so that it carries as little data as
necessary to exist by itself. More specifically, it detaches
itself from as much of its parent Message's data as
possible. If non-complete subsets of Records are going
to be kept in memory, they should be detached so they don't
carry the memory of any discarded Records by association
to their parent Messages.
the record itself (not a new record)
Gets the export time of the Message that generated this record as an Option.
Gets the export time of the Message that generated this record as an Option.
The export time of the Message or None if the record represents a list element or was not read from a Message.
Returns an Iterator where iteration yields a Field.
Returns an Iterator where iteration yields a Field.
Fills the fields of obj that are marked with the
IPFIXExtract annotation from this record.
Fills the fields of obj that are marked with the
IPFIXExtract annotation from this record.
the object to fill
IPFIXExtract
Returns the Message object from which the Record was read as an Option or scala.None if the Record was not read from a Message.
Returns the Message object from which the Record was read as an Option or scala.None if the Record was not read from a Message.
Returns the observation domain of the Message that generated this record as an Option or None if the record represents a list element or was not read from a Message.
Returns the observation domain of the Message that generated this record as an Option or None if the record represents a list element or was not read from a Message.
Gets the number of octets required to write the record to a stream.
Gets the number of octets required to write the record to a stream.
Gets the number of fields in the record.
Gets the number of fields in the record.
The Template that describes this Record.
The Template that describes this Record.
Appends this Record to a buffer for writing to an IPFIX stream.
Appends this Record to a buffer for writing to an IPFIX stream.
The function uses the template IDs in session if the Record
contains SubTemplateLists or a SubTemplateMultiList. Assumes
the Template(s) used by the Record have already
been added to the Session and appeneded to the buffer.
Sets the value within the record for the given field by field position within the template.
Sets the value within the record for the given field by field position within the template.
The index of the field whose value to set.
if the index is out of range
(idx < 0 || idx >= template.size())
An ArrayRecord represents the data for an individual Record that is being built from instances of objects. In the ArrayRecord class, fields are always accessed by position, where field
irepresents the data for InfoElementiin the Template.The ExportRecord class is similar to this class, except ExportRecord is abstract and allows the subclass to reference information elements by name.
When creating a record from a buffer containing serialzed data, the CollectedRecord class should be used.
An ArrayRecord is created from a Template. The value for each information element in the Record is initially set to its default value (0 for values and
nullfor references). The update() method is used set the values.The companion object for more details.