/// <summary> /// Initializes a new instance of the <see cref="RunMapReduceInstanceResult" /> class. /// </summary> /// <param name="error">Status code of http rpc..</param> /// <param name="mapReduceInstanceId">Return the ID of instance..</param> public RunMapReduceInstanceResult(ErrorProto error = default(ErrorProto), long?mapReduceInstanceId = default(long?)) { this.Error = error; this.MapReduceInstanceId = mapReduceInstanceId; }
/// <summary> /// Initializes a new instance of the <see cref="GetMRJarUploadPathResult" /> class. /// </summary> /// <param name="error">Status code for this http rpc..</param> /// <param name="jarUploadPath">Path where Jars can be uploaded by Iris..</param> public GetMRJarUploadPathResult(ErrorProto error = default(ErrorProto), string jarUploadPath = default(string)) { this.Error = error; this.JarUploadPath = jarUploadPath; }
/// <summary> /// Initializes a new instance of the <see cref="AnalyseJarResult" /> class. /// </summary> /// <param name="error">Status code of http rpc..</param> /// <param name="mappers">mappers.</param> /// <param name="reducers">reducers.</param> public AnalyseJarResult(ErrorProto error = default(ErrorProto), List <string> mappers = default(List <string>), List <string> reducers = default(List <string>)) { this.Error = error; this.Mappers = mappers; this.Reducers = reducers; }
/// <summary> /// Initializes a new instance of the <see cref="ExtractFileRangeResult" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="eof">Will be true if start_offset > file length or EOF is reached. This is an alternative to using file_length to determine when entire file is read. Used when fetching from a view..</param> /// <param name="error">Success/error status of the operation..</param> /// <param name="fileLength">The total length of the file. This field would be set provided no error had occurred (indicated by error field above)..</param> /// <param name="startOffset">The offset from which data was read..</param> public ExtractFileRangeResult(List <int?> data = default(List <int?>), bool?eof = default(bool?), ErrorProto error = default(ErrorProto), long?fileLength = default(long?), long?startOffset = default(long?)) { this.Data = data; this.Eof = eof; this.Error = error; this.FileLength = fileLength; this.StartOffset = startOffset; }
/// <summary> /// Initializes a new instance of the <see cref="KillMapReduceInstanceResult" /> class. /// </summary> /// <param name="error">Status code of http rpc..</param> public KillMapReduceInstanceResult(ErrorProto error = default(ErrorProto)) { this.Error = error; }