public class KyuubiRestClient extends Object implements AutoCloseable, Cloneable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
KyuubiRestClient.ApiVersion
Specifies the version of the Kyuubi API to communicate with.
|
static class |
KyuubiRestClient.AuthHeaderMethod |
static class |
KyuubiRestClient.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
IRestClient |
getHttpClient() |
void |
setHostUrls(List<String> hostUrls) |
void |
setHostUrls(String... hostUrls) |
public void close()
throws Exception
close 在接口中 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 © 2022 The Apache Software Foundation. All rights reserved.