com.databricks.spark.csv

CsvParser

class CsvParser extends Serializable

A collection of static functions for working with CSV files in Spark SQL

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CsvParser
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CsvParser()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def csvFile(sqlContext: SQLContext, path: String): DataFrame

    Returns a Schema RDD for the given CSV path.

    Returns a Schema RDD for the given CSV path.

    Annotations
    @throws( ... )
  9. def csvRdd(sqlContext: SQLContext, csvRDD: RDD[String]): DataFrame

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withCharset(charset: String): CsvParser

  25. def withComment(commentChar: Character): CsvParser

  26. def withCompression(codec: String): CsvParser

  27. def withDateFormat(dateFormat: String): CsvParser

  28. def withDelimiter(delimiter: Character): CsvParser

  29. def withEscape(escapeChar: Character): CsvParser

  30. def withIgnoreLeadingWhiteSpace(ignore: Boolean): CsvParser

  31. def withIgnoreTrailingWhiteSpace(ignore: Boolean): CsvParser

  32. def withInferSchema(inferSchema: Boolean): CsvParser

  33. def withNullValue(nullValue: String): CsvParser

  34. def withParseMode(mode: String): CsvParser

  35. def withParserLib(parserLib: String): CsvParser

  36. def withQuoteChar(quote: Character): CsvParser

  37. def withSchema(schema: StructType): CsvParser

  38. def withTreatEmptyValuesAsNulls(treatAsNull: Boolean): CsvParser

  39. def withUseHeader(flag: Boolean): CsvParser

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped