public interface AnylineDao<E>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Column column) |
boolean |
add(Constraint constraint) |
boolean |
add(ForeignKey foreign) |
boolean |
add(Index index) |
boolean |
add(PrimaryKey primary) |
boolean |
add(Tag tag) |
boolean |
add(Trigger trigger)
触发器
|
boolean |
alter(Column column) |
boolean |
alter(Constraint constraint) |
boolean |
alter(ForeignKey foreign) |
boolean |
alter(Function function) |
boolean |
alter(Index index) |
boolean |
alter(MasterTable table) |
boolean |
alter(PartitionTable table) |
boolean |
alter(PrimaryKey primary) |
boolean |
alter(Procedure procedure) |
boolean |
alter(Table table) |
boolean |
alter(Table table,
Column column) |
boolean |
alter(Table table,
Constraint constraint) |
boolean |
alter(Table table,
ForeignKey foreign) |
boolean |
alter(Table table,
Index index) |
boolean |
alter(Table table,
PrimaryKey primary) |
boolean |
alter(Table table,
Tag tag) |
boolean |
alter(Tag tag) |
boolean |
alter(Trigger trigger) |
boolean |
alter(View view) |
<T extends Column> |
columns(boolean greedy,
String table) |
<T extends Column> |
columns(boolean greedy,
String catalog,
String schema,
String table) |
<T extends Column> |
columns(boolean greedy,
Table table) |
<T extends Column> |
columns(String table) |
<T extends Column> |
columns(String catalog,
String schema,
String table) |
<T extends Column> |
columns(Table table) |
<T extends Constraint> |
constraints(boolean greedy,
String table) |
<T extends Constraint> |
constraints(boolean greedy,
String table,
String name) |
<T extends Constraint> |
constraints(boolean greedy,
String catalog,
String schema,
String table) |
<T extends Constraint> |
constraints(boolean greedy,
Table table) |
<T extends Constraint> |
constraints(boolean greedy,
Table table,
String name) |
<T extends Constraint> |
constraints(String table) |
<T extends Constraint> |
constraints(String table,
String name) |
<T extends Constraint> |
constraints(String catalog,
String schema,
String table) |
<T extends Constraint> |
constraints(Table table) |
<T extends Constraint> |
constraints(Table table,
String name) |
int |
count(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
int |
count(RunPrepare prepare,
String... conditions) |
boolean |
create(Function function)
函数
|
boolean |
create(MasterTable table) |
boolean |
create(PartitionTable table) |
boolean |
create(Procedure procedure)
触发器
|
boolean |
create(Table table) |
boolean |
create(View view) |
LinkedHashMap<String,Database> |
databases() |
int |
delete(String table,
ConfigStore configs,
String... conditions) |
int |
delete(String dest,
Object obj,
String... columns) |
<T> int |
deletes(String table,
String key,
Collection<T> values)
删除多行
|
<T> int |
deletes(String table,
String key,
T... values) |
boolean |
drop(Column column) |
boolean |
drop(Constraint constraint) |
boolean |
drop(ForeignKey foreign) |
boolean |
drop(Function function) |
boolean |
drop(Index index) |
boolean |
drop(MasterTable table) |
boolean |
drop(PartitionTable table) |
boolean |
drop(PrimaryKey primary) |
boolean |
drop(Procedure procedure) |
boolean |
drop(Table table) |
boolean |
drop(Tag tag) |
boolean |
drop(Trigger trigger) |
boolean |
drop(View view) |
boolean |
execute(Procedure procedure)
执行存储过程
|
int |
execute(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
int |
execute(RunPrepare prepare,
String... conditions) |
boolean |
exists(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
boolean |
exists(RunPrepare prepare,
String... conditions) |
<T extends ForeignKey> |
foreigns(boolean greedy,
Table table) |
<T extends Function> |
functions(boolean greedy,
String catalog,
String schema,
String name) |
<T extends Index> |
indexs(boolean greedy,
String table) |
<T extends Index> |
indexs(boolean greedy,
String table,
String name) |
<T extends Index> |
indexs(boolean greedy,
String catalog,
String schema,
String table) |
<T extends Index> |
indexs(boolean greedy,
Table table) |
<T extends Index> |
indexs(boolean greedy,
Table table,
String name) |
<T extends Index> |
indexs(String table) |
<T extends Index> |
indexs(String table,
String name) |
<T extends Index> |
indexs(String catalog,
String schema,
String table) |
<T extends Index> |
indexs(Table table) |
<T extends Index> |
indexs(Table table,
String name) |
int |
insert(Object data,
boolean checkPrimary,
List<String> columns) |
int |
insert(Object data,
boolean checkPrimary,
String... columns) |
int |
insert(Object data,
List<String> columns) |
int |
insert(Object data,
String... columns) |
int |
insert(String dest,
Object data,
boolean checkPrimary,
List<String> columns) |
int |
insert(String dest,
Object data,
boolean checkPrimary,
String... columns)
添加
|
int |
insert(String dest,
Object data,
List<String> columns) |
int |
insert(String dest,
Object data,
String... columns) |
List<Map<String,Object>> |
maps(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
List<Map<String,Object>> |
maps(RunPrepare prepare,
String... conditions) |
<T extends MasterTable> |
mtables() |
<T extends MasterTable> |
mtables(boolean greedy) |
<T extends MasterTable> |
mtables(boolean greedy,
String types) |
<T extends MasterTable> |
mtables(boolean greedy,
String name,
String types) |
<T extends MasterTable> |
mtables(boolean greedy,
String schema,
String name,
String types) |
<T extends MasterTable> |
mtables(boolean greedy,
String catalog,
String schema,
String name,
String types) |
<T extends MasterTable> |
mtables(String types) |
<T extends MasterTable> |
mtables(String name,
String types) |
<T extends MasterTable> |
mtables(String schema,
String name,
String types) |
<T extends MasterTable> |
mtables(String catalog,
String schema,
String name,
String types) |
PrimaryKey |
primary(boolean greedy,
String table) |
PrimaryKey |
primary(boolean greedy,
String catalog,
String schema,
String table) |
PrimaryKey |
primary(boolean greedy,
Table table) |
PrimaryKey |
primary(String table) |
PrimaryKey |
primary(String catalog,
String schema,
String table) |
PrimaryKey |
primary(Table table) |
<T extends Procedure> |
procedures(boolean greedy,
String catalog,
String schema,
String name) |
<T extends PartitionTable> |
ptables(boolean greedy,
MasterTable master) |
<T extends PartitionTable> |
ptables(boolean greedy,
MasterTable master,
Map<String,Object> tags) |
<T extends PartitionTable> |
ptables(boolean greedy,
MasterTable master,
Map<String,Object> tags,
String name) |
<T extends PartitionTable> |
ptables(boolean greedy,
String master) |
<T extends PartitionTable> |
ptables(boolean greedy,
String master,
String name) |
<T extends PartitionTable> |
ptables(boolean greedy,
String schema,
String master,
String name) |
<T extends PartitionTable> |
ptables(boolean greedy,
String catalog,
String schema,
String master,
String name) |
<T extends PartitionTable> |
ptables(MasterTable master) |
<T extends PartitionTable> |
ptables(MasterTable master,
Map<String,Object> tags) |
<T extends PartitionTable> |
ptables(MasterTable master,
Map<String,Object> tags,
String name) |
<T extends PartitionTable> |
ptables(String master) |
<T extends PartitionTable> |
ptables(String master,
String name) |
<T extends PartitionTable> |
ptables(String schema,
String master,
String name) |
<T extends PartitionTable> |
ptables(String catalog,
String schema,
String master,
String name) |
<T> EntitySet<T> |
querys(Class<T> clazz,
ConfigStore configs,
String... conditions) |
DataSet |
querys(Procedure procedure,
PageNavi navi)
根据存储过程查询
|
<T> EntitySet<T> |
querys(RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
DataSet |
querys(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
DataSet |
querys(RunPrepare prepare,
String... conditions) |
boolean |
rename(Column origin,
String name) |
boolean |
rename(Constraint origin,
String name) |
boolean |
rename(ForeignKey origin,
String name) |
boolean |
rename(Function origin,
String name) |
boolean |
rename(Index origin,
String name) |
boolean |
rename(MasterTable origin,
String name) |
boolean |
rename(PartitionTable origin,
String name) |
boolean |
rename(PrimaryKey origin,
String name) |
boolean |
rename(Procedure origin,
String name) |
boolean |
rename(Table origin,
String name) |
boolean |
rename(Tag origin,
String name) |
boolean |
rename(Trigger origin,
String name) |
boolean |
rename(View origin,
String name) |
int |
save(Object data,
boolean checkPrimary,
String... columns) |
int |
save(Object data,
String... columns) |
int |
save(String dest,
Object data,
boolean checkPrimary,
String... columns)
保存(insert|update)
|
int |
save(String dest,
Object data,
String... columns) |
DataSet |
selects(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
DataSet |
selects(RunPrepare prepare,
String... conditions) |
DataRow |
sequence(boolean next,
String... names) |
void |
setDatasource(String datasource) |
void |
setRuntime(JDBCRuntime runtime) |
<T extends Table> |
tables() |
<T extends Table> |
tables(boolean greedy) |
<T extends Table> |
tables(boolean greedy,
String types) |
<T extends Table> |
tables(boolean greedy,
String name,
String types) |
<T extends Table> |
tables(boolean greedy,
String schema,
String name,
String types) |
<T extends Table> |
tables(boolean greedy,
String catalog,
String schema,
String name,
String types) |
<T extends Table> |
tables(String types) |
<T extends Table> |
tables(String name,
String types) |
<T extends Table> |
tables(String schema,
String name,
String types) |
<T extends Table> |
tables(String catalog,
String schema,
String name,
String types) |
<T extends Tag> |
tags(boolean greedy,
String table) |
<T extends Tag> |
tags(boolean greedy,
String catalog,
String schema,
String table) |
<T extends Tag> |
tags(boolean greedy,
Table table) |
<T extends Tag> |
tags(String table) |
<T extends Tag> |
tags(String catalog,
String schema,
String table) |
<T extends Tag> |
tags(Table table) |
<T extends Trigger> |
triggers(boolean greedy,
Table table,
List<Trigger.EVENT> events) |
int |
truncate(String table) |
int |
update(Object data,
ConfigStore configs,
List<String> columns) |
int |
update(Object data,
ConfigStore configs,
String... columns) |
int |
update(Object data,
List<String> columns) |
int |
update(Object data,
String... columns) |
int |
update(String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新记录
|
int |
update(String dest,
Object data,
ConfigStore configs,
String... columns) |
int |
update(String dest,
Object data,
List<String> columns) |
int |
update(String dest,
Object data,
String... columns) |
<T extends View> |
views() |
<T extends View> |
views(boolean greedy) |
<T extends View> |
views(boolean greedy,
String types) |
<T extends View> |
views(boolean greedy,
String name,
String types) |
<T extends View> |
views(boolean greedy,
String schema,
String name,
String types) |
<T extends View> |
views(boolean greedy,
String catalog,
String schema,
String name,
String types) |
<T extends View> |
views(String types) |
<T extends View> |
views(String name,
String types) |
<T extends View> |
views(String schema,
String name,
String types) |
<T extends View> |
views(String catalog,
String schema,
String name,
String types) |
void setRuntime(JDBCRuntime runtime)
void setDatasource(String datasource)
DataSet querys(RunPrepare prepare, ConfigStore configs, String... conditions)
<T> EntitySet<T> querys(Class<T> clazz, ConfigStore configs, String... conditions)
<T> EntitySet<T> querys(RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions)
DataSet querys(RunPrepare prepare, String... conditions)
DataSet selects(RunPrepare prepare, ConfigStore configs, String... conditions)
DataSet selects(RunPrepare prepare, String... conditions)
List<Map<String,Object>> maps(RunPrepare prepare, ConfigStore configs, String... conditions)
int count(RunPrepare prepare, ConfigStore configs, String... conditions)
int count(RunPrepare prepare, String... conditions)
boolean exists(RunPrepare prepare, ConfigStore configs, String... conditions)
boolean exists(RunPrepare prepare, String... conditions)
int update(String dest, Object data, ConfigStore configs, List<String> columns)
data - 需要更新的数据dest - 需要更新的表,如果没有提供则根据data解析columns - 需要更新的列 如果没有提供则解析data解析configs - 更新条件 如果没提供则根据data主键int update(String dest, Object data, ConfigStore configs, String... columns)
int update(Object data, ConfigStore configs, String... columns)
int update(Object data, ConfigStore configs, List<String> columns)
int insert(String dest, Object data, boolean checkPrimary, String... columns)
data - 需要插入的数据checkPrimary - 是否需要检查重复主键,默认不检查columns - 需要插入的列dest - 表int save(String dest, Object data, boolean checkPrimary, String... columns)
dest - 表data - datacheckPrimary - 是否需要检查重复主键,默认不检查columns - columnsint execute(RunPrepare prepare, ConfigStore configs, String... conditions)
int execute(RunPrepare prepare, String... conditions)
boolean execute(Procedure procedure)
procedure - procedureDataSet querys(Procedure procedure, PageNavi navi)
procedure - procedureint delete(String table, ConfigStore configs, String... conditions)
<T> int deletes(String table, String key, Collection<T> values)
table - 表key - 列values - 值集合int truncate(String table)
LinkedHashMap<String,Database> databases()
<T extends Table> LinkedHashMap<String,T> tables(boolean greedy, String catalog, String schema, String name, String types)
<T extends Table> LinkedHashMap<String,T> tables(boolean greedy, String schema, String name, String types)
<T extends Table> LinkedHashMap<String,T> tables(boolean greedy, String name, String types)
<T extends Table> LinkedHashMap<String,T> tables(boolean greedy, String types)
<T extends Table> LinkedHashMap<String,T> tables(boolean greedy)
<T extends Table> LinkedHashMap<String,T> tables(String catalog, String schema, String name, String types)
<T extends Table> LinkedHashMap<String,T> tables(String name, String types)
<T extends Table> LinkedHashMap<String,T> tables(String types)
<T extends Table> LinkedHashMap<String,T> tables()
<T extends View> LinkedHashMap<String,T> views(boolean greedy, String catalog, String schema, String name, String types)
<T extends View> LinkedHashMap<String,T> views(boolean greedy, String schema, String name, String types)
<T extends View> LinkedHashMap<String,T> views(boolean greedy, String name, String types)
<T extends View> LinkedHashMap<String,T> views(boolean greedy, String types)
<T extends View> LinkedHashMap<String,T> views(boolean greedy)
<T extends View> LinkedHashMap<String,T> views(String catalog, String schema, String name, String types)
<T extends View> LinkedHashMap<String,T> views(String name, String types)
<T extends View> LinkedHashMap<String,T> views(String types)
<T extends View> LinkedHashMap<String,T> views()
<T extends MasterTable> LinkedHashMap<String,T> mtables(boolean greedy, String catalog, String schema, String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(boolean greedy, String schema, String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(boolean greedy, String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(boolean greedy, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(boolean greedy)
<T extends MasterTable> LinkedHashMap<String,T> mtables(String catalog, String schema, String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(String schema, String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(String name, String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables(String types)
<T extends MasterTable> LinkedHashMap<String,T> mtables()
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, String catalog, String schema, String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, String schema, String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, String master)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, MasterTable master)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, MasterTable master, Map<String,Object> tags, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(boolean greedy, MasterTable master, Map<String,Object> tags)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(String catalog, String schema, String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(String schema, String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(String master, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(String master)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(MasterTable master)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(MasterTable master, Map<String,Object> tags, String name)
<T extends PartitionTable> LinkedHashMap<String,T> ptables(MasterTable master, Map<String,Object> tags)
<T extends Column> LinkedHashMap<String,T> columns(boolean greedy, Table table)
<T extends Column> LinkedHashMap<String,T> columns(boolean greedy, String table)
<T extends Column> LinkedHashMap<String,T> columns(boolean greedy, String catalog, String schema, String table)
<T extends Column> LinkedHashMap<String,T> columns(Table table)
<T extends Column> LinkedHashMap<String,T> columns(String table)
<T extends Column> LinkedHashMap<String,T> columns(String catalog, String schema, String table)
<T extends Tag> LinkedHashMap<String,T> tags(boolean greedy, Table table)
<T extends Tag> LinkedHashMap<String,T> tags(boolean greedy, String table)
<T extends Tag> LinkedHashMap<String,T> tags(boolean greedy, String catalog, String schema, String table)
<T extends Tag> LinkedHashMap<String,T> tags(Table table)
<T extends Tag> LinkedHashMap<String,T> tags(String table)
PrimaryKey primary(boolean greedy, Table table)
PrimaryKey primary(boolean greedy, String table)
PrimaryKey primary(boolean greedy, String catalog, String schema, String table)
PrimaryKey primary(Table table)
PrimaryKey primary(String table)
PrimaryKey primary(String catalog, String schema, String table)
<T extends ForeignKey> LinkedHashMap<String,T> foreigns(boolean greedy, Table table)
<T extends Index> LinkedHashMap<String,T> indexs(boolean greedy, Table table, String name)
<T extends Index> LinkedHashMap<String,T> indexs(boolean greedy, String table, String name)
<T extends Index> LinkedHashMap<String,T> indexs(boolean greedy, Table table)
<T extends Index> LinkedHashMap<String,T> indexs(boolean greedy, String table)
<T extends Index> LinkedHashMap<String,T> indexs(boolean greedy, String catalog, String schema, String table)
<T extends Index> LinkedHashMap<String,T> indexs(Table table, String name)
<T extends Index> LinkedHashMap<String,T> indexs(String table, String name)
<T extends Index> LinkedHashMap<String,T> indexs(Table table)
<T extends Index> LinkedHashMap<String,T> indexs(String table)
<T extends Index> LinkedHashMap<String,T> indexs(String catalog, String schema, String table)
<T extends Constraint> LinkedHashMap<String,T> constraints(boolean greedy, Table table, String name)
<T extends Constraint> LinkedHashMap<String,T> constraints(boolean greedy, String table, String name)
<T extends Constraint> LinkedHashMap<String,T> constraints(boolean greedy, Table table)
<T extends Constraint> LinkedHashMap<String,T> constraints(boolean greedy, String table)
<T extends Constraint> LinkedHashMap<String,T> constraints(boolean greedy, String catalog, String schema, String table)
<T extends Constraint> LinkedHashMap<String,T> constraints(Table table, String name)
<T extends Constraint> LinkedHashMap<String,T> constraints(String table, String name)
<T extends Constraint> LinkedHashMap<String,T> constraints(Table table)
<T extends Constraint> LinkedHashMap<String,T> constraints(String table)
<T extends Constraint> LinkedHashMap<String,T> constraints(String catalog, String schema, String table)
<T extends Trigger> LinkedHashMap<String,T> triggers(boolean greedy, Table table, List<Trigger.EVENT> events)
<T extends Procedure> LinkedHashMap<String,T> procedures(boolean greedy, String catalog, String schema, String name)
<T extends Function> LinkedHashMap<String,T> functions(boolean greedy, String catalog, String schema, String name)
boolean create(MasterTable table) throws Exception
Exceptionboolean alter(MasterTable table) throws Exception
Exceptionboolean drop(MasterTable table) throws Exception
Exceptionboolean rename(MasterTable origin, String name) throws Exception
Exceptionboolean create(PartitionTable table) throws Exception
Exceptionboolean alter(PartitionTable table) throws Exception
Exceptionboolean drop(PartitionTable table) throws Exception
Exceptionboolean rename(PartitionTable origin, String name) throws Exception
Exceptionboolean add(PrimaryKey primary) throws Exception
Exceptionboolean alter(PrimaryKey primary) throws Exception
Exceptionboolean alter(Table table, PrimaryKey primary) throws Exception
Exceptionboolean drop(PrimaryKey primary) throws Exception
Exceptionboolean rename(PrimaryKey origin, String name) throws Exception
Exceptionboolean add(ForeignKey foreign) throws Exception
Exceptionboolean alter(ForeignKey foreign) throws Exception
Exceptionboolean alter(Table table, ForeignKey foreign) throws Exception
Exceptionboolean drop(ForeignKey foreign) throws Exception
Exceptionboolean rename(ForeignKey origin, String name) throws Exception
Exceptionboolean add(Constraint constraint) throws Exception
Exceptionboolean alter(Constraint constraint) throws Exception
Exceptionboolean alter(Table table, Constraint constraint) throws Exception
Exceptionboolean drop(Constraint constraint) throws Exception
Exceptionboolean rename(Constraint origin, String name) throws Exception
Exceptionboolean add(Trigger trigger) throws Exception
trigger - 触发器Exception - 异常 Exceptionboolean create(Procedure procedure) throws Exception
procedure - 存储过程Exception - 异常 Exceptionboolean create(Function function) throws Exception
function - 函数Exception - 异常 ExceptionCopyright © 2023. All rights reserved.