Packages

final class CollectedRecord extends Record

A CollectedRecord represents the data for an individual Record that has been created when a Template interprets a ByteBuffer.

To create a Record from existing objects, use the ArrayRecord class or extend the ExportRecord abstract class.

See also

The companion object for more details

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollectedRecord
  2. Record
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def allBasicListElements(): Set[InfoElement]

    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.

    Definition Classes
    Record
  5. final def allTemplates(): Set[Template]

    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.

    Definition Classes
    Record
  6. def apply(idx: Int): Any

    The value of the field in this record at the given field position within the Template.

    The value of the field in this record at the given field position within the Template.

    Definition Classes
    CollectedRecordRecord
    Exceptions thrown

    java.lang.IndexOutOfBoundsException if the index is out of range.

  7. def apply(ie: InfoElement): Any

    The value of the first occurrence of the specified Information Element in this Record.

    The value of the first occurrence of the specified Information Element in this Record.

    Definition Classes
    Record
    Since

    1.3.1

    Exceptions thrown

    java.lang.IndexOutOfBoundsException if this Record's Template does not contain that Information Element.

  8. def apply(spec: FieldSpec): Any

    The value of the field within this record matching the given specification.

    The value of the field within this record matching the given specification.

    Definition Classes
    Record
    Since

    1.3.1

    Exceptions thrown

    java.lang.IndexOutOfBoundsException if the Template does not contain the FieldSpec.

  9. final def apply[T](extractor: FieldExtractor[T]): Option[T]

    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.

    T

    The result type of the extractor.

    extractor

    A field extractor.

    returns

    The value for the referenced field, or scala.None if the extractor does not match a field in this record.

    Definition Classes
    Record
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def detach(): Record

    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.

    returns

    the record itself (not a new record)

    Definition Classes
    CollectedRecordRecord
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def exportTime: Option[Instant]

    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.

    returns

    The export time of the Message or None if the record represents a list element or was not read from a Message.

    Definition Classes
    CollectedRecordRecord
  16. final def fields: Iterator[Field]

    Returns an Iterator where iteration yields a Field.

    Returns an Iterator where iteration yields a Field.

    Definition Classes
    Record
  17. final def fill(obj: Fillable): Unit

    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.

    obj

    the object to fill

    Definition Classes
    Record
    See also

    IPFIXExtract

  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def formatted: String
    Definition Classes
    Record
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val message: Option[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 Message object from which the Record was read as an Option or scala.None if the Record was not read from a Message.

    Definition Classes
    CollectedRecordRecord
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def observationDomain: Option[Int]

    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.

    Definition Classes
    CollectedRecordRecord
  28. def octetLength: Int

    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.

    Definition Classes
    CollectedRecordRecord
  29. val session: Session
  30. final lazy val size: Int

    Gets the number of fields in the record.

    Gets the number of fields in the record.

    Definition Classes
    Record
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. final val template: Template
    Definition Classes
    Record
  33. def toBuffer(outbuf: ByteBuffer, session: Session): ByteBuffer

    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 appended to the buffer.

    Definition Classes
    CollectedRecordRecord
  34. def toString(): String
    Definition Classes
    Record → AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Record

Inherited from AnyRef

Inherited from Any

Ungrouped