org.apache.hadoop.hbase.rest.client.Cluster
Add a node to the cluster
org.apache.hadoop.hbase.rest.client.Cluster
Cluster.add(String name,
int port)
Add a node to the cluster
org.apache.hadoop.hbase.rest.client.Cluster
Client.getCluster()
Returns the cluster definition
org.apache.hadoop.hbase.rest.client.Cluster
Remove a node from the cluster
org.apache.hadoop.hbase.rest.client.Cluster
Cluster.remove(String name,
int port)
Remove a node from the cluster
org.apache.hadoop.hbase.rest.client.Response
Client.delete(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path)
org.apache.hadoop.hbase.rest.client.Response
Client.delete(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
org.apache.http.Header extraHdr)
org.apache.http.HttpResponse
Client.execute(org.apache.hadoop.hbase.rest.client.Cluster cluster,
org.apache.http.client.methods.HttpUriRequest method,
org.apache.http.Header[] headers,
String path)
Execute a transaction method.
org.apache.http.HttpResponse
Client.executePathOnly(org.apache.hadoop.hbase.rest.client.Cluster cluster,
org.apache.http.client.methods.HttpUriRequest method,
org.apache.http.Header[] headers,
String path)
Execute a transaction method given only the path.
org.apache.hadoop.hbase.rest.client.Response
Client.get(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path)
org.apache.hadoop.hbase.rest.client.Response
Client.get(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
String accept)
org.apache.hadoop.hbase.rest.client.Response
Client.get(org.apache.hadoop.hbase.rest.client.Cluster c,
String path,
org.apache.http.Header[] headers)
org.apache.hadoop.hbase.rest.client.Response
Client.head(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
org.apache.http.Header[] headers)
org.apache.hadoop.hbase.rest.client.Response
Client.post(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
String contentType,
byte[] content)
org.apache.hadoop.hbase.rest.client.Response
Client.post(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
String contentType,
byte[] content,
org.apache.http.Header extraHdr)
org.apache.hadoop.hbase.rest.client.Response
Client.post(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
org.apache.http.Header[] headers,
byte[] content)
org.apache.hadoop.hbase.rest.client.Response
Client.put(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
String contentType,
byte[] content)
org.apache.hadoop.hbase.rest.client.Response
Client.put(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
String contentType,
byte[] content,
org.apache.http.Header extraHdr)
org.apache.hadoop.hbase.rest.client.Response
Client.put(org.apache.hadoop.hbase.rest.client.Cluster cluster,
String path,
org.apache.http.Header[] headers,
byte[] content)
void
Client.setCluster(org.apache.hadoop.hbase.rest.client.Cluster cluster)
Client(org.apache.hadoop.hbase.rest.client.Cluster cluster)
Constructor This constructor will create an object using the old faulty load balancing logic.
Client(org.apache.hadoop.hbase.rest.client.Cluster cluster,
boolean sslEnabled)
Constructor This constructor will create an object using the old faulty load balancing logic.
Constructor, allowing to define custom trust store (only for SSL connections) This constructor
will create an object using the old faulty load balancing logic.
Client(org.apache.hadoop.hbase.rest.client.Cluster cluster,
org.apache.hadoop.conf.Configuration conf,
boolean sslEnabled)
Constructor This constructor will create an object using the old faulty load balancing logic.
Constructor that accepts an optional trustStore and authentication information for either BASIC
or BEARER authentication in sticky mode, which does not use the old faulty load balancing
logic, and enables correct session handling.
Client(org.apache.hadoop.hbase.rest.client.Cluster cluster,
org.apache.hadoop.conf.Configuration conf,
String trustStorePath,
Optional<String> trustStorePassword,
Optional<String> trustStoreType)
Constructor, allowing to define custom trust store (only for SSL connections).