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 TypeArg<Row> |
__TYPE_ARG |
static Object |
JSON_NULL
The JSON null literal value.
|
Constructor and Description |
---|
Row(Object delegate) |
Row(io.vertx.sqlclient.Row delegate) |
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[] |
getArrayOfBigDecimals(String column)
Get an array of value for the given
column . |
Boolean[] |
getArrayOfBooleans(String column)
Get an array of
Boolean value for the given column . |
Double[] |
getArrayOfDoubles(String column)
Get an array of
Double value for the given column . |
Float[] |
getArrayOfFloats(String column)
Get an array of
Float value for the given column . |
Integer[] |
getArrayOfIntegers(String column)
Get an array of
Integer value for the given column . |
io.vertx.core.json.JsonArray[] |
getArrayOfJsonArrays(String column)
Get an array of value for the given
column . |
io.vertx.core.json.JsonObject[] |
getArrayOfJsonObjects(String column)
Get an array of value for the given
column . |
Object[] |
getArrayOfJsons(String column)
Get an array of JSON elements for the given
column , the element might be #JSON_NULL null or one of the following types:
String
Number
JsonObject
JsonArray
Boolean
|
LocalDate[] |
getArrayOfLocalDates(String column)
Get an array of value for the given
column . |
LocalDateTime[] |
getArrayOfLocalDateTimes(String column)
Get an array of value for the given
column . |
LocalTime[] |
getArrayOfLocalTimes(String column)
Get an array of value for the given
column . |
Long[] |
getArrayOfLongs(String column)
Get an array of
Long value for the given column . |
io.vertx.sqlclient.data.Numeric[] |
getArrayOfNumerics(String column)
Get an array of value for the given
column . |
OffsetDateTime[] |
getArrayOfOffsetDateTimes(String column)
Get an array of value for the given
column . |
OffsetTime[] |
getArrayOfOffsetTimes(String column)
Get an array of value for the given
column . |
Short[] |
getArrayOfShorts(String column)
Get an array of
Short value for the given column . |
String[] |
getArrayOfStrings(String column)
Get an array of
String value for the given column . |
Temporal[] |
getArrayOfTemporals(String column)
Get an array of value for the given
column . |
UUID[] |
getArrayOfUUIDs(String column)
Get an array of value for the given
column . |
BigDecimal |
getBigDecimal(String column)
Get value for the given
column . |
Boolean |
getBoolean(String column)
Get a 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 . |
io.vertx.sqlclient.Row |
getDelegate() |
Double |
getDouble(String column)
Get a double value for the given
column . |
Float |
getFloat(String column)
Get a float value for the given
column . |
Integer |
getInteger(String column)
Get an integer value for the given
column . |
Object |
getJson(String column)
Get a JSON element for the given
column , the element might be #JSON_NULL null or one of the following types:
String
Number
JsonObject
JsonArray
Boolean
|
io.vertx.core.json.JsonArray |
getJsonArray(String column)
Get a value for the given
column . |
io.vertx.core.json.JsonObject |
getJsonObject(String column)
Get a value for the given
column . |
LocalDate |
getLocalDate(String column)
Get
LocalDate value for the given column . |
LocalDateTime |
getLocalDateTime(String column)
Get
LocalDateTime value for the given column . |
LocalTime |
getLocalTime(String column)
Get
LocalTime value for the given column . |
Long |
getLong(String column)
Get a long value for the given
column . |
io.vertx.sqlclient.data.Numeric |
getNumeric(String column)
Get value for the given
column . |
OffsetDateTime |
getOffsetDateTime(String column)
Get
OffsetDateTime value for the given column . |
OffsetTime |
getOffsetTime(String column)
Get
OffsetTime value for the given column . |
Short |
getShort(String column)
Get a short value for the given
column . |
String |
getString(String column)
Get a string value for the given
column . |
Temporal |
getTemporal(String column)
Get a temporal value for the given
column . |
UUID |
getUUID(String column)
Get
UUID value for the given column . |
Object |
getValue(String column)
Get a value for the given
column . |
int |
hashCode() |
static Row |
newInstance(io.vertx.sqlclient.Row arg) |
io.vertx.core.json.JsonObject |
toJson()
Return a JSON object representation of the row.
|
String |
toString() |
addArrayOfBigDecimal, addArrayOfBoolean, addArrayOfDouble, addArrayOfFloat, addArrayOfInteger, addArrayOfJsonArray, addArrayOfJsonObject, addArrayOfLocalDate, addArrayOfLocalDateTime, addArrayOfLocalTime, addArrayOfLong, addArrayOfOffsetDateTime, addArrayOfOffsetTime, addArrayOfShort, addArrayOfString, addArrayOfTemporal, addArrayOfUUID, addBigDecimal, addBoolean, addBuffer, addDouble, addFloat, addInteger, addJsonArray, addJsonObject, addLocalDate, addLocalDateTime, addLocalTime, addLong, addOffsetDateTime, addOffsetTime, addShort, addString, addTemporal, addUUID, addValue, clear, deepToString, from, from, get, getArrayOfBigDecimals, getArrayOfBooleans, getArrayOfDoubles, getArrayOfFloats, getArrayOfIntegers, getArrayOfJsonArrays, getArrayOfJsonObjects, getArrayOfJsons, getArrayOfLocalDates, getArrayOfLocalDateTimes, getArrayOfLocalTimes, getArrayOfLongs, getArrayOfNumerics, getArrayOfOffsetDateTimes, getArrayOfOffsetTimes, getArrayOfShorts, getArrayOfStrings, getArrayOfTemporals, getArrayOfUUIDs, getBigDecimal, getBoolean, getBuffer, getDouble, getFloat, getInteger, getJson, getJsonArray, getJsonObject, getLocalDate, getLocalDateTime, getLocalTime, getLong, getNumeric, getOffsetDateTime, getOffsetTime, getShort, getString, getTemporal, getUUID, getValue, newInstance, of, of, of, of, of, of, size, tuple, tuple, wrap, wrap
public static final Object JSON_NULL
null
value. This is only
used when the database supports JSON types.public Row(io.vertx.sqlclient.Row delegate)
public Row(Object delegate)
public io.vertx.sqlclient.Row getDelegate()
getDelegate
in class Tuple
public String getColumnName(int pos)
pos
.pos
- the column positionnull
public 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 Object getJson(String column)
column
, the element might be #JSON_NULL null
or one of the following types:
column
- the column namecolumn
valuepublic io.vertx.core.json.JsonObject getJsonObject(String column)
column
.column
- the column namecolumn
valuepublic io.vertx.core.json.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 io.vertx.core.json.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 stringsJsonArray
public io.vertx.sqlclient.data.Numeric getNumeric(String column)
column
.column
- the columncolumn
valuepublic Temporal getTemporal(String column)
column
.column
- the column namecolumn
valuepublic LocalDate getLocalDate(String column)
LocalDate
value for the given column
.column
- the column namecolumn
valuepublic LocalTime getLocalTime(String column)
LocalTime
value for the given column
.column
- the column namecolumn
valuepublic LocalDateTime getLocalDateTime(String column)
LocalDateTime
value for the given column
.column
- the column namecolumn
valuepublic OffsetTime getOffsetTime(String column)
OffsetTime
value for the given column
.column
- the column namecolumn
valuepublic 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[] getArrayOfBooleans(String column)
Boolean
value for the given column
.column
- the column namecolumn
valuepublic Short[] getArrayOfShorts(String column)
Short
value for the given column
.column
- the column namecolumn
valuepublic Integer[] getArrayOfIntegers(String column)
Integer
value for the given column
.column
- the column namecolumn
valuepublic Long[] getArrayOfLongs(String column)
Long
value for the given column
.column
- the column namecolumn
valuepublic Float[] getArrayOfFloats(String column)
Float
value for the given column
.column
- the column namecolumn
valuepublic Double[] getArrayOfDoubles(String column)
Double
value for the given column
.column
- the column namecolumn
valuepublic io.vertx.sqlclient.data.Numeric[] getArrayOfNumerics(String column)
column
.column
- the columncolumn
valuepublic String[] getArrayOfStrings(String column)
String
value for the given column
.column
- the column namecolumn
valuepublic io.vertx.core.json.JsonObject[] getArrayOfJsonObjects(String column)
column
.column
- the column namecolumn
valuepublic io.vertx.core.json.JsonArray[] getArrayOfJsonArrays(String column)
column
.column
- the column namecolumn
valuepublic Temporal[] getArrayOfTemporals(String column)
column
.column
- the column namecolumn
valuepublic LocalDate[] getArrayOfLocalDates(String column)
column
.column
- the column namecolumn
valuepublic LocalTime[] getArrayOfLocalTimes(String column)
column
.column
- the column namecolumn
valuepublic LocalDateTime[] getArrayOfLocalDateTimes(String column)
column
.column
- the column namecolumn
valuepublic OffsetTime[] getArrayOfOffsetTimes(String column)
column
.column
- the column namecolumn
valuepublic OffsetDateTime[] getArrayOfOffsetDateTimes(String column)
column
.column
- the column namecolumn
valuepublic UUID[] getArrayOfUUIDs(String column)
column
.column
- the column namecolumn
valuepublic BigDecimal[] getArrayOfBigDecimals(String column)
column
.column
- the column namecolumn
valuepublic Object[] getArrayOfJsons(String column)
column
, the element might be #JSON_NULL null
or one of the following types:
column
- the column namecolumn
valuepublic static Row newInstance(io.vertx.sqlclient.Row arg)
Copyright © 2021 Eclipse. All rights reserved.