case class ReachedAnyOf(fileOpenDuration: Option[Duration] = None, fileSize: Option[Long] = None, recordsWritten: Option[Long] = None) extends FileCommitStrategy with Product with Serializable
Commit strategy that commits files once ANY of the parameters reaches the given threshold.
- Alphabetic
- By Inheritance
- ReachedAnyOf
- Serializable
- Product
- Equals
- FileCommitStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileOpenDuration: Option[Duration]
- val fileSize: Option[Long]
- 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
- val recordsWritten: Option[Long]
- def shouldCommit(currFileOpenDuration: Duration, currFileSize: => Long, currRecords: Long): Boolean
Checks whether a file should be closed and committed to storage.
Checks whether a file should be closed and committed to storage.
- returns
Whether the file should be closed and committed.
- Definition Classes
- ReachedAnyOf → FileCommitStrategy
- 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()