public class InstrumentedDBInterface extends Object implements DBInterface
| Modifier and Type | Field and Description |
|---|---|
DBInterface |
actualInterface |
int |
deleteCount |
int |
insertCount |
int |
queryCount |
int |
updateCount |
| Constructor and Description |
|---|
InstrumentedDBInterface(DBInterface actual) |
public DBInterface actualInterface
public int insertCount
public int updateCount
public int deleteCount
public int queryCount
public InstrumentedDBInterface(DBInterface actual)
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 int executeUpdate(QuerySpec spec, DValue dvalPartial, DBAccessContext dbctx)
executeUpdate 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 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 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 DBType getDBType()
getDBType in interface DBInterfacepublic boolean doesFieldExist(String tableName, String fieldName, DBAccessContext dbctx)
doesFieldExist in interface DBInterfacepublic 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 DBInterfaceCopyright © 2020. All rights reserved.