public class ByteArrayWriter extends AbstractResultWriter
Writer.write(int)
. This writer use
ResultSet.getBytes(int)
to read data from the result set.Modifier and Type | Field and Description |
---|---|
private char[][] |
ESCAPE |
index, NULL_ESCAPE, rs, writer
Constructor and Description |
---|
ByteArrayWriter(java.sql.ResultSet rs,
int index,
java.io.Writer writer,
char[] nullEscape,
char[][] byteEscape) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Write the current data.
|
public ByteArrayWriter(java.sql.ResultSet rs, int index, java.io.Writer writer, char[] nullEscape, char[][] byteEscape)
public void write() throws java.sql.SQLException, java.io.IOException
ResultWriter
java.sql.SQLException
java.io.IOException