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
|
int |
Client.execute(Cluster cluster,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.Header[] headers,
String path)
Execute a transaction method.
|
int |
Client.executePathOnly(Cluster cluster,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.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.commons.httpclient.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.commons.httpclient.Header[] headers)
Send a HEAD request
|
Response |
Client.post(Cluster cluster,
String path,
org.apache.commons.httpclient.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.put(Cluster cluster,
String path,
org.apache.commons.httpclient.Header[] headers,
byte[] content)
Send a PUT request
|
Response |
Client.put(Cluster cluster,
String path,
String contentType,
byte[] content)
Send a PUT request
|
void |
Client.setCluster(Cluster cluster) |
Constructor and Description |
---|
Client(Cluster cluster)
Constructor
|
Client(Cluster cluster,
boolean sslEnabled)
Constructor
|
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.