Class PageEncodingStats

    • Field Detail

      • page_type

        public PageType page_type
        the page type (data/dic/...) *
        See Also:
        PageType
      • count

        public int count
        number of pages of this type with this encoding *
    • Constructor Detail

      • PageEncodingStats

        public PageEncodingStats()
      • PageEncodingStats

        public PageEncodingStats​(PageType page_type,
                                 Encoding encoding,
                                 int count)
      • PageEncodingStats

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

      • getPage_type

        public PageType getPage_type()
        the page type (data/dic/...) *
        See Also:
        PageType
      • unsetPage_type

        public void unsetPage_type()
      • isSetPage_type

        public boolean isSetPage_type()
        Returns true if field page_type is set (has been assigned a value) and false otherwise
      • setPage_typeIsSet

        public void setPage_typeIsSet​(boolean value)
      • getEncoding

        public Encoding getEncoding()
        encoding of the page *
        See Also:
        Encoding
      • unsetEncoding

        public void unsetEncoding()
      • isSetEncoding

        public boolean isSetEncoding()
        Returns true if field encoding is set (has been assigned a value) and false otherwise
      • setEncodingIsSet

        public void setEncodingIsSet​(boolean value)
      • getCount

        public int getCount()
        number of pages of this type with this encoding *
      • setCount

        public PageEncodingStats setCount​(int count)
        number of pages of this type with this encoding *
      • unsetCount

        public void unsetCount()
      • isSetCount

        public boolean isSetCount()
        Returns true if field count is set (has been assigned a value) and false otherwise
      • setCountIsSet

        public void setCountIsSet​(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