public function __construct(Command\Builder\IncrementCounter $builder) { parent::__construct($builder); $this->increment = $builder->getIncrement(); $this->bucket = $builder->getBucket(); $this->location = $builder->getLocation(); }
public function __construct(Command\Builder\MapReduce\FetchObjects $builder) { parent::__construct($builder); $this->inputs = $builder->getInputs(); // query needs to be a list $this->query = $builder->getQuery(); }
public function __construct(Command\Builder\UpdateHll $builder) { parent::__construct($builder); $this->add_all = $builder->getAddAll(); $this->bucket = $builder->getBucket(); $this->location = $builder->getLocation(); }
public function __construct(Command\Builder\UpdateMap $builder) { parent::__construct($builder); $this->remove = $builder->getRemove(); $this->registers = $builder->getRegisters(); $this->flags = $builder->getFlags(); $this->counters = $builder->getCounters(); $this->sets = $builder->getSets(); $this->maps = $builder->getMaps(); $this->bucket = $builder->getBucket(); $this->location = $builder->getLocation(); }
public function __construct(Command\Builder\QueryIndex $builder) { parent::__construct($builder); $this->bucket = $builder->getBucket(); $this->indexName = $builder->getIndexName(); if ($builder->isRangeQuery()) { $this->lowerBound = $builder->getLowerBound(); $this->upperBound = $builder->getUpperBound(); $this->isRangeQuery = true; } else { $this->match = $builder->getMatchValue(); $this->isMatchQuery = true; } $continuation = $builder->getContinuation(); if (!empty($continuation)) { $this->parameters['continuation'] = $continuation; } $maxResults = $builder->getMaxResults(); if (!empty($maxResults)) { $this->parameters['max_results'] = $maxResults; } $returnTerms = $builder->getReturnTerms(); if (!empty($returnTerms)) { $this->parameters['return_terms'] = $returnTerms ? 'true' : 'false'; } $paginationSort = $builder->getPaginationSort(); if (!empty($paginationSort)) { $this->parameters['pagination_sort'] = $paginationSort ? 'true' : 'false'; } $termRegex = $builder->getTermFilter(); if (!empty($termRegex)) { $this->parameters['term_regex'] = $termRegex; } $timeout = $builder->getTimeout(); if (!empty($timeout)) { $this->parameters['timeout'] = $timeout; } }
public function __construct(Command\Builder\FetchMap $builder) { parent::__construct($builder); $this->bucket = $builder->getBucket(); $this->location = $builder->getLocation(); }
public function __construct(Command\Builder\TimeSeries\DeleteRow $builder) { parent::__construct($builder); $this->table = $builder->getTable(); $this->key = $builder->getKey(); }
public function __construct(Command\Builder\SetBucketProperties $builder) { parent::__construct($builder); $this->bucket = $builder->getBucket(); $this->properties = $builder->getProperties(); }
public function __construct(Command\Builder\Search\DeleteIndex $builder) { parent::__construct($builder); $this->name = $builder->getName(); }
public function __construct(Command\Builder\Search\StoreIndex $builder) { parent::__construct($builder); $this->name = $builder->getName(); $this->schema = $builder->getSchema(); }
public function __construct(Command\Builder\TimeSeries\StoreRows $builder) { parent::__construct($builder); $this->table = $builder->getTable(); $this->rows = $builder->getRows(); }
public function __construct(Command\Builder\FetchStats $builder) { parent::__construct($builder); }
public function __construct(Command\Builder\Search\FetchSchema $builder) { parent::__construct($builder); $this->name = $builder->getSchemaName(); }
public function __construct(Command\Builder\Ping $builder) { parent::__construct($builder); }
public function __construct(Command\Builder\Search\FetchObjects $builder) { parent::__construct($builder); $this->index_name = $builder->getIndexName(); }
public function __construct(Command\Builder\TimeSeries\Query $builder) { parent::__construct($builder); $this->query = $builder->getQuery(); $this->interps = $builder->getInterps(); }