PMA\libraries\Partition::getRows PHP Method

getRows() public method

Returns the number of data rows
public getRows ( ) : integer
return integer number of rows
    public function getRows()
    {
        if (empty($this->subPartitions)) {
            return $this->rows;
        } else {
            $rows = 0;
            foreach ($this->subPartitions as $subPartition) {
                $rows += $subPartition->rows;
            }
            return $rows;
        }
    }