• Documentation
  • Core API
  • SmartOpenHamburg API
  • Model Components API
  • Common API

    Show / Hide Table of Contents
    • Mars.Core
      • DependencyRegistrationCore
    • Mars.Core.Data
      • AbstractConfigLoader
      • AbstractEntityManager
      • AgentManagerImpl
      • DomainDataMediatorImpl
      • EntityManagerImpl
      • IAgentManager
      • IEntityManager
      • IEntityMapping
      • IGeneratedEntityLogger
      • IGeneratedLayerLogger
      • IGeneratedLogger<TModel>
      • IGeneratedTypeLogger
      • IModelCompiler
      • IOutputLogger
      • IPlatformSelector
      • ISchemaMigrationProvider
      • ISerializerManager
      • PlatformSelectorImpl
    • Mars.Core.Data.Compiler
      • AbstractEntityMapper
      • AbstractJitMapper
      • AbstractLayerMapper
      • AbstractMapper<TModel>
      • AbstractTypeMapper
      • RoslynCompilerUtils
    • Mars.Core.Data.Entities
      • CircleFilter
      • Condition
      • ConjunctiveWhere
      • DataFrame
      • DisjunctiveWhere
      • EqualityCondition
      • IntersectionFilter
      • ISelection
      • NearestFilter
      • Query
      • WindowFilter
      • WithinFilter
    • Mars.Core.Data.Exceptions
      • AgentInitializationException
    • Mars.Core.Data.Mapping
      • DefaultSourceProvider
      • ReflectiveMapping
    • Mars.Core.Data.Wrapper
      • AbstractOperationWrapper
      • AbstractWrapper
      • AbstractWrapper<TOptions>
      • GlobalRestrictions
      • ICircleQueryOperation
      • IIntersectionOperation
      • ILookupOperation
      • INearestOperation
      • IOperation
      • IPlatform
      • IQueryOperation
      • IWindowQueryOperation
      • IWithinOperation
      • IWrapper
      • KnnGraphWrapper
      • PostGisWrapper
    • Mars.Core.Data.Wrapper.Document
      • IMongoConnection
      • IMongoWrapper
      • MongoDbIteratorHelper
      • MongoDbWrapper
    • Mars.Core.Data.Wrapper.File
      • AbstractFileWrapper<TOptions>
      • AscWrapper
      • GeoJsonWrapper
    • Mars.Core.Data.Wrapper.Memory
      • DataTableWrapper
      • GeoHashTrieWrapper
      • KdTreeWrapper
      • TripPosition
      • TripPositionCoordinateConverter
      • TripsCollection
      • TripsLineConverter
      • TripsTrajectoryWrapper
    • Mars.Core.Data.Wrapper.Relational
      • AbstractRelationalConnection
      • PostgresSqlDbConnection
      • PostgresSqlWrapper
      • RelationalMapperException
      • RelationalSqlWrapper<TOptions>
      • SqliteDbConnection
      • SqliteWrapper
    • Mars.Core.Data.Wrapper.Stream
      • MqttWrapper
      • SimulationTypeInfo
    • Mars.Core.Executor
      • IRuntimeModel
      • ISimulationProgress
      • IStepExecutor
    • Mars.Core.Executor.Entities
      • Parametrization
      • StepParam
    • Mars.Core.Executor.Implementation
      • RuntimeModelImpl
      • SimulationProgressImpl
      • StepExecutionUseCase
    • Mars.Core.Model
      • IConfigLoader
      • IModelContainer
      • IModelResolver
    • Mars.Core.Model.Entities
      • LayerInstanceContainer
    • Mars.Core.Model.Exceptions
      • InvalidMappingException
      • MissingConstructorException
      • ModelResolutionException
      • ValidationException
    • Mars.Core.Model.Implementation
      • DependencyBuilder
      • MappingHelper
      • ModelContainer
      • ValidationIssueLevel
      • ValidationResult
      • Validator
    • Mars.Core.Simulation
      • ISimulation
      • ISimulationControl
    • Mars.Core.Simulation.Entities
      • SimulationRestartArgs
      • SimulationWorkflowState

    Class MongoDbWrapper

    MongoDB NoSQL database wrapper for spatial queries with active sphere2d index supporting: ICircleQueryOperation IWindowQueryOperation IIntersectionOperation
    Inheritance
    System.Object
    AbstractOperationWrapper
    MongoDbWrapper
    Implements
    ICircleQueryOperation
    IWithinOperation
    IWindowQueryOperation
    IIntersectionOperation
    IOperation
    IPlatform
    IDisposable
    Inherited Members
    AbstractOperationWrapper.MigrateTo(IOperation)
    Namespace: Mars.Core.Data.Wrapper.Document
    Assembly: Mars.Core.dll
    Syntax
    public class MongoDbWrapper : AbstractOperationWrapper, ICircleQueryOperation, IWithinOperation, IWindowQueryOperation, IIntersectionOperation, IOperation, IPlatform, IDisposable

    Constructors

    MongoDbWrapper(IMongoConnection, String)

    Declaration
    public MongoDbWrapper(IMongoConnection mongoConnection, string sourceIdentifier)
    Parameters
    Type Name Description
    IMongoConnection mongoConnection
    System.String sourceIdentifier

    Properties

    PlatformDescriptor

    Declaration
    public override ProcessingTargetType PlatformDescriptor { get; }
    Property Value
    Type Description
    ProcessingTargetType
    Overrides
    AbstractOperationWrapper.PlatformDescriptor

    Methods

    Circle(Interfaces.Environments.Position, Double)

    Declaration
    public IEnumerable<int> Circle(Interfaces.Environments.Position source, double radius)
    Parameters
    Type Name Description
    Interfaces.Environments.Position source
    System.Double radius
    Returns
    Type Description
    IEnumerable<System.Int32>

    Clear()

    Declaration
    public override void Clear()
    Overrides
    AbstractOperationWrapper.Clear()

    Contains(Int32)

    Declaration
    public override bool Contains(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Boolean
    Overrides
    AbstractOperationWrapper.Contains(Int32)

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    AbstractOperationWrapper.Dispose()

    Insert(Int32, IDomainData)

    Declaration
    public override void Insert(int key, IDomainData data)
    Parameters
    Type Name Description
    System.Int32 key
    IDomainData data
    Overrides
    AbstractOperationWrapper.Insert(Int32, IDomainData)

    Intersects(Geometry)

    Declaration
    public IEnumerable<int> Intersects(Geometry geometry)
    Parameters
    Type Name Description
    Geometry geometry
    Returns
    Type Description
    IEnumerable<System.Int32>

    Remove(Int32)

    Declaration
    public override void Remove(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Overrides
    AbstractOperationWrapper.Remove(Int32)

    ScanGeometries()

    Declaration
    public override IEnumerable<IDomainData> ScanGeometries()
    Returns
    Type Description
    IEnumerable<IDomainData>
    Overrides
    AbstractOperationWrapper.ScanGeometries()

    ScanKeys()

    Declaration
    public override IEnumerable<int> ScanKeys()
    Returns
    Type Description
    IEnumerable<System.Int32>
    Overrides
    AbstractOperationWrapper.ScanKeys()

    Update(Int32, IDomainData)

    Declaration
    public override void Update(int key, IDomainData data)
    Parameters
    Type Name Description
    System.Int32 key
    IDomainData data
    Overrides
    AbstractOperationWrapper.Update(Int32, IDomainData)

    Window(Interfaces.Environments.Position, Interfaces.Environments.Position)

    Declaration
    public IEnumerable<int> Window(Interfaces.Environments.Position lowerLeft, Interfaces.Environments.Position upperRight)
    Parameters
    Type Name Description
    Interfaces.Environments.Position lowerLeft
    Interfaces.Environments.Position upperRight
    Returns
    Type Description
    IEnumerable<System.Int32>

    Within(Polygon)

    Declaration
    public IEnumerable<int> Within(Polygon polygon)
    Parameters
    Type Name Description
    Polygon polygon
    Returns
    Type Description
    IEnumerable<System.Int32>

    Implements

    ICircleQueryOperation
    IWithinOperation
    IWindowQueryOperation
    IIntersectionOperation
    IOperation
    IPlatform
    IDisposable
    Back to top Copyright © MARS GROUP.
    HAW Hamburg