public class ApiClient extends Object
Constructor and Description |
---|
ApiClient() |
ApiClient(DatabricksConfig config) |
ApiClient(DatabricksConfig config,
Timer timer) |
Modifier and Type | Method and Description |
---|---|
String |
configuredAccountID() |
<I,O> O |
DELETE(String path,
I in,
Class<O> target,
Map<String,String> headers) |
<T> T |
deserialize(InputStream body,
Class<T> target) |
<T> T |
deserialize(InputStream body,
com.fasterxml.jackson.databind.JavaType target) |
<O> O |
GET(String path,
Class<O> target,
Map<String,String> headers) |
<I,O> O |
GET(String path,
I in,
Class<O> target,
Map<String,String> headers) |
<I,O> Collection<O> |
getCollection(String path,
I in,
Class<O> element,
Map<String,String> headers) |
<I> Map<String,String> |
getStringMap(String path,
I in,
Map<String,String> headers) |
<I,O> O |
PATCH(String path,
I in,
Class<O> target,
Map<String,String> headers) |
<I,O> O |
POST(String path,
I in,
Class<O> target,
Map<String,String> headers) |
<I,O> O |
PUT(String path,
I in,
Class<O> target,
Map<String,String> headers) |
protected <I,O> O |
withJavaType(String path,
I in,
com.fasterxml.jackson.databind.JavaType javaType,
Map<String,String> headers) |
public ApiClient()
public ApiClient(DatabricksConfig config)
public ApiClient(DatabricksConfig config, Timer timer)
public String configuredAccountID()
public <I,O> Collection<O> getCollection(String path, I in, Class<O> element, Map<String,String> headers)
public <I> Map<String,String> getStringMap(String path, I in, Map<String,String> headers)
protected <I,O> O withJavaType(String path, I in, com.fasterxml.jackson.databind.JavaType javaType, Map<String,String> headers)
public <T> T deserialize(InputStream body, Class<T> target) throws IOException
IOException
public <T> T deserialize(InputStream body, com.fasterxml.jackson.databind.JavaType target) throws IOException
IOException
Copyright © 2023. All rights reserved.