public class PostgresDBExecutor extends Object implements DBExecutor
| Constructor and Description |
|---|
PostgresDBExecutor(PostgresDBInterface dbInterface,
DBAccessContext ctx,
H2DBConnection conn) |
| 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) |
H2DBConnection |
getConn() |
void |
renameField(String typeName,
String fieldName,
String newName) |
void |
renameTable(String tableName,
String newTableName) |
public PostgresDBExecutor(PostgresDBInterface dbInterface, DBAccessContext ctx, H2DBConnection conn)
public H2DBConnection getConn()
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 boolean execFieldDetect(String tableName, String fieldName)
execFieldDetect 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 void renameField(String typeName, String fieldName, 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.