public class FileOperations.ScanReaderBuilder extends FileOperations.FileHelper implements FileOperations.ScanReaderTableConfiguration
cryptoService, filename, fs, fsConf, rateLimiter, tableConfiguration
Constructor and Description |
---|
ScanReaderBuilder() |
Modifier and Type | Method and 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) |
Set<ByteSequence> |
getColumnFamilies()
The column families which this reader should scan.
|
Range |
getRange()
The range over which this reader should scan.
|
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) |
cryptoService, filename, fs, fsConf, rateLimiter, tableConfiguration, toIndexReaderBuilderOptions, toReaderBuilderOptions, toScanReaderBuilderOptions, toWriterBuilderOptions
public FileOperations.ScanReaderTableConfiguration forFile(String filename, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf)
public FileOperations.ScanReaderBuilder withTableConfiguration(AccumuloConfiguration tableConfiguration)
withTableConfiguration
in interface FileOperations.ScanReaderTableConfiguration
public FileOperations.ScanReaderBuilder overRange(Range range, Set<ByteSequence> columnFamilies, boolean inclusive)
public Range getRange()
public Set<ByteSequence> getColumnFamilies()
public FileSKVIterator build() throws IOException
IOException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.