Package org.apache.accumulo.core.file
Interface FileOperations.FileReaderOperationBuilder<SubbuilderType>
-
- All Superinterfaces:
FileOperations.FileAccessOperationBuilder<SubbuilderType>
,FileOperations.FileIOOperationBuilder<SubbuilderType>
,FileOperations.NeedsFile<SubbuilderType>
,FileOperations.NeedsFileSystem<SubbuilderType>
,FileOperations.NeedsTableConfiguration<SubbuilderType>
- All Known Subinterfaces:
FileOperations.OpenIndexOperationBuilder
,FileOperations.OpenReaderOperationBuilder
,FileOperations.OpenScanReaderOperationBuilder
- All Known Implementing Classes:
FileOperations.OpenIndexOperation
,FileOperations.OpenReaderOperation
,FileOperations.OpenScanReaderOperation
- Enclosing class:
- FileOperations
protected static interface FileOperations.FileReaderOperationBuilder<SubbuilderType> extends FileOperations.FileIOOperationBuilder<SubbuilderType>
Builder interface parallel toFileOperations.FileReaderOperation
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubbuilderType
withBlockCache(BlockCache dataCache, BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.SubbuilderType
withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.SubbuilderType
withFileLenCache(com.google.common.cache.Cache<String,Long> fileLenCache)
(Optional) set the file len cache to be used to optimize reads within the constructed reader.SubbuilderType
withIndexCache(BlockCache indexCache)
(Optional) set the index cache to be used to optimize reads within the constructed reader.-
Methods inherited from interface org.apache.accumulo.core.file.FileOperations.FileIOOperationBuilder
withRateLimiter
-
Methods inherited from interface org.apache.accumulo.core.file.FileOperations.NeedsFile
forFile, forFile
-
Methods inherited from interface org.apache.accumulo.core.file.FileOperations.NeedsFileSystem
inFileSystem
-
Methods inherited from interface org.apache.accumulo.core.file.FileOperations.NeedsTableConfiguration
withTableConfiguration
-
-
-
-
Method Detail
-
withBlockCache
SubbuilderType withBlockCache(BlockCache dataCache, BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.
-
withDataCache
SubbuilderType withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.
-
withIndexCache
SubbuilderType withIndexCache(BlockCache indexCache)
(Optional) set the index cache to be used to optimize reads within the constructed reader.
-
withFileLenCache
SubbuilderType withFileLenCache(com.google.common.cache.Cache<String,Long> fileLenCache)
(Optional) set the file len cache to be used to optimize reads within the constructed reader.
-
-