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

Public Member Functions

def __init__ (self, idx, data_type, data)
 
def unpack (self)
 

Public Attributes

 idx_
 
 data_type_
 
 data_
 

Detailed Description

Contains data stored as part of a record.

Constructor & Destructor Documentation

◆ __init__()

def confluo.rpc.schema.Field.__init__ (   self,
  idx,
  data_type,
  data 
)
Initializes the field to the data passed in.

Args:
    idx: The index of the field.
    data_type: The data type the value of the field contains.
    data: The data that the field contains.

Member Function Documentation

◆ unpack()

def confluo.rpc.schema.Field.unpack (   self)
Unpacks the field to get the data.

Returns:
    The data in the field.

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