com
.
databricks
.
spark
.
csv
CsvRelation
Related Doc:
package csv
case class
CsvRelation
(
location:
String
,
useHeader:
Boolean
,
delimiter:
Char
,
quote:
Char
,
escape:
Character
,
parseMode:
String
,
parserLib:
String
,
ignoreLeadingWhiteSpace:
Boolean
,
ignoreTrailingWhiteSpace:
Boolean
,
userSchema:
StructType
=
null
)
(
sqlContext:
SQLContext
)
extends
BaseRelation
with
TableScan
with
InsertableRelation
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
InsertableRelation
,
TableScan
,
BaseRelation
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
CsvRelation
Serializable
Serializable
Product
Equals
InsertableRelation
TableScan
BaseRelation
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
CsvRelation
(
location:
String
,
useHeader:
Boolean
,
delimiter:
Char
,
quote:
Char
,
escape:
Character
,
parseMode:
String
,
parserLib:
String
,
ignoreLeadingWhiteSpace:
Boolean
,
ignoreTrailingWhiteSpace:
Boolean
,
userSchema:
StructType
=
null
)
(
sqlContext:
SQLContext
)
Attributes
protected[
com.databricks.spark
]
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
buildScan
()
:
RDD
[
Row
]
Definition Classes
CsvRelation
→ TableScan
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
delimiter
:
Char
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
escape
:
Character
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
ignoreLeadingWhiteSpace
:
Boolean
val
ignoreTrailingWhiteSpace
:
Boolean
def
insert
(
data:
DataFrame
,
overwrite:
Boolean
)
:
Unit
Definition Classes
CsvRelation
→ InsertableRelation
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
location
:
String
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
needConversion
:
Boolean
Definition Classes
BaseRelation
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parseMode
:
String
val
parserLib
:
String
val
quote
:
Char
val
schema
:
StructType
Definition Classes
CsvRelation
→ BaseRelation
def
sizeInBytes
:
Long
Definition Classes
BaseRelation
val
sqlContext
:
SQLContext
Definition Classes
CsvRelation
→ BaseRelation
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
useHeader
:
Boolean
val
userSchema
:
StructType
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
InsertableRelation
Inherited from
TableScan
Inherited from
BaseRelation
Inherited from
AnyRef
Inherited from
Any
Ungrouped