Skip to content

cbrnrd/ezdb4j

Repository files navigation

ezdb4j-logo

ezdb4j

Donations Badge Build Status Download

Introduction

The Java library for communicating with the ezdb daemon.

Code Samples

import io.codepace.ezdb4j.*;

// Create a new connection to the ezdb daemon
EzdbConnection connection = EzdbConnector.createConnection();

// Get the value of key and store it as a String
String value = connection.get("keyvalue");

// Kill the connection
connection.terminate();

Installation

Maven (pom.xml)

<dependency>
  <groupId>io.codepace</groupId>
  <artifactId>ezdb4j</artifactId>
  <version>0.1.1</version>
  <type>pom</type>
</dependency>

Gradle (build.gradle)

repositories {
    jcenter()
}

dependencies {
    compile 'io.codepace:ezdb4j:0.1.1'
}

Ivy

<dependency org='io.codepace' name='ezdb4j' rev='0.1.1'>
  <artifact name='ezdb4j' ext='pom' ></artifact>
</dependency>