Class Float4Accessor

java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.Float4Accessor
All Implemented Interfaces:
SqlAccessor

public class Float4Accessor extends AbstractSqlAccessor
  • Constructor Details

    • Float4Accessor

      public Float4Accessor(Float4Vector vector)
  • Method Details

    • getType

      public TypeProtos.MajorType getType()
      Description copied from interface: SqlAccessor
      Reports the (native) type of data accessed by this accessor.

      (Some implementations may support more than just the minimum getType(...) method implied by the type.

    • isNull

      public boolean isNull(int index)
      Description copied from interface: SqlAccessor
      Reports whether the logical value is a SQL NULL.
      Specified by:
      isNull in interface SqlAccessor
      Specified by:
      isNull in class AbstractSqlAccessor
    • getObjectClass

      public Class<?> getObjectClass()
      Description copied from interface: SqlAccessor
      Reports the class returned by getObject() of this accessor.

      (Is for {@link ResultSetMetaData#getColumnClassName(...)}.)

    • getObject

      public Object getObject(int index)
      Description copied from interface: SqlAccessor
    • getFloat

      public float getFloat(int index)
      Description copied from interface: SqlAccessor
      Specified by:
      getFloat in interface SqlAccessor
      Overrides:
      getFloat in class AbstractSqlAccessor