if (rowIndexCols != null) {
RowIndex[] indices = rows.readRowIndex(stripeIx);
for (int col : rowIndexCols) {
StringBuilder buf = new StringBuilder();
buf.append(" Row group index column ").append(col).append(":");
RowIndex index = null;
if ((col >= indices.length) || ((index = indices[col]) == null)) {
buf.append(" not found\n");
continue;
}
for (int entryIx = 0; entryIx < index.getEntryCount(); ++entryIx) {
buf.append("\n Entry ").append(entryIx).append(":");
RowIndexEntry entry = index.getEntry(entryIx);
if (entry == null) {
buf.append("unknown\n");
continue;
}
OrcProto.ColumnStatistics colStats = entry.getStatistics();