public class BlockMetaData extends Object
Constructor and Description |
---|
BlockMetaData() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(ColumnChunkMetaData column) |
List<ColumnChunkMetaData> |
getColumns() |
long |
getCompressedSize() |
int |
getOrdinal() |
String |
getPath() |
long |
getRowCount() |
long |
getRowIndexOffset() |
long |
getStartingPos() |
long |
getTotalByteSize() |
void |
setOrdinal(int ordinal) |
void |
setPath(String path) |
void |
setRowCount(long rowCount) |
void |
setRowIndexOffset(long rowIndexOffset) |
void |
setTotalByteSize(long totalByteSize) |
String |
toString() |
public void setPath(String path)
path
- the path to the file containing the data. Or null if same file the metadata was foundpublic String getPath()
public long getRowCount()
public void setRowCount(long rowCount)
rowCount
- the rowCount to setpublic long getRowIndexOffset()
BlockMetaData
is unavailable else returns the actual rowIndexOffsetpublic void setRowIndexOffset(long rowIndexOffset)
rowIndexOffset
- the rowIndexOffset to setpublic long getTotalByteSize()
public void setTotalByteSize(long totalByteSize)
totalByteSize
- the totalByteSize to setpublic void addColumn(ColumnChunkMetaData column)
column
- the metadata for a columnpublic List<ColumnChunkMetaData> getColumns()
public long getStartingPos()
public long getCompressedSize()
public int getOrdinal()
public void setOrdinal(int ordinal)
ordinal
- - row group ordinalCopyright © 2023 The Apache Software Foundation. All rights reserved.