PHP 클래스 Elastica\Status

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_client Client object.
$_data Data.
$_response Contains all status infos.

공개 메소드들

메소드 설명
__construct ( Client $client ) Constructs Status object.
aliasExists ( string $name ) : boolean Checks if the given alias exists.
getData ( ) : array Returns status data.
getIndexNames ( ) : array Returns a list of the existing index names.
getIndicesWithAlias ( string $alias ) : array | Index[] Returns an array with all indices that the given alias name points to.
getResponse ( ) : Response Returns response object.
getShards ( ) : array Return shards info.
indexExists ( string $name ) : boolean Checks if the given index exists.
refresh ( ) Refresh status object.

메소드 상세

__construct() 공개 메소드

Constructs Status object.
public __construct ( Client $client )
$client Client Client object

aliasExists() 공개 메소드

Checks if the given alias exists.
public aliasExists ( string $name ) : boolean
$name string Alias name
리턴 boolean True if alias exists

getData() 공개 메소드

Returns status data.
public getData ( ) : array
리턴 array Status data

getIndexNames() 공개 메소드

Returns a list of the existing index names.
public getIndexNames ( ) : array
리턴 array Index names list

getIndicesWithAlias() 공개 메소드

Returns an array with all indices that the given alias name points to.
public getIndicesWithAlias ( string $alias ) : array | Index[]
$alias string Alias name
리턴 array | Index[] List of Elastica\Index

getResponse() 공개 메소드

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

getShards() 공개 메소드

Return shards info.
public getShards ( ) : array
리턴 array Shards info

indexExists() 공개 메소드

Checks if the given index exists.
public indexExists ( string $name ) : boolean
$name string Index name to check
리턴 boolean True if index exists

refresh() 공개 메소드

Refresh status object.
public refresh ( )

프로퍼티 상세

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

Client object.
protected $_client

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

Data.
protected $_data

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

Contains all status infos.
protected $_response