case class ExcelRelation(dataLocator: DataLocator, header: 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
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExcelRelation
- Serializable
- Serializable
- Product
- Equals
- PrunedScan
- TableScan
- BaseRelation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExcelRelation(dataLocator: DataLocator, header: Boolean, treatEmptyValuesAsNulls: Boolean, inferSheetSchema: Boolean, addColorColumns: Boolean = true, userSchema: Option[StructType] = None, timestampFormat: Option[String] = None, excerptSize: Int = 10, workbookReader: WorkbookReader)(sqlContext: SQLContext)
Type Members
- type SheetRow = Seq[Cell]
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
- val addColorColumns: Boolean
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildScan(requiredColumns: Array[String]): RDD[Row]
- Definition Classes
- ExcelRelation → PrunedScan
-
def
buildScan(): RDD[Row]
- Definition Classes
- ExcelRelation → TableScan
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val columnNameRegex: UnanchoredRegex
- val dataFormatter: DataFormatter
- val dataLocator: DataLocator
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val excerpt: List[SheetRow]
- val excerptSize: Int
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val header: Boolean
- lazy val headerColumnForName: Map[String, HeaderDataColumn]
-
lazy val
headerColumns: Seq[HeaderDataColumn]
Generates a header from the given row which is null-safe and duplicate-safe.
- val inferSheetSchema: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
needConversion: Boolean
- Definition Classes
- BaseRelation
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
schema: StructType
- Definition Classes
- ExcelRelation → BaseRelation
-
def
sizeInBytes: Long
- Definition Classes
- BaseRelation
-
val
sqlContext: SQLContext
- Definition Classes
- ExcelRelation → BaseRelation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestampFormat: Option[String]
- val treatEmptyValuesAsNulls: Boolean
-
def
unhandledFilters(filters: Array[Filter]): Array[Filter]
- Definition Classes
- BaseRelation
- val userSchema: Option[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( ... ) @native()
- val workbookReader: WorkbookReader