public interface Bootstrap extends AutoCloseable
| 限定符和类型 | 方法和说明 |
|---|---|
Aggregate |
aggregate(String tableName) |
default void |
close() |
DataInfomation |
dataInformation() |
String |
lastCommand() |
<T> Manager<T> |
manager() |
<T> QueryEntity |
query(Collection<T> entrys) |
<T> QueryEntity |
query(T entry) |
<T extends Map<String,Object>> |
queryMap(String tableName,
Collection<T> maps)
* If you don't want to generate entity classes, another option is to
manipulate the map instance,
QueryMap provides Add and delete
operations are provided. |
<T extends Map<String,Object>> |
queryMap(String tableName,
T map) |
<T> QueryTable |
queryTable(Class<T> cls) |
QueryTable |
queryTable(String tableName)
Operating collection
|
<T extends Map<String,Object>> QueryMap queryMap(String tableName, Collection<T> maps)
QueryMap provides Add and delete
operations are provided.tableName - maps - <T> QueryEntity query(Collection<T> entrys)
entrys - <T> QueryEntity query(T entry)
entry - QueryTable queryTable(String tableName)
tableName - - The name of the collection(table)<T> QueryTable queryTable(Class<T> cls)
cls - - Entity class typeQueryTablequeryTable(String)<T> Manager<T> manager()
DataInfomation dataInformation()
default void close()
close 在接口中 AutoCloseableString lastCommand()
Copyright © 2023. All rights reserved.