Class TableMetadataInfo
- java.lang.Object
-
- org.apache.pinot.common.restlet.resources.TableMetadataInfo
-
public class TableMetadataInfo extends Object
Class to represent aggregated segment metadata for a table. - When return by server API, columnLengthMap/columnCardinalityMap is the total columnLength/columnCardinality across all segments on that server. - When return by controller API, columnLengthMap/columnCardinalityMap is the average columnLength/columnCardinality across all segments for the given table. - For diskSizeInBytes/numSegments/numRows, both server API and controller API will return the total value across all segments (if a segment has multiple replicas, only consider one replica).
-
-
Method Summary
Modifier and Type Method Description Map<String,Double>getColumnCardinalityMap()Map<String,Map<String,Double>>getColumnIndexSizeMap()Map<String,Double>getColumnLengthMap()longgetDiskSizeInBytes()Map<String,Double>getMaxNumMultiValuesMap()longgetNumRows()longgetNumSegments()StringgetTableName()
-
-
-
Method Detail
-
getTableName
public String getTableName()
-
getDiskSizeInBytes
public long getDiskSizeInBytes()
-
getNumSegments
public long getNumSegments()
-
getNumRows
public long getNumRows()
-
-