Package com.github.ngoanh2n.comparator
Interface CsvComparisonResult
public interface CsvComparisonResult
The result of CsvComparator.
- Since:
- 2020-01-06
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether there is any row deleted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV fileboolean
Whether there is any difference between CsvComparisonSource.act() file and CsvComparisonSource.exp() fileboolean
Whether there is any row inserted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV fileboolean
Whether there is any row modified in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV fileGet all deleted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV fileGet all inserted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV filerowsKept()
Get all kept rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV fileGet all modified rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file
-
Method Details
-
isDeleted
boolean isDeleted()Whether there is any row deleted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Indicate CsvComparisonSource.act() CSV file is deleted any row or not
-
isInserted
boolean isInserted()Whether there is any row inserted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Indicate CsvComparisonSource.act() CSV file is inserted any row or not
-
isModified
boolean isModified()Whether there is any row modified in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Indicate CsvComparisonSource.act() CSV file is modified any row or not
-
isDifferent
boolean isDifferent()Whether there is any difference between CsvComparisonSource.act() file and CsvComparisonSource.exp() file- Returns:
- Indicate CsvComparisonSource.act() file is different against to CsvComparisonSource.exp()
-
rowsKept
Get all kept rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Rows were kept
-
rowsDeleted
Get all deleted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Rows were deleted
-
rowsInserted
Get all inserted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Rows were inserted
-
rowsModified
Get all modified rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file- Returns:
- Rows were modified
-