Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JDBCDataSource

Hierarchy

  • JDBCDataSource

Index

Properties

Methods

Properties

Static Readonly TYPE

TYPE: string

Static Readonly UNKNOWN

UNKNOWN: string

Unknown type.

Methods

Static createRecord

  • createRecord(name: string, location: {}, metadata: {}): Record
  • Parameters

    • name: string
    • location: {}
      • [key: string]: any
    • metadata: {}
      • [key: string]: any

    Returns Record

Static getJDBCClient

  • getJDBCClient(discovery: ServiceDiscovery, filter: {}): PromiseLike<JDBCClient>
  • getJDBCClient(discovery: ServiceDiscovery, filter: {}, resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>): void
  • getJDBCClient(discovery: ServiceDiscovery, filter: (arg: Record) => boolean): PromiseLike<JDBCClient>
  • getJDBCClient(discovery: ServiceDiscovery, filter: (arg: Record) => boolean, resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>): void
  • getJDBCClient(discovery: ServiceDiscovery, filter: {}, consumerConfiguration: {}): PromiseLike<JDBCClient>
  • getJDBCClient(discovery: ServiceDiscovery, filter: {}, consumerConfiguration: {}, resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>): void
  • getJDBCClient(discovery: ServiceDiscovery, filter: (arg: Record) => boolean, consumerConfiguration: {}): PromiseLike<JDBCClient>
  • getJDBCClient(discovery: ServiceDiscovery, filter: (arg: Record) => boolean, consumerConfiguration: {}, resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>): void
  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    Returns PromiseLike<JDBCClient>

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    • discovery: ServiceDiscovery
    • filter: {}
      • [key: string]: any
    • resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>

    Returns void

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    Returns PromiseLike<JDBCClient>

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    • discovery: ServiceDiscovery
    • filter: (arg: Record) => boolean
        • Parameters

          Returns boolean

    • resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>

    Returns void

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    • discovery: ServiceDiscovery
    • filter: {}
      • [key: string]: any
    • consumerConfiguration: {}
      • [key: string]: any

    Returns PromiseLike<JDBCClient>

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    • discovery: ServiceDiscovery
    • filter: {}
      • [key: string]: any
    • consumerConfiguration: {}
      • [key: string]: any
    • resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>

    Returns void

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    Returns PromiseLike<JDBCClient>

  • Convenient method that looks for a JDBC datasource source and provides the configured {@link JDBCClient}. The async result is marked as failed is there are no matching services, or if the lookup fails.

    Parameters

    • discovery: ServiceDiscovery
    • filter: (arg: Record) => boolean
        • Parameters

          Returns boolean

    • consumerConfiguration: {}
      • [key: string]: any
    • resultHandler: ((res: AsyncResult<JDBCClient>) => void) | Handler<AsyncResult<JDBCClient>>

    Returns void

Generated using TypeDoc