public class OracleResultColumn extends ResultColumn
name, val
Constructor and Description |
---|
OracleResultColumn(String name,
Object val)
Creates a new instance of
OracleResultColumn . |
Modifier and Type | Method and Description |
---|---|
<T> T |
toBlob()
Converts this result (in the form of blob) to the specified object type.
|
Boolean |
toBoolean() |
getName, isNull, processObject, toDouble, toFloat, toInt, toLong, toObject, toString
public OracleResultColumn(String name, Object val)
OracleResultColumn
.name
- The column name.val
- The value.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.Copyright © 2014 Feedzai. All Rights Reserved.