Package io.trino.plugin.hive.procedure
Class DropStatsProcedure
- java.lang.Object
-
- io.trino.plugin.hive.procedure.DropStatsProcedure
-
- All Implemented Interfaces:
javax.inject.Provider<Procedure>
public class DropStatsProcedure extends Object implements javax.inject.Provider<Procedure>
A procedure that drops statistics. It can be invoked for a subset of partitions (e.g.CALL system.drop_stats('system', 'some_table', ARRAY[ARRAY['x', '7']])) or for the entire table (CALL system.drop_stats('system', 'some_table'))).
-
-
Constructor Summary
Constructors Constructor Description DropStatsProcedure(TransactionalMetadataFactory hiveMetadataFactory, HiveMetastore metastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddropStats(ConnectorSession session, ConnectorAccessControl accessControl, String schema, String table, List<?> partitionValues)Procedureget()
-
-
-
Constructor Detail
-
DropStatsProcedure
@Inject public DropStatsProcedure(TransactionalMetadataFactory hiveMetadataFactory, HiveMetastore metastore)
-
-
Method Detail
-
dropStats
public void dropStats(ConnectorSession session, ConnectorAccessControl accessControl, String schema, String table, List<?> partitionValues)
-
-