Show / Hide Table of Contents

Class DataSource

Table which pulls directly from a compute fabric.

Inheritance
Object
Table
Table<DataSource>
DataSource
Implements
IVisitable<ITableVisitor>
ICloneable<DataSource, String, Table>
ICloneable<Table>
IDirectedAcyclicGraph<Table>
Inherited Members
Table<DataSource>.Clone(IReadOnlyList<Table>)
Table.Name
Table.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Mangrove.MetricSetSyntaxTree.TableNodes
Assembly: MetricSetSyntaxTree.dll
Syntax
public class DataSource : Table<DataSource>, IVisitable<ITableVisitor>, ICloneable<DataSource, string, Table>, ICloneable<Table>, IDirectedAcyclicGraph<Table>

Constructors

View Source

DataSource(String, String, ExternKind, IReadOnlyList<String>, IReadOnlyDictionary<String, String>)

If parameters or resources are passed in as null, this constructor replaces them with the appropriate empty data structure.

Declaration
public DataSource(string name, string connectionString, ExternKind externKind, IReadOnlyList<string> resources = null, IReadOnlyDictionary<string, string> parameters = null)
Parameters
Type Name Description
String name
String connectionString
ExternKind externKind
IReadOnlyList<String> resources
IReadOnlyDictionary<String, String> parameters

Properties

View Source

ConnectionString

The string (exact format will be extern-specific) needed to actually connect to the data source (e.g. VC path, Spark cluster URL).

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

ExternKind

The specific extern (compute fabric) that this data source lives in.

Declaration
public ExternKind ExternKind { get; }
Property Value
Type Description
ExternKind
View Source

Parameters

Parameter names and arguments for this data source.

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

Parents

Declaration
[JsonIgnore]
public override IReadOnlyList<Table> Parents { get; }
Property Value
Type Description
IReadOnlyList<Table>
Overrides
Table.Parents
View Source

Resources

Resources (DLLs, NuGet packages, or JAR files) this table needs.

Declaration
public IReadOnlyList<string> Resources { get; }
Property Value
Type Description
IReadOnlyList<String>

Methods

View Source

Accept(ITableVisitor)

Declaration
public override void Accept(ITableVisitor visitor)
Parameters
Type Name Description
ITableVisitor visitor
Overrides
Table.Accept(ITableVisitor)
View Source

Clone(String, IReadOnlyList<Table>)

Declaration
public override DataSource Clone(string name, IReadOnlyList<Table> parents)
Parameters
Type Name Description
String name
IReadOnlyList<Table> parents
Returns
Type Description
DataSource
Overrides
Mangrove.MetricSetSyntaxTree.Table<Mangrove.MetricSetSyntaxTree.TableNodes.DataSource>.Clone(System.String, System.Collections.Generic.IReadOnlyList<Mangrove.MetricSetSyntaxTree.Table>)
View Source

Clone(String, String)

Declaration
public DataSource Clone(string name, string connectionString)
Parameters
Type Name Description
String name
String connectionString
Returns
Type Description
DataSource

Implements

IVisitable<TVisitor>
ICloneable<TSubnode, TIdentifier, TNode>
ICloneable<T>
IDirectedAcyclicGraph<T>

Extension Methods

IEnumerableExtensions.ClosureIn(Table, MetricsPlan)
TableExtensions.PathTo(Table, Table)
IDirectedAcyclicGraphExtensions.Ancestors(Table, Boolean)
IDirectedAcyclicGraphExtensions.Ordered(Table)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX