Giter VIP home page Giter VIP logo

ldbc's Introduction

Anurag's GitHub stats

Top Langs

trophy

ldbc's People

Contributors

scala-steward avatar takapi327 avatar xuwei-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ldbc's Issues

Creating a MySQL connector project written in pure Scala3.

Implementation Details

Creating a MySQL connector project written in pure Scala3.

JVM, JS and Native platforms are all supported.

Related pull requests

Supported Platforms

Module / Platform JVM Scala Native Scala.js
ldbc-connector

Function Development

  • Implementation of Authentication Function
    • mysql_native_password support
    • sha256_password support
    • caching_sha2_password support
  • SSL/TLS support
  • RSA authentication method support
  • Establish connection specifying database
  • Codec
    • Encoder
    • Decoder
  • Execute query
    • Statement
      • Read query execution
      • Execute write query
      • Decode acquisition records
    • PreparedStatement in Client
      • Building a query
      • Encoding of sent values
      • Read query execution
      • Execute write query
      • Decode acquisition records
    • PreparedStatement in Server
      • Encoding of sent values
      • Read query execution
      • Execute write query
      • Decode acquisition records
  • Transaction function implementation
    • Read Only setting function
    • Auto Commit setting function
    • Transaction isolation level setting function
    • Commit function
    • Rollback function
    • Savepoint function
  • Utility Commands
  • Batch commands
  • Connection pooling implementation

Supported DetaType

DataType Support
BIT
TINYINT
SMALLINT
MEDIUMINT
INT
BIGINT
DECIMAL
FLOAT
DOUBLE
CHAR
VARCHAR
BINARY
VARBINARY
TINYBLOB
BLOB
MEDIUMBLOB
LONGBLOB
TINYTEXT
TEXT
MEDIUMTEXT
LONGTEXT
ENUM
SET
JSON
DATE
DATETIME
TIMESTAMP
TIME
YEAR
BOOLEAN
GEOMETRY
POINT
LINESTRING
POLYGON
MULTIPOINT
MULTILINESTRING
MULTIPOLYGON
GEOMETRYCOLLECTION

Other

  • Documentation Creation
  • Performance Verification
    • Comparison with JDBC
    • Comparison with other MySQL Scala libraries
    • Verification of operation in AWS and other infrastructure environments

References

Porting of the following repository functions.
https://github.com/takapi327/scala-jvm-js-native-example

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.