@exasol/exasol-driver-ts
Preparing search index...
index
Connection
Class Connection
Implements
PoolItem
Index
Constructors
constructor
Properties
name
Accessors
active
broken
connection
Methods
break
Connection
close
send
Command
send
Command
With
No
Result
set
Compression
Constructors
constructor
new
Connection
(
websocket
:
ExaWebsocket
,
logger
:
ILogger
,
name
:
string
,
onClose
?:
(
event
:
unknown
)
=>
void
,
)
:
Connection
Parameters
websocket
:
ExaWebsocket
logger
:
ILogger
name
:
string
Optional
onClose
:
(
event
:
unknown
)
=>
void
Returns
Connection
Properties
name
name
:
string
Accessors
active
get
active
()
:
boolean
Returns
boolean
broken
get
broken
()
:
boolean
Returns
boolean
connection
get
connection
()
:
ExaWebsocket
Returns
ExaWebsocket
Methods
break
Connection
breakConnection
(
error
:
Error
,
closeSocket
?:
boolean
)
:
void
Parameters
error
:
Error
closeSocket
:
boolean
= true
Returns
void
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
send
Command
sendCommand
<
T
>
(
cmd
:
Commands
,
getCancel
?:
(
cancel
?:
Cancelable
)
=>
void
,
)
:
Promise
<
SQLResponse
<
T
>
>
Type Parameters
T
Parameters
cmd
:
Commands
Optional
getCancel
:
(
cancel
?:
Cancelable
)
=>
void
Returns
Promise
<
SQLResponse
<
T
>
>
send
Command
With
No
Result
sendCommandWithNoResult
(
cmd
:
AbortQueryCommand
)
:
Promise
<
undefined
>
Parameters
cmd
:
AbortQueryCommand
Returns
Promise
<
undefined
>
set
Compression
setCompression
(
compression
:
boolean
)
:
void
Parameters
compression
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
Accessors
active
broken
connection
Methods
break
Connection
close
send
Command
send
Command
With
No
Result
set
Compression
@exasol/exasol-driver-ts
Loading...