Package org.jumpmind.symmetric.io
Class DbValueComparator
java.lang.Object
org.jumpmind.symmetric.io.DbValueComparator
-
Constructor Summary
ConstructorsConstructorDescriptionDbValueComparator
(ISymmetricEngine sourceEngine, ISymmetricEngine targetEngine) -
Method Summary
Modifier and TypeMethodDescriptionint
compareDateTime
(Column sourceColumn, Column targetColumn, String sourceValue, String targetValue) protected int
compareDefault
(Column sourceColumn, Column targetColumn, Object sourceValue, Object targetValue) int
compareNumeric
(Column sourceColumn, Column targetColumn, String sourceValue, String targetValue) int
compareText
(Column sourceColumn, Column targetColumn, String source, String target) int
compareValues
(Column sourceColumn, Column targetColumn, String sourceValue, String targetValue) static String
convertString
(String string, Column column, boolean isPrimaryKey) formatDateTime
(Date date) int
protected void
boolean
protected Date
parseDate
(ISymmetricEngine engine, Column column, String value) void
setDateTimeFormat
(String format) void
setNumericScale
(int numericScale)
-
Constructor Details
-
DbValueComparator
-
-
Method Details
-
initDateFormats
protected void initDateFormats() -
compareValues
-
convertString
-
compareText
-
compareNumeric
-
compareDateTime
-
formatDateTime
-
compareDefault
-
parseDate
-
isUniType
-
getNumericScale
public int getNumericScale() -
setNumericScale
public void setNumericScale(int numericScale) -
getDateTimeFormat
-
setDateTimeFormat
-