C# 클래스 Raven.Database.Indexing.SpatialIndex

파일 보기 프로젝트 열기: synhershko/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
CreateStrategy ( string fieldName, SpatialSearchStrategy spatialSearchStrategy, int maxTreeLevel ) : SpatialStrategy
GetDistance ( double fromLat, double fromLng, double toLat, double toLng ) : double
MakeFilter ( SpatialStrategy spatialStrategy, IndexQuery indexQuery ) : Filter
MakeQuery ( SpatialStrategy spatialStrategy, string shapeWKT, Raven.Abstractions.Indexing.SpatialRelation relation, double distanceErrorPct = 0.025 ) : Query
ReadShape ( string shapeWKT ) : Shape
WriteShape ( Shape shape ) : string

비공개 메소드들

메소드 설명
SpatialIndex ( ) : System
TranslateCircleFromKmToRadians ( string shapeWKT ) : string

메소드 상세

CreateStrategy() 공개 정적인 메소드

public static CreateStrategy ( string fieldName, SpatialSearchStrategy spatialSearchStrategy, int maxTreeLevel ) : SpatialStrategy
fieldName string
spatialSearchStrategy SpatialSearchStrategy
maxTreeLevel int
리턴 Lucene.Net.Spatial.SpatialStrategy

GetDistance() 공개 정적인 메소드

public static GetDistance ( double fromLat, double fromLng, double toLat, double toLng ) : double
fromLat double
fromLng double
toLat double
toLng double
리턴 double

MakeFilter() 공개 정적인 메소드

public static MakeFilter ( SpatialStrategy spatialStrategy, IndexQuery indexQuery ) : Filter
spatialStrategy Lucene.Net.Spatial.SpatialStrategy
indexQuery Raven.Abstractions.Data.IndexQuery
리턴 Lucene.Net.Search.Filter

MakeQuery() 공개 정적인 메소드

public static MakeQuery ( SpatialStrategy spatialStrategy, string shapeWKT, Raven.Abstractions.Indexing.SpatialRelation relation, double distanceErrorPct = 0.025 ) : Query
spatialStrategy Lucene.Net.Spatial.SpatialStrategy
shapeWKT string
relation Raven.Abstractions.Indexing.SpatialRelation
distanceErrorPct double
리턴 Lucene.Net.Search.Query

ReadShape() 공개 정적인 메소드

public static ReadShape ( string shapeWKT ) : Shape
shapeWKT string
리턴 Shape

WriteShape() 공개 정적인 메소드

public static WriteShape ( Shape shape ) : string
shape Shape
리턴 string