Show / Hide Table of Contents

Class DataSourceSetting

Settings for a specific data source.

Inheritance
Object
DataSourceSetting
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.Coordinator.Configuration.Contract
Assembly: Coordinator.Configuration.Contract.dll
Syntax
public class DataSourceSetting

Constructors

View Source

DataSourceSetting(String, IReadOnlyDictionary<String, String>, IReadOnlyList<String>, IReadOnlyList<String>, IReadOnlyDictionary<String, String>)

Declaration
public DataSourceSetting([PropertyMap("Name")] string name, [PropertyMap("Parameters")] IReadOnlyDictionary<string, string> parameters, [PropertyMap("IncludedResources")] IReadOnlyList<string> includedResources, [PropertyMap("Dependencies")] IReadOnlyList<string> dependencies, [PropertyMap("ColumnRedefines")] IReadOnlyDictionary<string, string> columnRedefines)
Parameters
Type Name Description
String name
IReadOnlyDictionary<String, String> parameters
IReadOnlyList<String> includedResources
IReadOnlyList<String> dependencies
IReadOnlyDictionary<String, String> columnRedefines

Properties

View Source

ColumnRedefines

Mapping of (data source column name) -> (name of column reference to replace that data source column with).

Declaration
public IReadOnlyDictionary<string, string> ColumnRedefines { get; }
Property Value
Type Description
IReadOnlyDictionary<String, String>
Remarks

TODO: once we have a parser / compiler, allow the values to be string representations of expressions to replace data source columns with.

View Source

Dependencies

Any files (streams, availability files, etc.) which must already exist in order for you to be able to read from this data source.

Declaration
public IReadOnlyList<string> Dependencies { get; }
Property Value
Type Description
IReadOnlyList<String>
View Source

IncludedResources

Any binary files (e.g. DLLs or JARs) needed to read from this data source.

Declaration
public IReadOnlyList<string> IncludedResources { get; }
Property Value
Type Description
IReadOnlyList<String>
View Source

Name

Name of this data source.

Declaration
public string Name { get; }
Property Value
Type Description
String
View Source

Parameters

Map (parameter name) -> (parameter value).

Declaration
public IReadOnlyDictionary<string, string> Parameters { get; }
Property Value
Type Description
IReadOnlyDictionary<String, String>
Remarks

This is only applicable for certain kinds of data sources (e.g. a Parquet file doesn't have a notion of parameter).

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX