PHP Class Elastica\Aggregation\SerialDiff

Inheritance: extends AbstractAggregation
Exibir arquivo Open project: ruflin/elastica

Public Methods

Method Description
__construct ( string $name, string | null $bucketsPath = null )
setBucketsPath ( string $bucketsPath ) Set the buckets_path for this aggregation.
setFormat ( string $format ) Set the format for this aggregation.
setGapPolicy ( string $gapPolicy ) Set the gap policy for this aggregation.
setLag ( integer $lag ) Set the lag for this aggregation.
toArray ( ) : array

Method Details

__construct() public method

public __construct ( string $name, string | null $bucketsPath = null )
$name string
$bucketsPath string | null

setBucketsPath() public method

Set the buckets_path for this aggregation.
public setBucketsPath ( string $bucketsPath )
$bucketsPath string

setFormat() public method

Set the format for this aggregation.
public setFormat ( string $format )
$format string

setGapPolicy() public method

Set the gap policy for this aggregation.
public setGapPolicy ( string $gapPolicy )
$gapPolicy string

setLag() public method

Set the lag for this aggregation.
public setLag ( integer $lag )
$lag integer

toArray() public method

public toArray ( ) : array
return array