@Override
  public int rowCount() {
    return (int)size;
  }
Get the number of elements in the RowContainer.

@return number of elements in the RowContainer
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/RowContainer.java