All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.julienviet.groovy.pgclient.Tuple_GroovyExtension Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package com.julienviet.groovy.pgclient;
public class Tuple_GroovyExtension {
  public static java.lang.Object getValue(com.julienviet.pgclient.Tuple j_receiver, int pos) {
    return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.getValue(pos));
  }
  public static java.util.Map getJsonObject(com.julienviet.pgclient.Tuple j_receiver, int pos) {
    return io.vertx.core.impl.ConversionHelper.fromJsonObject(j_receiver.getJsonObject(pos));
  }
  public static java.util.List getJsonArray(com.julienviet.pgclient.Tuple j_receiver, int pos) {
    return io.vertx.core.impl.ConversionHelper.fromJsonArray(j_receiver.getJsonArray(pos));
  }
  public static com.julienviet.pgclient.Tuple addValue(com.julienviet.pgclient.Tuple j_receiver, java.lang.Object value) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.addValue(io.vertx.core.impl.ConversionHelper.toObject(value)));
    return j_receiver;
  }
  public static com.julienviet.pgclient.Tuple addJsonObject(com.julienviet.pgclient.Tuple j_receiver, java.util.Map value) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.addJsonObject(value != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(value) : null));
    return j_receiver;
  }
  public static com.julienviet.pgclient.Tuple addJsonArray(com.julienviet.pgclient.Tuple j_receiver, java.util.List value) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.addJsonArray(value != null ? io.vertx.core.impl.ConversionHelper.toJsonArray(value) : null));
    return j_receiver;
  }
}