Skip to main content

RecordCreator Python Class

Important

This Python SDK uses outdated technology that limits your extension opportunities. We've built a new Platform SDK using Python and the latest open-source technology to deliver a vastly improved development experience. Go to Platform SDK to get started!

The RecordCreator class provides a way to create empty records. RecordRef represents a reference to a record’s underlying data, and can be accessed & manipulated via the RecordCreator class.

Record Information

var_data_size: The number of bytes of variable-length data in this record.

Methods

finalize_record

finalize_record() -> RecordRef :

Returns the RecordRef that contains the data for the record.

reset

Sets the capacity in bytes for variable-length data in this record to var_data_size.

reset((int)var_data_size=0) -> None :