public class PostgreSQLDriver extends AbstractRdbmsDriver
Constructor and Description |
---|
PostgreSQLDriver(String uri) |
PostgreSQLDriver(String host,
String dbName,
String user,
String password) |
PostgreSQLDriver(String host,
String dbName,
String user,
String password,
boolean create) |
Modifier and Type | Method and Description |
---|---|
String |
getInsertOrIgnoreQuery(DBTable tableName,
Map<String,String> data)
Generates an INSERT OR IGNORE SQL statement.
|
String |
getInsertOrIgnoreQuery(DBTable tableName,
String selectQuery) |
checkIdentifierName, close, createStatement, finalize, formatIdentifier, getColumns, getConnection, getExtraIdentifierCharacters, getMaxTableNameLength, getMetaData, getTable, getTables, isCaseSensitive
public PostgreSQLDriver(String host, String dbName, String user, String password) throws SQLException
host
- dbName
- user
- password
- SQLException
public PostgreSQLDriver(String host, String dbName, String user, String password, boolean create) throws SQLException
SQLException
public PostgreSQLDriver(String uri) throws SQLException
SQLException
public String getInsertOrIgnoreQuery(DBTable tableName, Map<String,String> data)
RdbmsDriver
public String getInsertOrIgnoreQuery(DBTable tableName, String selectQuery) throws SQLException
SQLException
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.