Class LocatorHdfs
- java.lang.Object
-
- org.apache.jena.riot.system.stream.LocatorURL
-
- net.sansa_stack.hadoop.jena.locator.LocatorHdfs
-
- All Implemented Interfaces:
org.apache.jena.riot.system.stream.Locator
public class LocatorHdfs extends org.apache.jena.riot.system.stream.LocatorURL
Support for resources using the "http:" and "https" schemes
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.hadoop.fs.FileSystem
fileSystem
static String[]
SCHEME_NAMES
protected String[]
xschemeNames
-
Constructor Summary
Constructors Constructor Description LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem)
LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem, String[] schemeNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
int
hashCode()
protected org.slf4j.Logger
log()
org.apache.jena.atlas.web.TypedInputStream
performOpen(String uri)
-
-
-
Constructor Detail
-
LocatorHdfs
public LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem)
-
LocatorHdfs
public LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem, String[] schemeNames)
-
-
Method Detail
-
log
protected org.slf4j.Logger log()
- Specified by:
log
in classorg.apache.jena.riot.system.stream.LocatorURL
-
performOpen
public org.apache.jena.atlas.web.TypedInputStream performOpen(String uri)
- Specified by:
performOpen
in classorg.apache.jena.riot.system.stream.LocatorURL
-
getName
public String getName()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.jena.riot.system.stream.LocatorURL
-
-