PHP 클래스 Elastica\Query\HasChild

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

공개 메소드들

메소드 설명
__construct ( string | Query | Elastica\Query\AbstractQuery $query, string $type = null ) Construct HasChild Query.
setInnerHits ( InnerHits $innerHits ) Set inner hits.
setQuery ( string | Query | Elastica\Query\AbstractQuery $query ) Sets query object.
setScope ( string $scope ) Sets the scope.
setType ( string $type ) Set type of the parent document.
toArray ( )

메소드 상세

__construct() 공개 메소드

Construct HasChild Query.
public __construct ( string | Query | Elastica\Query\AbstractQuery $query, string $type = null )
$query string | Elastica\Query | Elastica\Query\AbstractQuery
$type string Parent document type

setInnerHits() 공개 메소드

Set inner hits.
public setInnerHits ( InnerHits $innerHits )
$innerHits InnerHits

setQuery() 공개 메소드

Sets query object.
public setQuery ( string | Query | Elastica\Query\AbstractQuery $query )
$query string | Elastica\Query | Elastica\Query\AbstractQuery

setScope() 공개 메소드

Sets the scope.
public setScope ( string $scope )
$scope string Scope

setType() 공개 메소드

Set type of the parent document.
public setType ( string $type )
$type string Parent document type

toArray() 공개 메소드

public toArray ( )