Confluo  0.1.0
Public Member Functions | Public Attributes | List of all members
confluo.rpc.schema.Column Class Reference

Public Member Functions

def __init__ (self, idx, offset, data_type, name, min_value, max_value)
 
def __str__ (self)
 
def apply (self, data)
 

Public Attributes

 idx_
 
 offset_
 
 data_type_
 
 name_
 
 value
 
 min_value_
 
 max_value
 

Detailed Description

Container of values for a specific type in the schema.

Constructor & Destructor Documentation

◆ __init__()

def confluo.rpc.schema.Column.__init__ (   self,
  idx,
  offset,
  data_type,
  name,
  min_value,
  max_value 
)
Initializes a column in the schema.

Args:
    idx: The index of the column.
    offset: The offset of the column.
    data_type: The data type of values in the column.
    name: The name of the column.
    min_value: The minimum value of the column.
    max_value: The maximum value of the column.

Member Function Documentation

◆ __str__()

def confluo.rpc.schema.Column.__str__ (   self)
Convert to string

Returns:
    String representation of the column

◆ apply()

def confluo.rpc.schema.Column.apply (   self,
  data 
)
Adds data to the column.

Args:
    data: The data to add.
Returns:
    A field containing the data.

The documentation for this class was generated from the following file: