public class NumericConverter extends Converter
Converter.Type
Constructor and Description |
---|
NumericConverter(Map<String,Object> config) |
Modifier and Type | Method and Description |
---|---|
boolean |
buildsMultipleFields() |
Object |
convert(String value)
Attempts to convert the provided string value to a numeric type,
trying Integer, Long and Double in order until successful.
|
public Object convert(String value)
public boolean buildsMultipleFields()
buildsMultipleFields
in class Converter
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.