Skip to content
/ ymir Public

An Android library for efficient management and query of timeseries, for the extraction of analytics

Notifications You must be signed in to change notification settings

pilillo/ymir

Repository files navigation

ymir

An Android library for efficient management and query of timeseries, for the extraction of analytics

Ymir is the first being coming into life in the nordic tradition, being born when fire from Muspelheim and ice from Niflheim met in the abyss of Ginnungagap. As such, he represents the origin of time and nature.

Download Codacy Badge Build Status

Lightweight database storage Ymir uses the Realm.io mobile database for its persistency. Realm offers a replacement for the well known SQLite file database. In particular, it favours speed and simplicity, as well as portability. More here.

Efficient query of timeseries Efficient query of timeseries is achieved by employing a tree map, i.e., a hashmap whose keys are organized in a tree structure to preserve the ordering. The tree map guarantees a log(n) time complexity for contains, get, put and remove operations. In particular, the table maps a Long to a Double object, i.e. a unix timestamp to a double value, although practically different data types can be used. The importan matter is that the keys are consistent with the equals and comparable interfaces.

Further informations is available here:

Importing the library in your Android project Ymir is part of the jcenter maven repository, which is the default repo in all newest Android projects. This means you can import Ymir by simply specifying the following dependencies.

compile 'com.github.pilillo:ymir-ts-management:0.0.1'
compile 'io.realm:realm-android:0.84.1'

About

An Android library for efficient management and query of timeseries, for the extraction of analytics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published