Package org.apache.spark.sql.streaming
Class TimeMode
Object
org.apache.spark.sql.streaming.TimeMode
Represents the time modes (used for specifying timers and ttl) possible for
 the Dataset operations 
transformWithState.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final TimeModeStateful processor that uses event time to register timers.static final TimeModeNone()Neither timers nor ttl is supported in this mode.static final TimeModeStateful processor that uses query processing time to register timers and calculate ttl expiration.
- 
Constructor Details- 
TimeModepublic TimeMode()
 
- 
- 
Method Details- 
NoneNeither timers nor ttl is supported in this mode.
- 
ProcessingTimeStateful processor that uses query processing time to register timers and calculate ttl expiration.
- 
EventTimeStateful processor that uses event time to register timers. Note that ttl is not supported in this TimeMode.
 
-