Class CatalogTableStatistics
- java.lang.Object
-
- org.apache.flink.table.catalog.stats.CatalogTableStatistics
-
@PublicEvolving public class CatalogTableStatistics extends Object
Statistics for a non-partitioned table or a partition of a partitioned table.
-
-
Field Summary
Fields Modifier and Type Field Description static CatalogTableStatisticsUNKNOWN
-
Constructor Summary
Constructors Constructor Description CatalogTableStatistics(long rowCount, int fileCount, long totalSize, long rawDataSize)CatalogTableStatistics(long rowCount, int fileCount, long totalSize, long rawDataSize, Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogTableStatisticscopy()Create a deep copy of "this" instance.booleanequals(Object o)intgetFileCount()Map<String,String>getProperties()longgetRawDataSize()longgetRowCount()The number of rows.longgetTotalSize()inthashCode()StringtoString()
-
-
-
Field Detail
-
UNKNOWN
public static final CatalogTableStatistics UNKNOWN
-
-
Method Detail
-
getRowCount
public long getRowCount()
The number of rows.
-
getFileCount
public int getFileCount()
-
getTotalSize
public long getTotalSize()
-
getRawDataSize
public long getRawDataSize()
-
copy
public CatalogTableStatistics copy()
Create a deep copy of "this" instance.- Returns:
- a deep copy
-
-