• MARS Website
  • 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
    • ISnapshot
    • 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

Interface IOperation

Inherited Members
IPlatform.PlatformDescriptor
System.IDisposable.Dispose()
Namespace: Mars.Core.Data.Wrapper
Assembly: Mars.Core.dll
Syntax
public interface IOperation : IPlatform, IDisposable

Methods

| Improve this Doc View Source

Clear()

Drops the complete execution context and collections.
Declaration
void Clear()
| Improve this Doc View Source

Contains(Int32)

Checks whether the specified key is contained by the implementation of this operation.
Declaration
bool Contains(int key)
Parameters
Type Name Description
System.Int32 key The identifier of an object.
Returns
Type Description
System.Boolean Returns true, when the key is associated to an object; false otherwise.
| Improve this Doc View Source

Insert(Int32, IDomainData)

Add the data object associated to the respective key
Declaration
void Insert(int key, IDomainData data)
Parameters
Type Name Description
System.Int32 key The identifier of this data object.
IDomainData data The object containing the subset of data values to store.
Remarks
The key can be used to match data objects to model objects.
| Improve this Doc View Source

MigrateTo(IOperation)

Moves the data permanently from the current platform the specified .
Declaration
void MigrateTo(IOperation targetPlatformOperation)
Parameters
Type Name Description
IOperation targetPlatformOperation The target platform supporting an operation where is move to.
| Improve this Doc View Source

Remove(Int32)

Removes the data object from the respective store.
Declaration
void Remove(int key)
Parameters
Type Name Description
System.Int32 key The key of the object to remove.
| Improve this Doc View Source

ScanGeometries()

This operation provides a simple scan and projection on all data objects with associated spatial reference.
Declaration
IEnumerable<IDomainData> ScanGeometries()
Returns
Type Description
System.Collections.Generic.IEnumerable<IDomainData> Returns an iterator on all stored spatial objects with their non null geometry and unique identifier.
Remarks
This operation returns a subset (only data with spatial reference) in contrast to ScanKeys() returning all data objects keys.
| Improve this Doc View Source

ScanKeys()

This operation provides a simple scan and projection of all containing keys on the platform.
Declaration
IEnumerable<int> ScanKeys()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Int32> Returns an iterator on all stored integer keys, identifying each data objects.
| Improve this Doc View Source

Update(Int32, IDomainData)

Updates the data (and possibly its geometry) of an object identified by key
Declaration
void Update(int key, IDomainData data)
Parameters
Type Name Description
System.Int32 key The key of the object to update.
IDomainData data The new state of the instance.

Extension Methods

Serializer.Save<T>(T, out Byte[], SerializerCompression)
Serializer.Save<T>(T, Stream, SerializerCompression)
Serializer.Save<T>(T, BinaryFormatter, Stream, SerializerCompression)
Serializer.Save<T>(T, String, SerializerCompression)
Serializer.Save<T>(T, String)
Matrix.Concatenate<T>(T, T[])
Matrix.Replace<T>(T, Object, Object)
DomainDataImporter.Import(Object, InputConfiguration)
ObjectSerialize.Serialize(Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © MARS GROUP. HAW Hamburg