Class RowGroup

    • Field Detail

      • columns

        public List<ColumnChunk> columns
        Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData.
      • total_byte_size

        public long total_byte_size
        Total byte size of all the uncompressed column data in this row group *
      • num_rows

        public long num_rows
        Number of rows in this row group *
      • sorting_columns

        public List<SortingColumn> sorting_columns
        If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns.
      • file_offset

        public long file_offset
        Byte offset from beginning of file to first page (data or dictionary) in this row group *
      • total_compressed_size

        public long total_compressed_size
        Total byte size of all compressed (and potentially encrypted) column data in this row group *
      • ordinal

        public short ordinal
        Row group ordinal in the file *
      • metaDataMap

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

      • RowGroup

        public RowGroup()
      • RowGroup

        public RowGroup​(List<ColumnChunk> columns,
                        long total_byte_size,
                        long num_rows)
      • RowGroup

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

      • getColumnsSize

        public int getColumnsSize()
      • addToColumns

        public void addToColumns​(ColumnChunk elem)
      • getColumns

        public List<ColumnChunk> getColumns()
        Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData.
      • setColumns

        public RowGroup setColumns​(List<ColumnChunk> columns)
        Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData.
      • unsetColumns

        public void unsetColumns()
      • isSetColumns

        public boolean isSetColumns()
        Returns true if field columns is set (has been assigned a value) and false otherwise
      • setColumnsIsSet

        public void setColumnsIsSet​(boolean value)
      • getTotal_byte_size

        public long getTotal_byte_size()
        Total byte size of all the uncompressed column data in this row group *
      • setTotal_byte_size

        public RowGroup setTotal_byte_size​(long total_byte_size)
        Total byte size of all the uncompressed column data in this row group *
      • unsetTotal_byte_size

        public void unsetTotal_byte_size()
      • isSetTotal_byte_size

        public boolean isSetTotal_byte_size()
        Returns true if field total_byte_size is set (has been assigned a value) and false otherwise
      • setTotal_byte_sizeIsSet

        public void setTotal_byte_sizeIsSet​(boolean value)
      • getNum_rows

        public long getNum_rows()
        Number of rows in this row group *
      • setNum_rows

        public RowGroup setNum_rows​(long num_rows)
        Number of rows in this row group *
      • unsetNum_rows

        public void unsetNum_rows()
      • isSetNum_rows

        public boolean isSetNum_rows()
        Returns true if field num_rows is set (has been assigned a value) and false otherwise
      • setNum_rowsIsSet

        public void setNum_rowsIsSet​(boolean value)
      • getSorting_columnsSize

        public int getSorting_columnsSize()
      • addToSorting_columns

        public void addToSorting_columns​(SortingColumn elem)
      • getSorting_columns

        public List<SortingColumn> getSorting_columns()
        If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns.
      • setSorting_columns

        public RowGroup setSorting_columns​(List<SortingColumn> sorting_columns)
        If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns.
      • unsetSorting_columns

        public void unsetSorting_columns()
      • isSetSorting_columns

        public boolean isSetSorting_columns()
        Returns true if field sorting_columns is set (has been assigned a value) and false otherwise
      • setSorting_columnsIsSet

        public void setSorting_columnsIsSet​(boolean value)
      • getFile_offset

        public long getFile_offset()
        Byte offset from beginning of file to first page (data or dictionary) in this row group *
      • setFile_offset

        public RowGroup setFile_offset​(long file_offset)
        Byte offset from beginning of file to first page (data or dictionary) in this row group *
      • unsetFile_offset

        public void unsetFile_offset()
      • isSetFile_offset

        public boolean isSetFile_offset()
        Returns true if field file_offset is set (has been assigned a value) and false otherwise
      • setFile_offsetIsSet

        public void setFile_offsetIsSet​(boolean value)
      • getTotal_compressed_size

        public long getTotal_compressed_size()
        Total byte size of all compressed (and potentially encrypted) column data in this row group *
      • setTotal_compressed_size

        public RowGroup setTotal_compressed_size​(long total_compressed_size)
        Total byte size of all compressed (and potentially encrypted) column data in this row group *
      • unsetTotal_compressed_size

        public void unsetTotal_compressed_size()
      • isSetTotal_compressed_size

        public boolean isSetTotal_compressed_size()
        Returns true if field total_compressed_size is set (has been assigned a value) and false otherwise
      • setTotal_compressed_sizeIsSet

        public void setTotal_compressed_sizeIsSet​(boolean value)
      • getOrdinal

        public short getOrdinal()
        Row group ordinal in the file *
      • setOrdinal

        public RowGroup setOrdinal​(short ordinal)
        Row group ordinal in the file *
      • unsetOrdinal

        public void unsetOrdinal()
      • isSetOrdinal

        public boolean isSetOrdinal()
        Returns true if field ordinal is set (has been assigned a value) and false otherwise
      • setOrdinalIsSet

        public void setOrdinalIsSet​(boolean value)
      • isSet

        public boolean isSet​(RowGroup._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<RowGroup,​RowGroup._Fields>
      • equals

        public boolean equals​(RowGroup that)
      • 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