protected class FileOperations.OpenScanReaderOperation extends FileOperations.FileReaderOperation<FileOperations.OpenScanReaderOperation> implements FileOperations.OpenScanReaderOperationBuilder
Modifier | Constructor and Description |
---|---|
protected |
OpenScanReaderOperation() |
Modifier and Type | Method and Description |
---|---|
FileSKVIterator |
build()
Execute the operation, constructing a scan iterator.
|
Set<ByteSequence> |
getColumnFamilies()
The column families which this reader should scan.
|
Range |
getRange()
The range over which this reader should scan.
|
boolean |
isRangeInclusive() |
FileOperations.OpenScanReaderOperation |
overRange(Range range,
Set<ByteSequence> columnFamilies,
boolean inclusive)
Set the range over which the constructed iterator will search.
|
protected void |
validate()
Check for null parameters.
|
getDataCache, getFileLenCache, getIndexCache, withBlockCache, withDataCache, withFileLenCache, withIndexCache
getRateLimiter, withRateLimiter
forFile, forFile, getConfiguration, getFilename, getFileSystem, getTableConfiguration, inFileSystem, setConfiguration, setFilename, withTableConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withBlockCache, withDataCache, withFileLenCache, withIndexCache
withRateLimiter
forFile, forFile
inFileSystem
withTableConfiguration
public FileOperations.OpenScanReaderOperation overRange(Range range, Set<ByteSequence> columnFamilies, boolean inclusive)
overRange
in interface FileOperations.NeedsRange<FileOperations.OpenScanReaderOperationBuilder>
public Range getRange()
public Set<ByteSequence> getColumnFamilies()
public boolean isRangeInclusive()
protected void validate()
FileOperations.FileAccessOperation
validate
in class FileOperations.FileAccessOperation<FileOperations.OpenScanReaderOperation>
public FileSKVIterator build() throws IOException
build
in interface FileOperations.OpenScanReaderOperationBuilder
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.