Package io.vertx.mutiny.sqlclient
Class Tuple
java.lang.Object
io.vertx.mutiny.sqlclient.Tuple
- All Implemented Interfaces:
 MutinyDelegate
- Direct Known Subclasses:
 Row
A general purpose tuple.
 
CAUTION: indexes start at 0, not at 1.
NOTE: This class has been automatically generated from theoriginal non Mutiny-ified interface using Vert.x codegen.- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddArrayOfBigDecimal(BigDecimal[] value) addArrayOfBoolean(Boolean[] value) addArrayOfDouble(Double[] value) addArrayOfFloat(Float[] value) addArrayOfInteger(Integer[] value) addArrayOfJsonArray(io.vertx.core.json.JsonArray[] value) addArrayOfJsonObject(io.vertx.core.json.JsonObject[] value) addArrayOfLocalDate(LocalDate[] value) addArrayOfLocalDateTime(LocalDateTime[] value) addArrayOfLocalTime(LocalTime[] value) addArrayOfLong(Long[] value) addArrayOfOffsetDateTime(OffsetDateTime[] value) addArrayOfOffsetTime(OffsetTime[] value) addArrayOfShort(Short[] value) addArrayOfString(String[] value) addArrayOfTemporal(Temporal[] value) addArrayOfUUID(UUID[] value) addBigDecimal(BigDecimal value) addBoolean(Boolean value) addInteger(Integer value) addJsonArray(io.vertx.core.json.JsonArray value) addJsonObject(io.vertx.core.json.JsonObject value) addLocalDate(LocalDate value) addLocalDateTime(LocalDateTime value) addLocalTime(LocalTime value) addOffsetDateTime(OffsetDateTime value) addOffsetTime(OffsetTime value) addTemporal(Temporal value) voidclear()booleanstatic Tuplestatic <T> Tuple<T> TgetArrayOfBigDecimals(int pos) Boolean[]getArrayOfBooleans(int pos) Double[]getArrayOfDoubles(int pos) Float[]getArrayOfFloats(int pos) Integer[]getArrayOfIntegers(int pos) io.vertx.core.json.JsonArray[]getArrayOfJsonArrays(int pos) io.vertx.core.json.JsonObject[]getArrayOfJsonObjects(int pos) Object[]getArrayOfJsons(int pos) getArrayOfLocalDates(int pos) getArrayOfLocalDateTimes(int pos) getArrayOfLocalTimes(int pos) Long[]getArrayOfLongs(int pos) io.vertx.sqlclient.data.Numeric[]getArrayOfNumerics(int pos) getArrayOfOffsetDateTimes(int pos) getArrayOfOffsetTimes(int pos) Short[]getArrayOfShorts(int pos) String[]getArrayOfStrings(int pos) Temporal[]getArrayOfTemporals(int pos) UUID[]getArrayOfUUIDs(int pos) getBigDecimal(int pos) getBoolean(int pos) getBuffer(int pos) io.vertx.sqlclient.TuplegetDouble(int pos) getFloat(int pos) getInteger(int pos) getJson(int pos) io.vertx.core.json.JsonArraygetJsonArray(int pos) io.vertx.core.json.JsonObjectgetJsonObject(int pos) getLocalDate(int pos) getLocalDateTime(int pos) getLocalTime(int pos) getLong(int pos) io.vertx.sqlclient.data.NumericgetNumeric(int pos) getOffsetDateTime(int pos) getOffsetTime(int pos) getShort(int pos) getString(int pos) getTemporal(int pos) getUUID(int pos) getValue(int pos) inthashCode()static TuplenewInstance(io.vertx.sqlclient.Tuple arg) static Tuplestatic Tuplestatic Tuplestatic Tuplestatic Tuplestatic Tupleintsize()toString()static Tupletuple()static Tuplestatic Tuplestatic <T> Tuple 
- 
Field Details
- 
__TYPE_ARG
 - 
JSON_NULL
The JSON null literal value.
It is used to distinguish a JSON null literal value from the Javanullvalue. This is only used when the database supports JSON types. 
 - 
 - 
Constructor Details
- 
Tuple
public Tuple(io.vertx.sqlclient.Tuple delegate)  - 
Tuple
 
 - 
 - 
Method Details
- 
getDelegate
public io.vertx.sqlclient.Tuple getDelegate()- Specified by:
 getDelegatein interfaceMutinyDelegate- Returns:
 - the delegate used by this Mutiny object of generated type
 
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() - 
tuple
- Returns:
 - a new empty tuple
 
 - 
from
- Parameters:
 list-- Returns:
 - the list wrapped as a tuple
 
 - 
wrap
- Parameters:
 list-- Returns:
 - the list wrapped as a tuple
 
 - 
of
- Parameters:
 elt1- the first value- Returns:
 - the tuple
 
 - 
of
- Parameters:
 elt1- the first valueelt2- the second value- Returns:
 - the tuple
 
 - 
of
- Parameters:
 elt1- the first valueelt2- the second valueelt3- the third value- Returns:
 - the tuple
 
 - 
of
- Parameters:
 elt1- the first valueelt2- the second valueelt3- the third valueelt4- the fourth value- Returns:
 - the tuple
 
 - 
of
- Parameters:
 elt1- the first valueelt2- the second valueelt3- the third valueelt4- the fourth valueelt5- the fifth value- Returns:
 - the tuple
 
 - 
of
public static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5, Object elt6) - Parameters:
 elt1- the first valueelt2- the second valuegelt3- the third valueelt4- the fourth valueelt5- the fifth valueelt6- the sixth value- Returns:
 - the tuple
 
 - 
tuple
- Parameters:
 elements- the list of elements- Returns:
 - the tuple
 
 - 
getValue
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getBoolean
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getShort
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getInteger
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getLong
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getFloat
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getDouble
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getString
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getJsonObject
public io.vertx.core.json.JsonObject getJsonObject(int pos) - Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getJsonArray
public io.vertx.core.json.JsonArray getJsonArray(int pos) - Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getJson
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getBuffer
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
addValue
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addBoolean
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addShort
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addInteger
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addLong
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addFloat
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addDouble
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addString
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addJsonObject
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addJsonArray
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addBuffer
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
get
- Parameters:
 type- the expected value typeposition- the value position- Returns:
 - the value if the value is found or null.
 
 - 
size
public int size()- Returns:
 - the tuple size
 
 - 
clear
public void clear() - 
deepToString
- Returns:
 - A String containing the 
Objectvalue of each element, separated by a comma (,) character 
 - 
from
- Parameters:
 array-- Returns:
 - the list wrapped as a tuple
 
 - 
wrap
- Parameters:
 array-- Returns:
 - the list wrapped as a tuple
 
 - 
getNumeric
public io.vertx.sqlclient.data.Numeric getNumeric(int pos) - Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getTemporal
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getLocalDate
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getLocalTime
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getLocalDateTime
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getOffsetTime
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getOffsetDateTime
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getUUID
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getBigDecimal
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfBooleans
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfShorts
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfIntegers
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfLongs
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfFloats
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfDoubles
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfNumerics
public io.vertx.sqlclient.data.Numeric[] getArrayOfNumerics(int pos) - Parameters:
 pos- the column- Returns:
 - the value
 
 - 
getArrayOfStrings
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfJsonObjects
public io.vertx.core.json.JsonObject[] getArrayOfJsonObjects(int pos) - Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfJsonArrays
public io.vertx.core.json.JsonArray[] getArrayOfJsonArrays(int pos) - Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfJsons
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfTemporals
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfLocalDates
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfLocalTimes
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfLocalDateTimes
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfOffsetTimes
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfOffsetDateTimes
- Parameters:
 pos- the position- Returns:
 - the value
 
 - 
getArrayOfUUIDs
- Parameters:
 pos- the column- Returns:
 - the value
 
 - 
getArrayOfBigDecimals
- Parameters:
 pos- the column- Returns:
 - the value
 
 - 
addTemporal
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addLocalDate
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addLocalTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addLocalDateTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addOffsetTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addOffsetDateTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addUUID
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addBigDecimal
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfBoolean
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfShort
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfInteger
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfLong
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfFloat
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfDouble
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfString
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfJsonObject
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfJsonArray
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfTemporal
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfLocalDate
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfLocalTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfLocalDateTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfOffsetTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfOffsetDateTime
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfUUID
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
addArrayOfBigDecimal
- Parameters:
 value- the value- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
newInstance
 
 -