Package org.frankframework.util
Class DB2DocumentWriter
java.lang.Object
org.frankframework.util.DB2DocumentWriter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addFieldDefinitions
(ObjectBuilder documentBuilder, ResultSetMetaData rsmeta) static String
getFieldType
(int type) Get the presentation of aNull
valueboolean
boolean
boolean
void
setBlobCharset
(String string) void
setDecompressBlobs
(boolean b) void
void
setGetBlobSmart
(boolean b) void
Set the presentation of aNull
valuevoid
void
setTrimSpaces
(boolean b) void
writeDocument
(IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, ObjectBuilder documentBuilder) void
writeDocument
(DocumentFormat format, IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, MessageBuilder messageBuilder, boolean prettyPrint) static void
writeRow
(ArrayBuilder rows, IDbmsSupport dbmsSupport, ResultSet rs, ResultSetMetaData rsmeta, String blobCharset, boolean decompressBlobs, String nullValue, boolean trimSpaces, boolean getBlobSmart)
-
Field Details
-
log
protected static org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
DB2DocumentWriter
public DB2DocumentWriter()
-
-
Method Details
-
getFieldType
-
writeDocument
public void writeDocument(DocumentFormat format, IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, MessageBuilder messageBuilder, boolean prettyPrint) throws SAXException - Throws:
SAXException
-
writeDocument
public void writeDocument(IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, ObjectBuilder documentBuilder) throws SAXException - Throws:
SAXException
-
addFieldDefinitions
public static void addFieldDefinitions(ObjectBuilder documentBuilder, ResultSetMetaData rsmeta) throws SAXException, SQLException - Throws:
SAXException
SQLException
-
writeRow
public static void writeRow(ArrayBuilder rows, IDbmsSupport dbmsSupport, ResultSet rs, ResultSetMetaData rsmeta, String blobCharset, boolean decompressBlobs, String nullValue, boolean trimSpaces, boolean getBlobSmart) throws SenderException, SQLException, SAXException - Throws:
SenderException
SQLException
SAXException
-
setDocumentName
-
setRecordName
-
setNullValue
Set the presentation of aNull
value -
getNullValue
Get the presentation of aNull
value -
setTrimSpaces
public void setTrimSpaces(boolean b) -
isTrimSpaces
public boolean isTrimSpaces() -
setDecompressBlobs
public void setDecompressBlobs(boolean b) -
isDecompressBlobs
public boolean isDecompressBlobs() -
setGetBlobSmart
public void setGetBlobSmart(boolean b) -
isGetBlobSmart
public boolean isGetBlobSmart() -
getBlobCharset
-
setBlobCharset
-