protected static class FileOperations.FileReaderOperation<SubclassType extends FileOperations.FileReaderOperation<SubclassType>> extends FileOperations.FileIOOperation<SubclassType>
FileOperations
which perform reads.Modifier | Constructor and Description |
---|---|
protected |
FileOperations.FileReaderOperation() |
Modifier and Type | Method and Description |
---|---|
BlockCache |
getDataCache() |
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 |
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
protected FileOperations.FileReaderOperation()
public SubclassType withBlockCache(BlockCache dataCache, BlockCache indexCache)
public SubclassType withDataCache(BlockCache dataCache)
public SubclassType withIndexCache(BlockCache indexCache)
public BlockCache getDataCache()
public BlockCache getIndexCache()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.