BlockChain-SQL-Generated

Project containing generated files of antlr4 grammer for SQL. Intended for consumption in developing blockchain drivers

License

License

Categories

Categories

Ant Build Tools ANTLR Compiler-compiler
GroupId

GroupId

com.impetus.blkchn
ArtifactId

ArtifactId

blkchn-antlr4-gen
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

BlockChain-SQL-Generated
Project containing generated files of antlr4 grammer for SQL. Intended for consumption in developing blockchain drivers
Source Code Management

Source Code Management

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

Download blkchn-antlr4-gen

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
org.antlr : antlr4 jar 4.5
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