• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

partiql/partiql-lang-kotlin: An implementation of PartiQL written in Kotlin.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

partiql/partiql-lang-kotlin

开源软件地址(OpenSource Url):

https://github.com/partiql/partiql-lang-kotlin

开源编程语言(OpenSource Language):

Kotlin 97.5%

开源软件介绍(OpenSource Introduction):

Maven Central License CI Build codecov

PartiQL Lang Kotlin

This is a Kotlin implementation of the PartiQL specification. PartiQL is based on SQL-92 and has added support for working with schemaless hierarchical data. PartiQL’s extensions to SQL are easy to understand, treat nested data as first class citizens and compose seamlessly with each other and SQL.

This repository contains an embeddable reference interpreter, test framework, and tests for PartiQL in Kotlin.

The easiest way to get started with PartiQL is to clone this repository locally, build, then run the REPL.

Status

Users of PartiQL should consider PartiQL to be in "preview" status. It has been leveraged within a number of Amazon internal systems and AWS products for over a year. The behavior of the language itself is mostly stable, however, the public API of the interpreter is slated to undergo significant improvements in the near term. (See the GitHub issues list for details.)

Using In Your Project

This project is published to Maven Central.

Group ID Artifact ID Recommended Version
org.partiql partiql-lang-kotlin 0.7.0

For Maven builds, add the following to your pom.xml:

<dependency>
  <groupId>org.partiql</groupId>
  <artifactId>partiql-lang-kotlin</artifactId>
  <version>${version}</version>
</dependency>

For Gradle 5+, add the following to your build.gradle:

repositories {
    mavenCentral()
}

dependencies {
    implementation "org.partiql:partiql-lang-kotlin:${version}"
}

Be sure to replace ${version} with the desired version.

Building

To build this project, clone this repository and from its root directory execute:

./gradlew build

This will build the reference interpreter and test framework, then run all unit and integration tests.

Building the Documentation

Instructions on how to build PartiQL's documentation

Directory Structure

  • docs/user documentation for developers embedding the interpreter in an application.
  • docs/dev documentation for developers of the interpreter library.
  • lang contains the source code of the library containing the interpreter.
  • lang/jmh contains the JMH benchmarks for PartiQL.
  • cli contains the source code of the command-line interface and interactive prompt. (CLI/REPL)

Running JMH Benchmarks

To run JMH benchmarks located in lang/jmh, build the entire project first and then run the following command:

./gradlew jmh

Examples

See the examples project in this repository for examples covering use of the PartiQL interpreter in your project.

Contributing

See CONTRIBUTING

License

The works contained within this repository are licensed under the Apache 2.0 License.

See the LICENSE file.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap