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 "hdfs:" scheme.
  • Field Details

    • SCHEME_NAMES

      public static final String[] SCHEME_NAMES
    • fileSystem

      protected org.apache.hadoop.fs.FileSystem fileSystem
    • xschemeNames

      protected String[] xschemeNames
  • Constructor Details

    • LocatorHdfs

      public LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem)
    • LocatorHdfs

      public LocatorHdfs(org.apache.hadoop.fs.FileSystem fileSystem, String[] schemeNames)
  • Method Details

    • log

      protected org.slf4j.Logger log()
      Specified by:
      log in class org.apache.jena.riot.system.stream.LocatorURL
    • performOpen

      public org.apache.jena.atlas.web.TypedInputStream performOpen(String uri)
      Specified by:
      performOpen in class org.apache.jena.riot.system.stream.LocatorURL
    • getName

      public String getName()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.jena.riot.system.stream.LocatorURL