Class ThriftConnection.DefaultThriftClientBuilder
java.lang.Object
org.apache.hadoop.hbase.thrift2.client.ThriftClientBuilder
org.apache.hadoop.hbase.thrift2.client.ThriftConnection.DefaultThriftClientBuilder
- Enclosing class:
- ThriftConnection
the default thrift client builder. One can extend the ThriftClientBuilder to builder custom
client, implement features like authentication(hbase-examples/thrift/DemoClient)
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.thrift2.client.ThriftClientBuilder
connection
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultThriftClientBuilder
-
-
Method Details
-
getClient
public Pair<org.apache.hadoop.hbase.thrift2.generated.THBaseService.Client,org.apache.thrift.transport.TTransport> getClient() throws IOException- Specified by:
getClient
in classThriftClientBuilder
- Throws:
IOException
-