com.taosdata.jdbc.utils

## 类 SqlSyntaxValidator

- java.lang.Object
- - com.taosdata.jdbc.utils.SqlSyntaxValidator

    public class SqlSyntaxValidator
    extends Object

### 构造器概要

构造器
构造器和说明
`SqlSyntaxValidator(Connection connection)`

### 方法概要

所有方法 静态方法 具体方法
`static boolean` `isDatabaseUnspecifiedQuery(String sql)`
`static boolean` `isDatabaseUnspecifiedUpdate(String sql)`
`static boolean` `isDescribeSql(String sql)`
`static boolean` `isInsertSql(String sql)`
`static boolean` `isSelectSql(String sql)`
`static boolean` `isShowDatabaseSql(String sql)`
`static boolean` `isShowSql(String sql)`
`static boolean` `isUseSql(String sql)`
`static boolean` `isValidForExecute(String sql)`
`static boolean` `isValidForExecuteQuery(String sql)`
`static boolean` `isValidForExecuteUpdate(String sql)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### SqlSyntaxValidator

    public SqlSyntaxValidator(Connection connection)

### 方法详细资料

#### isValidForExecuteUpdate

    public static boolean isValidForExecuteUpdate(String sql)

#### isValidForExecuteQuery

    public static boolean isValidForExecuteQuery(String sql)

#### isValidForExecute

    public static boolean isValidForExecute(String sql)

#### isDatabaseUnspecifiedQuery

    public static boolean isDatabaseUnspecifiedQuery(String sql)

#### isDatabaseUnspecifiedUpdate

    public static boolean isDatabaseUnspecifiedUpdate(String sql)

#### isUseSql

    public static boolean isUseSql(String sql)

#### isShowSql

    public static boolean isShowSql(String sql)

#### isDescribeSql

    public static boolean isDescribeSql(String sql)

#### isInsertSql

    public static boolean isInsertSql(String sql)

#### isSelectSql

    public static boolean isSelectSql(String sql)

#### isShowDatabaseSql

    public static boolean isShowDatabaseSql(String sql)