@Override
  public boolean hasRows() throws HiveException {
    return rowCount() > 0;
  }
Row iterator for non-zero-length rows.
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/FlatRowContainer.java