public abstract static class URIHandler.Context extends java.lang.Object
| Constructor and Description |
|---|
URIHandler.Context(org.apache.hadoop.conf.Configuration conf,
java.lang.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
|
java.lang.String |
getUser()
Get the name of the user the URI will be accessed as
|
public URIHandler.Context(org.apache.hadoop.conf.Configuration conf, java.lang.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 java.lang.String getUser()
public void destroy()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.