Class PageLocation

    • Field Detail

      • offset

        public long offset
        Offset of the page in the file *
      • compressed_page_size

        public int compressed_page_size
        Size of the page, including header. Sum of compressed_page_size and header length
      • first_row_index

        public long first_row_index
        Index within the RowGroup of the first row of the page; this means pages change on record boundaries (r = 0).
      • metaDataMap

        public static final Map<PageLocation._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • PageLocation

        public PageLocation()
      • PageLocation

        public PageLocation​(long offset,
                            int compressed_page_size,
                            long first_row_index)
      • PageLocation

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

      • getOffset

        public long getOffset()
        Offset of the page in the file *
      • setOffset

        public PageLocation setOffset​(long offset)
        Offset of the page in the file *
      • unsetOffset

        public void unsetOffset()
      • isSetOffset

        public boolean isSetOffset()
        Returns true if field offset is set (has been assigned a value) and false otherwise
      • setOffsetIsSet

        public void setOffsetIsSet​(boolean value)
      • getCompressed_page_size

        public int getCompressed_page_size()
        Size of the page, including header. Sum of compressed_page_size and header length
      • setCompressed_page_size

        public PageLocation setCompressed_page_size​(int compressed_page_size)
        Size of the page, including header. Sum of compressed_page_size and header length
      • unsetCompressed_page_size

        public void unsetCompressed_page_size()
      • isSetCompressed_page_size

        public boolean isSetCompressed_page_size()
        Returns true if field compressed_page_size is set (has been assigned a value) and false otherwise
      • setCompressed_page_sizeIsSet

        public void setCompressed_page_sizeIsSet​(boolean value)
      • getFirst_row_index

        public long getFirst_row_index()
        Index within the RowGroup of the first row of the page; this means pages change on record boundaries (r = 0).
      • setFirst_row_index

        public PageLocation setFirst_row_index​(long first_row_index)
        Index within the RowGroup of the first row of the page; this means pages change on record boundaries (r = 0).
      • unsetFirst_row_index

        public void unsetFirst_row_index()
      • isSetFirst_row_index

        public boolean isSetFirst_row_index()
        Returns true if field first_row_index is set (has been assigned a value) and false otherwise
      • setFirst_row_indexIsSet

        public void setFirst_row_indexIsSet​(boolean value)
      • isSet

        public boolean isSet​(PageLocation._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<PageLocation,​PageLocation._Fields>
      • 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