public interface TableMapping<T>
| 限定符和类型 | 方法和说明 |
|---|---|
Class<T> |
entityType() |
Collection<ColumnMapping> |
getProperties() |
ColumnMapping |
getPropertyByColumn(String column) |
ColumnMapping |
getPropertyByName(String property) |
String |
getSchema()
Schema
|
String |
getTable()
表名
|
boolean |
isAutoProperty()
是否将类型下的所有属性都当作数据库字段进行映射,true 表示自动。
|
boolean |
isCaseInsensitive()
结果处理是否大小写敏感
|
default TableReader<T> |
toReader() |
boolean |
useDelimited()
使用 lambda 查询期间是否使用 引号
|
String getSchema()
String getTable()
boolean isAutoProperty()
boolean useDelimited()
boolean isCaseInsensitive()
Collection<ColumnMapping> getProperties()
ColumnMapping getPropertyByColumn(String column)
ColumnMapping getPropertyByName(String property)
default TableReader<T> toReader()
Copyright © 2021. All rights reserved.