PHP Класс Elastica\Aggregation\BucketScript

Наследование: extends AbstractAggregation
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $name, array | null $bucketsPath = null, string | null $script = null )
setBucketsPath ( array $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.
setScript ( string $script ) Set the script for this aggregation.
toArray ( ) : array

Описание методов

__construct() публичный Метод

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

setBucketsPath() публичный Метод

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

setFormat() публичный Метод

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

setGapPolicy() публичный Метод

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

setScript() публичный Метод

Set the script for this aggregation.
public setScript ( string $script )
$script string

toArray() публичный Метод

public toArray ( ) : array
Результат array