Class TransactionScopeCachingDirectoryLister

java.lang.Object
io.trino.plugin.hive.fs.TransactionScopeCachingDirectoryLister
All Implemented Interfaces:
DirectoryLister, TableInvalidationCallback

public class TransactionScopeCachingDirectoryLister extends Object implements DirectoryLister
Caches directory content (including listings that were started concurrently). TransactionScopeCachingDirectoryLister assumes that all listings are performed by same user within single transaction, therefore any failure can be shared between concurrent listings.