assertEquals(0, items.get(0).getPositions(2)); assertEquals(1, items.get(0).getStatistics().getIntStatistics().getMinimum()); index = recordReader.readRowIndex(1, null, null).getRowGroupIndex(); assertEquals(3, index.length); items = index[1].getEntryList(); assertEquals(2, items.get(0).getStatistics().getIntStatistics().getMaximum());
throw new AssertionError("RG is not populated for " + columnIx + " rg " + rowGroup); OrcProto.ColumnStatistics stats = entry.getStatistics(); OrcProto.BloomFilter bf = null; OrcProto.Stream.Kind bfk = null;
public Builder mergeFrom(org.apache.orc.OrcProto.RowIndexEntry other) { if (other == org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance()) return this; if (!other.positions_.isEmpty()) { if (positions_.isEmpty()) { positions_ = other.positions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePositionsIsMutable(); positions_.addAll(other.positions_); } onChanged(); } if (other.hasStatistics()) { mergeStatistics(other.getStatistics()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private long getRowCount(OrcProto.RowIndexEntry rowIndexEntry) { return rowIndexEntry.getStatistics().getNumberOfValues(); }
private long getRowCount(OrcProto.RowIndexEntry rowIndexEntry) { return rowIndexEntry.getStatistics().getNumberOfValues(); }