public enum OffsetAgo extends java.lang.Enum<OffsetAgo>
MicrobatchSourceOptions.startFromOffsetAgo(long, OffsetAgo)
or StreamSourceOptions.startFromOffsetAgo(long, OffsetAgo)
Enum Constant and Description |
---|
DAYS
Start from first record added after this many days in the past
|
HOURS
Start from first record added after this many hours in the past
|
MINUTES
Start from first record added after this many minutes in the past
|
RECORDS
Start from this number of records in the past
|
SECONDS
Start from first record added after this many seconds in the past
|
Modifier and Type | Field and Description |
---|---|
clojure.lang.Keyword |
value |
Modifier and Type | Method and Description |
---|---|
static OffsetAgo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OffsetAgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OffsetAgo RECORDS
public static final OffsetAgo SECONDS
public static final OffsetAgo MINUTES
public static final OffsetAgo HOURS
public static final OffsetAgo DAYS
public static OffsetAgo[] values()
for (OffsetAgo c : OffsetAgo.values()) System.out.println(c);
public static OffsetAgo valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null