Class UInt4Vector.Accessor

java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseAccessor
org.apache.drill.exec.vector.UInt4Vector.Accessor
All Implemented Interfaces:
ValueVector.Accessor
Enclosing class:
UInt4Vector

public final class UInt4Vector.Accessor extends BaseValueVector.BaseAccessor
  • Constructor Details

    • Accessor

      public Accessor()
  • Method Details

    • getValueCount

      public int getValueCount()
      Description copied from interface: ValueVector.Accessor
      Returns the number of values that is stored in this vector.
    • isNull

      public boolean isNull(int index)
      Description copied from interface: ValueVector.Accessor
      Returns true if the value at the given index is null, false otherwise.
      Specified by:
      isNull in interface ValueVector.Accessor
      Overrides:
      isNull in class BaseValueVector.BaseAccessor
    • get

      public int get(int index)
    • getTwoAsLong

      public long getTwoAsLong(int index)
    • getObject

      public Integer getObject(int index)
      Description copied from interface: ValueVector.Accessor
      Get the Java Object representation of the element at the specified position. Useful for testing.
      Parameters:
      index - Index of the value to get
    • getPrimitiveObject

      public int getPrimitiveObject(int index)
    • get

      public void get(int index, UInt4Holder holder)
    • get

      public void get(int index, NullableUInt4Holder holder)