Class ParquetRowGroup
java.lang.Object
org.odpi.openmetadata.adapters.connectors.datastore.parquetfile.properties.ParquetRowGroup
ParquetRowGroup describes a row group in a Parquet file. A row group is a horizontal slice of the data
that holds the values of every column for a set of rows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of the values stored for each column.longReturn the number of bytes that the row group's values occupy in the file.longReturn the number of rows in the row group.longReturn the number of bytes that the row group's values occupy once they are decompressed.voidsetCompressedSize(long compressedSize) Set up the number of bytes that the row group's values occupy in the file.voidsetRowCount(long rowCount) Set up the number of rows in the row group.voidsetUncompressedSize(long uncompressedSize) Set up the number of bytes that the row group's values occupy once they are decompressed.
-
Constructor Details
-
ParquetRowGroup
public ParquetRowGroup()Default constructor.
-
-
Method Details
-
getRowCount
public long getRowCount()Return the number of rows in the row group.- Returns:
- count
-
setRowCount
public void setRowCount(long rowCount) Set up the number of rows in the row group.- Parameters:
rowCount- count
-
getUncompressedSize
public long getUncompressedSize()Return the number of bytes that the row group's values occupy once they are decompressed.- Returns:
- number of bytes
-
setUncompressedSize
public void setUncompressedSize(long uncompressedSize) Set up the number of bytes that the row group's values occupy once they are decompressed.- Parameters:
uncompressedSize- number of bytes
-
getCompressedSize
public long getCompressedSize()Return the number of bytes that the row group's values occupy in the file.- Returns:
- number of bytes
-
setCompressedSize
public void setCompressedSize(long compressedSize) Set up the number of bytes that the row group's values occupy in the file.- Parameters:
compressedSize- number of bytes
-
getColumnChunks
Return the description of the values stored for each column.- Returns:
- list
-