Class MetaDirStatisticsAccess
- java.lang.Object
-
- io.trino.plugin.deltalake.statistics.MetaDirStatisticsAccess
-
- All Implemented Interfaces:
ExtendedStatisticsAccess
public class MetaDirStatisticsAccess extends Object implements ExtendedStatisticsAccess
-
-
Constructor Summary
Constructors Constructor Description MetaDirStatisticsAccess(HdfsEnvironment hdfsEnvironment, io.airlift.json.JsonCodec<ExtendedStatistics> statisticsCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteExtendedStatistics(ConnectorSession session, String tableLocation)Optional<ExtendedStatistics>readExtendedStatistics(ConnectorSession session, String tableLocation)voidupdateExtendedStatistics(ConnectorSession session, String tableLocation, ExtendedStatistics statistics)
-
-
-
Constructor Detail
-
MetaDirStatisticsAccess
@Inject public MetaDirStatisticsAccess(HdfsEnvironment hdfsEnvironment, io.airlift.json.JsonCodec<ExtendedStatistics> statisticsCodec)
-
-
Method Detail
-
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
public void deleteExtendedStatistics(ConnectorSession session, String tableLocation)
- Specified by:
deleteExtendedStatisticsin interfaceExtendedStatisticsAccess
-
-