Class MongoDbWrapper
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Data.Wrapper.Document
Assembly: Mars.Core.dll
Syntax
public class MongoDbWrapper : AbstractOperationWrapper, ICircleQueryOperation, IWithinOperation, IWindowQueryOperation, IIntersectionOperation, IOperation, IPlatform, IDisposable
Constructors
| Improve this Doc View SourceMongoDbWrapper(IMongoConnection, String)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public MongoDbWrapper(IMongoConnection mongoConnection, string sourceIdentifier)
Parameters
Type | Name | Description |
---|---|---|
IMongoConnection | mongoConnection | |
System.String | sourceIdentifier |
Properties
| Improve this Doc View SourcePlatformDescriptor
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override ProcessingTargetType PlatformDescriptor { get; }
Property Value
Type | Description |
---|---|
ProcessingTargetType |
Overrides
Methods
| Improve this Doc View SourceCircle(Position, Double)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Circle(Position source, double radius)
Parameters
Type | Name | Description |
---|---|---|
Position | source | |
System.Double | radius |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Clear()
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceContains(Int32)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override bool Contains(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDispose()
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceInsert(Int32, IDomainData)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Insert(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceIntersects(Geometry)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Intersects(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Geometry | geometry |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Remove(Int32)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Remove(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Overrides
| Improve this Doc View SourceScanGeometries()
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<IDomainData> ScanGeometries()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> |
Overrides
| Improve this Doc View SourceScanKeys()
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<int> ScanKeys()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Overrides
| Improve this Doc View SourceUpdate(Int32, IDomainData)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Update(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceWindow(Position, Position)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Window(Position lowerLeft, Position upperRight)
Parameters
Type | Name | Description |
---|---|---|
Position | lowerLeft | |
Position | upperRight |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Within(Polygon)
MongoDB NoSQL database wrapper for spatial queries with active
sphere2d
index supporting:
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Within(Polygon polygon)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Polygon | polygon |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Implements
System.IDisposable