com.holonplatform.datastore.jdbc.composer

## Interface SQLType

- All Superinterfaces:
    Serializable

      public interface SQLType
      extends Serializable

  Represents a SQL type.
  Since:
    5.1.0

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SQLType` | `create(int type)` Create a new `SQLType`.
    `static SQLType` | `create(int type, String name)` Create a new `SQLType`.
    `Optional<String>` | `getName()` Get the optional type name.
    `int` | `getType()` Get the SQL type id.

- - ### Method Detail

    - #### getType

          int getType()

      Get the SQL type id.
      Returns:
        the SQL type id
      See Also:
        `Types`

    - #### getName

          Optional<String> getName()

      Get the optional type name.
      Returns:
        optional type name

    - #### create

          static SQLType create(int type)

      Create a new `SQLType`.
      Parameters:
        `type` - Type id
      Returns:
        A new `SQLType`

    - #### create

          static SQLType create(int type,
                                String name)

      Create a new `SQLType`.
      Parameters:
        `type` - Type id
        `name` - Optional type name
      Returns:
        A new `SQLType`

Copyright © 2019 The Holon Platform. All rights reserved.