Class SparkSQLEmitter
Inheritance
SparkSQLEmitter
Assembly: MetricSetEmitters.dll
Syntax
public class SparkSQLEmitter : IEmitter, IGenericMetricsPlanTransformer<IDictionary<string, MemoryStream>>
Constructors
View Source
SparkSQLEmitter(String, String, ILogger)
Create a SparkSQL emitter.
Declaration
public SparkSQLEmitter(string scriptName, string preamble, ILogger logger)
Parameters
Type |
Name |
Description |
String |
scriptName |
Name of the script to create.
|
String |
preamble |
Arbitrary text to put inside a comment at the start of the generated script.
|
ILogger |
logger |
Logger implementation to be used for script emission
|
Properties
View Source
Assumption
Declaration
public IMetricsPlanValidator Assumption { get; }
Property Value
View Source
Extern
Declaration
public ExternKind Extern { get; }
Property Value
Methods
View Source
Declaration
public IDictionary<string, MemoryStream> Transform(MetricsPlan plan)
Parameters
Returns
Implements
Extension Methods