[Core] [Parser] [MySql] Support mysql parser

This commit is contained in:
qianmoQ 2024-01-03 19:53:04 +08:00
parent 9f772ae4e4
commit 5723afe2a7
3 changed files with 21 additions and 2 deletions

View File

@ -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>

View File

@ -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)
}
}

View File

@ -0,0 +1 @@
io.edurt.datacap.parser.mysql.MySQLParserModule