Blockchain SQL Interfaces

Project to define all the interfaces and generate logical plan for SQL Execution. This will be implemented by concrete implementations of Hyperledger and Ethereum

License

License

GroupId

GroupId

com.impetus.blkchn
ArtifactId

ArtifactId

blkchn-sql-interfaces
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Blockchain SQL Interfaces
Project to define all the interfaces and generate logical plan for SQL Execution. This will be implemented by concrete implementations of Hyperledger and Ethereum
Source Code Management

Source Code Management

http://github.com/Impetus/blkchn-sql-driver/tree/master/blkchn-sql-interfaces

Download blkchn-sql-interfaces

How to add to project

<!-- https://jarcasting.com/artifacts/com.impetus.blkchn/blkchn-sql-interfaces/ -->
<dependency>
    <groupId>com.impetus.blkchn</groupId>
    <artifactId>blkchn-sql-interfaces</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.impetus.blkchn/blkchn-sql-interfaces/
implementation 'com.impetus.blkchn:blkchn-sql-interfaces:1.1.0'
// https://jarcasting.com/artifacts/com.impetus.blkchn/blkchn-sql-interfaces/
implementation ("com.impetus.blkchn:blkchn-sql-interfaces:1.1.0")
'com.impetus.blkchn:blkchn-sql-interfaces:jar:1.1.0'
<dependency org="com.impetus.blkchn" name="blkchn-sql-interfaces" rev="1.1.0">
  <artifact name="blkchn-sql-interfaces" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.impetus.blkchn', module='blkchn-sql-interfaces', version='1.1.0')
)
libraryDependencies += "com.impetus.blkchn" % "blkchn-sql-interfaces" % "1.1.0"
[com.impetus.blkchn/blkchn-sql-interfaces "1.1.0"]

Dependencies

compile (5)

Group / Artifact Type Version
com.impetus.blkchn : blkchn-antlr4-gen jar 1.1.0
junit : junit jar 4.12
org.slf4j : slf4j-api jar 1.7.25
ch.qos.logback : logback-classic jar 1.2.3
ch.qos.logback : logback-core jar 1.2.3

test (3)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.10.19
org.powermock : powermock-api-mockito jar 1.7.3
org.powermock : powermock-module-junit4 jar 1.7.3

Project Modules

There are no modules declared in this project.

Overview

Join the chat at https://gitter.im/Impetus/blkchn-sql-driver Join Google Group

blkchn-sql-driver project parses the SQL query using Antlr4 and converts it into logical plan and/or optimized physical plan, which can be used by different blockchain driver implementations. It uses Antlr4's visitor pattern to create a logical plan and optionally an optimized physical plan. Blockchain drivers use these logical plan and physical plan along with corresponding blockchain clients to get the data in and out of the network.

Tested with

Dependency Version
maven 3.3.3
java 1.8

Building blkchn-sql-driver

blkchn-sql-driver is built using Apache Maven. To build blkchn-sql-driver run:

mvn clean install

To rebuild antlr generated java source files:

mvn clean install -Pgen-sources

Available Drivers

Important Links

Contribution

About Us

blkchn-sql-driver 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.

com.impetus.blkchn

Impetus

A community to share, learn, and innovate.

Versions

Version
1.1.0
1.0.0