Modifier and Type | Method and Description |
---|---|
CatalogTableStatistics |
AbstractJdbcCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
AbstractJdbcCatalog.getTableStatistics(ObjectPath tablePath) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJdbcCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
AbstractJdbcCatalog.alterTableStatistics(ObjectPath tablePath,
CatalogTableStatistics tableStatistics,
boolean ignoreIfNotExists) |
Modifier and Type | Method and Description |
---|---|
CatalogTableStatistics |
GenericInMemoryCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
Catalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get the statistics of a partition.
|
CatalogTableStatistics |
GenericInMemoryCatalog.getTableStatistics(ObjectPath tablePath) |
CatalogTableStatistics |
Catalog.getTableStatistics(ObjectPath tablePath)
Get the statistics of a table.
|
Modifier and Type | Method and Description |
---|---|
default List<CatalogTableStatistics> |
Catalog.bulkGetPartitionStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs)
Get a list of statistics of given partitions.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericInMemoryCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
Catalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists)
Update the statistics of a table partition.
|
void |
GenericInMemoryCatalog.alterTableStatistics(ObjectPath tablePath,
CatalogTableStatistics tableStatistics,
boolean ignoreIfNotExists) |
void |
Catalog.alterTableStatistics(ObjectPath tablePath,
CatalogTableStatistics tableStatistics,
boolean ignoreIfNotExists)
Update the statistics of a table.
|
Modifier and Type | Method and Description |
---|---|
CatalogTableStatistics |
HiveCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
HiveCatalog.getTableStatistics(ObjectPath tablePath) |
Modifier and Type | Method and Description |
---|---|
List<CatalogTableStatistics> |
HiveCatalog.bulkGetPartitionStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs) |
Modifier and Type | Method and Description |
---|---|
void |
HiveCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
HiveCatalog.alterTableStatistics(ObjectPath tablePath,
CatalogTableStatistics tableStatistics,
boolean ignoreIfNotExists) |
Modifier and Type | Method and Description |
---|---|
static CatalogTableStatistics |
HiveStatsUtil.createCatalogTableStatistics(Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HiveStatsUtil.statsChanged(CatalogTableStatistics newTableStats,
Map<String,String> parameters)
Determine whether the table statistics changes.
|
static void |
HiveStatsUtil.updateStats(CatalogTableStatistics newTableStats,
Map<String,String> parameters)
Update original table statistics parameters.
|
Modifier and Type | Field and Description |
---|---|
static CatalogTableStatistics |
CatalogTableStatistics.UNKNOWN |
Modifier and Type | Method and Description |
---|---|
CatalogTableStatistics |
CatalogTableStatistics.copy()
Create a deep copy of "this" instance.
|
Modifier and Type | Method and Description |
---|---|
static TableStats |
CatalogTableStatisticsConverter.convertToTableStats(CatalogTableStatistics tableStatistics,
CatalogColumnStatistics columnStatistics) |
Modifier and Type | Method and Description |
---|---|
static TableStats |
CatalogTableStatisticsConverter.convertToAccumulatedTableStates(List<CatalogTableStatistics> tableStatisticsList,
List<CatalogColumnStatistics> catalogColumnStatisticsList,
Set<String> partitionKeys) |
Constructor and Description |
---|
CatalogTableStats(CatalogTableStatistics catalogTableStatistics,
CatalogColumnStatistics catalogColumnStatistics) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.