public static class ThriftConnection.HTTPThriftClientBuilder extends ThriftClientBuilder
Modifier and Type | Field and Description |
---|---|
(package private) Map<String,String> |
customHeader |
connection
Constructor and Description |
---|
HTTPThriftClientBuilder(ThriftConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
addCostumHeader(String key,
String value) |
Pair<org.apache.hadoop.hbase.thrift2.generated.THBaseService.Client,org.apache.thrift.transport.TTransport> |
getClient() |
Map<String,String> customHeader
public HTTPThriftClientBuilder(ThriftConnection connection)
public void addCostumHeader(String key, String value)
public Pair<org.apache.hadoop.hbase.thrift2.generated.THBaseService.Client,org.apache.thrift.transport.TTransport> getClient() throws IOException
getClient
in class ThriftClientBuilder
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.