Blockchain SQL Driver

Project containing modules for Antlr based parsing of SQL Query and create a logical query execution plan

License

License

GroupId

GroupId

com.impetus.blkchn
ArtifactId

ArtifactId

blkchn-sql-driver
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Blockchain SQL Driver
Project containing modules for Antlr based parsing of SQL Query and create a logical query execution plan
Project URL

Project URL

https://github.com/Impetus/blkchn-sql-driver
Source Code Management

Source Code Management

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

Download blkchn-sql-driver

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
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

  • blkchn-antlr4-gen
  • blkchn-sql-interfaces
  • blkchn-sql-addons
  • blkchn-spark-connector

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