Skip to main content
pub struct Kinetica 
    pub options: KineticaOptions,
    /* private fields */

The main Kinetica client for communicating with a Kinetica database.

This client is thread-safe and can be shared across tasks using Arc<Kinetica>.

Performance

  • Uses connection pooling for efficient reuse of HTTP connections
  • Enables TCP_NODELAY for lower latency
  • Supports parallel requests via async/await

Example

Fields

options: KineticaOptions

Configuration options (kept for public API access).

Public, password included; its Debug output masks the password.

Implementations

Trait Implementations

Source

impl Drop for Kinetica

Drops the session of a connection dropped without being closed: one best-effort POST of the prepared request, within [SESSION_DROP_TIMEOUT], with no fail-over and the connection’s own TLS trust. A failure is logged at debug; the server reclaims the session on its own.

The POST is sent from a task on the async runtime the connection is dropped on, so it runs after the drop. Dropped outside a runtime, or in one that is shutting down, it is not sent.

Source

fn drop(&mut self)

Executes the destructor for this type. Read more
Source

fn pin_drop(self: Pin<&mut Self>)

🔬This is a nightly-only experimental API. (pin_ergonomics)
Execute the destructor for this type, but different to Drop::drop, it requires self to be pinned. Read more

Members