CrNiCKL MongoDB implementation

MongoDB implementation of the CrNiCKL database

License

License

Categories

Categories

MongoDB Data Databases
GroupId

GroupId

ch.agent
ArtifactId

ArtifactId

crnickl-mongodb
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

CrNiCKL MongoDB implementation
MongoDB implementation of the CrNiCKL database
Project URL

Project URL

http://agent.ch/timeseries/crnickl/
Source Code Management

Source Code Management

https://github.com/jpvetterli/crnickl-mongodb.git

Download crnickl-mongodb

How to add to project

<!-- https://jarcasting.com/artifacts/ch.agent/crnickl-mongodb/ -->
<dependency>
    <groupId>ch.agent</groupId>
    <artifactId>crnickl-mongodb</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/ch.agent/crnickl-mongodb/
implementation 'ch.agent:crnickl-mongodb:2.0.1'
// https://jarcasting.com/artifacts/ch.agent/crnickl-mongodb/
implementation ("ch.agent:crnickl-mongodb:2.0.1")
'ch.agent:crnickl-mongodb:jar:2.0.1'
<dependency org="ch.agent" name="crnickl-mongodb" rev="2.0.1">
  <artifact name="crnickl-mongodb" type="jar" />
</dependency>
@Grapes(
@Grab(group='ch.agent', module='crnickl-mongodb', version='2.0.1')
)
libraryDependencies += "ch.agent" % "crnickl-mongodb" % "2.0.1"
[ch.agent/crnickl-mongodb "2.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
ch.agent : crnickl jar 2.0.0
org.mongodb : mongo-java-driver jar 2.14.3

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
ch.agent : crnickl-test jar 2.0.0

Project Modules

There are no modules declared in this project.

crnickl-mongodb : MongoDB implementation of the CrNiCKL Database

Copyright 2012-2017 Hauser Olsson GmbH.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This is a MongoDB implementation of the CrNiCKL (chronicle) database. CrNiCKL (pronounced "chronicle") is a database for time series written in Java running on top of SQL and NoSQL systems.

Version 2.0.1

Versions 2.0.0 and 2.0.1 bring a non-compatible change in MongoDatabase. The constructor now takes a second parameter: a ch.agent.t2.time.TimeDomainCatalog. Other changes are a consequence of upgrading to a newer version of the MongoDB java driver.

Distribution

The distribution consists of three archives

crnickl-mongodb-x.y.z.jar
crnickl-mongodb-x.y.z-javadoc.jar
crnickl-mongodb-x.y.z-sources.jar

with compiled classes, HTML documentation, and sources. The version number x.y.z follows the maven convention. The distribution also includes .asc files with detached cryptographic signatures.

For Maven users

The software is available from the Maven central repository. To use version x.y.z, insert the following dependency into your pom.xml file:

<dependency>
  <groupId>ch.agent</groupId>
  <artifactId>crnickl-mongodb</artifactId>
  <version>x.y.z</version>
  <scope>compile</scope>
</dependency>

Building the software

The recommended way is to use git for accessing the source and maven for building. The procedure is easy, as maven takes care of locating and downloading dependencies:

$ git clone https://github.com/jpvetterli/crnickl-mongodb.git
$ cd crnickl-mongodb
$ mvn install

This builds and installs the distribution JARs in your local maven repository. They can also be found in the target directory.

When building the software by other means, the following dependencies must be addressed:

Replace all x.y.z with the actual version numbers which can be found in the POM file included in the binary JAR:

/META-INF/maven/ch.agent/crnickl-mongodb/pom.xml

Unit tests

The following command runs unit tests:

$ mvn -Dmaven.test.skip=false test

Browsing the source code

The source is available on GitHub.

Finding more information

More information on CrNiCKL is available at the project web site.

Updated: 2017-10-06/jpv.

Versions

Version
2.0.1
2.0.0
1.0.1
1.0.0