@Override public Double visit(AggregatePlan plan) { try { Long byteCount = plan.getEstimatedBytesToScan(); Long rowCount = plan.getEstimatedRowsToScan(); if (byteCount != null && rowCount != null) { if (byteCount == 0) { return 0.0; } if (rowCount != 0) { return ((double) byteCount) / rowCount; } } } catch (SQLException e) { } return null; }
@Override public Double visit(AggregatePlan plan) { try { Long b = plan.getEstimatedRowsToScan(); if (b != null) { return limit( filter( aggregate( filter( b.doubleValue(), stripSkipScanFilter( plan.getContext().getScan().getFilter())), plan.getGroupBy()), plan.getHaving()), plan.getLimit()); } } catch (SQLException e) { } return null; }
Long inputRows = null; try { inputRows = getEstimatedRowsToScan(); } catch (SQLException e) {
@Override public Double visit(AggregatePlan plan) { try { Long byteCount = plan.getEstimatedBytesToScan(); Long rowCount = plan.getEstimatedRowsToScan(); if (byteCount != null && rowCount != null) { if (byteCount == 0) { return 0.0; } if (rowCount != 0) { return ((double) byteCount) / rowCount; } } } catch (SQLException e) { } return null; }
@Override public Double visit(AggregatePlan plan) { try { Long byteCount = plan.getEstimatedBytesToScan(); Long rowCount = plan.getEstimatedRowsToScan(); if (byteCount != null && rowCount != null) { if (byteCount == 0) { return 0.0; } if (rowCount != 0) { return ((double) byteCount) / rowCount; } } } catch (SQLException e) { } return null; }
@Override public Double visit(AggregatePlan plan) { try { Long b = plan.getEstimatedRowsToScan(); if (b != null) { return limit( filter( aggregate( filter( b.doubleValue(), stripSkipScanFilter( plan.getContext().getScan().getFilter())), plan.getGroupBy()), plan.getHaving()), plan.getLimit()); } } catch (SQLException e) { } return null; }
@Override public Double visit(AggregatePlan plan) { try { Long b = plan.getEstimatedRowsToScan(); if (b != null) { return limit( filter( aggregate( filter( b.doubleValue(), stripSkipScanFilter( plan.getContext().getScan().getFilter())), plan.getGroupBy()), plan.getHaving()), plan.getLimit()); } } catch (SQLException e) { } return null; }
Long inputRows = null; try { inputRows = getEstimatedRowsToScan(); } catch (SQLException e) {
Long inputRows = null; try { inputRows = getEstimatedRowsToScan(); } catch (SQLException e) {