FlightSqlConfig

@Serializable
data class FlightSqlConfig(var host: String = "127.0.0.1", var port: Int = 0, var transactionIdleTimeout: Duration = Duration.ofMinutes(30), var preparedStatementIdleTimeout: Duration = Duration.ofMinutes(30), var sessionIdleTimeout: Duration = Duration.ofMinutes(30), var sessionUnclaimedTimeout: Duration = Duration.ofMinutes(1))

Constructors

Link copied to clipboard
constructor(host: String = "127.0.0.1", port: Int = 0, transactionIdleTimeout: Duration = Duration.ofMinutes(30), preparedStatementIdleTimeout: Duration = Duration.ofMinutes(30), sessionIdleTimeout: Duration = Duration.ofMinutes(30), sessionUnclaimedTimeout: Duration = Duration.ofMinutes(1))

Properties

Link copied to clipboard
Link copied to clipboard
var port: Int
Link copied to clipboard

Functions

Link copied to clipboard

Host on which to start the Flight SQL server.

Link copied to clipboard

Port on which to start the Flight SQL server.

Link copied to clipboard

How long a prepared statement may go without a call naming its handle before it is closed. Advertised to clients as FLIGHT_SQL_SERVER_STATEMENT_TIMEOUT.

Link copied to clipboard

How long a session may go without a call presenting its cookie before it is closed, with its connections.

Link copied to clipboard

How long a session minted for a call without a session cookie lasts if no later call presents its cookie.

Link copied to clipboard

How long a Flight SQL transaction may go without a call naming its handle before it is rolled back. Advertised to clients as FLIGHT_SQL_SERVER_TRANSACTION_TIMEOUT.