Class InputConfiguration
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
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.Interfaces.Model
Assembly: Mars.Interfaces.dll
Syntax
[MessagePackObject(true)]
public class InputConfiguration : AbstractEndpointOptions, IDisposable
Properties
| Improve this Doc View SourceBrokerHostName
Gets or sets the host e.g. "iot.hamburg.de" without any protocol specification.
Declaration
[JsonProperty("mqttBrokerHostName", NullValueHandling = NullValueHandling.Ignore)]
public string BrokerHostName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DelegateProcessingContext
An optional processing context when importing data, can be assigned with any object in order
to include processing within delegates. Associated .
all
processing context as parameters is
much more memory efficient Declaration
public IDictionary<int, object> DelegateProcessingContext { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Int32, System.Object> |
Delimiter
Gets or sets the delimiter to separate the CSV input file.
Declaration
[JsonProperty("delimiter")]
public char Delimiter { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
Encoding
Gets or sets the encoding, so in which text code format value shall be serialized.
Declaration
[JsonProperty("encoding", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(EncodingConverter))]
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
System.Text.Encoding |
File
Gets or sets the source graph for the global spatial graph
Declaration
[JsonProperty("file", NullValueHandling = NullValueHandling.Ignore)]
public string File { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GeometryAsNodesEnabled
Gets or sets the flag to import the geometric curves as own ISpatialNode.
Default is INACTIVE(false)
Declaration
[JsonProperty("geometryAsNodesEnabled")]
public bool GeometryAsNodesEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GeometryColumnName
Gets or set an optional name of the field used to
retrieve a geometry information from the CSV.
Declaration
[JsonProperty("geometryAttributeName")]
public string GeometryColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HasHeader
Gets or sets a flag, indicating that this input source has header
Declaration
[JsonProperty("hasHeader")]
public bool HasHeader { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InferHelperNodeWithinRadiusInM
This import configuration checks if edges are within the given tolerance
range of a node, if so, they are separated, a helper node is inserted and this one is connected to the
original node.
Declaration
[JsonProperty("inferHelperNodeWithinRadiusInM")]
public float? InferHelperNodeWithinRadiusInM { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
InferNodesOnEdgeIntersections
This ISpatialGraphEnvironment import configuration checks if edges intersect and if so, connect both
edges by splitting the edges at the intersection point and insert two part-edges instead of one.
Declaration
[JsonProperty("inferNodesOnEdgeIntersections")]
public bool InferNodesOnEdgeIntersections { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsBiDirectedImport
Gets or sets the flag indicating that this graph has no direction
where each edge needs to be imported in both directions.
Declaration
[JsonProperty("isBidirectedGraph")]
public bool IsBiDirectedImport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsGridRaster
Gets or sets the flag indicating that this CSV input is interpreted as 2D grid.
Declaration
[JsonProperty("isRaster")]
public bool IsGridRaster { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTemporalChanging
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonIgnore]
public bool IsTemporalChanging { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Modalities
Gets or sets all associated modalities moving on the edges of this graph.
Declaration
[JsonProperty("modalities", NullValueHandling = NullValueHandling.Ignore)]
public ISet<SpatialModalityType> Modalities { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ISet<SpatialModalityType> |
NodeIntegrationKind
Gets or sets the kind how nearest or similar nodes shall be handled in the spatial graph.
Declaration
[JsonProperty("nodeIntegrationKind")]
public NodeIntegrationKind NodeIntegrationKind { get; set; }
Property Value
Type | Description |
---|---|
NodeIntegrationKind |
NodeToleranceInMeter
Gets or sets the tolerance in meter to resolve for existing nodes
A higher value indicates a higher radius in which to look for already inserted nodes
Default is 10 meter
Declaration
[JsonProperty("nodeTolerance", NullValueHandling = NullValueHandling.Ignore)]
public float? NodeToleranceInMeter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
NoHelperNodes
Imports all nodes first and always uses these as start and goal nodes for the edges. No additional helper
nodes are created.
Declaration
[JsonProperty("noHelperNodes", NullValueHandling = NullValueHandling.Ignore)]
public bool NoHelperNodes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PointColumnNames
Gets or sets the names of columns
when resolving a 2D/3D point from multiple columns.
Declaration
[JsonProperty]
public string[] PointColumnNames { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Remarks
When the point is provides as single data value such as well-known-text with POINT(0 1)
|
Improve this Doc
View Source
SourcePropertyName
Gets or sets the source property name used to retrieve information from the incoming SensorThingsEndpoint.
Declaration
[JsonProperty("sourceProperty", NullValueHandling = NullValueHandling.Ignore)]
public string SourcePropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StreamTopicPattern
Gets or sets the topic query pattern used to participate the model object to a MQTT data-stream.
Declaration
[JsonProperty("mqttTopicPattern", NullValueHandling = NullValueHandling.Ignore)]
public string StreamTopicPattern { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetPropertyName
Gets or sets the property name to use when updates get received from the SensorThingsEndpoint.
Declaration
[JsonProperty("targetProperty", NullValueHandling = NullValueHandling.Ignore)]
public string TargetPropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TemporalJoinReference
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonProperty("temporalJoinAttribute", NullValueHandling = NullValueHandling.Ignore)]
public string TemporalJoinReference { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TemporalSourceAttribute
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonProperty("temporalSourceAttribute", NullValueHandling = NullValueHandling.Ignore)]
public string TemporalSourceAttribute { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidTimeAtAttributeName
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonProperty("validTimeAtAttribute", NullValueHandling = NullValueHandling.Ignore)]
public string ValidTimeAtAttributeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidTimeFromAttributeName
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonProperty("validTimeFromAttribute", NullValueHandling = NullValueHandling.Ignore)]
public string ValidTimeFromAttributeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidTimeToAttributeName
This class provides multiple settings for all input related stuff, how to
read the individual input objects from a specified Input,
Declaration
[JsonProperty("validTimeToAttribute", NullValueHandling = NullValueHandling.Ignore)]
public string ValidTimeToAttributeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.IDisposable