C# 클래스 ElasticLinq.Response.Materializers.TermlessFacetElasticMaterializer

Materializes a single termless facet from the response.
상속: IElasticMaterializer
파일 보기 프로젝트 열기: CenturyLinkCloud/ElasticLINQ 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object

Materialize a single object from the response using the projector or return a default value based on the element type.

MaterializeSingle ( ElasticLinq.Response.Model.ElasticResponse response ) : object

Materialize a single object from the response using the projector or return null if there are no applicable facets.

TermlessFacetElasticMaterializer ( object>.Func projector, Type elementType, object key = null ) : ElasticLinq.Response.Model

Create an instance of the TermlessFacetElasticMaterializer with the given parameters.

메소드 상세

Materialize() 공개 메소드

Materialize a single object from the response using the projector or return a default value based on the element type.
public Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object
response ElasticLinq.Response.Model.ElasticResponse The to materialize facets from.
리턴 object

MaterializeSingle() 공개 메소드

Materialize a single object from the response using the projector or return null if there are no applicable facets.
public MaterializeSingle ( ElasticLinq.Response.Model.ElasticResponse response ) : object
response ElasticLinq.Response.Model.ElasticResponse The to materialize facets from.
리턴 object

TermlessFacetElasticMaterializer() 공개 메소드

Create an instance of the TermlessFacetElasticMaterializer with the given parameters.
public TermlessFacetElasticMaterializer ( object>.Func projector, Type elementType, object key = null ) : ElasticLinq.Response.Model
projector object>.Func A function to turn a hit into a desired object.
elementType System.Type The type of object being materialized.
key object The constant value for any key references during materialization.
리턴 ElasticLinq.Response.Model