| 1 | <?php |
||
| 8 | abstract class AbstractPipelineAggregation extends AbstractAggregation |
||
| 9 | { |
||
| 10 | use MetricTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $bucketsPath; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $name |
||
| 19 | * @param $bucketsPath |
||
| 20 | */ |
||
| 21 | public function __construct($name, $bucketsPath) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getBucketsPath() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $bucketsPath |
||
| 37 | */ |
||
| 38 | public function setBucketsPath($bucketsPath) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getArray() |
||
| 50 | } |
||
| 51 |