/// <summary> /// Initializes a new instance of the <see cref="MapReduceInstance" /> class. /// </summary> /// <param name="id">System generated ID of map reduce instance..</param> /// <param name="inputParams">inputParams.</param> /// <param name="inputSpec">Input spec for the MR..</param> /// <param name="mapReduceInfoId">ID of Map reduce info..</param> /// <param name="outputSpec">Output spec for the MR..</param> /// <param name="runInfo">Information about run of this instance. All fields of RunInfo will be populated by yoda/analytics components..</param> public MapReduceInstance(long?id = default(long?), List <MapReduceInstanceInputParam> inputParams = default(List <MapReduceInstanceInputParam>), InputSpec inputSpec = default(InputSpec), long?mapReduceInfoId = default(long?), OutputSpec outputSpec = default(OutputSpec), MapReduceInstanceRunInfo runInfo = default(MapReduceInstanceRunInfo)) { this.Id = id; this.InputParams = inputParams; this.InputSpec = inputSpec; this.MapReduceInfoId = mapReduceInfoId; this.OutputSpec = outputSpec; this.RunInfo = runInfo; }
/// <summary> /// Initializes a new instance of the <see cref="RunMapReduceParams" /> class. /// </summary> /// <param name="appId">ApplicationId is the Id of the map reduce application to run..</param> /// <param name="inputParams">InputParams specifies optional list of key=value input params specified for running the map reduce instance..</param> /// <param name="mrInput">InputSpecification specifies the input information to run the specific map reduce instance..</param> /// <param name="mrOutput">OutputSpecification specifies the output information to run the specific map reduce instance..</param> public RunMapReduceParams(long?appId = default(long?), List <MapReduceInstanceInputParam> inputParams = default(List <MapReduceInstanceInputParam>), InputSpec mrInput = default(InputSpec), OutputSpec mrOutput = default(OutputSpec)) { this.AppId = appId; this.InputParams = inputParams; this.MrInput = mrInput; this.MrOutput = mrOutput; }