Skip to main content

SQL client and result parser for Kinetica’s HTTP API

Statements are sent to /execute/sql over the same Kinetica connection used by the rest of the API, so they share its authentication, TLS and HA failover. For the PostgreSQL wire protocol, see the sqlx_support module (feature sqlx).

Overview

  • SqlClient - Executes SQL, with paging support for large result sets
  • SqlResult / Row - Wrap RawExecuteSqlResponse with convenient parsing methods
  • SqlHints - Kinetica-specific execution options and inline hints
  • BatchingSqlClient - Routes INSERT statements through BulkInserter

Quick Start

Result Parsing

Re-exports

pub use crate::sql_insert_parser::parse_insert_statement;
pub use crate::sql_insert_parser::parse_sql_value_to_record_value;
pub use crate::sql_insert_parser::ParsedInsert;

Structs

A SQL client that automatically batches INSERT statements for high-performance bulk loading.
Statistics from batched SQL execution
Statistics from a paginated query execution
A single row from a SQL result set.
High-level SQL client that wraps Kinetica with result parsing.
SQL hints that can be embedded in statements or passed as execute_sql options.
Wrapper around RawExecuteSqlResponse with convenient parsing methods.

Enums

Error type for SQL operations

Type Aliases

Type alias for SQL operation results