@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface ScanOptions
 Changing max versions, min versins, KeepDeletedCells, and TTL are usually safe even
 for flush/compaction, so here we provide a way to do it for you. If you want to do other
 complicated operations such as filtering, please wrap
 the InternalScanner in the preCompact and preFlush methods in
 RegionObserver.
 
 For user scans, we also provide this class as a parameter in the preStoreScannerOpen
 method in RegionObserver. You can use it to change
 the inherent properties for a Store. For example, even if you use Scan.readAllVersions,
 you still can not read two versions if the max versions property of the Store is one. You need to
 set the max versions to a value greater than two in preStoreScannerOpen.
RegionObserver.preFlushScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,
      Store, ScanOptions, FlushLifeCycleTracker), 
RegionObserver.preCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,
      Store, ScanType, ScanOptions,
      org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker,
      org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest), 
RegionObserver.preStoreScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,
      Store, ScanOptions)| Modifier and Type | Method and Description | 
|---|---|
| KeepDeletedCells | getKeepDeletedCells() | 
| int | getMaxVersions() | 
| int | getMinVersions() | 
| Scan | getScan()Returns a copy of the Scan object. | 
| long | getTTL() | 
| default void | readAllVersions() | 
| void | setKeepDeletedCells(KeepDeletedCells keepDeletedCells) | 
| void | setMaxVersions(int maxVersions) | 
| void | setMinVersions(int minVersions) | 
| void | setTTL(long ttl) | 
int getMaxVersions()
void setMaxVersions(int maxVersions)
default void readAllVersions()
long getTTL()
void setTTL(long ttl)
void setKeepDeletedCells(KeepDeletedCells keepDeletedCells)
KeepDeletedCells getKeepDeletedCells()
int getMinVersions()
void setMinVersions(int minVersions)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.