PHP 클래스 Elastica\Index\Stats

파일 보기 프로젝트 열기: ruflin/elastica

보호된 프로퍼티들

프로퍼티 타입 설명
$_data Stats info.
$_index Index.
$_response Response.

공개 메소드들

메소드 설명
__construct ( Index $index ) Construct.
get ( ) : mixed Returns the entry in the data array based on the params.
getData ( ) : array Returns the raw stats info.
getIndex ( ) : Index Returns the index object.
getResponse ( ) : Response Returns response object.
refresh ( ) Reloads all status data of this object.

메소드 상세

__construct() 공개 메소드

Construct.
public __construct ( Index $index )
$index Elastica\Index Index object

get() 공개 메소드

Various params possible.
public get ( ) : mixed
리턴 mixed Data array entry or null if not found

getData() 공개 메소드

Returns the raw stats info.
public getData ( ) : array
리턴 array Stats info

getIndex() 공개 메소드

Returns the index object.
public getIndex ( ) : Index
리턴 Elastica\Index Index object

getResponse() 공개 메소드

Returns response object.
public getResponse ( ) : Response
리턴 Elastica\Response Response object

refresh() 공개 메소드

Reloads all status data of this object.
public refresh ( )

프로퍼티 상세

$_data 보호되어 있는 프로퍼티

Stats info.
protected $_data

$_index 보호되어 있는 프로퍼티

Index.
protected $_index

$_response 보호되어 있는 프로퍼티

Response.
protected $_response