diff --git a/docs/interpreter/jdbc.md b/docs/interpreter/jdbc.md index 72963c092b3..d3104cb9d5d 100644 --- a/docs/interpreter/jdbc.md +++ b/docs/interpreter/jdbc.md @@ -269,38 +269,76 @@ To develop this functionality use this [method](http://docs.oracle.com/javase/7/ ### Phoenix -#### Properties + + Phoenix supports `thick` and `thin` connection types: + + - Thick client is faster, but must connect directly to ZooKeeper and HBase RegionServers. + - Thin client has fewer dependencies and connects through a [Phoenix Query Server](http://phoenix.apache.org/server.html) instance. + +Use the appropriate `phoenix.driver` and `phoenix.url` for your connection type. + +#### Properties: + + + + + + + + + + + + + + +
Name ValueDescription
phoenix.driver org.apache.phoenix.jdbc.PhoenixDriver'Thick Client', connects directly to Phoenix
phoenix.driverorg.apache.phoenix.queryserver.client.Driver'Thin Client', connects via Phoenix Query Server
phoenix.url jdbc:phoenix:localhost:2181:/hbase-unsecure'Thick Client', connects directly to Phoenix
phoenix.urljdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF'Thin Client', connects via Phoenix Query Server
phoenix.user phoenix_user
phoenix.password phoenix_password
-#### Dependencies +#### Dependencies: + + Include the dependency for your connection type (it should be only *one* of the following). + + + + + + + + + + + + +
Artifact ExcludesDescription
org.apache.phoenix:phoenix-core:4.4.0-HBase-1.0 'Thick Client', connects directly to Phoenix
org.apache.phoenix:phoenix-server-client:4.7.0-HBase-1.1'Thin Client' for Phoenix 4.7, connects via Phoenix Query Server
org.apache.phoenix:phoenix-queryserver-client:4.8.0-HBase-1.2'Thin Client' for Phoenix 4.8+, connects via Phoenix Query Server