public class KyuubiRestClient extends Object implements AutoCloseable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
KyuubiRestClient.ApiVersion
Specifies the version of the Kyuubi API to communicate with.
|
static class |
KyuubiRestClient.AuthHeaderMethod |
static class |
KyuubiRestClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KyuubiRestClient.Builder |
builder(List<String> hostUrls) |
static KyuubiRestClient.Builder |
builder(String... hostUrls) |
static KyuubiRestClient.Builder |
builder(String hostUrl) |
KyuubiRestClient |
clone() |
void |
close() |
String |
getAuthHeader() |
RestClientConf |
getConf() |
List<String> |
getHostUrls() |
IRestClient |
getHttpClient() |
void |
setHostUrls(List<String> hostUrls) |
void |
setHostUrls(String... hostUrls) |
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic KyuubiRestClient clone()
public void setHostUrls(String... hostUrls)
public String getAuthHeader()
public IRestClient getHttpClient()
public RestClientConf getConf()
public static KyuubiRestClient.Builder builder(String hostUrl)
public static KyuubiRestClient.Builder builder(String... hostUrls)
public static KyuubiRestClient.Builder builder(List<String> hostUrls)
Copyright © 2023 The Apache Software Foundation. All rights reserved.