@Override
  public int rowCount() throws HiveException {
    return rowLength > 0 ? (array.length / rowLength) : -rowLength; // see rowLength javadoc
  }
Row iterator for non-zero-length rows.
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/FlatRowContainer.java