case class AdmissionLimits(maxFiles: Option[Int] = options.maxFilesPerTrigger, bytesToTake: Long = ...) extends DeltaSourceAdmissionBase with Product with Serializable
Class that helps controlling how much data should be processed by a single micro-batch.
- Alphabetic
- By Inheritance
- AdmissionLimits
- Serializable
- Serializable
- Product
- Equals
- DeltaSourceAdmissionBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AdmissionLimits(maxFiles: Option[Int] = options.maxFilesPerTrigger, bytesToTake: Long = ...)
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
-
def
admit(indexedFile: IndexedFile): Boolean
Whether to admit the next file.
Whether to admit the next file. Dummy IndexedFile entries with no attached file action are always admitted.
- Definition Classes
- DeltaSourceAdmissionBase
-
def
admit(indexedFiles: Seq[IndexedFile]): Boolean
This overloaded method checks if all the FileActions for a commit can be accommodated by the rate limit.
This overloaded method checks if all the FileActions for a commit can be accommodated by the rate limit.
- Definition Classes
- DeltaSourceAdmissionBase
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var bytesToTake: Long
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
commitProcessedInBatch: Boolean
- Definition Classes
- DeltaSourceAdmissionBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var filesToTake: Int
-
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
hasCapacity: Boolean
Returns whether admission limits has capacity to accept files or bytes
Returns whether admission limits has capacity to accept files or bytes
- Definition Classes
- DeltaSourceAdmissionBase
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxFiles: Option[Int]
-
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
take(files: Int, bytes: Long): Unit
- Attributes
- protected
- Definition Classes
- DeltaSourceAdmissionBase
- def toReadLimit: ReadLimit
-
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()