mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 11:07:41 +08:00
[Core] [Parser] [MySql] Support mysql parser
This commit is contained in:
parent
9f772ae4e4
commit
5723afe2a7
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
@ -109,5 +109,10 @@
|
||||
<artifactId>datacap-parser-trino</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.edurt.datacap</groupId>
|
||||
<artifactId>datacap-parser-mysql</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@ -0,0 +1,13 @@
|
||||
package io.edurt.datacap.parser.mysql
|
||||
|
||||
import com.google.inject.multibindings.Multibinder
|
||||
import io.edurt.datacap.parser.ParserModule
|
||||
import io.edurt.datacap.parser.SqlParser
|
||||
|
||||
class MySQLParserModule : ParserModule() {
|
||||
override fun configure() {
|
||||
Multibinder.newSetBinder(binder(), SqlParser::class.java)
|
||||
.addBinding()
|
||||
.to(MySQLSqlParser::class.java)
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
io.edurt.datacap.parser.mysql.MySQLParserModule
|
Loading…
Reference in New Issue
Block a user