Java Code Examples for org.apache.hadoop.hbase.regionserver.ScanOptions#readAllVersions()
The following examples show how to use
org.apache.hadoop.hbase.regionserver.ScanOptions#readAllVersions() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TransactionProcessor.java From phoenix-tephra with Apache License 2.0 | 5 votes |
@Override public void preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanType scanType, ScanOptions options, CompactionLifeCycleTracker tracker, CompactionRequest request) throws IOException { if (cache.getLatestState() != null) { options.readAllVersions(); } }
Example 2
Source File: WriteHeavyIncrementObserver.java From hbase with Apache License 2.0 | 4 votes |
@Override public void preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanOptions options, FlushLifeCycleTracker tracker) throws IOException { options.readAllVersions(); }
Example 3
Source File: WriteHeavyIncrementObserver.java From hbase with Apache License 2.0 | 4 votes |
@Override public void preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanType scanType, ScanOptions options, CompactionLifeCycleTracker tracker, CompactionRequest request) throws IOException { options.readAllVersions(); }
Example 4
Source File: WriteHeavyIncrementObserver.java From hbase with Apache License 2.0 | 4 votes |
@Override public void preMemStoreCompactionCompactScannerOpen( ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanOptions options) throws IOException { options.readAllVersions(); }
Example 5
Source File: WriteHeavyIncrementObserver.java From hbase with Apache License 2.0 | 4 votes |
@Override public void preStoreScannerOpen(ObserverContext<RegionCoprocessorEnvironment> ctx, Store store, ScanOptions options) throws IOException { options.readAllVersions(); }