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()
Returns the cluster definition
|
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
|
Client(Cluster cluster,
org.apache.hadoop.conf.Configuration conf,
boolean sslEnabled)
Constructor
|
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)
|
Client(Cluster cluster,
String trustStorePath,
Optional<String> trustStorePassword,
Optional<String> trustStoreType)
Constructor, allowing to define custom trust store (only for SSL connections)
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.