Class DictionaryPageHeader

    • Field Detail

      • num_values

        public int num_values
        Number of values in the dictionary *
      • encoding

        public Encoding encoding
        Encoding using this dictionary page *
        See Also:
        Encoding
      • is_sorted

        public boolean is_sorted
        If true, the entries in the dictionary are sorted in ascending order *
    • Constructor Detail

      • DictionaryPageHeader

        public DictionaryPageHeader()
      • DictionaryPageHeader

        public DictionaryPageHeader​(int num_values,
                                    Encoding encoding)
      • DictionaryPageHeader

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

      • getNum_values

        public int getNum_values()
        Number of values in the dictionary *
      • setNum_values

        public DictionaryPageHeader setNum_values​(int num_values)
        Number of values in the dictionary *
      • unsetNum_values

        public void unsetNum_values()
      • isSetNum_values

        public boolean isSetNum_values()
        Returns true if field num_values is set (has been assigned a value) and false otherwise
      • setNum_valuesIsSet

        public void setNum_valuesIsSet​(boolean value)
      • getEncoding

        public Encoding getEncoding()
        Encoding using this dictionary 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)
      • isIs_sorted

        public boolean isIs_sorted()
        If true, the entries in the dictionary are sorted in ascending order *
      • setIs_sorted

        public DictionaryPageHeader setIs_sorted​(boolean is_sorted)
        If true, the entries in the dictionary are sorted in ascending order *
      • unsetIs_sorted

        public void unsetIs_sorted()
      • isSetIs_sorted

        public boolean isSetIs_sorted()
        Returns true if field is_sorted is set (has been assigned a value) and false otherwise
      • setIs_sortedIsSet

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