Class 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 Detail

      • SCHEME_NAMES

        public static final String[] SCHEME_NAMES
      • fileSystem

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

        protected String[] xschemeNames
    • 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 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