Bases: panko.storage.hbase.base.Connection, panko.storage.base.Connection
Put the event data into a HBase database
Collections:
events:
row_key: timestamp of event’s generation + uuid of event in format: “%s:%s” % (ts, Event.message_id)
Column Families:
f: contains the following qualifiers:
event_type: description of event’s type
timestamp: time stamp of event generation
all traits for this event in format:
"%s:%s" % (trait_name, trait_type)
Return an iter of models.Event objects.
Parameters: |
|
---|
Return a dictionary containing the name and data type of the trait.
Only trait types for the provided event_type are returned.
Parameters: | event_type – the type of the Event |
---|
Return all trait instances associated with an event_type.
If trait_type is specified, only return instances of that trait type. :param event_type: the type of the Event to filter by :param trait_type: the name of the Trait to filter by