| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<Tuple> | 
__TYPE_ARG  | 
static Object | 
JSON_NULL
The JSON null literal value. 
 | 
| Constructor and Description | 
|---|
Tuple(Object delegate)  | 
Tuple(Tuple delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
Tuple | 
addArrayOfBigDecimal(BigDecimal[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfBoolean(Boolean[] value)
Add an array of  
Boolean value at the end of the tuple. | 
Tuple | 
addArrayOfDouble(Double[] value)
Add an array of  
Double value at the end of the tuple. | 
Tuple | 
addArrayOfFloat(Float[] value)
Add an array of  
Float value at the end of the tuple. | 
Tuple | 
addArrayOfInteger(Integer[] value)
Add an array of  
Integer value at the end of the tuple. | 
Tuple | 
addArrayOfJsonArray(JsonArray[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfJsonObject(JsonObject[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfLocalDate(java.time.LocalDate[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfLocalDateTime(java.time.LocalDateTime[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfLocalTime(java.time.LocalTime[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfLong(Long[] value)
Add an array of  
Long value at the end of the tuple. | 
Tuple | 
addArrayOfOffsetDateTime(java.time.OffsetDateTime[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfOffsetTime(java.time.OffsetTime[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfShort(Short[] value)
Add an array of  
Short value at the end of the tuple. | 
Tuple | 
addArrayOfString(String[] value)
Add an array of  
String value at the end of the tuple. | 
Tuple | 
addArrayOfTemporal(java.time.temporal.Temporal[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addArrayOfUUID(UUID[] value)
Add an array of  value at the end of the tuple. 
 | 
Tuple | 
addBigDecimal(BigDecimal value)
Add a  value at the end of the tuple. 
 | 
Tuple | 
addBoolean(Boolean value)
Add a boolean value at the end of the tuple. 
 | 
Tuple | 
addBuffer(Buffer value)
Add a buffer value at the end of the tuple. 
 | 
Tuple | 
addDouble(Double value)
Add a double value at the end of the tuple. 
 | 
Tuple | 
addFloat(Float value)
Add a float value at the end of the tuple. 
 | 
Tuple | 
addInteger(Integer value)
Add an integer value at the end of the tuple. 
 | 
Tuple | 
addJsonArray(JsonArray value)
Add a  value at the end of the tuple. 
 | 
Tuple | 
addJsonObject(JsonObject value)
Add a  value at the end of the tuple. 
 | 
Tuple | 
addLocalDate(java.time.LocalDate value)
Add a  
LocalDate value at the end of the tuple. | 
Tuple | 
addLocalDateTime(java.time.LocalDateTime value)
Add a  
LocalDateTime value at the end of the tuple. | 
Tuple | 
addLocalTime(java.time.LocalTime value)
Add a  
LocalTime value at the end of the tuple. | 
Tuple | 
addLong(Long value)
Add a long value at the end of the tuple. 
 | 
Tuple | 
addOffsetDateTime(java.time.OffsetDateTime value)
Add a  
OffsetDateTime value at the end of the tuple. | 
Tuple | 
addOffsetTime(java.time.OffsetTime value)
Add a  
OffsetTime value at the end of the tuple. | 
Tuple | 
addShort(Short value)
Add a short value at the end of the tuple. 
 | 
Tuple | 
addString(String value)
Add a string value at the end of the tuple. 
 | 
Tuple | 
addTemporal(java.time.temporal.Temporal value)
Add a  
Temporal value at the end of the tuple. | 
Tuple | 
addUUID(UUID value)
Add a  
UUID value at the end of the tuple. | 
Tuple | 
addValue(Object value)
Add an object value at the end of the tuple. 
 | 
void | 
clear()  | 
String | 
deepToString()  | 
boolean | 
equals(Object o)  | 
static <T> Tuple | 
from(List<T> list)
Wrap the provided  
list with a tuple. | 
static Tuple | 
from(Object[] array)
Wrap the provided  
array with a tuple. | 
<T> T | 
get(Class<T> type,
   int position)
Get the the at the specified  
position and the specified type. | 
BigDecimal[] | 
getArrayOfBigDecimals(int pos)
Get an array of  value at  
pos. | 
Boolean[] | 
getArrayOfBooleans(int pos)
Get an array of  
Boolean value at pos. | 
Double[] | 
getArrayOfDoubles(int pos)
Get an array of   
Double value at pos. | 
Float[] | 
getArrayOfFloats(int pos)
Get an array of   
Float value at pos. | 
Integer[] | 
getArrayOfIntegers(int pos)
Get an array of  
Integer value at pos. | 
JsonArray[] | 
getArrayOfJsonArrays(int pos)
Get an array of   value at  
pos. | 
JsonObject[] | 
getArrayOfJsonObjects(int pos)
Get an array of   value at  
pos. | 
Object[] | 
getArrayOfJsons(int pos)
Get an array of JSON elements at  
pos, the element might be #JSON_NULL null or one of the following types:
 
   String
   Number
   JsonObject
   JsonArray
   Boolean
  | 
java.time.LocalDate[] | 
getArrayOfLocalDates(int pos)
Get an array of   value at  
pos. | 
java.time.LocalDateTime[] | 
getArrayOfLocalDateTimes(int pos)
Get an array of   value at  
pos. | 
java.time.LocalTime[] | 
getArrayOfLocalTimes(int pos)
Get an array of   value at  
pos. | 
Long[] | 
getArrayOfLongs(int pos)
Get an array of  
Long value at pos. | 
Numeric[] | 
getArrayOfNumerics(int pos)
Get an array of  value at  
pos. | 
java.time.OffsetDateTime[] | 
getArrayOfOffsetDateTimes(int pos)
Get an array of   value at  
pos. | 
java.time.OffsetTime[] | 
getArrayOfOffsetTimes(int pos)
Get an array of   value at  
pos. | 
Short[] | 
getArrayOfShorts(int pos)
Get an array of   
Short value at pos. | 
String[] | 
getArrayOfStrings(int pos)
Get an array of   
String value at pos. | 
java.time.temporal.Temporal[] | 
getArrayOfTemporals(int pos)
Get an array of   value at  
pos. | 
UUID[] | 
getArrayOfUUIDs(int pos)
Get an array of  value at  
pos. | 
BigDecimal | 
getBigDecimal(int pos)
Get  value at  
pos. | 
Boolean | 
getBoolean(int pos)
Get a boolean value at  
pos. | 
Buffer | 
getBuffer(int pos)
Get a buffer value at  
pos. | 
Tuple | 
getDelegate()  | 
Double | 
getDouble(int pos)
Get a double value at  
pos. | 
Float | 
getFloat(int pos)
Get a float value at  
pos. | 
Integer | 
getInteger(int pos)
Get an integer value at  
pos. | 
Object | 
getJson(int pos)
Get a JSON element at  
pos, the element might be #JSON_NULL null or one of the following types:
 
   String
   Number
   JsonObject
   JsonArray
   Boolean
  | 
JsonArray | 
getJsonArray(int pos)
Get a  value at  
pos. | 
JsonObject | 
getJsonObject(int pos)
Get a  value at  
pos. | 
java.time.LocalDate | 
getLocalDate(int pos)
Get  
LocalDate value at pos. | 
java.time.LocalDateTime | 
getLocalDateTime(int pos)
Get  
LocalDateTime value at pos. | 
java.time.LocalTime | 
getLocalTime(int pos)
Get  
LocalTime value at pos. | 
Long | 
getLong(int pos)
Get a long value at  
pos. | 
Numeric | 
getNumeric(int pos)
Get  value at  
pos. | 
java.time.OffsetDateTime | 
getOffsetDateTime(int pos)
Get  
OffsetDateTime value at pos. | 
java.time.OffsetTime | 
getOffsetTime(int pos)
Get  
OffsetTime value at pos. | 
Short | 
getShort(int pos)
Get a short value at  
pos. | 
String | 
getString(int pos)
Get a string value at  
pos. | 
java.time.temporal.Temporal | 
getTemporal(int pos)
Get a  
Temporal value at pos. | 
UUID | 
getUUID(int pos)
Get  
UUID value at pos. | 
Object | 
getValue(int pos)
Get an object value at  
pos. | 
int | 
hashCode()  | 
static Tuple | 
newInstance(Tuple arg)  | 
static Tuple | 
of(Object elt1)
Create a tuple of one element. 
 | 
static Tuple | 
of(Object elt1,
  Object elt2)
Create a tuple of two elements. 
 | 
static Tuple | 
of(Object elt1,
  Object elt2,
  Object elt3)
Create a tuple of three elements. 
 | 
static Tuple | 
of(Object elt1,
  Object elt2,
  Object elt3,
  Object elt4)
Create a tuple of four elements. 
 | 
static Tuple | 
of(Object elt1,
  Object elt2,
  Object elt3,
  Object elt4,
  Object elt5)
Create a tuple of five elements. 
 | 
static Tuple | 
of(Object elt1,
  Object elt2,
  Object elt3,
  Object elt4,
  Object elt5,
  Object elt6)
Create a tuple of six elements. 
 | 
int | 
size()  | 
String | 
toString()  | 
static Tuple | 
tuple()  | 
static Tuple | 
tuple(List<Object> elements)
Create a tuple with the provided  
elements list. | 
static <T> Tuple | 
wrap(List<T> list)
Wrap the provided  
list with a tuple. | 
static Tuple | 
wrap(Object[] array)
Wrap the provided  
array with a tuple. | 
public static final io.vertx.lang.rx.TypeArg<Tuple> __TYPE_ARG
public static final Object JSON_NULL
null value. This is only
 used when the database supports JSON types.public Tuple getDelegate()
public static Tuple tuple()
public static <T> Tuple from(List<T> list)
list with a tuple.
 list - public static <T> Tuple wrap(List<T> list)
list with a tuple.
 tuple() if the list is unmodifiablelist - public static Tuple of(Object elt1)
elt1 - the first valuepublic static Tuple of(Object elt1, Object elt2)
elt1 - the first valueelt2 - the second valuepublic static Tuple of(Object elt1, Object elt2, Object elt3)
elt1 - the first valueelt2 - the second valueelt3 - the third valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5, Object elt6)
elt1 - the first valueelt2 - the second valuegelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valueelt6 - the sixth valuepublic static Tuple tuple(List<Object> elements)
elements list.
 
 The elements list is not modified.elements - the list of elementspublic Object getValue(int pos)
pos.pos - the positionpublic Boolean getBoolean(int pos)
pos.pos - the positionpublic Short getShort(int pos)
pos.pos - the positionpublic Integer getInteger(int pos)
pos.pos - the positionpublic Long getLong(int pos)
pos.pos - the positionpublic Float getFloat(int pos)
pos.pos - the positionpublic Double getDouble(int pos)
pos.pos - the positionpublic String getString(int pos)
pos.pos - the positionpublic JsonObject getJsonObject(int pos)
pos.pos - the positionpublic JsonArray getJsonArray(int pos)
pos.pos - the positionpublic Object getJson(int pos)
pos, the element might be #JSON_NULL null or one of the following types:
 pos - the positionpublic Buffer getBuffer(int pos)
pos.pos - the positionpublic Tuple addValue(Object value)
value - the valuepublic Tuple addBoolean(Boolean value)
value - the valuepublic Tuple addShort(Short value)
value - the valuepublic Tuple addInteger(Integer value)
value - the valuepublic Tuple addLong(Long value)
value - the valuepublic Tuple addFloat(Float value)
value - the valuepublic Tuple addDouble(Double value)
value - the valuepublic Tuple addString(String value)
value - the valuepublic Tuple addJsonObject(JsonObject value)
value - the valuepublic Tuple addJsonArray(JsonArray value)
value - the valuepublic Tuple addBuffer(Buffer value)
value - the valuepublic <T> T get(Class<T> type, int position)
position and the specified type.
 The type can be one of the types returned by the row (e.g String.class) or an array
 of the type (e.g String[].class)).
type - the expected value typeposition - the value positionpublic int size()
public void clear()
public String deepToString()
Object value of each element, separated by a comma (,) characterpublic static Tuple from(Object[] array)
array with a tuple.
 array - public static Tuple wrap(Object[] array)
array with a tuple.
 array - public Numeric getNumeric(int pos)
pos.pos - the positionpublic java.time.temporal.Temporal getTemporal(int pos)
Temporal value at pos.pos - the positionpublic java.time.LocalDate getLocalDate(int pos)
LocalDate value at pos.
 Target element instance of LocalDateTime will be
 coerced to LocalDate.
pos - the positionpublic java.time.LocalTime getLocalTime(int pos)
LocalTime value at pos.
 Target element instance of LocalDateTime will be
 coerced to LocalTime.
pos - the positionpublic java.time.LocalDateTime getLocalDateTime(int pos)
LocalDateTime value at pos.pos - the positionpublic java.time.OffsetTime getOffsetTime(int pos)
OffsetTime value at pos.
 Target element instance of OffsetDateTime will be
 coerced to OffsetTime.
pos - the positionpublic java.time.OffsetDateTime getOffsetDateTime(int pos)
OffsetDateTime value at pos.pos - the positionpublic UUID getUUID(int pos)
UUID value at pos.pos - the positionpublic BigDecimal getBigDecimal(int pos)
pos.pos - the positionpublic Boolean[] getArrayOfBooleans(int pos)
Boolean value at pos.
 Target element instance of Object[] will be
 coerced to Boolean[].
pos - the positionpublic Short[] getArrayOfShorts(int pos)
Short value at pos.
 Target element instance of Number[] or Object[] will be
 coerced to Short[].
pos - the positionpublic Integer[] getArrayOfIntegers(int pos)
Integer value at pos.
 Target element instance of Number[] or Object[] will be
 coerced to Integer[].
pos - the positionpublic Long[] getArrayOfLongs(int pos)
Long value at pos.
 Target element instance of Number[] or Object[] will be
 coerced to Long[].
pos - the positionpublic Float[] getArrayOfFloats(int pos)
Float value at pos.
 Target element instance of Number[] or Object[] will be
 coerced to Float[].
pos - the positionpublic Double[] getArrayOfDoubles(int pos)
Double value at pos.
 Target element instance of Number[] or Object[] will be
 coerced to Double[].
pos - the positionpublic Numeric[] getArrayOfNumerics(int pos)
pos.pos - the columnpublic String[] getArrayOfStrings(int pos)
String value at pos.
 Target element instance of Object[] will be
 coerced to String[].
pos - the positionpublic JsonObject[] getArrayOfJsonObjects(int pos)
pos.pos - the positionpublic JsonArray[] getArrayOfJsonArrays(int pos)
pos.pos - the positionpublic Object[] getArrayOfJsons(int pos)
pos, the element might be #JSON_NULL null or one of the following types:
 pos - the positionpublic java.time.temporal.Temporal[] getArrayOfTemporals(int pos)
pos.pos - the positionpublic java.time.LocalDate[] getArrayOfLocalDates(int pos)
pos.
 Target element instance of LocalDateTime[] will be
 coerced to LocalDate[].
pos - the positionpublic java.time.LocalTime[] getArrayOfLocalTimes(int pos)
pos.
 Target element instance of LocalDateTime[] will be
 coerced to LocalTime[].
pos - the positionpublic java.time.LocalDateTime[] getArrayOfLocalDateTimes(int pos)
pos.pos - the positionpublic java.time.OffsetTime[] getArrayOfOffsetTimes(int pos)
pos.
 Target element instance of OffsetDateTime[] will be
 coerced to OffsetTime[].
pos - the positionpublic java.time.OffsetDateTime[] getArrayOfOffsetDateTimes(int pos)
pos.pos - the positionpublic UUID[] getArrayOfUUIDs(int pos)
pos.pos - the columnpublic BigDecimal[] getArrayOfBigDecimals(int pos)
pos.pos - the columnpublic Tuple addTemporal(java.time.temporal.Temporal value)
Temporal value at the end of the tuple.value - the valuepublic Tuple addLocalDate(java.time.LocalDate value)
LocalDate value at the end of the tuple.value - the valuepublic Tuple addLocalTime(java.time.LocalTime value)
LocalTime value at the end of the tuple.value - the valuepublic Tuple addLocalDateTime(java.time.LocalDateTime value)
LocalDateTime value at the end of the tuple.value - the valuepublic Tuple addOffsetTime(java.time.OffsetTime value)
OffsetTime value at the end of the tuple.value - the valuepublic Tuple addOffsetDateTime(java.time.OffsetDateTime value)
OffsetDateTime value at the end of the tuple.value - the valuepublic Tuple addUUID(UUID value)
UUID value at the end of the tuple.value - the valuepublic Tuple addBigDecimal(BigDecimal value)
value - the valuepublic Tuple addArrayOfBoolean(Boolean[] value)
Boolean value at the end of the tuple.value - the valuepublic Tuple addArrayOfShort(Short[] value)
Short value at the end of the tuple.value - the valuepublic Tuple addArrayOfInteger(Integer[] value)
Integer value at the end of the tuple.
 Target element instance of Number[] will be
 coerced to Integer[].
value - the valuepublic Tuple addArrayOfLong(Long[] value)
Long value at the end of the tuple.value - the valuepublic Tuple addArrayOfFloat(Float[] value)
Float value at the end of the tuple.value - the valuepublic Tuple addArrayOfDouble(Double[] value)
Double value at the end of the tuple.value - the valuepublic Tuple addArrayOfString(String[] value)
String value at the end of the tuple.value - the valuepublic Tuple addArrayOfJsonObject(JsonObject[] value)
value - the valuepublic Tuple addArrayOfJsonArray(JsonArray[] value)
value - the valuepublic Tuple addArrayOfTemporal(java.time.temporal.Temporal[] value)
value - the valuepublic Tuple addArrayOfLocalDate(java.time.LocalDate[] value)
value - the valuepublic Tuple addArrayOfLocalTime(java.time.LocalTime[] value)
value - the valuepublic Tuple addArrayOfLocalDateTime(java.time.LocalDateTime[] value)
value - the valuepublic Tuple addArrayOfOffsetTime(java.time.OffsetTime[] value)
value - the valuepublic Tuple addArrayOfOffsetDateTime(java.time.OffsetDateTime[] value)
value - the valuepublic Tuple addArrayOfUUID(UUID[] value)
value - the valuepublic Tuple addArrayOfBigDecimal(BigDecimal[] value)
value - the valueCopyright © 2023 Eclipse. All rights reserved.