Package alluxio.file

Class FileId


  • public abstract class FileId
    extends java.lang.Object
    Opaque file identifiers, which are typically a long or a string-based ID. File IDs can be used as keys of a map.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FileId of​(long fileId)
      Gets a long-based file ID.
      static FileId of​(java.lang.String fileId)
      Gets a String-based file ID.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static FileId of​(long fileId)
        Gets a long-based file ID.
        Parameters:
        fileId - the file ID
        Returns:
        file ID
      • of

        public static FileId of​(java.lang.String fileId)
        Gets a String-based file ID.
        Parameters:
        fileId - the file ID
        Returns:
        file ID