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) |
LocalDate |
getLocalDate(String col) |
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)
Copyright © 2003–2018. All rights reserved.