public interface QdsClient extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClusterApi |
cluster()
Return cluster api factory
|
CommandApi |
command()
Return command api factory
|
DbTapApi |
dbTaps()
Return DbTaps api factory
|
HiveMetadataApi |
hiveMetadata()
Return hive metadata api factory
|
<T> Future<T> |
invokeRequest(ForPage forPage,
RequestDetails requestDetails,
Class<T> responseType,
String... additionalPaths)
Low-level request invoker.
|
<T> Future<T> |
invokeRequest(ForPage forPage,
RequestDetails requestDetails,
javax.ws.rs.core.GenericType<T> responseType,
String... additionalPaths)
Low-level request invoker.
|
<T> Future<T> |
invokeRequest(ForPage forPage,
RequestDetails requestDetails,
javax.ws.rs.client.InvocationCallback<T> callback,
String... additionalPaths)
Low-level request invoker.
|
NotebookAPI |
notebook()
Return notebook api factory
|
ReportApi |
report()
Return report api factory
|
SchedulerApi |
scheduler()
Return scheduler api factory
|
AppApi |
sparkJobServerApp()
Return spark job server apps api factory
|
ClusterApi cluster()
CommandApi command()
HiveMetadataApi hiveMetadata()
DbTapApi dbTaps()
ReportApi report()
SchedulerApi scheduler()
AppApi sparkJobServerApp()
NotebookAPI notebook()
<T> Future<T> invokeRequest(ForPage forPage, RequestDetails requestDetails, Class<T> responseType, String... additionalPaths)
forPage
- paging info or nullrequestDetails
- request entity or nullresponseType
- type of the responseadditionalPaths
- additional path components<T> Future<T> invokeRequest(ForPage forPage, RequestDetails requestDetails, javax.ws.rs.core.GenericType<T> responseType, String... additionalPaths)
forPage
- paging info or nullrequestDetails
- request entity or nullresponseType
- type of the responseadditionalPaths
- additional path components<T> Future<T> invokeRequest(ForPage forPage, RequestDetails requestDetails, javax.ws.rs.client.InvocationCallback<T> callback, String... additionalPaths)
forPage
- paging info or nullrequestDetails
- request entity or nullcallback
- response callbackadditionalPaths
- additional path componentsvoid close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2020. All rights reserved.