@Evolving
public class Trigger
extends Object
Constructor and Description |
---|
Trigger() |
Modifier and Type | Method and Description |
---|---|
static Trigger |
Continuous(scala.concurrent.duration.Duration interval)
(Scala-friendly)
A trigger that continuously processes streaming data, asynchronously checkpointing at
the specified interval.
|
static Trigger |
Continuous(long intervalMs)
A trigger that continuously processes streaming data, asynchronously checkpointing at
the specified interval.
|
static Trigger |
Continuous(long interval,
java.util.concurrent.TimeUnit timeUnit)
A trigger that continuously processes streaming data, asynchronously checkpointing at
the specified interval.
|
static Trigger |
Continuous(String interval)
A trigger that continuously processes streaming data, asynchronously checkpointing at
the specified interval.
|
static Trigger |
Once()
A trigger that process only one batch of data in a streaming query then terminates
the query.
|
static Trigger |
ProcessingTime(scala.concurrent.duration.Duration interval)
(Scala-friendly)
A trigger policy that runs a query periodically based on an interval in processing time.
|
static Trigger |
ProcessingTime(long intervalMs)
A trigger policy that runs a query periodically based on an interval in processing time.
|
static Trigger |
ProcessingTime(long interval,
java.util.concurrent.TimeUnit timeUnit)
(Java-friendly)
A trigger policy that runs a query periodically based on an interval in processing time.
|
static Trigger |
ProcessingTime(String interval)
A trigger policy that runs a query periodically based on an interval in processing time.
|
public static Trigger ProcessingTime(long intervalMs)
public static Trigger ProcessingTime(long interval, java.util.concurrent.TimeUnit timeUnit)
public static Trigger ProcessingTime(scala.concurrent.duration.Duration interval)
public static Trigger ProcessingTime(String interval)
public static Trigger Once()
public static Trigger Continuous(long intervalMs)
public static Trigger Continuous(long interval, java.util.concurrent.TimeUnit timeUnit)
public static Trigger Continuous(scala.concurrent.duration.Duration interval)
public static Trigger Continuous(String interval)