@qualithm/arrow-flight-sql-js - v0.4.3
    Preparing search index...

    Class GrpcJsTransport

    Transport implementation using @grpc/grpc-js. Works with Node.js and Bun runtimes.

    Implements

    Index

    Constructors

    Methods

    • Close the connection

      Returns void

    • Connect to the Flight SQL server

      Returns Promise<void>

    • GetFlightInfo - Get metadata about a flight

      Parameters

      • descriptor: { cmd?: Uint8Array<ArrayBufferLike>; path?: string[]; type: number }
      • Optionalmetadata: TransportMetadata

      Returns Promise<RawFlightInfo>

    • GetSchema - Get schema for a flight descriptor

      Parameters

      • descriptor: { cmd?: Uint8Array<ArrayBufferLike>; path?: string[]; type: number }
      • Optionalmetadata: TransportMetadata

      Returns Promise<{ schema: Uint8Array }>

    • Check if connected

      Returns boolean

    • Set authentication token for subsequent requests

      Parameters

      • token: string | null

      Returns void