public class SqlStatement extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SqlStatement.And<T> |
static class |
SqlStatement.Join |
static class |
SqlStatement.Or<T> |
static class |
SqlStatement.StatementType |
| 构造器和说明 |
|---|
SqlStatement() |
public static SqlStatement of()
public SqlStatement update(String table)
public SqlStatement set(String sets)
public SqlStatement set(String... sets)
public SqlStatement insert(String tableName)
public SqlStatement columnAndValue(String columns, String values)
public SqlStatement columns(String... columns)
public SqlStatement values(String... values)
public SqlStatement select(String columns)
public SqlStatement select(String... columns)
public SqlStatement selectDistinct(String columns)
public SqlStatement selectDistinct(String... columns)
public SqlStatement delete(String table)
public SqlStatement from(String table)
public SqlStatement from(String... tables)
public SqlStatement.Join join(String table)
public SqlStatement.Join innerJoin(String table)
public SqlStatement.Join leftOuterJoin(String table)
public SqlStatement.Join rightOuterJoin(String table)
public SqlStatement.Join outerJoin(String table)
public SqlStatement.And<SqlStatement> where()
public SqlStatement where(String conditions)
public SqlStatement where(String... conditions)
public SqlStatement groupBy(String columns)
public SqlStatement groupBy(String... columns)
public SqlStatement.And<SqlStatement> having()
public SqlStatement having(String conditions)
public SqlStatement having(String... conditions)
public SqlStatement orderBy(String columns)
public SqlStatement orderBy(String... columns)
public String toSqlString() throws IllegalStateException
Copyright © 2024 fossc. All rights reserved.