public class Row extends Tuple
execution result rowset.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Row> |
__TYPE_ARG |
static Object |
JSON_NULL
The JSON null literal value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<T> T |
get(Class<T> type,
String column)
Like
Tuple.get(java.lang.Class<T>, int) but specifying the column instead of the position. |
BigDecimal |
getBigDecimal(String column)
Get value for the given
column. |
BigDecimal[] |
getBigDecimalArray(String column)
Get an array of value for the given
column. |
Boolean |
getBoolean(String column)
Get a boolean value for the given
column. |
Boolean[] |
getBooleanArray(String column)
Get an array of
Boolean value for the given column. |
Buffer |
getBuffer(String column)
Get a buffer value for the given
column. |
int |
getColumnIndex(String column)
Get a column position for the given @code column}.
|
String |
getColumnName(int pos)
Get a column name at
pos. |
Row |
getDelegate() |
Double |
getDouble(String column)
Get a double value for the given
column. |
Double[] |
getDoubleArray(String column)
Get an array of
Double value for the given column. |
Float |
getFloat(String column)
Get a float value for the given
column. |
Float[] |
getFloatArray(String column)
Get an array of
Float value for the given column. |
Integer |
getInteger(String column)
Get an integer value for the given
column. |
Integer[] |
getIntegerArray(String column)
Get an array of
Integer value for the given column. |
JsonArray |
getJsonArray(String column)
Get a value for the given
column. |
JsonArray[] |
getJsonArrayArray(String column)
Get an array of value for the given
column. |
JsonObject |
getJsonObject(String column)
Get a value for the given
column. |
JsonObject[] |
getJsonObjectArray(String column)
Get an array of value for the given
column. |
java.time.LocalDate |
getLocalDate(String column)
Get
LocalDate value for the given column. |
java.time.LocalDate[] |
getLocalDateArray(String column)
Get an array of value for the given
column. |
java.time.LocalDateTime |
getLocalDateTime(String column)
Get
LocalDateTime value for the given column. |
java.time.LocalDateTime[] |
getLocalDateTimeArray(String column)
Get an array of value for the given
column. |
java.time.LocalTime |
getLocalTime(String column)
Get
LocalTime value for the given column. |
java.time.LocalTime[] |
getLocalTimeArray(String column)
Get an array of value for the given
column. |
Long |
getLong(String column)
Get a long value for the given
column. |
Long[] |
getLongArray(String column)
Get an array of
Long value for the given column. |
Numeric |
getNumeric(String column)
Get value for the given
column. |
Numeric[] |
getNumericArray(String column)
Get an array of value for the given
column. |
java.time.OffsetDateTime |
getOffsetDateTime(String column)
Get
OffsetDateTime value for the given column. |
java.time.OffsetDateTime[] |
getOffsetDateTimeArray(String column)
Get an array of value for the given
column. |
java.time.OffsetTime |
getOffsetTime(String column)
Get
OffsetTime value for the given column. |
java.time.OffsetTime[] |
getOffsetTimeArray(String column)
Get an array of value for the given
column. |
Short |
getShort(String column)
Get a short value for the given
column. |
Short[] |
getShortArray(String column)
Get an array of
Short value for the given column. |
String |
getString(String column)
Get a string value for the given
column. |
String[] |
getStringArray(String column)
Get an array of
String value for the given column. |
java.time.temporal.Temporal |
getTemporal(String column)
Get a temporal value for the given
column. |
java.time.temporal.Temporal[] |
getTemporalArray(String column)
Get an array of value for the given
column. |
UUID |
getUUID(String column)
Get
UUID value for the given column. |
UUID[] |
getUUIDArray(String column)
Get an array of value for the given
column. |
Object |
getValue(String column)
Get a value for the given
column. |
int |
hashCode() |
static Row |
newInstance(Row arg) |
JsonObject |
toJson()
Return a JSON object representation of the row.
|
String |
toString() |
addBigDecimal, addBigDecimalArray, addBoolean, addBooleanArray, addBuffer, 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, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getJsonArray, getJsonArrayArray, getJsonElement, getJsonElementArray, getJsonObject, getJsonObjectArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getNumeric, getNumericArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getShort, getShortArray, getString, getStringArray, getTemporal, getTemporalArray, getUUID, getUUIDArray, getValue, newInstance, of, of, of, of, of, of, size, tuple, tuple, wrap, wrappublic static final io.vertx.lang.rx.TypeArg<Row> __TYPE_ARG
public static final Object JSON_NULL
null value. This is only
used when the database supports JSON types.public Row getDelegate()
getDelegate in class Tuplepublic String getColumnName(int pos)
pos.pos - the column positionnullpublic int getColumnIndex(String column)
column - the column name-1 if not foundpublic Object getValue(String column)
column.column - the column namecolumn valuepublic Boolean getBoolean(String column)
column.column - the column namecolumn valuepublic Short getShort(String column)
column.column - the column namecolumn valuepublic Integer getInteger(String column)
column.column - the column namecolumn valuepublic Long getLong(String column)
column.column - the column namecolumn valuepublic Float getFloat(String column)
column.column - the column namecolumn valuepublic Double getDouble(String column)
column.column - the column namecolumn valuepublic String getString(String column)
column.column - the column namecolumn valuepublic JsonObject getJsonObject(String column)
column.column - the column namecolumn valuepublic JsonArray getJsonArray(String column)
column.column - the column namecolumn valuepublic Buffer getBuffer(String column)
column.column - the column namecolumn valuepublic <T> T get(Class<T> type, String column)
Tuple.get(java.lang.Class<T>, int) but specifying the column instead of the position.type - column - public JsonObject toJson()
Column names are mapped to JSON keys.
The following rules are applied for the column values:
null value is preservedBuffer are converted to base64 encoded stringsJsonArraypublic Numeric getNumeric(String column)
column.column - the columncolumn valuepublic java.time.temporal.Temporal getTemporal(String column)
column.column - the column namecolumn valuepublic java.time.LocalDate getLocalDate(String column)
LocalDate value for the given column.column - the column namecolumn valuepublic java.time.LocalTime getLocalTime(String column)
LocalTime value for the given column.column - the column namecolumn valuepublic java.time.LocalDateTime getLocalDateTime(String column)
LocalDateTime value for the given column.column - the column namecolumn valuepublic java.time.OffsetTime getOffsetTime(String column)
OffsetTime value for the given column.column - the column namecolumn valuepublic java.time.OffsetDateTime getOffsetDateTime(String column)
OffsetDateTime value for the given column.column - the column namecolumn valuepublic UUID getUUID(String column)
UUID value for the given column.column - the column namecolumn valuepublic BigDecimal getBigDecimal(String column)
column.column - the column namecolumn valuepublic Boolean[] getBooleanArray(String column)
Boolean value for the given column.column - the column namecolumn valuepublic Short[] getShortArray(String column)
Short value for the given column.column - the column namecolumn valuepublic Integer[] getIntegerArray(String column)
Integer value for the given column.column - the column namecolumn valuepublic Long[] getLongArray(String column)
Long value for the given column.column - the column namecolumn valuepublic Float[] getFloatArray(String column)
Float value for the given column.column - the column namecolumn valuepublic Double[] getDoubleArray(String column)
Double value for the given column.column - the column namecolumn valuepublic Numeric[] getNumericArray(String column)
column.column - the columncolumn valuepublic String[] getStringArray(String column)
String value for the given column.column - the column namecolumn valuepublic JsonObject[] getJsonObjectArray(String column)
column.column - the column namecolumn valuepublic JsonArray[] getJsonArrayArray(String column)
column.column - the column namecolumn valuepublic java.time.temporal.Temporal[] getTemporalArray(String column)
column.column - the column namecolumn valuepublic java.time.LocalDate[] getLocalDateArray(String column)
column.column - the column namecolumn valuepublic java.time.LocalTime[] getLocalTimeArray(String column)
column.column - the column namecolumn valuepublic java.time.LocalDateTime[] getLocalDateTimeArray(String column)
column.column - the column namecolumn valuepublic java.time.OffsetTime[] getOffsetTimeArray(String column)
column.column - the column namecolumn valuepublic java.time.OffsetDateTime[] getOffsetDateTimeArray(String column)
column.column - the column namecolumn valuepublic UUID[] getUUIDArray(String column)
column.column - the column namecolumn valuepublic BigDecimal[] getBigDecimalArray(String column)
column.column - the column namecolumn valueCopyright © 2020 Eclipse. All rights reserved.