PHP 클래스 Elastica\Aggregation\DateHistogram

상속: extends Histogram
파일 보기 프로젝트 열기: ruflin/elastica 1 사용 예제들

공개 메소드들

메소드 설명
setExtendedBounds ( string $min = '', string $max = '' ) Set extended bounds option.
setFactor ( integer $factor ) Adjust for granularity of date data.
setFormat ( string $format ) Set the format for returned bucket key_as_string values.
setOffset ( $offset ) Set offset option.
setTimezone ( $timezone ) Set time_zone option.

메소드 상세

setExtendedBounds() 공개 메소드

Set extended bounds option.
public setExtendedBounds ( string $min = '', string $max = '' )
$min string see link for formatting options
$max string see link for formatting options

setFactor() 공개 메소드

Adjust for granularity of date data.
public setFactor ( integer $factor )
$factor integer set to 1000 if date is stored in seconds rather than milliseconds

setFormat() 공개 메소드

Set the format for returned bucket key_as_string values.
public setFormat ( string $format )
$format string see link for formatting options

setOffset() 공개 메소드

Set offset option.
public setOffset ( $offset )

setTimezone() 공개 메소드

Set time_zone option.
public setTimezone ( $timezone )