public class MiniBatchInterval extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_INTERVAL |
static String |
FIELD_NAME_MODE |
static MiniBatchInterval |
NO_MINIBATCH
specific for cases when there exists nodes require watermark but mini-batch interval of
watermark is disabled by force, e.g.
|
static MiniBatchInterval |
NONE
default none value.
|
Constructor and Description |
---|
MiniBatchInterval(long interval,
MiniBatchMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getInterval() |
MiniBatchMode |
getMode() |
int |
hashCode() |
String |
toString() |
public static final String FIELD_NAME_INTERVAL
public static final String FIELD_NAME_MODE
public static final MiniBatchInterval NONE
public static final MiniBatchInterval NO_MINIBATCH
The difference between NONE AND NO_MINIBATCH is when merging with other miniBatchInterval, NONE case yields other miniBatchInterval, while NO_MINIBATCH case yields NO_MINIBATCH.
public MiniBatchInterval(long interval, MiniBatchMode mode)
public long getInterval()
public MiniBatchMode getMode()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.