public abstract static class URIHandler.Context extends Object
| Constructor and Description |
|---|
URIHandler.Context(org.apache.hadoop.conf.Configuration conf,
String user)
Create a Context that can be used to access a URI
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the Context
|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Get the Configuration to access the URI
|
String |
getUser()
Get the name of the user the URI will be accessed as
|
public URIHandler.Context(org.apache.hadoop.conf.Configuration conf, String user)
conf - Configuration to access the URIuser - name of the user the URI should be accessed aspublic org.apache.hadoop.conf.Configuration getConfiguration()
public String getUser()
public void destroy()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.