Skip to content

Commit

Permalink
net-sf-ucanaccess-fork: Add helper class of sql constants
Browse files Browse the repository at this point in the history
  • Loading branch information
spannm committed Nov 27, 2023
1 parent 388a801 commit 9495aeb
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/main/java/net/ucanaccess/type/SqlConstants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package net.ucanaccess.type;

/**
* Constants for SQL reserved words.
*
* @author Markus Spann
* @since v5.1.0
*/
public final class SqlConstants {

public static final String ALTER = "ALTER";
public static final String AND = "AND";
public static final String COUNT_STAR = "COUNT(*)";
public static final String CREATE = "CREATE";
public static final String DELETE = "DELETE";
public static final String DISTINCT = "DISTINCT";
public static final String DROP = "DROP";
public static final String EXISTS = "EXISTS";
public static final String FROM = "FROM";
public static final String GROUP_BY = "GROUP BY";
public static final String HAVING = "HAVING";
public static final String IF_NOT_EXISTS = "IF NOT EXISTS";
public static final String INSERT = "INSERT";
public static final String INSERT_INTO = "INSERT INTO";
public static final String INTO = "INTO";
public static final String IS_NOT_NULL = "IS NOT NULL";
public static final String IS_NULL = "IS NULL";
public static final String LIKE = "LIKE";
public static final String ON = "ON";
public static final String OR = "OR";
public static final String ORDER_BY = "ORDER BY";
public static final String SELECT = "SELECT";
public static final String SET = "SET";
public static final String TABLE = "TABLE";
public static final String TRUNCATE = "TRUNCATE";
public static final String UNION = "UNION";
public static final String UNION_ALL = "UNION ALL";
public static final String UPDATE = "UPDATE";
public static final String VALUES = "VALUES";
public static final String WHERE = "WHERE";
public static final String WHERE_EXISTS = "WHERE EXISTS";

private SqlConstants() {
}

}

0 comments on commit 9495aeb

Please sign in to comment.