Class DbConverter

This class is only allowed in a ConverterApp context. Any attempts of using this in any other contexts will yield an exception.

Constructors

DbConverter()

Initializes a new instance of the DbConverter class.

Declaration

DbConverter

Methods

eof()

Returns true if the iterator has passed the last element, and thus is at the end of the file.

Declaration

Bool eof()

Returns

Type Description
Bool True true if the iterator has passed the last element; otherwise, false.

getRow()

Returns entire row of fields.

Declaration

Map getRow()

Returns

Type Description
Map

next()

Moves the iterator to the next element.

Declaration

Bool next()

Returns

Type Description
Bool False if the iterator is at en of file; otherwise, true.

readBatch(String,Integer,Integer,Integer,Integer)

Declaration

Void readBatch(String p_0, Integer p_1, Integer p_2, Integer p_3, Integer p_4)

Parameters

Type Name Description
String p_0
Integer p_1
Integer p_2
Integer p_3
Integer p_4

Returns

Type Description
Void

setSourceConnection(String,String,String,String,String)

Declaration

Void setSourceConnection(String p_0, String p_1, String p_2, String p_3, String p_4)

Parameters

Type Name Description
String p_0
String p_1
String p_2
String p_3
String p_4

Returns

Type Description
Void

update(String,Map,Map)

This function will update a table row that's already integrated with CRM. It only writes rows that aren't integrated.

Declaration

Void update(String table, Map row, Map fieldMapping)

Parameters

Type Name Description
String table
Map row
Map fieldMapping

Returns

Type Description
Void

rite(String,Map)

Writes a table row.

Declaration

Void write(String table, Map row)

Parameters

Type Name Description
String table The table.
Map row The row data.

Returns

Type Description
Void