@InterfaceStability.Evolving
public class Trigger
extends Object
Constructor and Description |
---|
Trigger() |
Modifier and Type | Method and Description |
---|---|
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()