Class LogFormatField

java.lang.Object
org.apache.drill.exec.store.log.LogFormatField

public class LogFormatField extends Object
The three configuration options for a field are:
  1. The field name
  2. The data type (fieldType). Field type defaults to VARCHAR if it is not specified
  3. The format string which is used for date/time fields. This field is ignored if used with a non date/time field.
  • Constructor Details

    • LogFormatField

      public LogFormatField()
    • LogFormatField

      public LogFormatField(String fieldName)
    • LogFormatField

      public LogFormatField(String fieldName, String fieldType)
    • LogFormatField

      public LogFormatField(String fieldName, String fieldType, String format)
  • Method Details

    • getFieldName

      public String getFieldName()
    • getFieldType

      public String getFieldType()
    • getFormat

      public String getFormat()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object