public class Table extends Object implements FromItem, MultiPartName
Modifier and Type | Field and Description |
---|---|
AllTableColumns |
ALL |
Constructor and Description |
---|
Table() |
Table(String name) |
Table(String schemaName,
String name) |
Table(String schemaName,
String name,
String alias) |
Table(String schemaName,
String name,
String alias,
boolean withAs) |
Modifier and Type | Method and Description |
---|---|
<T extends Table> |
as(String aliasName) |
<T extends Table> |
as(String aliasName,
boolean withAs) |
void |
builderFromItem(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
Alias |
getAlias()
返回别名对象
|
String |
getFullyQualifiedName() |
Map<String,KeyGenerator> |
getGeneratorMap() |
String |
getName() |
Class |
getPojoType() |
String |
getReferenceName() |
String |
getSchemaName() |
boolean |
isAutoGeneratedKeys() |
void |
setAlias(Alias alias)
设置别名对象
|
void |
setName(String string) |
void |
setSchemaName(String string) |
String |
toString() |
public final AllTableColumns ALL
public Table()
public Table(String name)
public String getSchemaName()
public void setSchemaName(String string)
public String getName()
public void setName(String string)
public String getFullyQualifiedName()
getFullyQualifiedName
in interface MultiPartName
public String getReferenceName()
public void builderFromItem(StatementSqlBuilder builder)
FromItemBuildProcessor
builderFromItem
in interface FromItemBuildProcessor
public Map<String,KeyGenerator> getGeneratorMap()
public Class getPojoType()
public boolean isAutoGeneratedKeys()
Copyright © 2006–2018 TinyGroup. All rights reserved.