protected static class FileOperations.FileReaderOperation<SubclassType extends FileOperations.FileReaderOperation<SubclassType>> extends FileOperations.FileIOOperation<SubclassType>
FileOperations
which perform reads.Modifier | Constructor and Description |
---|---|
protected |
FileReaderOperation() |
Modifier and Type | Method and Description |
---|---|
BlockCache |
getDataCache() |
com.google.common.cache.Cache<String,Long> |
getFileLenCache() |
BlockCache |
getIndexCache() |
SubclassType |
withBlockCache(BlockCache dataCache,
BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed
reader.
|
SubclassType |
withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.
|
SubclassType |
withFileLenCache(com.google.common.cache.Cache<String,Long> fileLenCache) |
SubclassType |
withIndexCache(BlockCache indexCache)
(Optional) set the index cache to be used to optimize reads within the constructed reader.
|
getRateLimiter, withRateLimiter
forFile, forFile, getConfiguration, getFilename, getFileSystem, getTableConfiguration, inFileSystem, setConfiguration, setFilename, validate, withTableConfiguration
public SubclassType withBlockCache(BlockCache dataCache, BlockCache indexCache)
public SubclassType withDataCache(BlockCache dataCache)
public SubclassType withIndexCache(BlockCache indexCache)
public SubclassType withFileLenCache(com.google.common.cache.Cache<String,Long> fileLenCache)
public BlockCache getDataCache()
public BlockCache getIndexCache()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.