com
.
github
.
mauricio
.
async
.
db
.
postgresql
PostgreSQLConnection
class
PostgreSQLConnection
extends
PostgreSQLConnectionDelegate
with
Connection
with
TimeoutScheduler
Linear Supertypes
TimeoutScheduler
,
Connection
,
PostgreSQLConnectionDelegate
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
PostgreSQLConnection
TimeoutScheduler
Connection
PostgreSQLConnectionDelegate
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
PostgreSQLConnection
(
configuration:
Configuration
=
...
,
encoderRegistry:
ColumnEncoderRegistry
=
...
,
decoderRegistry:
ColumnDecoderRegistry
=
...
,
group:
EventLoopGroup
=
...
,
executionContext:
ExecutionContext
=
...
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
addTimeout
[
A
]
(
promise:
Promise
[
A
]
,
durationOption:
Option
[
Duration
]
)
(
implicit
executionContext:
ExecutionContext
)
:
Option
[
ScheduledFuture
[_]]
Definition Classes
TimeoutScheduler
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clearNotifyListeners
()
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connect
:
Future
[
Connection
]
Definition Classes
PostgreSQLConnection
→ Connection
def
disconnect
:
Future
[
Connection
]
Definition Classes
PostgreSQLConnection
→ Connection
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
eventLoopGroup
:
EventLoopGroup
Definition Classes
PostgreSQLConnection
→ TimeoutScheduler
implicit
val
executionContext
:
ExecutionContext
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasRecentError
:
Boolean
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
inTransaction
[
A
]
(
f: (
Connection
) ⇒
Future
[
A
]
)
(
implicit
executionContext:
ExecutionContext
)
:
Future
[
A
]
Definition Classes
Connection
def
isConnected
:
Boolean
Definition Classes
PostgreSQLConnection
→ Connection
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isReadyForQuery
:
Boolean
def
isTimeouted
:
Boolean
Definition Classes
TimeoutScheduler
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onAuthenticationResponse
(
message:
AuthenticationMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onCommandComplete
(
m:
CommandCompleteMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onDataRow
(
m:
DataRowMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onError
(
m:
ErrorMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onError
(
exception:
Throwable
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onNotificationResponse
(
message:
NotificationResponse
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onParameterStatus
(
m:
ParameterStatusMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onReadyForQuery
()
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onRowDescription
(
m:
RowDescriptionMessage
)
:
Unit
Definition Classes
PostgreSQLConnection
→
PostgreSQLConnectionDelegate
def
onTimeout
:
Unit
Definition Classes
PostgreSQLConnection
→ TimeoutScheduler
def
parameterStatuses
:
Map
[
String
,
String
]
def
registerNotifyListener
(
listener: (
NotificationResponse
) ⇒
Unit
)
:
Unit
def
schedule
(
block: ⇒
Unit
,
duration:
Duration
)
:
ScheduledFuture
[_]
Definition Classes
TimeoutScheduler
def
sendPreparedStatement
(
query:
String
,
values:
Seq
[
Any
] =
List()
)
:
Future
[
QueryResult
]
Definition Classes
PostgreSQLConnection
→ Connection
def
sendQuery
(
query:
String
)
:
Future
[
QueryResult
]
Definition Classes
PostgreSQLConnection
→ Connection
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
PostgreSQLConnection
→ AnyRef → Any
def
unregisterNotifyListener
(
listener: (
NotificationResponse
) ⇒
Unit
)
:
Unit
def
validateIfItIsReadyForQuery
(
errorMessage:
String
)
:
Unit
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
TimeoutScheduler
Inherited from
Connection
Inherited from
PostgreSQLConnectionDelegate
Inherited from
AnyRef
Inherited from
Any
Ungrouped