All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.landoop.streamreactor.connect.hive.parquet.StructParquetWriterBuilder.scala Maven / Gradle / Ivy

The newest version!
package com.landoop.streamreactor.connect.hive.parquet

import org.apache.hadoop.conf.Configuration
import org.apache.hadoop.fs.Path
import org.apache.kafka.connect.data.{Schema, Struct}
import org.apache.parquet.hadoop.ParquetWriter
import org.apache.parquet.hadoop.api.WriteSupport

class StructParquetWriterBuilder(path: Path, schema: Schema)
  extends ParquetWriter.Builder[Struct, StructParquetWriterBuilder](path) {
  override def getWriteSupport(conf: Configuration): WriteSupport[Struct] = new StructWriteSupport(schema)
  override def self(): StructParquetWriterBuilder = this
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy