C# 클래스 Rubber.DSL.Filter.GeoPolygonFilterBuilder

상속: IFilterBuilder
파일 보기 프로젝트 열기: stephenpope/Rubber

공개 메소드들

메소드 설명
AddPoint ( double lat, double lon ) : GeoPolygonFilterBuilder

Adds a point with lat and lon

AddPoint ( string geohash ) : GeoPolygonFilterBuilder
Cache ( bool cache ) : GeoPolygonFilterBuilder

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

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

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

GeoPolygonFilterBuilder ( string name ) : System.Collections.Generic
ToJsonObject ( ) : object
ToString ( ) : string

메소드 상세

AddPoint() 공개 메소드

Adds a point with lat and lon
public AddPoint ( double lat, double lon ) : GeoPolygonFilterBuilder
lat double The latitude
lon double The longitude
리턴 GeoPolygonFilterBuilder

AddPoint() 공개 메소드

public AddPoint ( string geohash ) : GeoPolygonFilterBuilder
geohash string
리턴 GeoPolygonFilterBuilder

Cache() 공개 메소드

Should the filter be cached or not. Defaults to false.
public Cache ( bool cache ) : GeoPolygonFilterBuilder
cache bool
리턴 GeoPolygonFilterBuilder

CacheKey() 공개 메소드

public CacheKey ( string cacheKey ) : GeoPolygonFilterBuilder
cacheKey string
리턴 GeoPolygonFilterBuilder

FilterName() 공개 메소드

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

GeoPolygonFilterBuilder() 공개 메소드

public GeoPolygonFilterBuilder ( string name ) : System.Collections.Generic
name string
리턴 System.Collections.Generic

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object

ToString() 공개 메소드

public ToString ( ) : string
리턴 string