Skip to content

Commit

Permalink
v0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jianshangquan committed Aug 9, 2022
1 parent 34c16f8 commit 3bc02a6
Show file tree
Hide file tree
Showing 31 changed files with 103 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?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"
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>

<groupId>org.example</groupId>
<artifactId>SQLBuilder</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.BuildPipeable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.Model;
package Builder.Model;

public class SQLFunctionModel {
private String compiled, as;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.Model;
package Builder.Model;

public class VerificationErrorMsg {
private boolean status = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;


import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.BuildPipeable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.interfaces.Buildable;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.Joinable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

public enum SQLCompareType {
STRING,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;



Expand Down
2 changes: 1 addition & 1 deletion Builder/SQLFun.java → src/main/java/Builder/SQLFun.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

public class SQLFun {
public static final String CURRENT_TIMESTAMP = "CURRENT_TIMESTAMP";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

public class SQLString {
String value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.BuildPipeable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.SQLValidator;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

public class SQLValidator {
public static boolean checkValidField(String field){
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder;
package Builder;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;
import com.jiantech.SearchQueryForSQL.Builder.interfaces.Verifiable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.SQLBuilder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

public interface Buildable {
public abstract String build() throws Exception;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.SQLBuilder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.interfaces.Buildable;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.SQLBuilder;
import com.jiantech.SearchQueryForSQL.Builder.SQLCompareType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

public interface SQLJoinOn {
public SQLJoinCondition on(String fieldName);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.ConditionBuilder;
import com.jiantech.SearchQueryForSQL.Builder.SQLBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jiantech.SearchQueryForSQL.Builder.interfaces;
package Builder.interfaces;

import com.jiantech.SearchQueryForSQL.Builder.Model.VerificationErrorMsg;

Expand Down
2 changes: 0 additions & 2 deletions Main.java → src/main/java/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package com.jiantech.SearchQueryForSQL;

import com.jiantech.SearchQueryForSQL.Builder.SQLBuilder;
import com.jiantech.SearchQueryForSQL.Builder.SQLCompareType;
import com.jiantech.SearchQueryForSQL.Builder.SQLFun;
Expand Down

0 comments on commit 3bc02a6

Please sign in to comment.