Beispiel #1
0
 public function __construct(Configuration $configuration, $writerId, $tableId)
 {
     $this->configuration = $configuration;
     $storageApi = $this->configuration->getStorageApi();
     $sysBucket = $this->configuration->getSysBucketId($writerId);
     $this->tableId = $tableId;
     $tableName = $configuration->getWriterTableName($tableId);
     parent::__construct($storageApi, $sysBucket . '.' . $tableName);
 }
 protected function createTable($tableId, $data)
 {
     $this->configuration->updateTable($this->writerId, $tableId, $data);
 }