Skip to content

Commit

Permalink
Merge pull request ongr-io#149 from saimaz/patch-moving-average-aggre…
Browse files Browse the repository at this point in the history
…gation

Add moving average agg
  • Loading branch information
saimaz authored Sep 7, 2016
2 parents 7a30c1c + 5de0dd7 commit cc1442e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/Aggregation/Pipeline/MovingAverageAggregation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace ONGR\ElasticsearchDSL\Aggregation\Pipeline;

/**
* Class representing Max Bucket Pipeline Aggregation.
*
* @link https://goo.gl/8gIfok
*/
class MovingAverageAggregation extends AbstractPipelineAggregation
{
/**
* {@inheritdoc}
*/
public function getType()
{
return 'moving_avg';
}
}

0 comments on commit cc1442e

Please sign in to comment.