PHP 인터페이스 Smile\ElasticsuiteCore\Api\Index\TypeInterface

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite 0 사용 예제들

공개 메소드들

메소드 설명
getDatasource ( string $name ) : Smile\ElasticsuiteCore\Api\Index\DatasourceInterface Retrieve a datasource by name for the current type.
getDatasources ( ) : Smile\ElasticsuiteCore\Api\Index\DatasourceInterface[] List of datasources used by this type.
getIdField ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface Field use as unique id for the doc.
getMapping ( ) : Smile\ElasticsuiteCore\Api\Index\MappingInterface Mapping describing all the field of the current type.
getName ( ) : string Type name.

메소드 상세

getDatasource() 공개 메소드

Retrieve a datasource by name for the current type.
public getDatasource ( string $name ) : Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
$name string Datasource name.
리턴 Smile\ElasticsuiteCore\Api\Index\DatasourceInterface

getDatasources() 공개 메소드

List of datasources used by this type.
public getDatasources ( ) : Smile\ElasticsuiteCore\Api\Index\DatasourceInterface[]
리턴 Smile\ElasticsuiteCore\Api\Index\DatasourceInterface[]

getIdField() 공개 메소드

Field use as unique id for the doc.
public getIdField ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface
리턴 Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface

getMapping() 공개 메소드

Mapping describing all the field of the current type.
public getMapping ( ) : Smile\ElasticsuiteCore\Api\Index\MappingInterface
리턴 Smile\ElasticsuiteCore\Api\Index\MappingInterface

getName() 공개 메소드

Type name.
public getName ( ) : string
리턴 string