Package alluxio.uri

Class MultiPartSchemeURI

    • Constructor Detail

      • MultiPartSchemeURI

        public MultiPartSchemeURI​(java.lang.String schemePrefix,
                                  java.lang.String scheme,
                                  Authority authority,
                                  java.lang.String path,
                                  java.lang.String query)
        Parameters:
        schemePrefix - the prefix of the scheme string of the URI
        scheme - the scheme string of the URI
        authority - the Authority of the URI
        path - the path component of the URI
        query - the query component of the URI
      • MultiPartSchemeURI

        protected MultiPartSchemeURI​(URI baseUri,
                                     java.lang.String fullScheme,
                                     java.lang.String newPath)
        Constructs a new URI from a base URI, but with a new path component.
        Parameters:
        baseUri - the base uri
        fullScheme - the full scheme
        newPath - the new path component
    • Method Detail

      • createNewPath

        public URI createNewPath​(java.lang.String newPath,
                                 boolean checkNormalization)
        Specified by:
        createNewPath in interface URI
        Overrides:
        createNewPath in class StandardURI
        Parameters:
        newPath - the new path component
        checkNormalization - if true, will check if the path requires normalization
        Returns:
        a new URI based off of this URI, but with a new path component
      • getScheme

        public java.lang.String getScheme()
        Specified by:
        getScheme in interface URI
        Overrides:
        getScheme in class StandardURI
        Returns:
        the scheme of the URI, null if there is no scheme
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class StandardURI