public enum InitialPositionInStream extends java.lang.Enum<InitialPositionInStream>
| Enum Constant and Description |
|---|
LATEST
Start after the most recent data record (fetch new data).
|
TRIM_HORIZON
Start from the oldest available data record.
|
| Modifier and Type | Method and Description |
|---|---|
static InitialPositionInStream |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InitialPositionInStream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitialPositionInStream LATEST
public static final InitialPositionInStream TRIM_HORIZON
public static InitialPositionInStream[] values()
for (InitialPositionInStream c : InitialPositionInStream.values()) System.out.println(c);
public static InitialPositionInStream 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