Record Ports

class orionplatform.ports.RecordInputPort(name=None, title=None, required=False, initializer=False, cube=None)

Input port for receiving Records

class orionplatform.ports.RecordOutputPort(name=None, title=None, required=False, initializer=False, cube=None)

Output port for emitting Records

class orionplatform.ports.RecordBytesInputPort(name=None, title=None, required=False, initializer=False, cube=None)

Input port that receives an OERecord or OEMolRecord as bytes and passes the bytes directly to the cube.

This should only be used when there is no need to interpret the records in the bytes. Most commonly it can be used to optimized the performance of writing bytes.

class orionplatform.ports.RecordBytesOutputPort(name=None, title=None, required=False, initializer=False, cube=None)

Output port that receives sends bytes that represent an OERecord or OEMolRecord.

This should only be used when generating records, but don’t need to deserialize them. Most commonly used to optimize performance when emitting records.