Package org.apache.spark.sql.streaming
Class TTLConfig
Object
org.apache.spark.sql.streaming.TTLConfig
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
TTL Configuration for state variable. State values will not be returned past ttlDuration, and
will be eventually removed from the state store. Any state update resets the ttl to current
processing time plus ttlDuration.
param: ttlDuration time to live duration for state stored in the state variable.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
TTLConfig
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
ttlDuration
-