Class TCompactionStats

    • Field Detail

      • entriesRead

        public long entriesRead
      • entriesWritten

        public long entriesWritten
      • fileSize

        public long fileSize
    • Constructor Detail

      • TCompactionStats

        public TCompactionStats()
      • TCompactionStats

        public TCompactionStats​(long entriesRead,
                                long entriesWritten,
                                long fileSize)
      • TCompactionStats

        public TCompactionStats​(TCompactionStats other)
        Performs a deep copy on other.
    • Method Detail

      • getEntriesRead

        public long getEntriesRead()
      • unsetEntriesRead

        public void unsetEntriesRead()
      • isSetEntriesRead

        public boolean isSetEntriesRead()
        Returns true if field entriesRead is set (has been assigned a value) and false otherwise
      • setEntriesReadIsSet

        public void setEntriesReadIsSet​(boolean value)
      • getEntriesWritten

        public long getEntriesWritten()
      • setEntriesWritten

        public TCompactionStats setEntriesWritten​(long entriesWritten)
      • unsetEntriesWritten

        public void unsetEntriesWritten()
      • isSetEntriesWritten

        public boolean isSetEntriesWritten()
        Returns true if field entriesWritten is set (has been assigned a value) and false otherwise
      • setEntriesWrittenIsSet

        public void setEntriesWrittenIsSet​(boolean value)
      • getFileSize

        public long getFileSize()
      • unsetFileSize

        public void unsetFileSize()
      • isSetFileSize

        public boolean isSetFileSize()
        Returns true if field fileSize is set (has been assigned a value) and false otherwise
      • setFileSizeIsSet

        public void setFileSizeIsSet​(boolean value)
      • hashCode

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

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException