C# 클래스 Rubber.DSL.Facet.DateHistogramFacetBuilder

A facet builder of date histogram facets.
상속: AbstractFacetBuilder
파일 보기 프로젝트 열기: stephenpope/Rubber

공개 메소드들

메소드 설명
Comparator ( DateHistogramComparatorType comparatorType ) : DateHistogramFacetBuilder
DateHistogramFacetBuilder ( string name ) : System

Constructs a new date histogram facet with the provided facet logical name.

FacetFilter ( IFilterBuilder filter ) : DateHistogramFacetBuilder

An additional filter used to further filter down the set of documents the facet will run on.

Field ( string field ) : DateHistogramFacetBuilder

The field name to perform the histogram facet. Translates to perform the histogram facet using the provided field as both the {@link #keyField(string)} and {@link #valueField(string)}.

Global ( bool global ) : DateHistogramFacetBuilder

Should the facet run in global mode (not bounded by the search query) or not (bounded by the search query). Defaults to false.

Interval ( string interval ) : DateHistogramFacetBuilder

The interval used to control the bucket "size" where each key value of a hit will fall into. Check the docs for all available values.

KeyField ( string keyField ) : DateHistogramFacetBuilder

The field name to use in order to control where the hit will "fall into" within the histogram entries. Essentially, using the key field numeric value, the hit will be "rounded" into the relevant bucket controlled by the interval.

Lang ( string lang ) : DateHistogramFacetBuilder

The language of the value script.

Nested ( string nested ) : DateHistogramFacetBuilder

Sets the nested path the facet will execute on. A match (root object) will then cause all the nested objects matching the path to be computed into the facet.

Param ( string name, object value ) : DateHistogramFacetBuilder
Scope ( string scope ) : DateHistogramFacetBuilder

Marks the facet to run in a specific scope.

ToJsonObject ( ) : object
ValueField ( string valueField ) : DateHistogramFacetBuilder

The field name to use as the value of the hit to compute data based on values within the interval (for example, total).

ValueScript ( string valueScript ) : DateHistogramFacetBuilder
Zone ( string zone ) : DateHistogramFacetBuilder

Sets the time zone to use when bucketing the values. Can either be in the form of "-10:00" or one of the values listed here: http://joda-time.sourceforge.net/timezones.html.

메소드 상세

Comparator() 공개 메소드

public Comparator ( DateHistogramComparatorType comparatorType ) : DateHistogramFacetBuilder
comparatorType DateHistogramComparatorType
리턴 DateHistogramFacetBuilder

DateHistogramFacetBuilder() 공개 메소드

Constructs a new date histogram facet with the provided facet logical name.
public DateHistogramFacetBuilder ( string name ) : System
name string
리턴 System

FacetFilter() 공개 메소드

An additional filter used to further filter down the set of documents the facet will run on.
public FacetFilter ( IFilterBuilder filter ) : DateHistogramFacetBuilder
filter IFilterBuilder
리턴 DateHistogramFacetBuilder

Field() 공개 메소드

The field name to perform the histogram facet. Translates to perform the histogram facet using the provided field as both the {@link #keyField(string)} and {@link #valueField(string)}.
public Field ( string field ) : DateHistogramFacetBuilder
field string
리턴 DateHistogramFacetBuilder

Global() 공개 메소드

Should the facet run in global mode (not bounded by the search query) or not (bounded by the search query). Defaults to false.
public Global ( bool global ) : DateHistogramFacetBuilder
global bool
리턴 DateHistogramFacetBuilder

Interval() 공개 메소드

The interval used to control the bucket "size" where each key value of a hit will fall into. Check the docs for all available values.
public Interval ( string interval ) : DateHistogramFacetBuilder
interval string
리턴 DateHistogramFacetBuilder

KeyField() 공개 메소드

The field name to use in order to control where the hit will "fall into" within the histogram entries. Essentially, using the key field numeric value, the hit will be "rounded" into the relevant bucket controlled by the interval.
public KeyField ( string keyField ) : DateHistogramFacetBuilder
keyField string
리턴 DateHistogramFacetBuilder

Lang() 공개 메소드

The language of the value script.
public Lang ( string lang ) : DateHistogramFacetBuilder
lang string
리턴 DateHistogramFacetBuilder

Nested() 공개 메소드

Sets the nested path the facet will execute on. A match (root object) will then cause all the nested objects matching the path to be computed into the facet.
public Nested ( string nested ) : DateHistogramFacetBuilder
nested string
리턴 DateHistogramFacetBuilder

Param() 공개 메소드

public Param ( string name, object value ) : DateHistogramFacetBuilder
name string
value object
리턴 DateHistogramFacetBuilder

Scope() 공개 메소드

Marks the facet to run in a specific scope.
public Scope ( string scope ) : DateHistogramFacetBuilder
scope string
리턴 DateHistogramFacetBuilder

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object

ValueField() 공개 메소드

The field name to use as the value of the hit to compute data based on values within the interval (for example, total).
public ValueField ( string valueField ) : DateHistogramFacetBuilder
valueField string
리턴 DateHistogramFacetBuilder

ValueScript() 공개 메소드

public ValueScript ( string valueScript ) : DateHistogramFacetBuilder
valueScript string
리턴 DateHistogramFacetBuilder

Zone() 공개 메소드

Sets the time zone to use when bucketing the values. Can either be in the form of "-10:00" or one of the values listed here: http://joda-time.sourceforge.net/timezones.html.
public Zone ( string zone ) : DateHistogramFacetBuilder
zone string
리턴 DateHistogramFacetBuilder