case class Builder[P, R](_fileBuilderFactory: (P) => FileBuilder[R], _recordFormatter: RecordFormatter[R], _recordPartitioner: RecordPartitioner[R, P], _fileCommitStrategy: MultiFileCommitStrategy) extends Product with Serializable
- Alphabetic
- By Inheritance
- Builder
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Builder(_fileBuilderFactory: (P) => FileBuilder[R], _recordFormatter: RecordFormatter[R], _recordPartitioner: RecordPartitioner[R, P], _fileCommitStrategy: MultiFileCommitStrategy)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(): PartitioningFileRecordBatcher[P, R]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fileBuilderFactory(factory: (P) => FileBuilder[R]): Builder[P, R]
Sets the file builder factory to use for constructing files for partitions, e.g.
Sets the file builder factory to use for constructing files for partitions, e.g. CSV.
- def fileCommitStrategy(strategy: MultiFileCommitStrategy): Builder[P, R]
Sets the strategy for determining if a batch of files is ready.
- final def getClass(): Class[_ <: AnyRef]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def recordFormatter(formatter: RecordFormatter[R]): Builder[P, R]
Sets the record formatter that converts from consumer records to records written to the file.
- def recordPartitioner(partitioner: RecordPartitioner[R, P]): Builder[P, R]
Sets the record partitioner to use for distributing records to partitions.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()