Package org.apache.accumulo.core.file
Class FileOperations.ScanReaderBuilder
- java.lang.Object
-
- org.apache.accumulo.core.file.FileOperations.FileHelper
-
- org.apache.accumulo.core.file.FileOperations.ScanReaderBuilder
-
- All Implemented Interfaces:
FileOperations.ScanReaderTableConfiguration
- Enclosing class:
- FileOperations
public class FileOperations.ScanReaderBuilder extends FileOperations.FileHelper implements FileOperations.ScanReaderTableConfiguration
Operation object for opening a scan reader.
-
-
Constructor Summary
Constructors Constructor Description ScanReaderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSKVIterator
build()
Execute the operation, constructing a scan iterator.FileOperations.ScanReaderTableConfiguration
forFile(String filename, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf, CryptoService cs)
FileOperations.ScanReaderBuilder
overRange(Range range, Set<ByteSequence> columnFamilies, boolean inclusive)
Set the range over which the constructed iterator will search.FileOperations.ScanReaderBuilder
withTableConfiguration(AccumuloConfiguration tableConfiguration)
-
Methods inherited from class org.apache.accumulo.core.file.FileOperations.FileHelper
cryptoService, dropCacheBehind, filename, fs, fsConf, getTableConfiguration, rateLimiter, tableConfiguration, toIndexReaderBuilderOptions, toReaderBuilderOptions, toScanReaderBuilderOptions, toWriterBuilderOptions
-
-
-
-
Method Detail
-
forFile
public FileOperations.ScanReaderTableConfiguration forFile(String filename, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf, CryptoService cs)
-
withTableConfiguration
public FileOperations.ScanReaderBuilder withTableConfiguration(AccumuloConfiguration tableConfiguration)
- Specified by:
withTableConfiguration
in interfaceFileOperations.ScanReaderTableConfiguration
-
overRange
public FileOperations.ScanReaderBuilder overRange(Range range, Set<ByteSequence> columnFamilies, boolean inclusive)
Set the range over which the constructed iterator will search.
-
build
public FileSKVIterator build() throws IOException
Execute the operation, constructing a scan iterator.- Throws:
IOException
-
-