trait ListStateMetricsImpl extends AnyRef
Trait that provides helper methods to maintain metrics for a list state. For list state, we keep track of the count of entries in the list in a separate column family to get an accurate view of the number of entries that are updated/removed from the list and reported as part of the query progress metrics.
- Alphabetic
- By Inheritance
- ListStateMetricsImpl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def baseStateName: String
- abstract def exprEncSchema: StructType
- abstract def stateStore: StateStore
Concrete 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]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getEntryCount(encodedKey: UnsafeRow): Long
Function to get the number of entries in the list state for a given grouping key
Function to get the number of entries in the list state for a given grouping key
- encodedKey
- encoded grouping key
- returns
- number of entries in the list state
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def removeEntryCount(encodedKey: UnsafeRow): Unit
Function to remove the number of entries in the list state for a given grouping key
Function to remove the number of entries in the list state for a given grouping key
- encodedKey
- encoded grouping key
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateEntryCount(encodedKey: UnsafeRow, updatedCount: Long): Unit
Function to update the number of entries in the list state for a given grouping key
Function to update the number of entries in the list state for a given grouping key
- encodedKey
- encoded grouping key
- updatedCount
- updated count of entries in the list state
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)