Class TCompactionStatusUpdate

    • Constructor Detail

      • TCompactionStatusUpdate

        public TCompactionStatusUpdate()
      • TCompactionStatusUpdate

        public TCompactionStatusUpdate​(TCompactionState state,
                                       String message,
                                       long entriesToBeCompacted,
                                       long entriesRead,
                                       long entriesWritten)
      • TCompactionStatusUpdate

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

      • unsetState

        public void unsetState()
      • isSetState

        public boolean isSetState()
        Returns true if field state is set (has been assigned a value) and false otherwise
      • setStateIsSet

        public void setStateIsSet​(boolean value)
      • getMessage

        public String getMessage()
      • unsetMessage

        public void unsetMessage()
      • isSetMessage

        public boolean isSetMessage()
        Returns true if field message is set (has been assigned a value) and false otherwise
      • setMessageIsSet

        public void setMessageIsSet​(boolean value)
      • getEntriesToBeCompacted

        public long getEntriesToBeCompacted()
      • unsetEntriesToBeCompacted

        public void unsetEntriesToBeCompacted()
      • isSetEntriesToBeCompacted

        public boolean isSetEntriesToBeCompacted()
        Returns true if field entriesToBeCompacted is set (has been assigned a value) and false otherwise
      • setEntriesToBeCompactedIsSet

        public void setEntriesToBeCompactedIsSet​(boolean value)
      • 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()
      • 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)
      • 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