public static enum SplunkStorm.SplunkStormFormat extends Enum<SplunkStorm.SplunkStormFormat>
| 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 SplunkStorm.SplunkStormFormat |
fromStr(String str) |
static SplunkStorm.SplunkStormFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplunkStorm.SplunkStormFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplunkStorm.SplunkStormFormat JSON_NEW_LINE_TIMESTAMP_META
public static final SplunkStorm.SplunkStormFormat JSON_NEW_LINE_TIMESTAMP
public static SplunkStorm.SplunkStormFormat[] values()
for (SplunkStorm.SplunkStormFormat c : SplunkStorm.SplunkStormFormat.values()) System.out.println(c);
public static SplunkStorm.SplunkStormFormat 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 SplunkStorm.SplunkStormFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.