private void adjustArraySize(int newSize) {
    if (elementStart == null || elementStart.length < newSize) {
      elementStart = new int[newSize];
      elementLength = new int[newSize];
      elementInited = new boolean[newSize];
      elementIsNull = new boolean[newSize];
      arrayElements = new LazyBinaryObject[newSize];
    }
  }
Enlarge the size of arrays storing information for the elements inside the
array.
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryArray.java