#147, move model to a separate module (#152)

This commit is contained in:
Zhang Yonglun 2020-08-19 21:01:45 +08:00 committed by GitHub
parent c6a24a3e70
commit 303c3dce2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
92 changed files with 38 additions and 3 deletions

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>hmily-tac-sqlparser</artifactId>
<groupId>org.dromara</groupId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hmily-tac-sqlparser-model</artifactId>
</project>

View File

@ -40,7 +40,7 @@ import java.util.Optional;
*/
@Getter
@Setter
public final class InsertStatement extends org.dromara.hmily.tac.sqlparser.model.statement.dml.DMLStatement {
public final class InsertStatement extends DMLStatement {
private SimpleTableSegment table;

View File

@ -32,7 +32,7 @@ import java.util.Optional;
*/
@Getter
@Setter
public final class UpdateStatement extends org.dromara.hmily.tac.sqlparser.model.statement.dml.DMLStatement {
public final class UpdateStatement extends DMLStatement {
private final Collection<SimpleTableSegment> tables = new LinkedList<>();

View File

@ -27,7 +27,11 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>hmily-tac-sqlparser</artifactId>
<packaging>pom</packaging>
<modules>
<module>hmily-tac-sqlparser-model</module>
</modules>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>