src/Keboola/Writer/GoodData/Client.php
public function uploadTable($writerId, $tableId, $incrementalLoad = null, $queue = 'primary')
    {
        $job = $this->uploadTableAsync($writerId, $tableId, $incrementalLoad, $queue);
        if (!isset($job['url'])) {
            throw new ServerException('Upload table job returned unexpected result: ' . json_encode($job, JSON_PRETTY_PRINT));
        }

        return $this->waitForJob($job['url']);
    }
public function uploadTable($writerId, $tableId, $incrementalLoad = null, $queue = 'primary')
    {
        $job = $this->uploadTableAsync($writerId, $tableId, $incrementalLoad, $queue);
        if (!isset($job['url'])) {
            throw new ServerException('Upload table job returned unexpected result: ' . json_encode($job, JSON_PRETTY_PRINT));
        }

        return $this->waitForJob($job['url']);
    }
public function uploadTable ( $ writerId , $ tableId , $ incrementalLoad = null , $ queue = 'primary' ) { $ job = $ this -> uploadTableAsync ( $ writerId , $ tableId , $ incrementalLoad , $ queue ) ; if ( ! isset ( $ job [ 'url' ] ) ) { throw new ServerException ( 'Upload table job returned unexpected result: ' . json_encode ( $ job , JSON_PRETTY_PRINT ) ) ; } return $ this -> waitForJob ( $ job [ 'url' ] ) ; }
Upload table to GoodData and wait for result
@param $writerId
@param $tableId
@param null $incrementalLoad
@param string $queue
@throws ServerException
@return mixed
Upload table to GoodData and wait for result