Method | Description | |
---|---|---|
ExcelFileProcesser ( IBlobDataRepository blobDataRepository, IFileRepository fileDataRepository, IRepositoryService repositoryService ) : DocumentFormat.OpenXml.Packaging |
Initializes a new instance of the ExcelFileProcesser class.
|
|
GetColumnMetadataFromFile ( DomainModel fileDetail ) : Task |
||
GetErrors ( Microsoft.Research.DataOnboarding.DomainModel file ) : Task |
Method to get the errors available on the input excel file.
|
|
RemoveError ( Stream stream, string sheetName, IEnumerable |
Removes an error from a file sheet.
|
Method | Description | |
---|---|---|
CheckForRange ( string valueToCheck, string rangeValues, string headerName ) : string |
Helper method to check the value of a column for the specified range.
|
|
DownloadDocument ( Microsoft.Research.DataOnboarding.DomainModel fileDetails ) : |
||
GetColumnIndex ( string value ) : int |
Method to get column index
|
|
GetColumnIssues ( Microsoft.Research.DataOnboarding.DomainModel qualityCheck, IEnumerable |
||
GetColumnLocationIndex ( string headerName, IEnumerable |
Method to Get Column Location Index
|
|
GetDocumentSheetDetails ( Microsoft.Research.DataOnboarding.DomainModel fileDetail ) : Task |
||
GetFileStream ( string fileID ) : Stream | ||
GetHeaderIssues ( Microsoft.Research.DataOnboarding.DomainModel qualityCheck, IEnumerable |
||
GetQualityCheckIssues ( Microsoft.Research.DataOnboarding.DomainModel fileDetail, Microsoft.Research.DataOnboarding.DomainModel qualityCheck, IEnumerable |
||
GetQualityCheckRulesForExcel ( Stream stream, string sheetIds, Microsoft.Research.DataOnboarding.DomainModel qualityCheck, IEnumerable |
Method to get quality check validation conditions for excel object
|
|
GetSheetIds ( string sheetIds ) : List |
Method to get sheet ids
|
|
IncrementColRef ( string lastRef ) : string |
Returns the next Column Name as it exists in Excel Sheet
|
|
UpdateMetaDataSheetForExcel ( Microsoft.Research.DataOnboarding.DomainModel fileDetails ) : |
public ExcelFileProcesser ( IBlobDataRepository blobDataRepository, IFileRepository fileDataRepository, IRepositoryService repositoryService ) : DocumentFormat.OpenXml.Packaging | ||
blobDataRepository | IBlobDataRepository | Blob repository object. |
fileDataRepository | IFileRepository | |
repositoryService | IRepositoryService | |
return | DocumentFormat.OpenXml.Packaging |
public GetColumnMetadataFromFile ( DomainModel fileDetail ) : Task |
||
fileDetail | DomainModel | |
return | Task |
public GetErrors ( Microsoft.Research.DataOnboarding.DomainModel file ) : Task |
||
file | Microsoft.Research.DataOnboarding.DomainModel | File |
return | Task |
public RemoveError ( Stream stream, string sheetName, IEnumerable |
||
stream | Stream | Stream |
sheetName | string | Sheet Name |
errorTypes | IEnumerable |
Error types |
return | System.Threading.Tasks.Task |