org.wso2.carbon.dataservices.sql.driver

## Interface TCustomConnection.CustomDataSource

- Enclosing class:
    TCustomConnection

      public static interface TCustomConnection.CustomDataSource

  This interface represents a custom data source definition.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `createDataTable(String name, Map<String,Integer> columns)`
    `void` | `dropDataTable(String name)`
    `DataTable` | `getDataTable(String name)`
    `Set<String>` | `getDataTableNames()`
    `void` | `init(Properties props)`

- - ### Method Detail

    - #### init

          void init(Properties props)
             throws SQLException

      Throws:
        `SQLException`

    - #### getDataTableNames

          Set<String> getDataTableNames()
                                 throws SQLException

      Throws:
        `SQLException`

    - #### getDataTable

          DataTable getDataTable(String name)
                          throws SQLException

      Throws:
        `SQLException`

    - #### createDataTable

          void createDataTable(String name,
                               Map<String,Integer> columns)
                        throws SQLException

      Throws:
        `SQLException`

    - #### dropDataTable

          void dropDataTable(String name)
                      throws SQLException

      Throws:
        `SQLException`

Copyright © 2017 WSO2. All rights reserved.