clockworkdb.tsdb
Classes
Module Contents
- class clockworkdb.tsdb.RepositoryMetaDataList
- size() int
- get(arg: int, /) RepositoryMetaData
- 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.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
- 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
- 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.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
- as_float(arg: int, /) _clockworkdb.scalar.Float
- 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
- 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