public class DB2DocumentWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
DB2DocumentWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
addFieldDefinitions(ObjectBuilder documentBuilder,
ResultSetMetaData rsmeta) |
String |
getBlobCharset() |
static String |
getFieldType(int type) |
String |
getNullValue()
Get the presentation of a
Null value |
boolean |
isDecompressBlobs() |
boolean |
isGetBlobSmart() |
boolean |
isTrimSpaces() |
void |
setBlobCharset(String string) |
void |
setDecompressBlobs(boolean b) |
void |
setDocumentName(String s) |
void |
setGetBlobSmart(boolean b) |
void |
setNullValue(String s)
Set the presentation of a
Null value |
void |
setRecordName(String s) |
void |
setTrimSpaces(boolean b) |
void |
writeDocument(DocumentFormat format,
IDbmsSupport dbmsSupport,
ResultSet rs,
int maxlength,
boolean includeFieldDefinition,
MessageOutputStream target,
boolean prettyPrint) |
void |
writeDocument(IDbmsSupport dbmsSupport,
ResultSet rs,
int maxlength,
boolean includeFieldDefinition,
ObjectBuilder documentBuilder) |
static void |
writeRow(ArrayBuilder rows,
IDbmsSupport dbmsSupport,
ResultSet rs,
ResultSetMetaData rsmeta,
String blobCharset,
boolean decompressBlobs,
String nullValue,
boolean trimSpaces,
boolean getBlobSmart) |
public static String getFieldType(int type)
public void writeDocument(DocumentFormat format, IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, MessageOutputStream target, boolean prettyPrint) throws StreamingException, SAXException
StreamingException
SAXException
public void writeDocument(IDbmsSupport dbmsSupport, ResultSet rs, int maxlength, boolean includeFieldDefinition, ObjectBuilder documentBuilder) throws SAXException
SAXException
public static void addFieldDefinitions(ObjectBuilder documentBuilder, ResultSetMetaData rsmeta) throws SAXException, SQLException
SAXException
SQLException
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
SenderException
SQLException
SAXException
public void setDocumentName(String s)
public void setRecordName(String s)
public void setNullValue(String s)
Null
valuepublic String getNullValue()
Null
valuepublic void setTrimSpaces(boolean b)
public boolean isTrimSpaces()
public void setDecompressBlobs(boolean b)
public boolean isDecompressBlobs()
public void setGetBlobSmart(boolean b)
public boolean isGetBlobSmart()
public String getBlobCharset()
public void setBlobCharset(String string)
Copyright © 2023 Frank!Framework. All rights reserved.