name = $name; $this->index = $indexName; $this->query = $query; $this->from = $from; $this->size = $size; $this->buckets = $buckets; $this->dimensions = $dimensions; } /** * {@inheritdoc} */ public function getName() { return $this->name; } /** * {@inheritdoc} */ public function getIndex() { return $this->index; } /** * {@inheritdoc} */ public function getDimensions() { return $this->dimensions; } /** * {@inheritdoc} */ public function getAggregation() { return $this->buckets; } /** * {@inheritdoc} */ public function getQuery() { return $this->query; } /** * {@inheritdoc} */ public function getFrom() { return $this->from; } /** * {@inheritdoc} */ public function getSize() { return $this->size; } }