The observationDomain to use for newly created files.
Stores an incoming Record to some number of files.
Stores an incoming Record to some number of files.
The packer calls this function for each Record that it reads from a stream. This function is responsible for determining how to store the record in the destination file(s).
Implementations of this function should determine the relative pathname where the record is to be stored and create a PackableRecord that contains the Record and the relative path. The "relative pathname" is the part of a file's pathname that begins with a version number (for example, "v2/") and ends just before the file's name.
To have the record not be stored, the function may return None. To store one Record, the function may wrap it in an Option. To store the record multiple times, a collection object may be returned. The stored records need not have any relation to the record passed into the function.
This is a function that the packer invokes before it begins to process a stream of records.
This is a function that the packer invokes before it begins to process a stream of records. The argument is the SessionGroup that was created for the stream.
This implementation of function does nothing, but subclasses may override it to do things like register callback functions for templates in the SessionGroup.
The version of the packing logic; this value becomes part of the path in the directory hierarchy.
An implementation of the PackingLogic trait. The
pack()method stores records into files based on the record's IP Protocol.