Class ObjectVector.Accessor

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

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

    • Accessor

      public Accessor()
  • Method Details

    • getObject

      public Object 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
    • getValueCount

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

      public Object get(int index)
    • get

      public void get(int index, ObjectHolder holder)