public class DB2ResultColumn extends ResultColumn
processObject(Object)
implementation.name, val
Constructor and Description |
---|
DB2ResultColumn(String name,
Object val)
Creates a new instance of
DB2ResultColumn . |
Modifier and Type | Method and Description |
---|---|
protected Object |
processObject(Object o)
Processes an object.
|
<T> T |
toBlob()
Converts this result (in the form of blob) to the specified object type.
|
Boolean |
toBoolean() |
String |
toString() |
public DB2ResultColumn(String name, Object val)
DB2ResultColumn
.name
- The column name.val
- The value.protected Object processObject(Object o)
ResultColumn
ResultSet
closes.processObject
in class ResultColumn
o
- The object in need of some kind of processing before being set.DB2ResultColumn
public Boolean toBoolean()
toBoolean
in class ResultColumn
public <T> T toBlob() throws DatabaseEngineRuntimeException
ResultColumn
toBlob
in class ResultColumn
T
- The type to convert.DatabaseEngineRuntimeException
- If the value is not a blob or if
something goes wrong when reading the object.public String toString()
toString
in class ResultColumn
Copyright © 2014 Feedzai. All Rights Reserved.