public class Table extends InitializeObject implements Serializable
mutex| Modifier and Type | Method and Description |
|---|---|
protected void |
appendWhereKeyConditions(TextBuilder sqlBuilder) |
Table |
autoKey(String fieldName) |
Table |
autoKey(String fieldName,
int sqlType) |
protected String |
buildDeleteSQL() |
protected String |
buildExistsSQL() |
protected String |
buildGetAllSQL() |
protected String |
buildGetSQL() |
protected String |
buildInsertSQL() |
protected String |
buildUpdateSQL() |
Table |
field(String fieldName,
int sqlType) |
Table |
fields(Field... fields) |
Table |
fields(String... fieldNames) |
Field |
getAutoKey() |
Sql |
getDeleteSql() |
Sql |
getExistsSql() |
List<Field> |
getFields() |
Sql |
getGetSql() |
Sql |
getInsertSql() |
String |
getName() |
Sql |
getUpdateSql() |
protected void |
init() |
Table |
key(String fieldName,
int sqlType) |
Table |
keys(String... fieldNames) |
Table |
setName(String name) |
assertNotInitialized, destroy, initializepublic Table()
public Table(String name)
protected void init()
throws Exception
init in class InitializeObjectExceptionprotected String buildInsertSQL()
protected String buildUpdateSQL()
protected String buildDeleteSQL()
protected String buildExistsSQL()
protected String buildGetSQL()
protected void appendWhereKeyConditions(TextBuilder sqlBuilder)
protected String buildGetAllSQL()
public String getName()
public Field getAutoKey()
public Sql getInsertSql()
public Sql getUpdateSql()
public Sql getDeleteSql()
public Sql getGetSql()
public Sql getExistsSql()
Copyright © 2021. All rights reserved.