Class SqlOutParam

java.lang.Object
io.vertx.mutiny.jdbcclient.SqlOutParam
All Implemented Interfaces:
MutinyDelegate

public class SqlOutParam extends Object implements MutinyDelegate
Tag if a parameter is of type OUT or INOUT. By default parameters are of type IN as they are provided by the user to the RDBMs engine. There are however cases where these must be tagged as OUT/INOUT when dealing with stored procedures/functions or complex statements. This interface allows marking the type of the param as required by the JDBC API.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • SqlOutParam

      public SqlOutParam(io.vertx.jdbcclient.SqlOutParam delegate)
    • SqlOutParam

      public SqlOutParam(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.jdbcclient.SqlOutParam getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • OUT

      public static SqlOutParam OUT(int out)
      Parameters:
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • OUT

      public static SqlOutParam OUT(String out)
      Parameters:
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • OUT

      public static SqlOutParam OUT(JDBCType out)
      Parameters:
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • INOUT

      public static SqlOutParam INOUT(Object in, int out)
      Parameters:
      in - the value to be passed as input.
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • INOUT

      public static SqlOutParam INOUT(Object in, String out)
      Parameters:
      in - the value to be passed as input.
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • INOUT

      public static SqlOutParam INOUT(Object in, JDBCType out)
      Parameters:
      in - the value to be passed as input.
      out - the kind of the type according to JDBC types.
      Returns:
      new marker
    • in

      public boolean in()
      Returns:
      true if INOUT
    • type

      public int type()
      Returns:
      type
    • value

      public Object value()
      Returns:
      input
    • newInstance

      public static SqlOutParam newInstance(io.vertx.jdbcclient.SqlOutParam arg)