object FileFormat
- Alphabetic
- By Inheritance
- FileFormat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
BASE_METADATA_EXTRACTORS: Map[String, (PartitionedFile) ⇒ Any]
All BASE_METADATA_FIELDS require custom extractors because they are derived directly from fields of the PartitionedFile, and do have entries in the file's metadata map.
-
val
BASE_METADATA_FIELDS: Seq[StructField]
Schema of metadata struct that can be produced by every file format, metadata fields for every file format must be *not* nullable.
- val FILE_BLOCK_LENGTH: String
- val FILE_BLOCK_START: String
- val FILE_MODIFICATION_TIME: String
- val FILE_NAME: String
- val FILE_PATH: String
- val FILE_SIZE: String
- val METADATA_NAME: String
-
val
OPTION_RETURNING_BATCH: String
Option to pass to buildReaderWithPartitionValues to return columnar batch output or not.
Option to pass to buildReaderWithPartitionValues to return columnar batch output or not. For ParquetFileFormat and OrcFileFormat, passing this option is required. This should only be passed as true if it can actually be supported, which can be checked by calling supportBatch.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def createMetadataInternalRow(partitionValues: InternalRow, fieldNames: Seq[String], filePath: SparkPath, fileSize: Long, fileModificationTime: Long): InternalRow
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
getFileConstantMetadataColumnValue(name: String, file: PartitionedFile, metadataExtractors: Map[String, (PartitionedFile) ⇒ Any]): Literal
Extracts the Literal value of a file-constant metadata column from a PartitionedFile.
Extracts the Literal value of a file-constant metadata column from a PartitionedFile.
If an extractor is available, apply it. Otherwise, look up the column's name in the file's column value map and return the result (or null, if not found).
Raw values (including null) are automatically converted to literals as a courtesy.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def updateMetadataInternalRow(row: InternalRow, fieldNames: Seq[String], file: PartitionedFile, metadataExtractors: Map[String, (PartitionedFile) ⇒ Any]): InternalRow
-
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()