Uses of Enum
com.clickhouse.client.ClickHouseProtocol
Packages that use ClickHouseProtocol
Package
Description
Provides necessary classes to communicate with ClickHouse server.
-
Uses of ClickHouseProtocol in com.clickhouse.client
Fields in com.clickhouse.client declared as ClickHouseProtocolMethods in com.clickhouse.client that return ClickHouseProtocolModifier and TypeMethodDescriptionstatic ClickHouseProtocolClickHouseProtocol.fromUriScheme(String scheme) Deprecated.Gets most suitable protocol according to given URI scheme.protected ClickHouseProtocolClickHouseNode.Builder.getProtocol()ClickHouseNode.getProtocol()Deprecated.Gets protocol used by the node.UnsupportedProtocolException.getProtocol()Deprecated.static ClickHouseProtocolDeprecated.Returns the enum constant of this type with the specified name.static ClickHouseProtocol[]ClickHouseProtocol.values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.clickhouse.client that return types with arguments of type ClickHouseProtocolModifier and TypeMethodDescriptionClickHouseConfig.getPreferredProtocols()Deprecated.ClickHouseNodeSelector.getPreferredProtocols()Deprecated.Gets preferred protocols.protected abstract Collection<ClickHouseProtocol>AbstractClient.getSupportedProtocols()Deprecated.Gets list of supported protocols.Methods in com.clickhouse.client with parameters of type ClickHouseProtocolModifier and TypeMethodDescriptionbooleanAbstractClient.accept(ClickHouseProtocol protocol) Deprecated.default booleanClickHouseClient.accept(ClickHouseProtocol protocol) Deprecated.Tests whether the given protocol is supported or not.ClickHouseNode.Builder.address(ClickHouseProtocol protocol, InetSocketAddress address) Sets protocol and socket address.booleanClickHouseNodeSelector.matchAnyOfPreferredProtocols(ClickHouseProtocol protocol) Deprecated.Checks if the given protocol matches any of the preferred protocols.static ClickHouseClientClickHouseClient.newInstance(ClickHouseCredentials defaultCredentials, ClickHouseProtocol... preferredProtocols) Deprecated.Creates a new instance with default credentials compatible with any of the given protocols.static ClickHouseClientClickHouseClient.newInstance(ClickHouseProtocol... preferredProtocols) Deprecated.Creates a new instance compatible with any of the given protocols.static ClickHouseNodeClickHouseNode.of(String host, ClickHouseProtocol protocol, int port, String database, String... tags) Deprecated.Creates a node object in one go.static ClickHouseNodeSelectorClickHouseNodeSelector.of(ClickHouseProtocol protocol, ClickHouseProtocol... more) Deprecated.Creates a node selector by specifying preferred protocols.ClickHouseNode.Builder.port(ClickHouseProtocol protocol) Sets protocol used by the port.ClickHouseNode.Builder.port(ClickHouseProtocol protocol, Integer port) Sets protocol and port number.ClickHouseDnsResolver.resolve(ClickHouseProtocol protocol, String host, int port) Deprecated.Method parameters in com.clickhouse.client with type arguments of type ClickHouseProtocolModifier and TypeMethodDescriptionstatic ClickHouseNodeSelectorClickHouseNodeSelector.of(Collection<ClickHouseProtocol> protocols, Collection<String> tags) Deprecated.Creates a node selector by specifying preferred protocols and tags.Constructors in com.clickhouse.client with parameters of type ClickHouseProtocolModifierConstructorDescriptionprotectedClickHouseNode(String host, ClickHouseProtocol protocol, int port, ClickHouseCredentials credentials, Map<String, String> options, Set<String> tags) Deprecated.UnsupportedProtocolException(ClickHouseProtocol protocol, String errorMessage) Deprecated.Constructor parameters in com.clickhouse.client with type arguments of type ClickHouseProtocolModifierConstructorDescriptionprotectedClickHouseNodeSelector(Collection<ClickHouseProtocol> protocols, Collection<String> tags) Deprecated.Default constructor.