java.lang.Object
io.datarouter.filesystem.snapshot.storage.file.FileKey

public class FileKey
extends Object
  • Field Details

    • type

      public final BlockType type
    • level

      public final int level
    • column

      public final int column
    • fileId

      public final int fileId
  • Constructor Details

    • FileKey

      public FileKey​(BlockType type, int level, int column, int fileId)
  • Method Details

    • root

      public static FileKey root()
    • branch

      public static FileKey branch​(int level, int fileId)
    • leaf

      public static FileKey leaf​(int fileId)
    • value

      public static FileKey value​(int column, int fileId)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object