public static enum Extractor.Type extends Enum<Extractor.Type>
| Enum Constant and Description |
|---|
COPY_INPUT |
GROK |
JSON |
REGEX |
REGEX_REPLACE |
SPLIT_AND_INDEX |
SUBSTRING |
| Modifier and Type | Method and Description |
|---|---|
static Extractor.Type |
fuzzyValueOf(String s)
Just like
valueOf(String) but uses the upper case string and doesn't throw exceptions. |
static Extractor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Extractor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Extractor.Type SUBSTRING
public static final Extractor.Type REGEX
public static final Extractor.Type REGEX_REPLACE
public static final Extractor.Type SPLIT_AND_INDEX
public static final Extractor.Type COPY_INPUT
public static final Extractor.Type GROK
public static final Extractor.Type JSON
public static Extractor.Type[] values()
for (Extractor.Type c : Extractor.Type.values()) System.out.println(c);
public static Extractor.Type 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 Extractor.Type fuzzyValueOf(String s)
valueOf(String) but uses the upper case string and doesn't throw exceptions.s - the string representation of the extractor type.Extractor.Type or null.Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.