[][src]Crate emseries

An Embedded Time Series Database

This library provides a low-intensity time series database meant to be embedded inside of an application. The database is implemented as an append-only JSON file.

Structs

And

Specify two criteria that must both be matched.

EndTime

Specify the ending time for a search. This consists of a UTC timestamp and a specifier as to whether the exact time is included in the search criteria.

Or

Specify two criteria, either of which may be matched.

Record

Every record contains a unique ID and then the primary data, which itself must implementd the Recordable trait.

Series

An open time series database.

StartTime

Specify the starting time for a search. This consists of a UTC timestamp and a specifier as to whether the exact time is included in the search criteria.

Tags

Specify a list of tags that must exist on the record.

UniqueId

Uniquely identifies a record.

Enums

Error

Errors for the database

Traits

Criteria

This trait is used for constructing queries for searching the database.

Recordable

Any element to be put into the database needs to be Recordable. This is the common API that will aid in searching and later in indexing records.

Functions

exact_time

Specify a criteria that searches for records matching an exact time.

time_range

Specify a criteria that searches for all records within a time range.