PHP 클래스 Elastica\Aggregation\BucketScript

상속: extends AbstractAggregation
파일 보기 프로젝트 열기: ruflin/elastica

공개 메소드들

메소드 설명
__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