clockworkdb.tsdb
Classes
Module Contents
- class clockworkdb.tsdb.RepositoryMetaDataList
- size() int
- get(arg: int, /) RepositoryMetaData
- class clockworkdb.tsdb.RepositoryMetaData
- name() str
- description() str
- module() str
- __str__() str
- __repr__() str
- class clockworkdb.tsdb.DatastoreMetaDataList
- size() int
- get(arg: int, /) DatastoreMetaData
- class clockworkdb.tsdb.AccessMode
- static READ_ONLY() AccessMode
- static READ_WRITE() AccessMode
- static CREATE() AccessMode
- class clockworkdb.tsdb.DatastoreMatch
- next() bool
- name() str
- __iter__() DatastoreMatch
- __next__() str
- class clockworkdb.tsdb.Provider
- name() str
- description() str
- version() str
- tsdb_version() str
- config_template() str
- class clockworkdb.tsdb.Engine
-
- static version() str
- get_session() Session
- get_session(arg: _clockworkdb.observation.Observation, /) Session
- get_session(arg: str, /) Session
- get_repositories_meta_data() RepositoryMetaDataList
- get_repositories() list[RepositoryMetaData]
- class clockworkdb.tsdb.Session
- get_connection() Connection
- name() _clockworkdb.scalar.String
- class clockworkdb.tsdb.Connection
- get_datastore(arg0: str, arg1: AccessMode, /) Datastore
- delete_datastore(arg: str, /) None
- get_datastores_meta_data() DatastoreMetaDataList
- get_datastores() list[DatastoreMetaData]
- class clockworkdb.tsdb.Datastore
- has_time_series(arg: str, /) bool
- get_time_series(arg: str, /) TimeSeries
- delete_time_series(arg: str, /) bool
- create_time_series(arg0: str, arg1: NativeDataType, arg2: NativeCalendarType, arg3: AggregationType, /) TimeSeries
- regex_name_search(arg: str, /) DatastoreMatch
- save_time_series(time_series: TimeSeries, overwrite: bool = True) None
- close() None
- get_create_date() str
- get_modify_date() str
- get_description() str
- class clockworkdb.tsdb.AliasSet
- add(arg: str, /) bool
- changed() bool
- clear() None
- remove(arg: str, /) None
- size() int
- get(arg: int, /) str
- __str__() str
- class clockworkdb.tsdb.AggregationType
- static AVERAGED() AggregationType
- static BEGIN() AggregationType
- static END() AggregationType
- static HIGH() AggregationType
- static LOW() AggregationType
- static SUM() AggregationType
- name() str
- class clockworkdb.tsdb.NativeDataType
- static BLOB() NativeDataType
- static STRING() NativeDataType
- static FLOAT() NativeDataType
- static DOUBLE() NativeDataType
- static INT() NativeDataType
- static BOOL() NativeDataType
- name() str
- __eq__(arg: NativeDataType, /) bool
- class clockworkdb.tsdb.DatedObservation
- date() _clockworkdb.calendars.Date
- date_int() int
- date_as_string() str
- observation() _clockworkdb.observation.Observation
- __str__() str
- __repr__() str
- __eq__(arg: DatedObservation, /) bool
- __ne__(arg: DatedObservation, /) bool
- as_float() float
- as_double() float
- as_int() int
- as_bool() bool
- as_string() str
- is_normal() bool
- class clockworkdb.tsdb.ContinuousRange(arg: TimeSeries, /)
- class clockworkdb.tsdb.ContinuousRange(arg0: TimeSeries, arg1: int, arg2: int, /)
- __iter__() ContinuousRange
- __next__() DatedObservation
- __len__() int
- class clockworkdb.tsdb.TimeSeries
- name() str
- exists() bool
- get_aggregation_type() AggregationType
- get_attribute(arg: str, /) str
- set_attribute(arg0: str, arg1: str, /) None
- get_calendar() _clockworkdb.calendars.Calendar
- get_create_date() str
- get_modify_date() str
- get_data_type() NativeDataType
- get_observation(arg: int, /) _clockworkdb.observation.Observation
- get_observation(arg: _clockworkdb.calendars.Date, /) _clockworkdb.observation.Observation
- set_observation(arg0: int, arg1: _clockworkdb.observation.Observation, /) None
- set_observation(arg0: _clockworkdb.calendars.Date, arg1: _clockworkdb.observation.Observation, /) None
- full_range() ContinuousRange
- range(arg0: int, arg1: int, /) ContinuousRange
- range(arg0: _clockworkdb.calendars.Date, arg1: _clockworkdb.calendars.Date, /) ContinuousRange
- get_first_date_int() int
- get_last_date_int() int
- get_first_date() _clockworkdb.calendars.Date
- get_last_date() _clockworkdb.calendars.Date
- save(arg: bool = True) None
- begin() tom::collections::time_series_iterator
- end() tom::collections::time_series_iterator
- np_array() numpy.typing.NDArray[numpy.float32]
- np_array(arg0: int, arg1: int, /) numpy.typing.NDArray[numpy.float32]
- class clockworkdb.tsdb.NativeCalendarType
- value() int
- static Annual() NativeCalendarType
- static SemiAnnual() NativeCalendarType
- static Quarterly() NativeCalendarType
- static Monthly() NativeCalendarType
- static Weekly() NativeCalendarType
- static Business() NativeCalendarType
- static Daily() NativeCalendarType