| Methods in org.makumba.db.makumba with parameters of type DBConnection |
void |
Database.copyFrom(DBConnection c,
String[] tables,
DBConnection sourceDB,
boolean ignoreDbsv)
|
void |
Database.copyFrom(DBConnection c,
String table,
DBConnection sourceDB,
boolean ignoreDbsv)
|
(package private) void |
Table.copyFrom(DBConnection dest,
Table source,
DBConnection sourceDB,
boolean ignoreDbsv)
TODO: makumba now supports query limitation (limit and offset). so this method (copyFrom) could run a number of
queries per table (instead of one query per table), limited to say 100 records each so we don't have memory
problems when the db is very big |
abstract int |
Table.deleteFrom(DBConnection here,
DBConnection source,
boolean ignoreDbsv)
delete all the records created within the indicated database and return their number |
void |
Database.deleteFrom(DBConnection c,
String[] tables,
DBConnection sourceDB,
boolean ignoreDbsv)
|
void |
Database.deleteFrom(DBConnection c,
String table,
DBConnection sourceDB,
boolean ignoreDbsv)
|
int |
Update.execute(DBConnection dbc,
Object[] args)
Executes the query with the given arguments |
Vector<Dictionary<String,Object>> |
Query.execute(Object[] args,
DBConnection dbc,
int offset,
int limit)
Execute the query with the given arguments |
int |
Query.insert(Object[] args,
DBConnection dbc)
|
Pointer |
Table.insertRecord(DBConnection c,
Dictionary<String,Object> d)
insert a record, return the pointer to it |
abstract Pointer |
Table.insertRecordImpl(DBConnection c,
Dictionary<String,Object> d)
|
| Methods in org.makumba.db.makumba.sql with parameters of type DBConnection |
int |
TableManager.deleteFrom(DBConnection here,
DBConnection source,
boolean ignoreDbsv)
|
void |
TableManager.deleteRecord(DBConnection dbc,
Pointer uid)
|
int |
SQLUpdate.execute(DBConnection dbc,
Object[] args)
|
Vector<Dictionary<String,Object>> |
Query.execute(Object[] args,
DBConnection dbc,
int offset,
int limit)
|
int |
Query.insert(Object[] args,
DBConnection dbc)
|
Pointer |
TableManager.insertRecordImpl(DBConnection dbc,
Dictionary<String,Object> d)
|
(package private) static void |
Database.logException(SQLException e,
DBConnection dbc)
|
(package private) static void |
Database.logException(SQLException e,
DBConnection dbc,
Level lev)
|
void |
TableManager.updateRecord(DBConnection dbc,
Pointer uid,
Dictionary<String,Object> d)
|