Class RepeatedIntervalYearVector.Accessor

All Implemented Interfaces:
RepeatedValueVector.RepeatedAccessor, ValueVector.Accessor
Enclosing class:
RepeatedIntervalYearVector

public final class RepeatedIntervalYearVector.Accessor extends BaseRepeatedValueVector.BaseRepeatedAccessor
  • Constructor Details

    • Accessor

      public Accessor()
  • Method Details

    • getObject

      public List<org.joda.time.Period> 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
    • getSingleObject

      public org.joda.time.Period getSingleObject(int index, int arrayIndex)
    • get

      public int get(int index, int positionIndex)
      Get a value for the given record. Each element in the repeated field is accessed by the positionIndex param.
      Parameters:
      index - record containing the repeated field
      positionIndex - position within the repeated field
      Returns:
      element at the given position in the given record
    • get

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

      public void get(int index, int positionIndex, IntervalYearHolder holder)
    • get

      public void get(int index, int positionIndex, NullableIntervalYearHolder holder)