Package org.frankframework.util
Class DB2DocumentWriter
java.lang.Object
org.frankframework.util.DB2DocumentWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFieldDefinitions(ObjectBuilder documentBuilder, ResultSetMetaData rsmeta) static StringgetFieldType(int type) Get the presentation of aNullvaluebooleanbooleanbooleanvoidsetBlobCharset(String string) voidsetDecompressBlobs(boolean b) voidvoidsetGetBlobSmart(boolean b) voidSet the presentation of aNullvaluevoidvoidsetTrimSpaces(boolean b) voidwriteDocument(IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, ObjectBuilder documentBuilder) voidwriteDocument(DocumentFormat format, IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, MessageBuilder messageBuilder, boolean prettyPrint) static voidwriteRow(ArrayBuilder rows, IDbmsSupport dbmsSupport, ResultSet rs, ResultSetMetaData rsmeta, String blobCharset, boolean decompressBlobs, String nullValue, boolean trimSpaces, boolean getBlobSmart)
-
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:
SAXExceptionSQLException
-
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:
SenderExceptionSQLExceptionSAXException
-
setDocumentName
-
setRecordName
-
setNullValue
Set the presentation of aNullvalue -
getNullValue
Get the presentation of aNullvalue -
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
-