public class MemDBInterface extends Object implements DBInterface, DBInterfaceInternal
| Modifier and Type | Class and Description |
|---|---|
static class |
MemDBInterface.Stuff |
| Modifier and Type | Field and Description |
|---|---|
boolean |
createTablesAsNeededFlag |
protected ErrorTracker |
et |
protected Log |
log |
| Constructor and Description |
|---|
MemDBInterface() |
protected Log log
protected ErrorTracker et
public boolean createTablesAsNeededFlag
public DBCapabilties getCapabilities()
getCapabilities in interface DBInterfacepublic void init(FactoryService factorySvc)
init in interface DBInterfacepublic DValue executeInsert(DValue dval, InsertContext ctx, DBAccessContext dbctx)
executeInsert in interface DBInterfacepublic QueryResponse executeQuery(QuerySpec spec, QueryContext qtx, DBAccessContext dbctx)
executeQuery in interface DBInterfacepublic void executeDelete(QuerySpec spec, DBAccessContext dbctx)
executeDelete in interface DBInterfacepublic boolean doesTableExist(String tableName, DBAccessContext dbctx)
doesTableExist in interface DBInterfacepublic boolean doesFieldExist(String tableName, String fieldName, DBAccessContext dbctx)
doesFieldExist in interface DBInterfacepublic void createTable(String tableName, DBAccessContext dbctx)
createTable in interface DBInterfacepublic void deleteTable(String tableName, DBAccessContext dbctx)
deleteTable in interface DBInterfacepublic void renameTable(String tableName, String newTableName, DBAccessContext dbctx)
renameTable in interface DBInterfacepublic int executeUpdate(QuerySpec spec, DValue dvalUpdate, DBAccessContext dbctx)
executeUpdate in interface DBInterfacepublic boolean isSQLLoggingEnabled()
isSQLLoggingEnabled in interface DBInterfacepublic void enableSQLLogging(boolean b)
enableSQLLogging in interface DBInterfacepublic void createField(String typeName, String field, DBAccessContext dbctx)
createField in interface DBInterfacepublic void deleteField(String typeName, String field, DBAccessContext dbctx)
deleteField in interface DBInterfacepublic DBExecutor createExector(DBAccessContext ctx)
createExector in interface DBInterfacepublic void enablePrintStackTrace(boolean b)
enablePrintStackTrace in interface DBInterfaceInternalpublic DBType getDBType()
getDBType in interface DBInterfacepublic String getConnectionSummary()
getConnectionSummary in interface DBInterfaceInternalpublic void renameField(String typeName, String fieldName, String newName, DBAccessContext dbctx)
renameField in interface DBInterfacepublic void alterFieldType(String typeName, String fieldName, String newFieldType, DBAccessContext dbctx)
alterFieldType in interface DBInterfacepublic void alterField(String typeName, String fieldName, String deltaFlags, DBAccessContext dbctx)
alterField in interface DBInterfacepublic void enumerateAllTables(Log logToUse)
enumerateAllTables in interface DBInterfaceInternalpublic void enumerateAllConstraints(Log logToUse)
enumerateAllConstraints in interface DBInterfaceInternalCopyright © 2020. All rights reserved.