Bigtable/src/ChunkFormatter.php
private function rowInProgress(CellChunk $chunk)
    {
        $this->validateRowInProgress($chunk);
        if ($chunk->getResetRow()) {
            $this->reset();
            return;
        }
        if ($chunk->getFamilyName()) {
            $familyName = $chunk->getFamilyName()->getValue();
            if (!isset($this->row[$familyName])) {
                $this->row[$familyName] = [];
            }
            $this->family = &$this->row[$familyName];
        }
        if ($chunk->getQualifier()) {
            $qualifierName = $chunk->getQualifier()->getValue();
            if (!isset($this->family[$qualifierName])) {
                $this->family[$qualifierName] = [];
            }
            $this->qualifiers = &$this->family[$qualifierName];
        }
        $labels = ($chunk->getLabels()->getIterator()->valid())
            ? implode(iterator_to_array($chunk->getLabels()->getIterator()))
            : '';
        $qualifier = [
            'value' => $chunk->getValue(),
            'labels' => $labels,
            'timeStamp' => $chunk->getTimestampMicros()
        ];
        $this->qualifierValue = &$qualifier['value'];
        $this->qualifiers[] = &$qualifier;
        $this->moveToNextState($chunk);
    }
private function rowInProgress(CellChunk $chunk)
    {
        $this->validateRowInProgress($chunk);
        if ($chunk->getResetRow()) {
            $this->reset();
            return;
        }
        if ($chunk->getFamilyName()) {
            $familyName = $chunk->getFamilyName()->getValue();
            if (!isset($this->row[$familyName])) {
                $this->row[$familyName] = [];
            }
            $this->family = &$this->row[$familyName];
        }
        if ($chunk->getQualifier()) {
            $qualifierName = $chunk->getQualifier()->getValue();
            if (!isset($this->family[$qualifierName])) {
                $this->family[$qualifierName] = [];
            }
            $this->qualifiers = &$this->family[$qualifierName];
        }
        $labels = ($chunk->getLabels()->getIterator()->valid())
            ? implode(iterator_to_array($chunk->getLabels()->getIterator()))
            : '';
        $qualifier = [
            'value' => $chunk->getValue(),
            'labels' => $labels,
            'timeStamp' => $chunk->getTimestampMicros()
        ];
        $this->qualifierValue = &$qualifier['value'];
        $this->qualifiers[] = &$qualifier;
        $this->moveToNextState($chunk);
    }
private function rowInProgress ( CellChunk $ chunk ) { $ this -> validateRowInProgress ( $ chunk ) ; if ( $ chunk -> getResetRow ( ) ) { $ this -> reset ( ) ; return ; } if ( $ chunk -> getFamilyName ( ) ) { $ familyName = $ chunk -> getFamilyName ( ) -> getValue ( ) ; if ( ! isset ( $ this -> row [ $ familyName ] ) ) { $ this -> row [ $ familyName ] = [ ] ; } $ this -> family = & $ this -> row [ $ familyName ] ; } if ( $ chunk -> getQualifier ( ) ) { $ qualifierName = $ chunk -> getQualifier ( ) -> getValue ( ) ; if ( ! isset ( $ this -> family [ $ qualifierName ] ) ) { $ this -> family [ $ qualifierName ] = [ ] ; } $ this -> qualifiers = & $ this -> family [ $ qualifierName ] ; } $ labels = ( $ chunk -> getLabels ( ) -> getIterator ( ) -> valid ( ) ) ? implode ( iterator_to_array ( $ chunk -> getLabels ( ) -> getIterator ( ) ) ) : '' ; $ qualifier = [ 'value' => $ chunk -> getValue ( ) , 'labels' => $ labels , 'timeStamp' => $ chunk -> getTimestampMicros ( ) ] ; $ this -> qualifierValue = & $ qualifier [ 'value' ] ; $ this -> qualifiers [ ] = & $ qualifier ; $ this -> moveToNextState ( $ chunk ) ; }
Process a chunk when in ROW_IN_PROGRESS state.

@param CellChunk $chunk The chunk to process.
@return void
@throws BigtableDataOperationException
Process a chunk when in ROW_IN_PROGRESS state .