Field#

class Field#

This class may be used as an input to FHE SQL queries implemented by Table class. To this end, a Field object may be created using Table::createCompareValue() function. Then, the created Field object may be used as an input to FHE SQL queries, such as Table::countQuery().

load_from_buffer(self: pyhelayers.Field, buf: bytes) None#

Loads this Field from a buffer.

Parameters:

buf – a memory buffer to load the object from.

load_from_file(self: pyhelayers.Field, file_name: str) int#

Loads this Field from a file saved by save_to_file().

Parameters:

file_name (string) – File to load from.

save_to_buffer(self: pyhelayers.Field) bytes#

Saves this Field into a buffer.

Returns:

a memory buffer containing the saved object.

save_to_file(self: pyhelayers.Field, file_name: str) int#

Saves this Field to a file in binary form.

Parameters:

file_name (string) – File to write to.