private final class StripeCompactor.StripeInternalScannerFactory extends Object implements Compactor.InternalScannerFactory
Modifier and Type | Field and Description |
---|---|
private byte[] |
majorRangeFromRow |
private byte[] |
majorRangeToRow |
Constructor and Description |
---|
StripeInternalScannerFactory(byte[] majorRangeFromRow,
byte[] majorRangeToRow) |
Modifier and Type | Method and Description |
---|---|
InternalScanner |
createScanner(ScanInfo scanInfo,
List<StoreFileScanner> scanners,
ScanType scanType,
Compactor.FileDetails fd,
long smallestReadPoint) |
ScanType |
getScanType(CompactionRequestImpl request) |
private final byte[] majorRangeFromRow
private final byte[] majorRangeToRow
public StripeInternalScannerFactory(byte[] majorRangeFromRow, byte[] majorRangeToRow)
public ScanType getScanType(CompactionRequestImpl request)
getScanType
in interface Compactor.InternalScannerFactory
public InternalScanner createScanner(ScanInfo scanInfo, List<StoreFileScanner> scanners, ScanType scanType, Compactor.FileDetails fd, long smallestReadPoint) throws IOException
createScanner
in interface Compactor.InternalScannerFactory
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.