class BinaryFileFormat extends TextBasedFileFormat with DataSourceRegister
File format used for structured streaming of binary files
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BinaryFileFormat
- DataSourceRegister
- TextBasedFileFormat
- FileFormat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BinaryFileFormat()
Value Members
-
def
buildReader(sparkSession: SparkSession, dataSchema: StructType, partitionSchema: StructType, requiredSchema: StructType, filters: Seq[Filter], options: Map[String, String], hadoopConf: Configuration): (PartitionedFile) ⇒ Iterator[InternalRow]
- Definition Classes
- BinaryFileFormat → FileFormat
-
def
buildReaderWithPartitionValues(sparkSession: SparkSession, dataSchema: StructType, partitionSchema: StructType, requiredSchema: StructType, filters: Seq[Filter], options: Map[String, String], hadoopConf: Configuration): (PartitionedFile) ⇒ Iterator[InternalRow]
- Definition Classes
- FileFormat
-
def
equals(other: Any): Boolean
- Definition Classes
- BinaryFileFormat → AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- BinaryFileFormat → AnyRef → Any
-
def
inferSchema(sparkSession: SparkSession, options: Map[String, String], files: Seq[FileStatus]): Option[StructType]
- Definition Classes
- BinaryFileFormat → FileFormat
-
def
isSplitable(sparkSession: SparkSession, options: Map[String, String], path: Path): Boolean
- Definition Classes
- BinaryFileFormat → TextBasedFileFormat → FileFormat
-
def
prepareWrite(sparkSession: SparkSession, job: Job, options: Map[String, String], dataSchema: StructType): OutputWriterFactory
- Definition Classes
- BinaryFileFormat → FileFormat
-
def
shortName(): String
- Definition Classes
- BinaryFileFormat → DataSourceRegister
-
def
supportBatch(sparkSession: SparkSession, dataSchema: StructType): Boolean
- Definition Classes
- FileFormat
-
def
supportDataType(dataType: DataType): Boolean
- Definition Classes
- FileFormat
-
def
supportFieldName(name: String): Boolean
- Definition Classes
- FileFormat
-
def
toString(): String
- Definition Classes
- BinaryFileFormat → AnyRef → Any
-
def
vectorTypes(requiredSchema: StructType, partitionSchema: StructType, sqlConf: SQLConf): Option[Seq[String]]
- Definition Classes
- FileFormat