Class List Method List File List

# Class: VertxMysqlClient::MySQLClient

Inherits:
  Object
  - Object
  - VertxMysqlClient::MySQLClient
  show all
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb

## Overview

An interface to define MySQL specific constants or behaviors.

## Constant Summary

@@j_api_type =

      Object.new

## Class Method Summary (collapse)

- + (Boolean) accept?(obj)
- + (Object) j_api_type
- + (Object) j_class
- + (Object) LAST_INSERTED_ID
  SqlResult Property for last_insert_id.
- + (Object) unwrap(obj)
- + (Object) wrap(obj)

## Class Method Details

### + (`Boolean`) accept?(obj)

Returns:

- (`Boolean`)

    18
    19
    20
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 18

    def @@j_api_type.accept?(obj)
      obj.class == MySQLClient
    end

### + (`Object`) j_api_type

    27
    28
    29
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 27

    def self.j_api_type
      @@j_api_type
    end

### + (`Object`) j_class

    30
    31
    32
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 30

    def self.j_class
      Java::IoVertxMysqlclient::MySQLClient.java_class
    end

### + (`Object`) LAST_INSERTED_ID

SqlResult Property for last_insert_id

    34
    35
    36
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 34

    def self.LAST_INSERTED_ID
      ::Vertx::Util::Utils.safe_create(Java::IoVertxMysqlclient::MySQLClient.LAST_INSERTED_ID,::VertxSqlClient::PropertyKind, nil)
    end

### + (`Object`) unwrap(obj)

    24
    25
    26
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 24

    def @@j_api_type.unwrap(obj)
      obj.j_del
    end

### + (`Object`) wrap(obj)

    21
    22
    23
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mysql-client/my_sql_client.rb', line 21

    def @@j_api_type.wrap(obj)
      MySQLClient.new(obj)
    end