PostgreSQLStatement
classin packageklyn.databases.sql.postgresql
public class PostgreSQLStatement extends PostgreSQLStatementBase implements Statement:
PostgreSQLStatement
All Implemented Interfaces: Statement

PostgreSQL statement implementation.

Properties inherited from Statement: batchSize, closeOnCompletion, closed, concurrency, connection, cursorName, escapeProcessing, fetchDirection, fetchSize, generatedKeys, holdability, largeMaxRows, maxFieldSize, maxRows, poolable, queryTimeoutSeconds, resultSetType, warning
Constructors
Modifier and Type Member Description
public PostgreSQLStatement
PostgreSQLStatement(connection as PostgreSQLConnection, resultSetType as ResultSetType = ResultSetType.FORWARD_ONLY, concurrency as ResultSetConcurrency = ResultSetConcurrency.READ_ONLY, holdability as ResultSetHoldability = ResultSetHoldability.CLOSE_CURSORS_AT_COMMIT):
No summary.
Methods
Modifier and Type Member Description
public addBatch
addBatch(sql as String) as Void throws SQLException:
Configures or executes a SQL statement.
public execute
execute(sql as String) as Boolean throws SQLException:
Configures or executes a SQL statement.
public executeQuery
executeQuery(sql as String) as ResultSet throws SQLException:
Configures or executes a SQL statement.
public executeUpdate
executeUpdate(sql as String) as Int throws SQLException:
Configures or executes a SQL statement.
Methods inherited from Statement: addBatch, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeUpdate, getResultSet
Methods inherited from AutoClosable: close