public class PostgreSqlClient extends BaseJdbcClient
connectionProperties, connectionUrl, connectorId, driver, identifierQuote| Constructor and Description |
|---|
PostgreSqlClient(JdbcConnectorId connectorId,
BaseJdbcConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitCreateTable(JdbcOutputTableHandle handle) |
PreparedStatement |
getPreparedStatement(Connection connection,
String sql) |
protected ResultSet |
getTables(Connection connection,
String schemaName,
String tableName) |
beginCreateTable, beginInsertTable, buildInsertSql, buildSql, dropTable, escapeNamePattern, execute, finishInsertTable, getColumns, getConnection, getConnection, getSchemaNames, getSchemaTableName, getSplits, getTableHandle, getTableNames, quoted, quoted, rollbackCreateTable, toPrestoType, toSqlType@Inject public PostgreSqlClient(JdbcConnectorId connectorId, BaseJdbcConfig config) throws SQLException
SQLExceptionpublic void commitCreateTable(JdbcOutputTableHandle handle)
commitCreateTable in interface JdbcClientcommitCreateTable in class BaseJdbcClientpublic PreparedStatement getPreparedStatement(Connection connection, String sql) throws SQLException
getPreparedStatement in interface JdbcClientgetPreparedStatement in class BaseJdbcClientSQLExceptionprotected ResultSet getTables(Connection connection, String schemaName, String tableName) throws SQLException
getTables in class BaseJdbcClientSQLExceptionCopyright © 2012-2017. All Rights Reserved.