Package | Description |
---|---|
org.apache.hadoop.hbase.rest.client |
Modifier and Type | Method and Description |
---|---|
Cluster |
Cluster.add(String node)
Add a node to the cluster
|
Cluster |
Cluster.add(String name,
int port)
Add a node to the cluster
|
Cluster |
Client.getCluster() |
Cluster |
Cluster.remove(String node)
Remove a node from the cluster
|
Cluster |
Cluster.remove(String name,
int port)
Remove a node from the cluster
|
Modifier and Type | Method and Description |
---|---|
Response |
Client.delete(Cluster cluster,
String path)
Send a DELETE request
|
Response |
Client.delete(Cluster cluster,
String path,
org.apache.http.Header extraHdr)
Send a DELETE request
|
org.apache.http.HttpResponse |
Client.execute(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(Cluster cluster,
org.apache.http.client.methods.HttpUriRequest method,
org.apache.http.Header[] headers,
String path)
Execute a transaction method given only the path.
|
Response |
Client.get(Cluster cluster,
String path)
Send a GET request
|
Response |
Client.get(Cluster c,
String path,
org.apache.http.Header[] headers)
Send a GET request
|
Response |
Client.get(Cluster cluster,
String path,
String accept)
Send a GET request
|
Response |
Client.head(Cluster cluster,
String path,
org.apache.http.Header[] headers)
Send a HEAD request
|
Response |
Client.post(Cluster cluster,
String path,
org.apache.http.Header[] headers,
byte[] content)
Send a POST request
|
Response |
Client.post(Cluster cluster,
String path,
String contentType,
byte[] content)
Send a POST request
|
Response |
Client.post(Cluster cluster,
String path,
String contentType,
byte[] content,
org.apache.http.Header extraHdr)
Send a POST request
|
Response |
Client.put(Cluster cluster,
String path,
org.apache.http.Header[] headers,
byte[] content)
Send a PUT request
|
Response |
Client.put(Cluster cluster,
String path,
String contentType,
byte[] content)
Send a PUT request
|
Response |
Client.put(Cluster cluster,
String path,
String contentType,
byte[] content,
org.apache.http.Header extraHdr)
Send a PUT request
|
void |
Client.setCluster(Cluster cluster) |
Constructor and Description |
---|
Client(Cluster cluster)
Constructor
|
Client(Cluster cluster,
boolean sslEnabled)
Constructor
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.