@Deprecated public class ADLSHandler extends AbstractWranglerHandler
AbstractWranglerHandler.NamespacedResponder<T>, AbstractWranglerHandler.NamespacedResponderRunnable| Constructor and Description |
|---|
ADLSHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
listADLSDirectory(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
String namespace,
String connectionId,
String path)
Deprecated.
Lists ADLS directory's contents for the given prefix path.
|
void |
loadADLSFile(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
String namespace,
String connectionId,
String filePath,
int lines,
String sampler,
double fraction,
String scope)
Deprecated.
Reads ADLS file into workspace
|
void |
specification(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
String namespace,
String connectionId,
String path,
String workspaceId)
Deprecated.
Specification for the source.
|
void |
testADLSConnection(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
String namespace)
Deprecated.
Tests ADLS Connection.
|
getConnection, getValidatedConnection, getValidatedConnection, getWorkspace, respond, respond, respond, shouldCopyHeadercreateTableconfigure, configure, destroy, getConfigurer, getContext, initialize, setPropertiesusePlugin, usePlugin, usePluginClass, usePluginClass@POST
@Path(value="contexts/{context}/connections/adls/test")
public void testADLSConnection(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
@PathParam(value="context")
String namespace)
request - HTTP Request handler.responder - HTTP Response handler.@GET
@Path(value="contexts/{context}/connections/{connection-id}/adls/explore")
public void listADLSDirectory(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
@PathParam(value="context")
String namespace,
@PathParam(value="connection-id")
String connectionId,
@Nullable @QueryParam(value="path")
String path)
request - HTTP Request handler.responder - HTTP Response handler.@POST
@Path(value="contexts/{context}/connections/{connection-id}/adls/read")
public void loadADLSFile(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
@PathParam(value="context")
String namespace,
@PathParam(value="connection-id")
String connectionId,
@QueryParam(value="path")
String filePath,
@QueryParam(value="lines")
int lines,
@QueryParam(value="sampler")
String sampler,
@QueryParam(value="fraction")
double fraction,
@QueryParam(value="scope") @DefaultValue(value="default")
String scope)
request - HTTP Request handler.responder - HTTP Response handler.@Path(value="contexts/{context}/connections/{connection-id}/adls/specification")
@GET
public void specification(io.cdap.cdap.api.service.http.HttpServiceRequest request,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
@PathParam(value="context")
String namespace,
@PathParam(value="connection-id")
String connectionId,
@QueryParam(value="path")
String path,
@QueryParam(value="wid")
String workspaceId)
request - HTTP request handler.responder - HTTP response handler.Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.