Class FileReftableStack.Segment

  • Enclosing class:
    FileReftableStack

    static class FileReftableStack.Segment
    extends java.lang.Object
    A segment is a consecutive list of reftables of the same approximate size.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long bytes  
      (package private) int end  
      (package private) int log  
      (package private) int start  
    • Constructor Summary

      Constructors 
      Constructor Description
      Segment()  
      Segment​(int start, int end, int log, long bytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      (package private) int size()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • log

        int log
      • bytes

        long bytes
      • start

        int start
      • end

        int end
    • Constructor Detail

      • Segment

        Segment​(int start,
                int end,
                int log,
                long bytes)
      • Segment

        Segment()
    • Method Detail

      • size

        int size()
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object