io
.
eels
.
component
.
csv
CsvSource
Related Docs:
object CsvSource
|
package csv
case class
CsvSource
(
inputFn: () ⇒
InputStream
,
overrideSchema:
Option
[
StructType
] =
None
,
format:
CsvFormat
=
CsvFormat()
,
inferrer:
SchemaInferrer
=
StringInferrer
,
ignoreLeadingWhitespaces:
Boolean
=
true
,
ignoreTrailingWhitespaces:
Boolean
=
true
,
skipEmptyLines:
Boolean
=
true
,
emptyCellValue:
String
=
null
,
nullValue:
String
=
null
,
header:
Header
=
Header.FirstRow
,
skipRows:
Option
[
Long
] =
None
,
selectedColumns:
Seq
[
String
] =
Seq.empty
)
extends
Source
with
Using
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
scala.Equals
,
Using
,
Source
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
CsvSource
Serializable
Serializable
Product
Equals
Using
Source
Logging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
CsvSource
(
inputFn: () ⇒
InputStream
,
overrideSchema:
Option
[
StructType
] =
None
,
format:
CsvFormat
=
CsvFormat()
,
inferrer:
SchemaInferrer
=
StringInferrer
,
ignoreLeadingWhitespaces:
Boolean
=
true
,
ignoreTrailingWhitespaces:
Boolean
=
true
,
skipEmptyLines:
Boolean
=
true
,
emptyCellValue:
String
=
null
,
nullValue:
String
=
null
,
header:
Header
=
Header.FirstRow
,
skipRows:
Option
[
Long
] =
None
,
selectedColumns:
Seq
[
String
] =
Seq.empty
)
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
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
config
:
Config
val
emptyCellValue
:
String
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]
)
val
format
:
CsvFormat
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
header
:
Header
val
ignoreLeadingWhitespaces
:
Boolean
val
ignoreTrailingWhitespaces
:
Boolean
val
inferrer
:
SchemaInferrer
val
inputFn
: () ⇒
InputStream
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
load
[
T
]
(
implicit
arg0:
Manifest
[
T
]
)
:
Seq
[
T
]
Definition Classes
Source
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
val
nullValue
:
String
val
overrideSchema
:
Option
[
StructType
]
def
parts
()
:
Seq
[
Publisher
[
Seq
[
Row
]]]
Definition Classes
CsvSource
→
Source
def
schema
:
StructType
Definition Classes
CsvSource
→
Source
val
selectedColumns
:
Seq
[
String
]
val
skipEmptyLines
:
Boolean
val
skipRows
:
Option
[
Long
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toDataStream
(
listener:
Listener
)
:
DataStream
Definition Classes
Source
def
toDataStream
()
:
DataStream
Definition Classes
Source
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
withDelimiter
(
c:
Char
)
:
CsvSource
def
withEmptyCellValue
(
emptyCellValue:
String
)
:
CsvSource
def
withFormat
(
format:
CsvFormat
)
:
CsvSource
def
withHeader
(
header:
Header
)
:
CsvSource
def
withIgnoreLeadingWhitespaces
(
ignore:
Boolean
)
:
CsvSource
def
withIgnoreTrailingWhitespaces
(
ignore:
Boolean
)
:
CsvSource
def
withNullValue
(
nullValue:
String
)
:
CsvSource
def
withQuoteChar
(
c:
Char
)
:
CsvSource
def
withQuoteEscape
(
c:
Char
)
:
CsvSource
def
withSchema
(
schema:
StructType
)
:
CsvSource
def
withSchemaInferrer
(
inferrer:
SchemaInferrer
)
:
CsvSource
def
withSkipEmptyLines
(
skipEmptyLines:
Boolean
)
:
CsvSource
def
withSkipRows
(
count:
Long
)
:
CsvSource
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
scala.Equals
Inherited from
Using
Inherited from
Source
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped