public static class ToleratedDeltaMap.ToleratedDelta extends Object
Constructor and Description |
---|
ToleratedDelta(String tableName,
String columnName,
BigDecimal toleratedDelta) |
ToleratedDelta(String tableName,
String columnName,
BigDecimal toleratedDelta,
boolean isPercentage) |
ToleratedDelta(String tableName,
String columnName,
double toleratedDelta) |
ToleratedDelta(String tableName,
String columnName,
ToleratedDeltaMap.Precision toleratedDelta) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName() |
String |
getTableName() |
ToleratedDeltaMap.Precision |
getToleratedDelta() |
boolean |
matches(String tableName,
String columnName)
Checks whether or not the
tableName and the columnName
match the ones of this object. |
String |
toString() |
public ToleratedDelta(String tableName, String columnName, double toleratedDelta)
tableName
- The name of the tablecolumnName
- The name of the column for which the tolerated delta should be appliedtoleratedDelta
- The tolerated delta. For example 1E-5 means that the comparison must
match the first 5 decimal digits. All subsequent decimals are ignored.public ToleratedDelta(String tableName, String columnName, BigDecimal toleratedDelta)
tableName
- The name of the tablecolumnName
- The name of the column for which the tolerated delta should be appliedtoleratedDelta
- The tolerated delta. For example 1E-5 means that the comparison must
match the first 5 decimal digits. All subsequent decimals are ignored.public ToleratedDelta(String tableName, String columnName, BigDecimal toleratedDelta, boolean isPercentage)
tableName
- The name of the tablecolumnName
- The name of the column for which the tolerated delta should be appliedtoleratedDelta
- The tolerated delta. For example 1E-5 means that the comparison must
match the first 5 decimal digits. All subsequent decimals are ignored.isPercentage
- Whether or not the given toleratedDelta value is a percentage. See ToleratedDeltaMap.Precision
for more.public ToleratedDelta(String tableName, String columnName, ToleratedDeltaMap.Precision toleratedDelta)
tableName
- The name of the tablecolumnName
- The name of the column for which the tolerated delta should be appliedtoleratedDelta
- The tolerated delta. For example 1E-5 means that the comparison must
match the first 5 decimal digits. All subsequent decimals are ignored.public String getTableName()
public String getColumnName()
public ToleratedDeltaMap.Precision getToleratedDelta()
public boolean matches(String tableName, String columnName)
tableName
and the columnName
match the ones of this object.tableName
- columnName
- true
if both given values match those of this object.Copyright © 2002–2020. All rights reserved.