public function transformRows(\Cassandra\Rows $rows)
    {
        $entries = [];

        // page through all results and transform as we go
        while (true) {
            while ($rows->valid()) {

                // transform
                $entry = $this->transform($rows->current());

                if ($entry) {
                    array_push($entries, $entry);
                }

                $rows->next();
            }

            if ($rows->isLastPage()) {
                break;
            }

            $rows = $rows->nextPage();
        }

        return $entries;
    }
public function transformRows(\Cassandra\Rows $rows)
    {
        $entries = [];

        // page through all results and transform as we go
        while (true) {
            while ($rows->valid()) {

                // transform
                $entry = $this->transform($rows->current());

                if ($entry) {
                    array_push($entries, $entry);
                }

                $rows->next();
            }

            if ($rows->isLastPage()) {
                break;
            }

            $rows = $rows->nextPage();
        }

        return $entries;
    }
public function transformRows ( \ Cassandra \ Rows $ rows ) { $ entries = [ ] ; // page through all results and transform as we go while ( true ) { while ( $ rows -> valid ( ) ) { // transform $ entry = $ this -> transform ( $ rows -> current ( ) ) ; if ( $ entry ) { array_push ( $ entries , $ entry ) ; } $ rows -> next ( ) ; } if ( $ rows -> isLastPage ( ) ) { break ; } $ rows = $ rows -> nextPage ( ) ; } return $ entries ; }
Transform Cassandra Rows.

@param \Cassandra\Rows $rows

@return array
Transform Cassandra Rows .