public class LogFormatConfig extends Object implements FormatPluginConfig
| Constructor and Description |
|---|
LogFormatConfig(String regex,
String extension,
Integer maxErrors,
List<LogFormatField> schema) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDataType(int fieldIndex) |
String |
getDateFormat(int fieldIndex) |
String |
getExtension() |
LogFormatField |
getField(int fieldIndex) |
List<String> |
getFieldNames() |
int |
getMaxErrors() |
String |
getRegex() |
List<LogFormatField> |
getSchema() |
int |
hashCode() |
boolean |
hasSchema() |
String |
toString() |
public LogFormatConfig(String regex, String extension, Integer maxErrors, List<LogFormatField> schema)
public String getRegex()
public String getExtension()
public int getMaxErrors()
public List<LogFormatField> getSchema()
public boolean hasSchema()
public String getDataType(int fieldIndex)
public LogFormatField getField(int fieldIndex)
public String getDateFormat(int fieldIndex)
Copyright © 2021 The Apache Software Foundation. All rights reserved.