Package com.clickhouse.client
package com.clickhouse.client
Provides necessary classes to communicate with ClickHouse server.
-
ClassDescriptionBase class for implementing a thread-safe ClickHouse client.A unified interface defines Java client for ClickHouse.Builder class for creating
ClickHouseClient
.An immutable class holding client-specific options likeClickHouseCredentials
andClickHouseNodeSelector
etc.This encapsulates access token, certificate or user name password combination for accessing ClickHouse.Default DNS resolver.Exception thrown from ClickHouse server.Load balancing policy.This class depicts a ClickHouse server, essentially a combination of host, port and protocol, for client to connect.Mutable and non-thread safe builder.Node status.Node manager is responsible for managing list of nodes and their status.A generic node manager for managing one or more nodes which may or may not belong to same cluster.This class maintains two immutable collections: preferred protocols and tags.A parameterized query is a parsed query with parameters being extracted for substitution.A part of query.This defines protocols can be used to connect to ClickHouse.ClickHouseRequest<SelfT extends ClickHouseRequest<SelfT>>Request object holding references toClickHouseClient
,ClickHouseNode
, format, sql, options and settings etc.Mutation request.Request manager is responsible for generating query and session ID, as well as transaction creation.This encapsulates a server reponse.Summary of ClickHouse response.Progress of a query.Statistics of a query.A simple response built on top of two lists: columns and records.Generic factory interface for creating sockets used by the TCP and Apache Http clients.This interface defines how to build SSL context based on given configuration and target server.A stream response from server.This class represents a transaction in ClickHouse.This class encapsulates transaction ID, which is defined asTuple(snapshotVersion UInt64, localTxCounter UInt64, hostId UUID)
.