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[] |
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 . |
JsonArray[] |
getArrayOfJsonArrays(String column)
Get an array of value for the given
column . |
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
|
java.time.LocalDate[] |
getArrayOfLocalDates(String column)
Get an array of value for the given
column . |
java.time.LocalDateTime[] |
getArrayOfLocalDateTimes(String column)
Get an array of value for the given
column . |
java.time.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 . |
Numeric[] |
getArrayOfNumerics(String column)
Get an array of value for the given
column . |
java.time.OffsetDateTime[] |
getArrayOfOffsetDateTimes(String column)
Get an array of value for the given
column . |
java.time.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 . |
java.time.temporal.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 . |
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
|
JsonArray |
getJsonArray(String column)
Get a value for the given
column . |
JsonObject |
getJsonObject(String column)
Get a value for the given
column . |
java.time.LocalDate |
getLocalDate(String column)
Get
LocalDate value for the given column . |
java.time.LocalDateTime |
getLocalDateTime(String column)
Get
LocalDateTime value for the given column . |
java.time.LocalTime |
getLocalTime(String column)
Get
LocalTime value for the given column . |
Long |
getLong(String column)
Get a long value for the given
column . |
Numeric |
getNumeric(String column)
Get value for the given
column . |
java.time.OffsetDateTime |
getOffsetDateTime(String column)
Get
OffsetDateTime value for the given column . |
java.time.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 . |
java.time.temporal.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(Row arg) |
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 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 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 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 stringsJsonArray
public 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[] 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 Numeric[] getArrayOfNumerics(String column)
column
.column
- the columncolumn
valuepublic String[] getArrayOfStrings(String column)
String
value for the given column
.column
- the column namecolumn
valuepublic JsonObject[] getArrayOfJsonObjects(String column)
column
.column
- the column namecolumn
valuepublic JsonArray[] getArrayOfJsonArrays(String column)
column
.column
- the column namecolumn
valuepublic java.time.temporal.Temporal[] getArrayOfTemporals(String column)
column
.column
- the column namecolumn
valuepublic java.time.LocalDate[] getArrayOfLocalDates(String column)
column
.column
- the column namecolumn
valuepublic java.time.LocalTime[] getArrayOfLocalTimes(String column)
column
.column
- the column namecolumn
valuepublic java.time.LocalDateTime[] getArrayOfLocalDateTimes(String column)
column
.column
- the column namecolumn
valuepublic java.time.OffsetTime[] getArrayOfOffsetTimes(String column)
column
.column
- the column namecolumn
valuepublic java.time.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
valueCopyright © 2023 Eclipse. All rights reserved.