public class 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.
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 name)
Like
Tuple.get(java.lang.Class<T>, int) but specifying the column name instead of the position. |
BigDecimal |
getBigDecimal(String name)
Get value at
pos . |
BigDecimal[] |
getBigDecimalArray(String name)
Get an array of value at
pos . |
Boolean |
getBoolean(String name)
Get a boolean value at
pos . |
Boolean[] |
getBooleanArray(String name)
Get an array of
Boolean value at pos . |
Buffer |
getBuffer(String name)
Get a 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 . |
io.vertx.sqlclient.Row |
getDelegate() |
Double |
getDouble(String name)
Get a double value at
pos . |
Double[] |
getDoubleArray(String name)
Get an array of
Double value at pos . |
Float |
getFloat(String name)
Get a float value at
pos . |
Float[] |
getFloatArray(String name)
Get an array of
Float value at pos . |
Integer |
getInteger(String name)
Get an integer value at
pos . |
Integer[] |
getIntegerArray(String name)
Get an array of
Integer value at pos . |
io.vertx.core.json.JsonArray |
getJsonArray(String name)
Get a value at
pos . |
io.vertx.core.json.JsonArray[] |
getJsonArrayArray(String name)
Get an array of value at
pos . |
io.vertx.core.json.JsonObject |
getJsonObject(String name)
Get a value at
pos . |
io.vertx.core.json.JsonObject[] |
getJsonObjectArray(String name)
Get an array of value at
pos . |
LocalDate |
getLocalDate(String name)
Get
LocalDate value at pos . |
LocalDate[] |
getLocalDateArray(String name)
Get an array of value at
pos . |
LocalDateTime |
getLocalDateTime(String name)
Get
LocalDateTime value at pos . |
LocalDateTime[] |
getLocalDateTimeArray(String name)
Get an array of value at
pos . |
LocalTime |
getLocalTime(String name)
Get
LocalTime value at pos . |
LocalTime[] |
getLocalTimeArray(String name)
Get an array of value at
pos . |
Long |
getLong(String name)
Get a long value at
pos . |
Long[] |
getLongArray(String name)
Get an array of
Long value at pos . |
OffsetDateTime |
getOffsetDateTime(String name)
Get
OffsetDateTime value at pos . |
OffsetDateTime[] |
getOffsetDateTimeArray(String name)
Get an array of value at
pos . |
OffsetTime |
getOffsetTime(String name)
Get
OffsetTime value at pos . |
OffsetTime[] |
getOffsetTimeArray(String name)
Get an array of value at
pos . |
Short |
getShort(String name)
Get a short value at
pos . |
Short[] |
getShortArray(String name)
Get an array of
Short value at pos . |
String |
getString(String name)
Get a string value at
pos . |
String[] |
getStringArray(String name)
Get an array of
String value at pos . |
Temporal |
getTemporal(String name)
Get a temporal value at
pos . |
Temporal[] |
getTemporalArray(String name)
Get an array of value at
pos . |
UUID |
getUUID(String name)
Get
UUID value at pos . |
UUID[] |
getUUIDArray(String name)
Get an array of value at
pos . |
Object |
getValue(String name)
Get an object value at
pos . |
int |
hashCode() |
static Row |
newInstance(io.vertx.sqlclient.Row arg) |
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, getJsonObject, getJsonObjectArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getShort, getShortArray, getString, getStringArray, getTemporal, getTemporalArray, getUUID, getUUIDArray, 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 name)
name
.name
- the column name-1
if not foundpublic Object getValue(String name)
pos
.name
- the columnnull
public Boolean getBoolean(String name)
pos
.name
- the columnnull
public Short getShort(String name)
pos
.name
- the columnnull
public Integer getInteger(String name)
pos
.name
- the columnnull
public Long getLong(String name)
pos
.name
- the columnnull
public Float getFloat(String name)
pos
.name
- the columnnull
public Double getDouble(String name)
pos
.name
- the columnnull
public String getString(String name)
pos
.name
- the columnnull
public io.vertx.core.json.JsonObject getJsonObject(String name)
pos
.name
- the columnnull
public io.vertx.core.json.JsonArray getJsonArray(String name)
pos
.name
- the columnnull
public Buffer getBuffer(String name)
pos
.name
- the columnnull
public <T> T get(Class<T> type, String name)
Tuple.get(java.lang.Class<T>, int)
but specifying the column name
instead of the position.type
- name
- public Temporal getTemporal(String name)
pos
.name
- the columnnull
public LocalDate getLocalDate(String name)
LocalDate
value at pos
.name
- the columnnull
public LocalTime getLocalTime(String name)
LocalTime
value at pos
.name
- the columnnull
public LocalDateTime getLocalDateTime(String name)
LocalDateTime
value at pos
.name
- the columnnull
public OffsetTime getOffsetTime(String name)
OffsetTime
value at pos
.name
- the columnnull
public OffsetDateTime getOffsetDateTime(String name)
OffsetDateTime
value at pos
.name
- the columnnull
public UUID getUUID(String name)
UUID
value at pos
.name
- the columnnull
public BigDecimal getBigDecimal(String name)
pos
.name
- the columnnull
public Boolean[] getBooleanArray(String name)
Boolean
value at pos
.name
- the columnnull
public Short[] getShortArray(String name)
Short
value at pos
.name
- the columnnull
public Integer[] getIntegerArray(String name)
Integer
value at pos
.name
- the columnnull
public Long[] getLongArray(String name)
Long
value at pos
.name
- the columnnull
public Float[] getFloatArray(String name)
Float
value at pos
.name
- the columnnull
public Double[] getDoubleArray(String name)
Double
value at pos
.name
- the columnnull
public String[] getStringArray(String name)
String
value at pos
.name
- the columnnull
public io.vertx.core.json.JsonObject[] getJsonObjectArray(String name)
pos
.name
- the columnnull
public io.vertx.core.json.JsonArray[] getJsonArrayArray(String name)
pos
.name
- the columnnull
public Temporal[] getTemporalArray(String name)
pos
.name
- the columnnull
public LocalDate[] getLocalDateArray(String name)
pos
.name
- the columnnull
public LocalTime[] getLocalTimeArray(String name)
pos
.name
- the columnnull
public LocalDateTime[] getLocalDateTimeArray(String name)
pos
.name
- the columnnull
public OffsetTime[] getOffsetTimeArray(String name)
pos
.name
- the columnnull
public OffsetDateTime[] getOffsetDateTimeArray(String name)
pos
.name
- the columnnull
public UUID[] getUUIDArray(String name)
pos
.name
- the columnnull
public BigDecimal[] getBigDecimalArray(String name)
pos
.name
- the columnnull
public static Row newInstance(io.vertx.sqlclient.Row arg)
Copyright © 2020 Eclipse. All rights reserved.