T - 对象模板类型public class FromSupportImpl<T> extends BaseTableSupportImpl<T> implements FromSupport<T>
| Constructor and Description |
|---|
FromSupportImpl(T sql)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
<K> FromSupportImpl<K> |
copy(K sql)
对象复制(浅复制)
|
T |
from(List<Table> tables)
`FROM table1 t1, table2 t2...` 语句, t1, t2表示"表别名"
|
T |
from(Table table)
`FROM table1 t1` 语句, t1表示"表别名"
|
PrepareStatement |
getFromPrepareStatement(boolean useAlias)
获取预查询SQL对象
|
getSql, getTable, getTablePrepareStatementequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic FromSupportImpl(T sql)
sql - sql对象public <K> FromSupportImpl<K> copy(K sql)
K - sql对象模板sql - sql对象public T from(Table table)
FromSupportfrom in interface FromSupport<T>table - 表对象Tablepublic T from(List<Table> tables)
FromSupportfrom in interface FromSupport<T>tables - 表对象列表Tablepublic PrepareStatement getFromPrepareStatement(boolean useAlias)
useAlias - 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.