Class Field

java.lang.Object
org.apache.drill.exec.schema.Field
Direct Known Subclasses:
NamedField, OrderedField

public abstract class Field extends Object
  • Constructor Details

  • Method Details

    • getFieldName

      public abstract String getFieldName()
    • getFullFieldName

      public String getFullFieldName()
    • setRead

      public void setRead(boolean read)
    • addAttributesToHelper

      protected abstract org.apache.drill.shaded.guava.com.google.common.base.MoreObjects.ToStringHelper addAttributesToHelper(org.apache.drill.shaded.guava.com.google.common.base.MoreObjects.ToStringHelper helper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAssignedSchema

      public RecordSchema getAssignedSchema()
    • assignSchemaIfNull

      public void assignSchemaIfNull(RecordSchema newSchema)
    • isRead

      public boolean isRead()
    • hasSchema

      public boolean hasSchema()
    • getFieldType

      public TypeProtos.MajorType getFieldType()
    • setFieldType

      public void setFieldType(TypeProtos.MajorType fieldType)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object