public static class DbTransaction.DbQueryResultRow extends Object
Modifier and Type | Method and Description |
---|---|
InputStream |
getBinaryStream(String col)
for the bytea/blob data type - returns the stream, does not convert to byte[]
|
Boolean |
getBoolean(String col) |
byte[] |
getByteArray(String col)
for the bytea/blob data type - returns byte[]
|
List<String> |
getColumnNames() |
Date |
getDate(String col) |
Double |
getDouble(String col) |
<T extends Enum<T>> |
getEnum(String col,
Class<T> clazz) |
<T extends Enum<T>> |
getEnumArray(String col,
Class<? extends T> componentClass)
The SELECT must supply a VARCHAR[] as PostgreSQL JDBC driver does not implement ENUM[].
|
Integer |
getInt(String col) |
Integer[] |
getIntegerArray(String col) |
org.joda.time.LocalDate |
getJodatimeLocalDate(String col)
Deprecated.
prefer
getLocalDate(String) (using java.time) rather than this method (using jodatime) |
org.joda.time.LocalTime |
getJodatimeLocalTime(String col)
Deprecated.
prefer
getLocalTime(String) (using java.time) rather than this method (using jodatime) |
java.time.LocalDate |
getLocalDate(String col) |
java.time.LocalTime |
getLocalTime(String col) |
Long |
getLong(String col) |
String |
getString(String col) |
String[] |
getStringArray(String col) |
YearMonthDay |
getYearMonthDay(String col)
Reads column as string and expects "YYYY-MM-DD" format
|
boolean |
hasColumn(String columnName) |
public boolean hasColumn(String columnName)
public InputStream getBinaryStream(String col)
col
- column namepublic byte[] getByteArray(String col)
col
- column namepublic YearMonthDay getYearMonthDay(String col)
public org.joda.time.LocalDate getJodatimeLocalDate(String col)
getLocalDate(String)
(using java.time) rather than this method (using jodatime)public org.joda.time.LocalTime getJodatimeLocalTime(String col)
getLocalTime(String)
(using java.time) rather than this method (using jodatime)public java.time.LocalDate getLocalDate(String col)
public java.time.LocalTime getLocalTime(String col)