beat.web.statistics.models module

class beat.web.statistics.models.HourlyStatistics(id, date, hour, cpu_time, max_memory, data_read_size, data_read_nb_blocks, data_read_time, data_written_size, data_written_nb_blocks, data_written_time)[source]

Bases: django.db.models.base.Model

date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

hour

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

cpu_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

max_memory

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_read_size

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_read_nb_blocks

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_read_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_written_size

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_written_nb_blocks

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_written_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

get_next_by_date(*, field=<django.db.models.fields.DateField: date>, is_next=True, **kwargs)
get_previous_by_date(*, field=<django.db.models.fields.DateField: date>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>