C# Class Rubber.DSL.Filter.RangeFilterBuilder

Inheritance: IFilterBuilder
Datei anzeigen Open project: stephenpope/Rubber

Public Methods

Method Description
Cache ( bool cache ) : RangeFilterBuilder

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

CacheKey ( string cacheKey ) : RangeFilterBuilder
FilterName ( string filterName ) : RangeFilterBuilder

Sets the filter name for the filter that can be used when searching for matched_filters per hit.

From ( double from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

From ( float from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

From ( int from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

From ( long from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

From ( object from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gt ( double from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gt ( float from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gt ( int from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gt ( long from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gt ( object from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gte ( double from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gte ( float from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gte ( int from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gte ( long from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

Gte ( object from ) : RangeFilterBuilder

The from part of the filter query. Null indicates unbounded.

IncludeLower ( bool includeLower ) : RangeFilterBuilder

Should the lower bound be included or not. Defaults to true.

IncludeUpper ( bool includeUpper ) : RangeFilterBuilder

Should the upper bound be included or not. Defaults to true.

Lt ( double to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lt ( float to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lt ( int to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lt ( long to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lt ( object to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lte ( double to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lte ( float to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lte ( int to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lte ( long to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

Lte ( object to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

RangeFilterBuilder ( string name ) : Newtonsoft.Json.Linq

A filter that restricts search results to values that are within the given range.

To ( double to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

To ( float to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

To ( int to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

To ( long to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

To ( object to ) : RangeFilterBuilder

The to part of the filter query. Null indicates unbounded.

ToJsonObject ( ) : object
ToString ( ) : string

Method Details

Cache() public method

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

CacheKey() public method

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

FilterName() public method

Sets the filter name for the filter that can be used when searching for matched_filters per hit.
public FilterName ( string filterName ) : RangeFilterBuilder
filterName string
return RangeFilterBuilder

From() public method

The from part of the filter query. Null indicates unbounded.
public From ( double from ) : RangeFilterBuilder
from double
return RangeFilterBuilder

From() public method

The from part of the filter query. Null indicates unbounded.
public From ( float from ) : RangeFilterBuilder
from float
return RangeFilterBuilder

From() public method

The from part of the filter query. Null indicates unbounded.
public From ( int from ) : RangeFilterBuilder
from int
return RangeFilterBuilder

From() public method

The from part of the filter query. Null indicates unbounded.
public From ( long from ) : RangeFilterBuilder
from long
return RangeFilterBuilder

From() public method

The from part of the filter query. Null indicates unbounded.
public From ( object from ) : RangeFilterBuilder
from object
return RangeFilterBuilder

Gt() public method

The from part of the filter query. Null indicates unbounded.
public Gt ( double from ) : RangeFilterBuilder
from double
return RangeFilterBuilder

Gt() public method

The from part of the filter query. Null indicates unbounded.
public Gt ( float from ) : RangeFilterBuilder
from float
return RangeFilterBuilder

Gt() public method

The from part of the filter query. Null indicates unbounded.
public Gt ( int from ) : RangeFilterBuilder
from int
return RangeFilterBuilder

Gt() public method

The from part of the filter query. Null indicates unbounded.
public Gt ( long from ) : RangeFilterBuilder
from long
return RangeFilterBuilder

Gt() public method

The from part of the filter query. Null indicates unbounded.
public Gt ( object from ) : RangeFilterBuilder
from object
return RangeFilterBuilder

Gte() public method

The from part of the filter query. Null indicates unbounded.
public Gte ( double from ) : RangeFilterBuilder
from double
return RangeFilterBuilder

Gte() public method

The from part of the filter query. Null indicates unbounded.
public Gte ( float from ) : RangeFilterBuilder
from float
return RangeFilterBuilder

Gte() public method

The from part of the filter query. Null indicates unbounded.
public Gte ( int from ) : RangeFilterBuilder
from int
return RangeFilterBuilder

Gte() public method

The from part of the filter query. Null indicates unbounded.
public Gte ( long from ) : RangeFilterBuilder
from long
return RangeFilterBuilder

Gte() public method

The from part of the filter query. Null indicates unbounded.
public Gte ( object from ) : RangeFilterBuilder
from object
return RangeFilterBuilder

IncludeLower() public method

Should the lower bound be included or not. Defaults to true.
public IncludeLower ( bool includeLower ) : RangeFilterBuilder
includeLower bool
return RangeFilterBuilder

IncludeUpper() public method

Should the upper bound be included or not. Defaults to true.
public IncludeUpper ( bool includeUpper ) : RangeFilterBuilder
includeUpper bool
return RangeFilterBuilder

Lt() public method

The to part of the filter query. Null indicates unbounded.
public Lt ( double to ) : RangeFilterBuilder
to double
return RangeFilterBuilder

Lt() public method

The to part of the filter query. Null indicates unbounded.
public Lt ( float to ) : RangeFilterBuilder
to float
return RangeFilterBuilder

Lt() public method

The to part of the filter query. Null indicates unbounded.
public Lt ( int to ) : RangeFilterBuilder
to int
return RangeFilterBuilder

Lt() public method

The to part of the filter query. Null indicates unbounded.
public Lt ( long to ) : RangeFilterBuilder
to long
return RangeFilterBuilder

Lt() public method

The to part of the filter query. Null indicates unbounded.
public Lt ( object to ) : RangeFilterBuilder
to object
return RangeFilterBuilder

Lte() public method

The to part of the filter query. Null indicates unbounded.
public Lte ( double to ) : RangeFilterBuilder
to double
return RangeFilterBuilder

Lte() public method

The to part of the filter query. Null indicates unbounded.
public Lte ( float to ) : RangeFilterBuilder
to float
return RangeFilterBuilder

Lte() public method

The to part of the filter query. Null indicates unbounded.
public Lte ( int to ) : RangeFilterBuilder
to int
return RangeFilterBuilder

Lte() public method

The to part of the filter query. Null indicates unbounded.
public Lte ( long to ) : RangeFilterBuilder
to long
return RangeFilterBuilder

Lte() public method

The to part of the filter query. Null indicates unbounded.
public Lte ( object to ) : RangeFilterBuilder
to object
return RangeFilterBuilder

RangeFilterBuilder() public method

A filter that restricts search results to values that are within the given range.
public RangeFilterBuilder ( string name ) : Newtonsoft.Json.Linq
name string
return Newtonsoft.Json.Linq

To() public method

The to part of the filter query. Null indicates unbounded.
public To ( double to ) : RangeFilterBuilder
to double
return RangeFilterBuilder

To() public method

The to part of the filter query. Null indicates unbounded.
public To ( float to ) : RangeFilterBuilder
to float
return RangeFilterBuilder

To() public method

The to part of the filter query. Null indicates unbounded.
public To ( int to ) : RangeFilterBuilder
to int
return RangeFilterBuilder

To() public method

The to part of the filter query. Null indicates unbounded.
public To ( long to ) : RangeFilterBuilder
to long
return RangeFilterBuilder

To() public method

The to part of the filter query. Null indicates unbounded.
public To ( object to ) : RangeFilterBuilder
to object
return RangeFilterBuilder

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string