Skip to content

Ethereum JDBC driver implements a pure java, type 4 JDBC driver that executes SQL queries on Ethereum Blockchain.

License

Notifications You must be signed in to change notification settings

Impetus/eth-jdbc-connector

Repository files navigation

Introduction

Join the chat at https://gitter.im/Impetus/eth-jdbc-connector Join Google Group

Ethereum JDBC driver implements a pure java, type 4 JDBC driver that executes SQL queries on Ethereum blockchain. It facilitates getting the data in and out of ethereum in JDBC compliant manner. The Ethereum JDBC driver can be used to perform ETL, BI reporting and analytics using the familiar SQL language.

It uses blkchn-sql-driver to parse the query and create corresponding logical plan. This logical plan is then converted into an optimized physical plan. The driver extends and implements the physical plan using corresponding web3j calls to connect to Ethereum. The driver then converts the returned objects to a JDBC compliant result set and return it to the user.

Tested with

Dependency Version
maven 3.3.3
java 1.8
web3j 3.4.0
spark 2.0.0

Features Added with Release 1.1.0

Building ethereum-jdbc-connector

  • Download or clone blkchn-sql-driver project git clone https://github.com/Impetus/blkchn-sql-driver.git
  • build blkchn-sql-driver using mvn clean install -Pgen-sources
  • Download sourcecode or use git clone https://github.com/Impetus/eth-jdbc-connector.git
  • build it using mvn clean install

Getting Started

To use Ethereum JDBC connector in a maven project, add the following maven dependency in your project:

<dependency>
  <groupId>com.impetus.eth</groupId>
  <artifactId>eth-jdbc-driver</artifactId>
  <version>${ethjdbcdriver.version}</version>
</dependency>

Build your project with the above changes to your pom.xml.

Connection and Querying

How to Contribute

About Us

eth-jdbc-connector is backed by Impetus Labs - iLabs. iLabs is a R&D consulting division of Impetus Technologies. iLabs focuses on innovations with next generation technologies and creates practice areas and new products around them. iLabs is actively involved working on blockchain technologies, neural networking, distributed/parallel computing and advanced analytics using spark and big data ecosystem. iLabs is also working on various other Open Source initiatives.

About

Ethereum JDBC driver implements a pure java, type 4 JDBC driver that executes SQL queries on Ethereum Blockchain.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published