Package io.vertx.mutiny.sqlclient
Class Row
java.lang.Object
io.vertx.mutiny.sqlclient.Tuple
io.vertx.mutiny.sqlclient.Row
- All Implemented Interfaces:
MutinyDelegate
A single row of the
execution result rowset.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
Row
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<T> TLikeTuple.get(Class, int)but specifying thecolumninstead of the position.getArrayOfBigDecimals(String column) Get an array ofBigDecimalvalue for the givencolumn.Boolean[]getArrayOfBooleans(String column) Get an array ofBooleanvalue for the givencolumn.Byte[]getArrayOfBytes(String column) Get an array ofBytevalue for the givencolumn.Double[]getArrayOfDoubles(String column) Get an array ofDoublevalue for the givencolumn.Float[]getArrayOfFloats(String column) Get an array ofFloatvalue for the givencolumn.Integer[]getArrayOfIntegers(String column) Get an array ofIntegervalue for the givencolumn.io.vertx.core.json.JsonArray[]getArrayOfJsonArrays(String column) Get an array ofJsonArrayvalue for the givencolumn.io.vertx.core.json.JsonObject[]getArrayOfJsonObjects(String column) Get an array ofJsonObjectvalue for the givencolumn.Object[]getArrayOfJsons(String column) Get an array of JSON elements for the givencolumn, the element might benullor one of the following types: String Number JsonObject JsonArray BooleangetArrayOfLocalDates(String column) Get an array ofLocalDatevalue for the givencolumn.getArrayOfLocalDateTimes(String column) Get an array ofLocalDateTimevalue for the givencolumn.getArrayOfLocalTimes(String column) Get an array ofLocalTimevalue for the givencolumn.Long[]getArrayOfLongs(String column) Get an array ofLongvalue for the givencolumn.io.vertx.sqlclient.data.Numeric[]getArrayOfNumerics(String column) Get an array ofNumericvalue for the givencolumn.getArrayOfOffsetDateTimes(String column) Get an array ofOffsetDateTimevalue for the givencolumn.getArrayOfOffsetTimes(String column) Get an array ofOffsetTimevalue for the givencolumn.Short[]getArrayOfShorts(String column) Get an array ofShortvalue for the givencolumn.String[]getArrayOfStrings(String column) Get an array ofStringvalue for the givencolumn.Temporal[]getArrayOfTemporals(String column) Get an array ofTemporalvalue for the givencolumn.UUID[]getArrayOfUUIDs(String column) Get an array ofUUIDvalue for the givencolumn.getBigDecimal(String column) GetBigDecimalvalue for the givencolumn.getBoolean(String column) Get a boolean value for the givencolumn.io.vertx.core.buffer.BufferGet a buffer value for the givencolumn.Get a byte value for the givencolumn.intgetColumnIndex(String column) Get a column position for the given @code column}.getColumnName(int pos) Get a column name atpos.io.vertx.sqlclient.RowGet the delegate instance.Get a double value for the givencolumn.Get a float value for the givencolumn.getInteger(String column) Get an integer value for the givencolumn.Get a JSON element for the givencolumn, the element might benullor one of the following types: String Number JsonObject JsonArray Booleanio.vertx.core.json.JsonArraygetJsonArray(String column) Get aJsonArrayvalue for the givencolumn.io.vertx.core.json.JsonObjectgetJsonObject(String column) Get aJsonObjectvalue for the givencolumn.getLocalDate(String column) GetLocalDatevalue for the givencolumn.getLocalDateTime(String column) GetLocalDateTimevalue for the givencolumn.getLocalTime(String column) GetLocalTimevalue for the givencolumn.Get a long value for the givencolumn.io.vertx.sqlclient.data.NumericgetNumeric(String column) GetNumericvalue for the givencolumn.getOffsetDateTime(String column) GetOffsetDateTimevalue for the givencolumn.getOffsetTime(String column) GetOffsetTimevalue for the givencolumn.Get a short value for the givencolumn.Get a string value for the givencolumn.getTemporal(String column) Get a temporal value for the givencolumn.GetUUIDvalue for the givencolumn.Get a value for the givencolumn.inthashCode()static RownewInstance(io.vertx.sqlclient.Row delegate) Creates a new instance of theRow.voidrelease()Signal the row can be recycled, this is only effective when dealing with a row in a collector query and the row has already been processed and transformed.io.vertx.core.json.JsonObjecttoJson()Return a JSON object representation of the row.toString()Methods inherited from class io.vertx.mutiny.sqlclient.Tuple
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, getArrayOfBytes, getArrayOfDoubles, getArrayOfFloats, getArrayOfIntegers, getArrayOfJsonArrays, getArrayOfJsonObjects, getArrayOfJsons, getArrayOfLocalDates, getArrayOfLocalDateTimes, getArrayOfLocalTimes, getArrayOfLongs, getArrayOfNumerics, getArrayOfOffsetDateTimes, getArrayOfOffsetTimes, getArrayOfShorts, getArrayOfStrings, getArrayOfTemporals, getArrayOfUUIDs, getBigDecimal, getBoolean, getBuffer, getByte, 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
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Row
public Row(io.vertx.sqlclient.Row delegate) Create a new instance ofRowdelegating to the given (non-null) instance ofRow. -
Row
-
-
Method Details
-
getDelegate
public io.vertx.sqlclient.Row getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classTuple- Returns:
- the delegate instance
-
getColumnName
Get a column name atpos.- Parameters:
pos- the column position- Returns:
- the column name or
null
-
getColumnIndex
Get a column position for the given @code column}.- Parameters:
column- the column name- Returns:
- the column name or
-1if not found
-
getValue
Get a value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getBoolean
Get a boolean value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getByte
Get a byte value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getShort
Get a short value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getInteger
Get an integer value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getLong
Get a long value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getFloat
Get a float value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getDouble
Get a double value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getNumeric
GetNumericvalue for the givencolumn.- Parameters:
column- the column- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getString
Get a string value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getJson
Get a JSON element for the givencolumn, the element might benullor one of the following types:- String
- Number
- JsonObject
- JsonArray
- Boolean
- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getJsonObject
Get aJsonObjectvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getJsonArray
Get aJsonArrayvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getTemporal
Get a temporal value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getLocalDate
GetLocalDatevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getLocalTime
GetLocalTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getLocalDateTime
GetLocalDateTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getOffsetTime
GetOffsetTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getOffsetDateTime
GetOffsetDateTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getBuffer
Get a buffer value for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getUUID
GetUUIDvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getBigDecimal
GetBigDecimalvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfBooleans
Get an array ofBooleanvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfBytes
Get an array ofBytevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfShorts
Get an array ofShortvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfIntegers
Get an array ofIntegervalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfLongs
Get an array ofLongvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfFloats
Get an array ofFloatvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfDoubles
Get an array ofDoublevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfNumerics
Get an array ofNumericvalue for the givencolumn.- Parameters:
column- the column- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfStrings
Get an array ofStringvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfJsonObjects
Get an array ofJsonObjectvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfJsonArrays
Get an array ofJsonArrayvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfTemporals
Get an array ofTemporalvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfLocalDates
Get an array ofLocalDatevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfLocalTimes
Get an array ofLocalTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfLocalDateTimes
Get an array ofLocalDateTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfOffsetTimes
Get an array ofOffsetTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfOffsetDateTimes
Get an array ofOffsetDateTimevalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfUUIDs
Get an array ofUUIDvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfBigDecimals
Get an array ofBigDecimalvalue for the givencolumn.- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
getArrayOfJsons
Get an array of JSON elements for the givencolumn, the element might benullor one of the following types:- String
- Number
- JsonObject
- JsonArray
- Boolean
- Parameters:
column- the column name- Returns:
- the
columnvalue - Throws:
when- thecolumndoes not exist
-
get
LikeTuple.get(Class, int)but specifying thecolumninstead of the position. -
toJson
public io.vertx.core.json.JsonObject toJson()Return a JSON object representation of the row.Column names are mapped to JSON keys.
The following rules are applied for the column values:
- number, boolean and string are preserved
- the
nullvalue is preserved - JSON elements are preserved
Bufferare converted to base64 encoded strings- array is mapped
JsonArray - otherwise the type converted to a string
- Returns:
- the json representation
-
release
public void release()Signal the row can be recycled, this is only effective when dealing with a row in a collector query and the row has already been processed and transformed. -
newInstance
Creates a new instance of theRow. -
hashCode
public int hashCode() -
equals
-
toString
-