private boolean cardinalityIsKnown(Level level) { return level.getApproxRowCount() > 0; }
public int getCardinality() { return level.getApproxRowCount(); }
private long getLevelCardinality(SchemaReader schema, Level level) { if (cardinalityIsKnown(level)) { return level.getApproxRowCount(); } return schema.getLevelCardinality(level, false, true); }
protected boolean childLevelHasApproxRowCount() { return getLevel().getChildLevel().getApproxRowCount() > Integer.MIN_VALUE; }
if (approximate) { rowCount = level.getApproxRowCount();