Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Next Blog | 229 | 2 years ago | 6 | JavaScript | ||||||
基于react(ssr)服务端框架next.js和antd-design搭建的个人博客 | ||||||||||
Dms | 152 | a year ago | 22 | mit | JavaScript | |||||
基于Json Schema的动态Json数据配置平台 | ||||||||||
Go Mysqlpure | 23 | 8 years ago | June 03, 2021 | 2 | other | Go | ||||
MySQL client library written in pure Go / golang. | ||||||||||
Twitter Sentiment Analysis Using Hadoop | 16 | a year ago | 1 | Shell | ||||||
A Project where one can fetch and read tweets and show the analysis like who is most influential | ||||||||||
Mypdo | 14 | 9 years ago | 1 | September 04, 2014 | apache-2.0 | PHP | ||||
A php asynchronous ORM library for mysql(PDO) | ||||||||||
Pm2 Mysql | 13 | 4 years ago | 2 | mit | JavaScript | |||||
Mysql module for Keymetrics | ||||||||||
Health Checker | 10 | 3 years ago | mit | Python | ||||||
Health Checker is a website that will show you a list of symptoms, and for each symptom the medical conditions that are possible. It can also fetch the treatment online for a particular medical condition and the nearest doctors based on your location. It can also tell you your medical condition from a sentence having a recognizable symptom. | ||||||||||
Php Imap Fetcher | 10 | 5 years ago | 3 | PHP | ||||||
Open source PHP to fetch or pipe email from a POP box, save the message to MySQL, and save attachments/images locally. | ||||||||||
Mysql Wrapping For D Programming Language V2 | 8 | 12 years ago | 1 | D | ||||||
Canalx Select Db Json | 8 | 2 years ago | Java | |||||||
Fetch MYSQL's data to K-V style data. 通过配置化的SQL语句将 Mysql 中的数据读取到内存中,形成 KV 格式。 |
Fetch MYSQL's data to K-V style data.
SQL Mysql KV
note: json encoding is using Jackson.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<base>
<driverClass>com.mysql.jdbc.Driver</driverClass>
</base>
<dbs dbUrl="jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true"
name="test"
userName="root" password="123456">
<db>
<table keyId="id" name="user" initSql="select * from test.user"/>
</db>
<db name="test2"
dbUrl="jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true"
userName="root" password="123456">
<table keyId="id" name="store" initSql="select * from test2.store"/>
</db>
</dbs>
</configuration>
@Test
public void test() {
IDbFetchController dbFetchController = DbFetchControllerFactory.getDefaultDbController();
dbFetchController.init("canalx-db-kv.xml");
Map<String, Map<String, String>> dbKvs = dbFetchController.getInitDbKv();
for (String tableId : dbKvs.keySet()) {
System.out.println("table identify: " + tableId);
System.out.println("table kv:" + dbKvs.get(tableId));
}
}
table identify: test2.store
table kv:{1={"id":1,"name":"product1","products":100}}
table identify: test.user
table kv:{1={"id":1,"name":"user1","phone":"123456789"}}
<dependency>
<groupId>com.github.knightliao.canalx</groupId>
<artifactId>canalx-select-db-json</artifactId>
<version>0.0.2</version>
</dependency>