Method Summary |
|
public void | createAnsiBlobLiterals() |
public void | createBlobFiles(DataFileWriter bw) Create external BLOB files instead of BLOB literals. |
public void | createDbmsBlobLiterals(WbConnection con) Create BLOB literals that are compatible with the
DBMS identified by the connection.
If no specific formatter for the given DMBS can be found, the generic
ANSI formatter will be used. |
public CharSequence | getDefaultLiteral(ColumnData data) Return the default literal for the given column data.
Date and Timestamp data will be formatted according to the
syntax defined by the
SqlLiteralFormatter.setProduct(String) method
or through the connection provided in the constructor.
Parameters: data - the data to be converted into a literal. |
public void | noBlobHandling() Do not write BLOBs as SQL Literals. |
public void | setProduct(WbConnection con) Select the DBMS specific date literal according to the
DBMS identified by the connection. |
public void | setProduct(String product) Use a specific product name for formatting date and timestamp values.
This call is ignored if the passed value is DBMS and this instance has
been initialised with a Connection (thus the DBMS specific formatter is already
selected).
Parameters: product - the product to use. |
public void | setTreatClobAsFile(DataFileWriter writer, String encoding) Create external files for CLOB columns (instead of String literals). |