trait SimpleMetricsCachedBatch extends CachedBatch
A CachedBatch that stores some simple metrics that can be used for filtering of batches with the SimpleMetricsCachedBatchSerializer. The metrics are returned by the stats value. For each column in the batch 5 columns of metadata are needed in the row.
- Annotations
- @DeveloperApi() @Since( "3.1.0" )
- Source
- CachedBatchSerializer.scala
- Alphabetic
- By Inheritance
- SimpleMetricsCachedBatch
- CachedBatch
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
numRows: Int
- Definition Classes
- CachedBatch
-
abstract
val
stats: InternalRow
Holds stats for each cached column.
Holds stats for each cached column. The optional
upperBound
andlowerBound
should be of the same type as the original column. If they are null, then it is assumed that they are not provided, and will not be used for filtering.upperBound
(optional)lowerBound
(Optional)nullCount
:Int
rowCount
:Int
sizeInBytes
:Long
These are repeated for each column in the original cached data.
Concrete Value Members
-
def
sizeInBytes: Long
- Definition Classes
- SimpleMetricsCachedBatch → CachedBatch