Class TableStats
java.lang.Object
org.apache.flink.table.plan.stats.TableStats
Table statistics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TableStatsUnknown definition for table stats: UnknownrowCountis -1. -
Constructor Summary
ConstructorsConstructorDescriptionTableStats(long rowCount) TableStats(long rowCount, Map<String, ColumnStats> colStats) -
Method Summary
-
Field Details
-
UNKNOWN
Unknown definition for table stats: UnknownrowCountis -1. UnknowncolStatsis not exist in map.
-
-
Constructor Details
-
TableStats
public TableStats(long rowCount) -
TableStats
-
-
Method Details
-
getRowCount
public long getRowCount() -
getColumnStats
-
copy
Create a deep copy of "this" instance.- Returns:
- a deep copy
-
merge
Merges two table stats. When the stats are unknown, whatever the other are, we need return unknown stats. SeeUNKNOWN.- Parameters:
other- The other table stats to merge.- Returns:
- The merged table stats.
-
equals
-
hashCode
public int hashCode() -
toString
-