public class DatabricksRestClientImpl extends AbstractDatabricksRestClientImpl
apiVersion, client, host, mapper, url| Constructor and Description |
|---|
DatabricksRestClientImpl(DatabricksServiceFactory.Builder builder,
HttpClientBuilderFactory clientFactory,
String apiVersion)
Constructs a rest client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initClient(HttpClientBuilderFactory httpClientBuilderFactory) |
byte[] |
performQuery(RequestMethod requestMethod,
String path)
Performs the given query with no parameters
|
byte[] |
performQuery(RequestMethod requestMethod,
String path,
Map<String,Object> data)
Performs the given query.
|
extractContent, getHost, makeCommands, makeDeleteMethod, makeGetMethod, makeHttpMethod, makePatchMethod, makePostMethod, makePutMethod, makeStringRequestEntitypublic DatabricksRestClientImpl(DatabricksServiceFactory.Builder builder, HttpClientBuilderFactory clientFactory, String apiVersion)
protected void initClient(HttpClientBuilderFactory httpClientBuilderFactory)
public byte[] performQuery(RequestMethod requestMethod, String path) throws DatabricksRestException
DatabricksRestClientrequestMethod - Type of request method. Only supports GET and POST methods.path - Path of the request URLDatabricksRestExceptionpublic byte[] performQuery(RequestMethod requestMethod, String path, Map<String,Object> data) throws DatabricksRestException
DatabricksRestClientrequestMethod - Type of request method. Only supports GET and POST methods.path - Path of the request URLdata - Any data needed for the requestDatabricksRestExceptionCopyright © 2023. All rights reserved.