public interface Row extends Tuple
execution result rowset.
Users can retrieve values with the getByIndex accessor methods or getByColumnName accessor methods,
it's usually more efficient to use the former one because a column index lookup by could be saved.| Modifier and Type | Method and Description |
|---|---|
default <T> T |
get(Class<T> type,
String name)
Like
Tuple.get(Class, int) but specifying the column name instead of the position. |
default BigDecimal |
getBigDecimal(String name)
Get
BigDecimal value at pos. |
default BigDecimal[] |
getBigDecimalArray(String name)
Get an array of
BigDecimal value at pos. |
default Boolean |
getBoolean(String name)
Get a boolean value at
pos. |
default Boolean[] |
getBooleanArray(String name)
Get an array of
Boolean value at pos. |
default Buffer |
getBuffer(String name)
Get a buffer value at
pos. |
default Buffer[] |
getBufferArray(String name)
Get an array of
Buffer value at pos. |
int |
getColumnIndex(String name)
Get a column position for the given column
name. |
String |
getColumnName(int pos)
Get a column name at
pos. |
default Double |
getDouble(String name)
Get a double value at
pos. |
default Double[] |
getDoubleArray(String name)
Get an array of
Double value at pos. |
default Float |
getFloat(String name)
Get a float value at
pos. |
default Float[] |
getFloatArray(String name)
Get an array of
Float value at pos. |
default Integer |
getInteger(String name)
Get an integer value at
pos. |
default Integer[] |
getIntegerArray(String name)
Get an array of
Integer value at pos. |
default JsonArray |
getJsonArray(String name)
Get a
JsonArray value at pos. |
default JsonArray[] |
getJsonArrayArray(String name)
Get an array of
JsonArray value at pos. |
default JsonObject |
getJsonObject(String name)
Get a
JsonObject value at pos. |
default JsonObject[] |
getJsonObjectArray(String name)
Get an array of
JsonObject value at pos. |
default java.time.LocalDate |
getLocalDate(String name)
Get
LocalDate value at pos. |
default java.time.LocalDate[] |
getLocalDateArray(String name)
Get an array of
LocalDate value at pos. |
default java.time.LocalDateTime |
getLocalDateTime(String name)
Get
LocalDateTime value at pos. |
default java.time.LocalDateTime[] |
getLocalDateTimeArray(String name)
Get an array of
LocalDateTime value at pos. |
default java.time.LocalTime |
getLocalTime(String name)
Get
LocalTime value at pos. |
default java.time.LocalTime[] |
getLocalTimeArray(String name)
Get an array of
LocalTime value at pos. |
default Long |
getLong(String name)
Get a long value at
pos. |
default Long[] |
getLongArray(String name)
Get an array of
Long value at pos. |
default java.time.OffsetDateTime |
getOffsetDateTime(String name)
Get
OffsetDateTime value at pos. |
default java.time.OffsetDateTime[] |
getOffsetDateTimeArray(String name)
Get an array of
OffsetDateTime value at pos. |
default java.time.OffsetTime |
getOffsetTime(String name)
Get
OffsetTime value at pos. |
default java.time.OffsetTime[] |
getOffsetTimeArray(String name)
Get an array of
OffsetTime value at pos. |
default Short |
getShort(String name)
Get a short value at
pos. |
default Short[] |
getShortArray(String name)
Get an array of
Short value at pos. |
default String |
getString(String name)
Get a string value at
pos. |
default String[] |
getStringArray(String name)
Get an array of
String value at pos. |
default java.time.temporal.Temporal |
getTemporal(String name)
Get a temporal value at
pos. |
default java.time.temporal.Temporal[] |
getTemporalArray(String name)
Get an array of
Temporal value at pos. |
default UUID |
getUUID(String name)
Get
UUID value at pos. |
default UUID[] |
getUUIDArray(String name)
Get an array of
UUID value at pos. |
default Object |
getValue(String name)
Get an object value at
pos. |
addBigDecimal, addBigDecimalArray, addBoolean, addBooleanArray, addBuffer, addBufferArray, addDouble, addDoubleArray, addFloat, addFloatArray, addInteger, addIntegerArray, addJsonArray, addJsonArrayArray, addJsonObject, addJsonObjectArray, addLocalDate, addLocalDateArray, addLocalDateTime, addLocalDateTimeArray, addLocalTime, addLocalTimeArray, addLong, addLongArray, addOffsetDateTime, addOffsetDateTimeArray, addOffsetTime, addOffsetTimeArray, addShort, addShortArray, addString, addStringArray, addTemporal, addTemporalArray, addUUID, addUUIDArray, addValue, clear, deepToString, get, getBigDecimal, getBigDecimalArray, getBoolean, getBooleanArray, getBuffer, getBufferArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getJsonArray, getJsonArrayArray, getJsonObject, getJsonObjectArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getShort, getShortArray, getString, getStringArray, getTemporal, getTemporalArray, getUUID, getUUIDArray, getValue, of, of, of, of, of, of, of, size, tuple, tuple, types, wrap, wrapString getColumnName(int pos)
pos.pos - the column positionnullint getColumnIndex(String name)
name.name - the column name-1 if not founddefault Object getValue(String name)
pos.name - the columnnulldefault Boolean getBoolean(String name)
pos.name - the columnnulldefault Short getShort(String name)
pos.name - the columnnulldefault Integer getInteger(String name)
pos.name - the columnnulldefault Long getLong(String name)
pos.name - the columnnulldefault Float getFloat(String name)
pos.name - the columnnulldefault Double getDouble(String name)
pos.name - the columnnulldefault String getString(String name)
pos.name - the columnnulldefault JsonObject getJsonObject(String name)
JsonObject value at pos.name - the columnnulldefault JsonArray getJsonArray(String name)
JsonArray value at pos.name - the columnnulldefault java.time.temporal.Temporal getTemporal(String name)
pos.name - the columnnulldefault java.time.LocalDate getLocalDate(String name)
LocalDate value at pos.name - the columnnulldefault java.time.LocalTime getLocalTime(String name)
LocalTime value at pos.name - the columnnulldefault java.time.LocalDateTime getLocalDateTime(String name)
LocalDateTime value at pos.name - the columnnulldefault java.time.OffsetTime getOffsetTime(String name)
OffsetTime value at pos.name - the columnnulldefault java.time.OffsetDateTime getOffsetDateTime(String name)
OffsetDateTime value at pos.name - the columnnulldefault Buffer getBuffer(String name)
pos.name - the columnnulldefault UUID getUUID(String name)
UUID value at pos.name - the columnnulldefault BigDecimal getBigDecimal(String name)
BigDecimal value at pos.name - the columnnulldefault Boolean[] getBooleanArray(String name)
Boolean value at pos.name - the columnnulldefault Short[] getShortArray(String name)
Short value at pos.name - the columnnulldefault Integer[] getIntegerArray(String name)
Integer value at pos.name - the columnnulldefault Long[] getLongArray(String name)
Long value at pos.name - the columnnulldefault Float[] getFloatArray(String name)
Float value at pos.name - the columnnulldefault Double[] getDoubleArray(String name)
Double value at pos.name - the columnnulldefault String[] getStringArray(String name)
String value at pos.name - the columnnulldefault JsonObject[] getJsonObjectArray(String name)
JsonObject value at pos.name - the columnnulldefault JsonArray[] getJsonArrayArray(String name)
JsonArray value at pos.name - the columnnulldefault java.time.temporal.Temporal[] getTemporalArray(String name)
Temporal value at pos.name - the columnnulldefault java.time.LocalDate[] getLocalDateArray(String name)
LocalDate value at pos.name - the columnnulldefault java.time.LocalTime[] getLocalTimeArray(String name)
LocalTime value at pos.name - the columnnulldefault java.time.LocalDateTime[] getLocalDateTimeArray(String name)
LocalDateTime value at pos.name - the columnnulldefault java.time.OffsetTime[] getOffsetTimeArray(String name)
OffsetTime value at pos.name - the columnnulldefault java.time.OffsetDateTime[] getOffsetDateTimeArray(String name)
OffsetDateTime value at pos.name - the columnnulldefault Buffer[] getBufferArray(String name)
Buffer value at pos.name - the columnnulldefault UUID[] getUUIDArray(String name)
UUID value at pos.name - the columnnulldefault BigDecimal[] getBigDecimalArray(String name)
BigDecimal value at pos.name - the columnnulldefault <T> T get(Class<T> type, String name)
Tuple.get(Class, int) but specifying the column name instead of the position.Copyright © 2020 Eclipse. All rights reserved.