|
| user_provided_ts_ |
|
| offset_ |
|
| columns_ |
|
Builder of a schema for the atomic multilog.
◆ __init__()
def confluo.rpc.schema.SchemaBuilder.__init__ |
( |
|
self | ) |
|
Initializes a default schema builder.
◆ add_column()
def confluo.rpc.schema.SchemaBuilder.add_column |
( |
|
self, |
|
|
|
data_type, |
|
|
|
name, |
|
|
|
min_value = None , |
|
|
|
max_value = None |
|
) |
| |
Adds a column to the schema builder.
Args:
data_type: The data type of the column.
name: The name of the column.
min_value: The minimum value of the column.
max_value: The maximum value of the column.
◆ build()
def confluo.rpc.schema.SchemaBuilder.build |
( |
|
self | ) |
|
Builds a schema by returning the list of columns.
Returns:
A list of columns that make up the schema.
The documentation for this class was generated from the following file:
- /Users/anuragk/Work/Projects/Confluo/confluo/pyclient/confluo/rpc/schema.py