Package net.sf.basedb.core.migrate
Class BooleanWriter
java.lang.Object
net.sf.basedb.core.migrate.AbstractResultWriter
net.sf.basedb.core.migrate.BooleanWriter
- All Implemented Interfaces:
ResultWriter
Database-independent writer implementation that writes boolean
values from a result set. This writer writes "true" or "false"
for non-null values or the given
nullEscape
value
for null values and uses ResultSet.getBoolean(int)
to
get the current result set value.- Since:
- 3.1
- Author:
- Nicklas
- Last modified
- $Date$
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final char[]
private static final char[]
Fields inherited from class net.sf.basedb.core.migrate.AbstractResultWriter
index, NULL_ESCAPE, rs, writer
-
Constructor Summary
-
Method Summary
-
Field Details
-
TRUE
private static final char[] TRUE -
FALSE
private static final char[] FALSE
-
-
Constructor Details
-
BooleanWriter
-
-
Method Details
-
write
Description copied from interface:ResultWriter
Write the current data.- Throws:
SQLException
IOException
-