Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

A Java API to store and iterate over time-series data retrieved from a data feed and stored in a database.

License

Notifications You must be signed in to change notification settings

Petersoj/TimeSeriesDataStore

Repository files navigation

TimeSeriesDataStore Logo

Maven Central Javadocs Build Status CodeCov MIT License

Overview

TimeSeriesDataStore is a Java API to store and iterate over time-series data retrieved from a data feed and stored in a database. Data from a data feed is fetched if data within a requested time range is not in a database. This data is then stored in a database for future requests. Data from a database is fetched if data within a requested time range is in a database, thus serving data much quicker than the data feed.

Gradle and Maven Integration

If you are using Gradle as your build tool, add the following dependency to your build.gradle file:

dependencies {
    implementation group: 'net.jacobpeterson', name: 'timeseriesdatastore', version: '1.0'
}

If you are using Maven as your build tool, add the following dependency to your pom.xml file:

<dependency>
    <groupId>net.jacobpeterson</groupId>
    <artifactId>timeseriesdatastore</artifactId>
    <version>1.0</version>
</dependency>

Logger

For logging, this library uses SLF4j which serves as an interface for various logging frameworks. This enables you to use whatever logging framework you would like. However, if you do not add a logging framework as a dependency in your project, the console will output a message stating that SLF4j is defaulting to a no-operation (NOP) logger implementation. To enable logging, add a logging framework of your choice as a dependency to your project such as Log4j 2, SLF4j-simple, or Apache Commons Logging.

Contributing

Contributions are welcome!

If you are creating a Pull Request, be sure to create a new branch in your forked repository for your feature or bug fix instead of committing directly to the main branch in your fork.

About

A Java API to store and iterate over time-series data retrieved from a data feed and stored in a database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages