C# Class ElasticLinq.Response.Materializers.CountElasticMaterializer

Materializes a count operation by obtaining the total hits from the response.
Inheritance: IElasticMaterializer
Show file Open project: CenturyLinkCloud/ElasticLINQ Class Usage Examples

Public Methods

Method Description
CountElasticMaterializer ( Type returnType ) : ElasticLinq.Response.Model
Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object

Materialize the result count for a given response.

Method Details

CountElasticMaterializer() public method

public CountElasticMaterializer ( Type returnType ) : ElasticLinq.Response.Model
returnType System.Type
return ElasticLinq.Response.Model

Materialize() public method

Materialize the result count for a given response.
public Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object
response ElasticLinq.Response.Model.ElasticResponse The to obtain the count value from.
return object