LynxDB 开源数据库之路
官网地址:lynxdb.bailizhang.com
GitHub地址:github.com/baili-zhang/lynxdb
LynxDB是一个存储大表的数据库,提供了便捷的客户端操作,有利于项目的快速开发。
例如:
public class InsertObjectDemo {
public static void main(String[] args) {
G.I.converter(new Converter(StandardCharsets.UTF_8));
try(LynxDbClient client = new LynxDbClient()) {
client.start();
LynxDbConnection connection = client.createConnection("127.0.0.1", 7820);
DemoObject demoObject = new DemoObject();
demoObject.setKey("key");
demoObject.setColumn0("value0");
demoObject.setColumn1("value1");
demoObject.setColumn2("value2");
connection.insert(demoObject);
} catch (ConnectException e) {
e.getStackTrace();
}
}
@Data
@LynxDbColumnFamily("demo-object")
private static class DemoObject {
@LynxDbKey
private String key;
@LynxDbColumn
private String column0;
@LynxDbColumn
private String column1;
@LynxDbColumn
private String column2;
}
}
目前,项目还在开发中,并有一定的完成度,欢迎大家关注,也欢迎大家来GitHub上点颗小星星。
本作品采用《CC 协议》,转载必须注明作者和本文链接
:+1: :+1: :+1: 厉害厉害,支持开源 :rocket: :rocket: :rocket: