• 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 PostGisWrapper

    PostGIS database wrapper with active spatial RTree index to support: INearestOperation ICircleQueryOperation IWindowQueryOperation IIntersectionOperation
    Inheritance
    System.Object
    AbstractOperationWrapper
    PostGisWrapper
    Implements
    INearestOperation
    ICircleQueryOperation
    IWindowQueryOperation
    IIntersectionOperation
    IQueryOperation
    IOperation
    IPlatform
    IDisposable
    Inherited Members
    AbstractOperationWrapper.Dispose()
    AbstractOperationWrapper.Update(Int32, IDomainData)
    AbstractOperationWrapper.MigrateTo(IOperation)
    Namespace: Mars.Core.Data.Wrapper
    Assembly: Mars.Core.dll
    Syntax
    public class PostGisWrapper : AbstractOperationWrapper, INearestOperation, ICircleQueryOperation, IWindowQueryOperation, IIntersectionOperation, IQueryOperation, IOperation, IPlatform, IDisposable

    Constructors

    PostGisWrapper(AbstractEndpointOptions, String, String)

    Declaration
    public PostGisWrapper(AbstractEndpointOptions connectionOptions, string simulationIdentifier, string sourceIdentifier)
    Parameters
    Type Name Description
    AbstractEndpointOptions connectionOptions
    System.String simulationIdentifier
    System.String sourceIdentifier

    PostGisWrapper(AbstractEndpointOptions, String, TypeElement)

    Declaration
    public PostGisWrapper(AbstractEndpointOptions connectionOptions, string simulationIdentifier, TypeElement typeElement)
    Parameters
    Type Name Description
    AbstractEndpointOptions connectionOptions
    System.String simulationIdentifier
    TypeElement typeElement

    PostGisWrapper(NpgsqlConnection, String, String)

    Declaration
    public PostGisWrapper(NpgsqlConnection connection, string simulationIdentifier, string sourceIdentifier)
    Parameters
    Type Name Description
    NpgsqlConnection connection
    System.String simulationIdentifier
    System.String sourceIdentifier

    Properties

    PlatformDescriptor

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

    Methods

    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)

    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)

    ReadKeys(Query)

    Declaration
    public IEnumerable<int> ReadKeys(Query query)
    Parameters
    Type Name Description
    Query query
    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()

    Implements

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