Class DataSource
  
  Table which pulls directly from a compute fabric.
 
  
  
  
  
  
  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
  
  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
  
  
  
    View Source
  
  
  ExternKind
  The specific extern (compute fabric) that this data source lives in.
 
  
  Declaration
  
    public ExternKind ExternKind { get; }
   
  Property Value
  
  
  
    View Source
  
  
  Parameters
  Parameter names and arguments for this data source.
 
  
  Declaration
  
    public IReadOnlyDictionary<string, string> Parameters { get; }
   
  Property Value
  
  
  
    View Source
  
  
  Parents
  
  
  Declaration
  
    [JsonIgnore]
public override IReadOnlyList<Table> Parents { get; }
   
  Property Value
  
  Overrides
  
  
  
    View Source
  
  
  Resources
  Resources (DLLs, NuGet packages, or JAR files) this table needs.
 
  
  Declaration
  
    public IReadOnlyList<string> Resources { get; }
   
  Property Value
  
  Methods
  
  
  
    View Source
  
  
  Accept(ITableVisitor)
  
  
  Declaration
  
    public override void Accept(ITableVisitor visitor)
   
  Parameters
  
  Overrides
  
  
  
    View Source
  
  
  Clone(String, IReadOnlyList<Table>)
  
  
  Declaration
  
    public override DataSource Clone(string name, IReadOnlyList<Table> parents)
   
  Parameters
  
  Returns
  
  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
  
  Returns
  
  Implements
  
  
  
  
  Extension Methods