presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/ColumnMapping.java/ColumnMapping/ColumnMapping
class ColumnMapping:    @Deprecated
    public ColumnMapping(Type type, ReadFunction readFunction, WriteFunction writeFunction, WriteNullFunction writeNullFunction, UnaryOperator<Domain> pushdownConverter)
    {
        this.type = requireNonNull(type, "type is null");
        this.readFunction = requireNonNull(readFunction, "readFunction is null");
        this.writeFunction = requireNonNull(writeFunction, "writeFunction is null");
        this.writeNullFunction = requireNonNull(writeNullFunction, "writeNullFunction is null");
        checkArgument(
                type.getJavaType() == readFunction.getJavaType(),
                "Presto type %s is not compatible with read function %s returning %s",
                type,
                readFunction,
                readFunction.getJavaType());
        checkArgument(
                type.getJavaType() == writeFunction.getJavaType(),
                "Presto type %s is not compatible with write function %s accepting %s",
                type,
                writeFunction,
                writeFunction.getJavaType());
        this.pushdownConverter = requireNonNull(pushdownConverter, "pushdownConverter is null");
    }