Class CachingDirectoryLister

    • Constructor Detail

      • CachingDirectoryLister

        @Inject
        public CachingDirectoryLister​(HiveConfig hiveClientConfig)
      • CachingDirectoryLister

        public CachingDirectoryLister​(io.airlift.units.Duration expireAfterWrite,
                                      long maxSize,
                                      List<String> tables)
    • Method Detail

      • list

        public org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus> list​(org.apache.hadoop.fs.FileSystem fs,
                                                                                                Table table,
                                                                                                org.apache.hadoop.fs.Path path)
                                                                                         throws IOException
        Specified by:
        list in interface DirectoryLister
        Throws:
        IOException
      • flushCache

        public void flushCache()
      • getHitRate

        public Double getHitRate()
      • getMissRate

        public Double getMissRate()
      • getHitCount

        public long getHitCount()
      • getMissCount

        public long getMissCount()
      • getRequestCount

        public long getRequestCount()