noc.core.clickhouse.dictionary

Module Contents

class noc.core.clickhouse.dictionary.Dictionary

Bases: six.with_metaclass()

class Meta
name
layout
lifetime_min
lifetime_max
_collection
_seq
classmethod iter_cls(cls)

Generator yielding all known dictionaries :return:

classmethod get_config(cls)

Generate XML config :return:

classmethod get_dictionary_class(cls, name)

Returns dictionary class referred by name @todo: Process custom/ :param name: :return:

classmethod get_field_type(cls, name)

Returns field type

Parameters:name
Returns:
classmethod get_pk_name(cls)

Get primary key’s name

Returns:Field name
classmethod dump(cls, out)