public static enum SplunkStormRest.SplunkStormRestFormat extends Enum<SplunkStormRest.SplunkStormRestFormat>
| Enum Constant and Description |
|---|
JSON_NEW_LINE_TIMESTAMP
Each interaction is sent separately and has an extra timestamp property and no meta data.
|
JSON_NEW_LINE_TIMESTAMP_META
Each interaction is sent separately except it is framed with metadata and an extra timestamp field.
|
| Modifier and Type | Method and Description |
|---|---|
static SplunkStormRest.SplunkStormRestFormat |
fromStr(String str) |
static SplunkStormRest.SplunkStormRestFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplunkStormRest.SplunkStormRestFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplunkStormRest.SplunkStormRestFormat JSON_NEW_LINE_TIMESTAMP_META
public static final SplunkStormRest.SplunkStormRestFormat JSON_NEW_LINE_TIMESTAMP
public static SplunkStormRest.SplunkStormRestFormat[] values()
for (SplunkStormRest.SplunkStormRestFormat c : SplunkStormRest.SplunkStormRestFormat.values()) System.out.println(c);
public static SplunkStormRest.SplunkStormRestFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SplunkStormRest.SplunkStormRestFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.