C# Class Rubber.DSL.Filter.TermsFilterBuilder

Inheritance: IFilterBuilder
Mostrar archivo Open project: stephenpope/Rubber

Public Methods

Method Description
Cache ( bool cache ) : TermsFilterBuilder

Should the filter be cached or not. Defaults to false.

CacheKey ( string cacheKey ) : TermsFilterBuilder
Execution ( string execution ) : TermsFilterBuilder

Sets the execution mode for the terms filter. Can be either "plain", "bool" "and". Defaults to "plain".

FilterName ( string filterName ) : TermsFilterBuilder
TermsFilterBuilder ( string name ) : System.Collections.Generic

A filter for a field based on several terms matching on any of them.

TermsFilterBuilder ( string name, IEnumerable values ) : System.Collections.Generic
ToJsonObject ( ) : object
ToString ( ) : string

Method Details

Cache() public method

Should the filter be cached or not. Defaults to false.
public Cache ( bool cache ) : TermsFilterBuilder
cache bool
return TermsFilterBuilder

CacheKey() public method

public CacheKey ( string cacheKey ) : TermsFilterBuilder
cacheKey string
return TermsFilterBuilder

Execution() public method

Sets the execution mode for the terms filter. Can be either "plain", "bool" "and". Defaults to "plain".
public Execution ( string execution ) : TermsFilterBuilder
execution string
return TermsFilterBuilder

FilterName() public method

public FilterName ( string filterName ) : TermsFilterBuilder
filterName string
return TermsFilterBuilder

TermsFilterBuilder() public method

A filter for a field based on several terms matching on any of them.
public TermsFilterBuilder ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic

TermsFilterBuilder() public method

public TermsFilterBuilder ( string name, IEnumerable values ) : System.Collections.Generic
name string
values IEnumerable
return System.Collections.Generic

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string