public function load(array $identifier, $rawData, $shardingKey)
    {
        $datas = $this->schemaManager->fetchOne($this->tableName, $identifier, $shardingKey);
        if (empty($datas) || 1 != count($datas)) {
            if (count($datas)) {
                throw new NoDataException("Too much datas for $this->tableName with ids : ".var_export($identifier, true));
            } else {
                throw new NoDataException("No datas for $this->tableName with ids : ".var_export($identifier, true));
            }
        }

        if ($rawData) {
            return current($datas);
        } else {
            return $this->dataParser->decode(current($datas), $this->configuration['fields']);
        }
    }
public function load(array $identifier, $rawData, $shardingKey)
    {
        $datas = $this->schemaManager->fetchOne($this->tableName, $identifier, $shardingKey);
        if (empty($datas) || 1 != count($datas)) {
            if (count($datas)) {
                throw new NoDataException("Too much datas for $this->tableName with ids : ".var_export($identifier, true));
            } else {
                throw new NoDataException("No datas for $this->tableName with ids : ".var_export($identifier, true));
            }
        }

        if ($rawData) {
            return current($datas);
        } else {
            return $this->dataParser->decode(current($datas), $this->configuration['fields']);
        }
    }
@param array $identifier
@param bool  $rawData
@param mixed $shardingKey

@return array|mixed
@throws NoDataException
@throws \Exception