Support open and connection to memory DB based on given bytes

オープン
#1,352 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, sqlite
領域
database

調査の方向性

Start by reading the JDBC driver's existing code for opening a database from a file or another source, then trace how it creates an in-memory database connection. Identify whether that path can accept the supplied byte array and expose it through a public interface. Done means a caller can connect to and query a memory database initialized from existing database bytes.

索引モデルが issue の本文から書いたものです。

説明

enhancement:JDBC impacts:JNI

Is your feature request related to a problem? Please describe.
N/A. The is just an enhancement request to JDBC driver.

Describe the solution you'd like
Currently the driver seems does not support open and connect to a memeory DB which is based on given byte[] (The byte[] comes from already ready DB content from somewhere else. With which, the DB is ready to query), but only support open and connect to brand new memory DB(it is empty, has nothing in it yet).
We have an application which already reads DB content as byte[] already and the size is OK to be in memory. We expect we can directly use that already ready bytes to open the DB and connect to it to do query.
The existing code about open an DB from file or other source does get related byte[] and then open it. But just no public interface to directly support open DB and connect to it based on given byte[]. I guess support open and connect to a memory DB based on existing byte[] should be easy.

Describe alternatives you've considered
No

Additional context
NO

主要言語
Java
スター
3.3k
フォーク
676
平均マージ
1日 15時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

xerial/sqlite-jdbc のほかの issue

xerial/sqlite-jdbc の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。