StateStoreWriter
is a contract for physical operators (i.e. SparkPlan
) to record metrics when writing to a StateStore.
Name | Description |
---|---|
Number of output rows |
|
number of total state rows |
|
number of updated state rows |
|
total time to update rows |
|
total time to remove rows |
|
time to commit changes |
|
memory used by state (store) |
setStoreMetrics(store: StateStore): Unit
setStoreMetrics
requests store
for metrics to use them to record the following metrics of a physical operator:
-
numTotalStateRows
asStateStore.numKeys
-
stateMemory
asStateStore.memoryUsedBytes
setStoreMetrics
records the implementation-specific metrics.
Note
|
|