Class

com.crealytics.spark.excel

ExcelRelation

Related Doc: package excel

Permalink

case class ExcelRelation(dataLocator: DataLocator, useHeader: Boolean, treatEmptyValuesAsNulls: Boolean, inferSheetSchema: Boolean, addColorColumns: Boolean = true, userSchema: Option[StructType] = None, timestampFormat: Option[String] = None, excerptSize: Int = 10, workbookReader: WorkbookReader)(sqlContext: SQLContext) extends BaseRelation with TableScan with PrunedScan with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, PrunedScan, TableScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExcelRelation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PrunedScan
  7. TableScan
  8. BaseRelation
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExcelRelation(dataLocator: DataLocator, useHeader: Boolean, treatEmptyValuesAsNulls: Boolean, inferSheetSchema: Boolean, addColorColumns: Boolean = true, userSchema: Option[StructType] = None, timestampFormat: Option[String] = None, excerptSize: Int = 10, workbookReader: WorkbookReader)(sqlContext: SQLContext)

    Permalink

Type Members

  1. type SheetRow = Seq[Cell]

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val addColorColumns: Boolean

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def buildScan(requiredColumns: Array[String]): RDD[Row]

    Permalink
    Definition Classes
    ExcelRelation → PrunedScan
  7. def buildScan(): RDD[Row]

    Permalink
    Definition Classes
    ExcelRelation → TableScan
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val columnIndexForName: Map[String, Int]

    Permalink
  10. val columnNameRegex: UnanchoredRegex

    Permalink
  11. val dataFormatter: DataFormatter

    Permalink
  12. val dataLocator: DataLocator

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. lazy val excerpt: List[SheetRow]

    Permalink
  15. val excerptSize: Int

    Permalink
  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. lazy val headerCells: SheetRow

    Permalink
  19. val inferSheetSchema: Boolean

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def makeSafeHeader(row: Seq[String], dataTypes: Seq[DataType]): Seq[StructField]

    Permalink

    Generates a header from the given row which is null-safe and duplicate-safe.

    Generates a header from the given row which is null-safe and duplicate-safe.

    Attributes
    protected
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def needConversion: Boolean

    Permalink
    Definition Classes
    BaseRelation
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val schema: StructType

    Permalink
    Definition Classes
    ExcelRelation → BaseRelation
  27. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  28. val sqlContext: SQLContext

    Permalink
    Definition Classes
    ExcelRelation → BaseRelation
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. val timestampFormat: Option[String]

    Permalink
  31. val treatEmptyValuesAsNulls: Boolean

    Permalink
  32. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    BaseRelation
  33. val useHeader: Boolean

    Permalink
  34. val userSchema: Option[StructType]

    Permalink
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. val workbookReader: WorkbookReader

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PrunedScan

Inherited from TableScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped