public class CachingDirectoryLister extends Object implements DirectoryLister
| Constructor and Description |
|---|
CachingDirectoryLister(io.airlift.units.Duration expireAfterWrite,
long maxSize,
List<String> tables) |
CachingDirectoryLister(HiveConfig hiveClientConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCache() |
long |
getHitCount() |
Double |
getHitRate() |
long |
getMissCount() |
Double |
getMissRate() |
long |
getRequestCount() |
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) |
@Inject public CachingDirectoryLister(HiveConfig hiveClientConfig)
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
list in interface DirectoryListerIOExceptionpublic void flushCache()
public Double getHitRate()
public Double getMissRate()
public long getHitCount()
public long getMissCount()
public long getRequestCount()
Copyright © 2012–2019. All rights reserved.