io
.
eels
.
component
.
jdbc
JdbcSink
Related Docs:
object JdbcSink
|
package jdbc
case class
JdbcSink
(
connFn: () ⇒
Connection
,
table:
String
,
createTable:
Boolean
=
false
,
dropTable:
Boolean
=
false
,
batchSize:
Int
=
1000
,
batchesPerCommit:
Int
=
0
,
dialect:
Option
[
JdbcDialect
] =
None
,
threads:
Int
=
4
)
extends
Sink
with
Logging
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
scala.Equals
,
Logging
,
Sink
,
Using
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
JdbcSink
Serializable
Serializable
Product
Equals
Logging
Sink
Using
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
JdbcSink
(
connFn: () ⇒
Connection
,
table:
String
,
createTable:
Boolean
=
false
,
dropTable:
Boolean
=
false
,
batchSize:
Int
=
1000
,
batchesPerCommit:
Int
=
0
,
dialect:
Option
[
JdbcDialect
] =
None
,
threads:
Int
=
4
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
batchSize
:
Int
val
batchesPerCommit
:
Int
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
connFn
: () ⇒
Connection
val
createTable
:
Boolean
val
dialect
:
Option
[
JdbcDialect
]
val
dropTable
:
Boolean
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logger
:
Logger
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
open
(
schema:
StructType
)
:
JdbcSinkWriter
Definition Classes
JdbcSink
→
Sink
def
open
(
schema:
StructType
,
n:
Int
)
:
Seq
[
SinkWriter
]
Definition Classes
Sink
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
table
:
String
val
threads
:
Int
def
using
[
T
,
U <:
AnyRef
{ def close(): Unit }
]
(
closeable:
U
)
(
f: (
U
) ⇒
T
)
:
T
Definition Classes
Using
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
(
...
)
def
withBatchSize
(
batchSize:
Int
)
:
JdbcSink
def
withBatchesPerCommit
(
commitSize:
Int
)
:
JdbcSink
def
withCreateTable
(
createTable:
Boolean
)
:
JdbcSink
def
withDialect
(
dialect:
JdbcDialect
)
:
JdbcSink
def
withDropTable
(
dropTable:
Boolean
)
:
JdbcSink
def
withThreads
(
threads:
Int
)
:
JdbcSink
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
scala.Equals
Inherited from
Logging
Inherited from
Sink
Inherited from
Using
Inherited from
AnyRef
Inherited from
Any
Ungrouped