public class MemDBExecutor extends Object implements DBExecutor
| Constructor and Description |
|---|
MemDBExecutor(MemDBInterface memDBInterface,
DBAccessContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
alterField(String typeName,
String fieldName,
String deltaFlags) |
void |
alterFieldType(String typeName,
String fieldName,
String newFieldType) |
void |
close() |
void |
createField(String typeName,
String field) |
void |
createTable(String tableName) |
void |
deleteField(String typeName,
String field) |
void |
deleteTable(String tableName) |
boolean |
execFieldDetect(String tableName,
String fieldName) |
boolean |
execTableDetect(String tableName) |
void |
executeDelete(QuerySpec spec) |
DValue |
executeInsert(DValue dval,
InsertContext ctx) |
QueryResponse |
executeQuery(QuerySpec spec,
QueryContext qtx) |
int |
executeUpdate(QuerySpec spec,
DValue dvalPartial) |
void |
forceDBInterface(DBInterface newOne) |
void |
renameField(String typeName,
String field,
String newName) |
void |
renameTable(String tableName,
String newTableName) |
public MemDBExecutor(MemDBInterface memDBInterface, DBAccessContext ctx)
public void forceDBInterface(DBInterface newOne)
public DValue executeInsert(DValue dval, InsertContext ctx)
executeInsert in interface DBExecutorpublic int executeUpdate(QuerySpec spec, DValue dvalPartial)
executeUpdate in interface DBExecutorpublic QueryResponse executeQuery(QuerySpec spec, QueryContext qtx)
executeQuery in interface DBExecutorpublic void executeDelete(QuerySpec spec)
executeDelete in interface DBExecutorpublic boolean execTableDetect(String tableName)
execTableDetect in interface DBExecutorpublic void close()
close in interface DBExecutorpublic void createTable(String tableName)
createTable in interface DBExecutorpublic void deleteTable(String tableName)
deleteTable in interface DBExecutorpublic void renameTable(String tableName, String newTableName)
renameTable in interface DBExecutorpublic void createField(String typeName, String field)
createField in interface DBExecutorpublic void deleteField(String typeName, String field)
deleteField in interface DBExecutorpublic boolean execFieldDetect(String tableName, String fieldName)
execFieldDetect in interface DBExecutorpublic void renameField(String typeName, String field, String newName)
renameField in interface DBExecutorpublic void alterFieldType(String typeName, String fieldName, String newFieldType)
alterFieldType in interface DBExecutorpublic void alterField(String typeName, String fieldName, String deltaFlags)
alterField in interface DBExecutorCopyright © 2020. All rights reserved.