Class BigDecimalValueHandler<T extends Number>

java.lang.Object
de.bytefish.pgbulkinsert.pgsql.handlers.BaseValueHandler<T>
de.bytefish.pgbulkinsert.pgsql.handlers.BigDecimalValueHandler<T>
All Implemented Interfaces:
IValueHandler<T>, ValueHandler

public class BigDecimalValueHandler<T extends Number> extends BaseValueHandler<T>
The Algorithm for turning a BigDecimal into a Postgres Numeric is heavily inspired by the Intermine Implementation:

https://github.com/intermine/intermine/blob/master/intermine/objectstore/main/src/org/intermine/sql/writebatch/BatchWriterPostgresCopyImpl.java

please see struct definition of @{link NumericVar} for numeric data type byte structure at: https://github.com/postgres/postgres/blob/master/src/backend/utils/adt/numeric.c