public interface PostgresqlConnection extends Connection
Connection for connecting to a PostgreSQL database.Mono<Void> beginTransaction()
beginTransaction in interface ConnectionMono<Void> beginTransaction(TransactionDefinition definition)
beginTransaction in interface ConnectionPostgresTransactionDefinitionMono<Void> close()
close in interface Closeableclose in interface ConnectionMono<Void> commitTransaction()
commitTransaction in interface ConnectionCopyInBuilder copyIn(String sql)
CopyInBuilder to configure a COPY FROM STDIN operation for very fast copying into a database table.sql - the COPY … FROM STDIN sql statementdefault Mono<Long> copyIn(String sql, Publisher<io.netty.buffer.ByteBuf> stdin)
COPY FROM STDIN for very fast copying into a database table.sql - the COPY … FROM STDIN sql statementstdin - the ByteBuf publisherMono with the amount of rows insertedCopyInBuilderPostgresqlBatch createBatch()
createBatch in interface ConnectionMono<Void> createSavepoint(String name)
createSavepoint in interface ConnectionPostgresqlStatement createStatement(String sql)
createStatement in interface ConnectionFlux<Notification> getNotifications()
Flux of Notification received from LISTEN registrations. The stream is a hot stream producing messages as they are received. Notifications received by this
connection are published as they are received. When the client gets closed, the subscription completes normally. Otherwise (transport
connection disconnected unintentionally) with an error.Flux of NotificationsMono<Void> cancelRequest()
CancelRequest to a server.Mono that indicates that a cancel frame was delivered to the backendPostgresqlConnectionMetadata getMetadata()
getMetadata in interface ConnectionIsolationLevel getTransactionIsolationLevel()
getTransactionIsolationLevel in interface Connectionboolean isAutoCommit()
isAutoCommit in interface ConnectionMono<Void> releaseSavepoint(String name)
releaseSavepoint in interface ConnectionMono<Void> rollbackTransaction()
rollbackTransaction in interface ConnectionMono<Void> rollbackTransactionToSavepoint(String name)
rollbackTransactionToSavepoint in interface ConnectionMono<Void> setAutoCommit(boolean autoCommit)
setAutoCommit in interface ConnectionMono<Void> setLockWaitTimeout(Duration lockTimeout)
SET LOCK_TIMEOUT.setLockWaitTimeout in interface ConnectionMono that indicates that a lockTimeout frame was delivered to the backendMono<Void> setStatementTimeout(Duration statementTimeout)
SET STATEMENT_TIMEOUT.setStatementTimeout in interface ConnectionMono that indicates that a statementTimeout frame was delivered to the backendMono<Void> setTransactionIsolationLevel(IsolationLevel isolationLevel)
setTransactionIsolationLevel in interface ConnectionMono<Boolean> validate(ValidationDepth depth)
validate in interface ConnectionCopyright © 2023. All rights reserved.