Class MetaDirStatisticsAccess
java.lang.Object
io.trino.plugin.deltalake.statistics.MetaDirStatisticsAccess
- All Implemented Interfaces:
ExtendedStatisticsAccess
-
Constructor Summary
ConstructorsConstructorDescriptionMetaDirStatisticsAccess(HdfsEnvironment hdfsEnvironment, io.airlift.json.JsonCodec<ExtendedStatistics> statisticsCodec) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteExtendedStatistics(ConnectorSession session, String tableLocation) readExtendedStatistics(ConnectorSession session, String tableLocation) voidupdateExtendedStatistics(ConnectorSession session, String tableLocation, ExtendedStatistics statistics)
-
Constructor Details
-
MetaDirStatisticsAccess
@Inject public MetaDirStatisticsAccess(HdfsEnvironment hdfsEnvironment, io.airlift.json.JsonCodec<ExtendedStatistics> statisticsCodec)
-
-
Method Details
-
readExtendedStatistics
public Optional<ExtendedStatistics> readExtendedStatistics(ConnectorSession session, String tableLocation) - Specified by:
readExtendedStatisticsin interfaceExtendedStatisticsAccess
-
updateExtendedStatistics
public void updateExtendedStatistics(ConnectorSession session, String tableLocation, ExtendedStatistics statistics) - Specified by:
updateExtendedStatisticsin interfaceExtendedStatisticsAccess
-
deleteExtendedStatistics
- Specified by:
deleteExtendedStatisticsin interfaceExtendedStatisticsAccess
-